Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text:004529C0 lua_pushinteger proc near ; CODE XREF: .text:0043EB47p
- .text:004529C0 ; .text:0043F77Cp ...
- .text:004529C0
- .text:004529C0 arg_0 = dword ptr 8
- .text:004529C0 arg_4 = dword ptr 0Ch
- .text:004529C0
- .text:004529C0 push ebp
- .text:004529C1 mov ebp, esp
- .text:004529C3 mov ecx, [ebp+arg_0]
- .text:004529C6 movd xmm1, [ebp+arg_4]
- .text:004529CB movaps xmm2, xmmword ptr dword_19008D0
- .text:004529D2 cvtdq2pd xmm0, xmm1
- .text:004529D6 mov eax, [ecx+10h]
- .text:004529D9 mov dword ptr [eax+8], 2
- .text:004529E0 xorps xmm2, xmm0
- .text:004529E3 movsd qword ptr [eax], xmm2
- .text:004529E7 add dword ptr [ecx+10h], 10h
- .text:004529EB mov eax, ds:dword_1C85008
- .text:004529F0 mov ecx, [ebp+4]
- .text:004529F3 sub ecx, eax
- .text:004529F5 cmp ecx, ds:off_1C8500C
- .text:004529FB jb short loc_452A41
- .text:004529FD mov eax, ds:dword_1C85154
- .text:00452A02 mov ecx, [ebp+4]
- .text:00452A05 sub ecx, eax
- .text:00452A07 cmp ecx, ds:off_1C85244
- .text:00452A0D jb short loc_452A41
- .text:00452A0F mov eax, dword_1BC665C
- .text:00452A14 or dword_1BC6658, 200000h
- .text:00452A1E or dword ptr qword_1BC6628, 100000h
- .text:00452A28 mov dword_1BC665C, eax
- .text:00452A2D mov eax, dword ptr qword_1BC6628+4
- .text:00452A32 mov dword_1BC8694, 0
- .text:00452A3C mov dword ptr qword_1BC6628+4, eax
- .text:00452A41
- .text:00452A41 loc_452A41: ; CODE XREF: lua_pushinteger+3Bj
- .text:00452A41 ; lua_pushinteger+4Dj
- .text:00452A41 pop ebp
- .text:00452A42 retn
- .text:00452A42 lua_pushinteger endp
- .text:00452A42
- .text:00452A42 ; ---------------------------------------------------------------------------
- .text:00452A43 db 55h
- .text:00452A44 dd 6B614BB2h, 75FBB793h, 508DA0A1h
- .text:00452A50
- .text:00452A50 ; =============== S U B R O U T I N E =======================================
- .text:00452A50
- .text:00452A50 ; Attributes: bp-based frame
- .text:00452A50
- .text:00452A50 lua_pushlightuserdata proc near ; CODE XREF: sub_1FEFF0+Fp
- .text:00452A50 ; sub_1FEFF0+24p ...
- .text:00452A50
- .text:00452A50 arg_0 = dword ptr 8
- .text:00452A50 arg_4 = dword ptr 0Ch
- .text:00452A50
- .text:00452A50 push ebp
- .text:00452A51 mov ebp, esp
- .text:00452A53 mov edx, [ebp+arg_0]
- .text:00452A56 mov eax, [ebp+arg_4]
- .text:00452A59 mov ecx, [edx+10h]
- .text:00452A5C mov [ecx], eax
- .text:00452A5E mov dword ptr [ecx+8], 1
- .text:00452A65 add dword ptr [edx+10h], 10h
- .text:00452A69 mov eax, ds:dword_1C85008
- .text:00452A6E mov ecx, [ebp+4]
- .text:00452A71 sub ecx, eax
- .text:00452A73 cmp ecx, ds:off_1C8500C
- .text:00452A79 jb short loc_452ABF
- .text:00452A7B mov eax, ds:dword_1C85154
- .text:00452A80 mov ecx, [ebp+4]
- .text:00452A83 sub ecx, eax
- .text:00452A85 cmp ecx, ds:off_1C85244
- .text:00452A8B jb short loc_452ABF
- .text:00452A8D mov eax, dword_1BC665C
- .text:00452A92 or dword_1BC6658, 200000h
- .text:00452A9C or dword ptr qword_1BC6628, 100000h
- .text:00452AA6 mov dword_1BC665C, eax
- .text:00452AAB mov eax, dword ptr qword_1BC6628+4
- .text:00452AB0 mov dword_1BC8694, 0
- .text:00452ABA mov dword ptr qword_1BC6628+4, eax
- .text:00452ABF
- .text:00452ABF loc_452ABF: ; CODE XREF: lua_pushlightuserdata+29j
- .text:00452ABF ; lua_pushlightuserdata+3Bj
- .text:00452ABF pop ebp
- .text:00452AC0 retn
- .text:00452AC0 lua_pushlightuserdata endp
- .text:00452AC0
- .text:00452AC0 ; ---------------------------------------------------------------------------
- .text:00452AC1 db 0C7h, 40h, 0Bh
- .text:00452AC4 dd 0EB3BD49Ch, 0A56481ADh, 0F3DF2Bh
- .text:00452AD0
- .text:00452AD0 ; =============== S U B R O U T I N E =======================================
- .text:00452AD0
- .text:00452AD0 ; Attributes: bp-based frame
- .text:00452AD0
- .text:00452AD0 lua_pushlstring proc near ; CODE XREF: sub_432EB0+13Ep
- .text:00452AD0 ; sub_433BF0+3Bp ...
- .text:00452AD0
- .text:00452AD0 arg_0 = dword ptr 8
- .text:00452AD0 arg_4 = dword ptr 0Ch
- .text:00452AD0 arg_8 = dword ptr 10h
- .text:00452AD0
- .text:00452AD0 push ebp
- .text:00452AD1 mov ebp, esp
- .text:00452AD3 push esi
- .text:00452AD4 push edi
- .text:00452AD5 mov edi, [ebp+arg_0]
- .text:00452AD8 mov eax, [edi+1Ch]
- .text:00452ADB lea edx, [edi+1Ch]
- .text:00452ADE mov ecx, [edx]
- .text:00452AE0 xor eax, edx
- .text:00452AE2 xor ecx, edx
- .text:00452AE4 mov eax, [eax+50h]
- .text:00452AE7 cmp eax, [ecx+5Ch]
- .text:00452AEA jb short loc_452AF5
- .text:00452AEC push edi
- .text:00452AED call luaC_step
- .text:00452AF2 add esp, 4
- .text:00452AF5
- .text:00452AF5 loc_452AF5: ; CODE XREF: lua_pushlstring+1Aj
- .text:00452AF5 push [ebp+arg_8]
- .text:00452AF8 mov edx, [ebp+arg_4]
- .text:00452AFB mov ecx, edi
- .text:00452AFD mov esi, [edi+10h]
- .text:00452B00 call luaS_newlstr
- .text:00452B05 mov [esi], eax
- .text:00452B07 mov dword ptr [esi+8], 4
- .text:00452B0E add dword ptr [edi+10h], 10h
- .text:00452B12 mov eax, ds:dword_1C85008
- .text:00452B17 mov ecx, [ebp+4]
- .text:00452B1A sub ecx, eax
- .text:00452B1C pop edi
- .text:00452B1D pop esi
- .text:00452B1E cmp ecx, ds:off_1C8500C
- .text:00452B24 jb short loc_452B6A
- .text:00452B26 mov eax, ds:dword_1C85154
- .text:00452B2B mov ecx, [ebp+4]
- .text:00452B2E sub ecx, eax
- .text:00452B30 cmp ecx, ds:off_1C85244
- .text:00452B36 jb short loc_452B6A
- .text:00452B38 mov eax, dword_1BC665C
- .text:00452B3D or dword_1BC6658, 200000h
- .text:00452B47 or dword ptr qword_1BC6628, 100000h
- .text:00452B51 mov dword_1BC665C, eax
- .text:00452B56 mov eax, dword ptr qword_1BC6628+4
- .text:00452B5B mov dword_1BC8694, 0
- .text:00452B65 mov dword ptr qword_1BC6628+4, eax
- .text:00452B6A
- .text:00452B6A loc_452B6A: ; CODE XREF: lua_pushlstring+54j
- .text:00452B6A ; lua_pushlstring+66j
- .text:00452B6A pop ebp
- .text:00452B6B retn
- .text:00452B6B lua_pushlstring endp
- .text:00452B6B
- .text:00452B6B ; ---------------------------------------------------------------------------
- .text:00452B6C align 10h
- .text:00452B70
- .text:00452B70 ; =============== S U B R O U T I N E =======================================
- .text:00452B70
- .text:00452B70 ; Attributes: bp-based frame
- .text:00452B70
- .text:00452B70 lua_pushnil proc near ; CODE XREF: .text:0026303Bp
- .text:00452B70 ; .text:0026358Bp ...
- .text:00452B70
- .text:00452B70 arg_0 = dword ptr 8
- .text:00452B70
- .text:00452B70 push ebp
- .text:00452B71 mov ebp, esp
- .text:00452B73 mov ecx, [ebp+arg_0]
- .text:00452B76 mov eax, [ecx+10h]
- .text:00452B79 mov dword ptr [eax+8], 0
- .text:00452B80 add dword ptr [ecx+10h], 10h
- .text:00452B84 mov eax, ds:dword_1C85008
- .text:00452B89 mov ecx, [ebp+4]
- .text:00452B8C sub ecx, eax
- .text:00452B8E cmp ecx, ds:off_1C8500C
- .text:00452B94 jb short loc_452BDA
- .text:00452B96 mov eax, ds:dword_1C85154
- .text:00452B9B mov ecx, [ebp+4]
- .text:00452B9E sub ecx, eax
- .text:00452BA0 cmp ecx, ds:off_1C85244
- .text:00452BA6 jb short loc_452BDA
- .text:00452BA8 mov eax, dword_1BC665C
- .text:00452BAD or dword_1BC6658, 200000h
- .text:00452BB7 or dword ptr qword_1BC6628, 100000h
- .text:00452BC1 mov dword_1BC665C, eax
- .text:00452BC6 mov eax, dword ptr qword_1BC6628+4
- .text:00452BCB mov dword_1BC8694, 0
- .text:00452BD5 mov dword ptr qword_1BC6628+4, eax
- .text:00452BDA
- .text:00452BDA loc_452BDA: ; CODE XREF: lua_pushnil+24j
- .text:00452BDA ; lua_pushnil+36j
- .text:00452BDA pop ebp
- .text:00452BDB retn
- .text:00452BDB lua_pushnil endp
- .text:00452BDB
- .text:00452BDB ; ---------------------------------------------------------------------------
- .text:00452BDC align 10h
- .text:00452BE0
- .text:00452BE0 ; =============== S U B R O U T I N E =======================================
- .text:00452BE0
- .text:00452BE0 ; Attributes: bp-based frame
- .text:00452BE0
- .text:00452BE0 ; signed int __stdcall lua_pushnumber(int a1, double a2)
- .text:00452BE0 lua_pushnumber proc near ; CODE XREF: .text:0035A952p
- .text:00452BE0 ; sub_35D7F0+17p ...
- .text:00452BE0
- .text:00452BE0 arg_0 = dword ptr 8
- .text:00452BE0 arg_4 = qword ptr 0Ch
- .text:00452BE0
- .text:00452BE0 push ebp
- .text:00452BE1 mov ebp, esp
- .text:00452BE3 mov ecx, [ebp+arg_0]
- .text:00452BE6 movaps xmm2, xmmword ptr dword_19008D0
- .text:00452BED movsd xmm0, [ebp+arg_4]
- .text:00452BF2 movaps xmm1, xmm0
- .text:00452BF5 mov eax, [ecx+10h]
- .text:00452BF8 xorps xmm2, xmm1
- .text:00452BFB movsd qword ptr [eax], xmm2
- .text:00452BFF mov dword ptr [eax+8], 2
- .text:00452C06 add dword ptr [ecx+10h], 10h
- .text:00452C0A mov eax, ds:dword_1C85008
- .text:00452C0F mov ecx, [ebp+4]
- .text:00452C12 sub ecx, eax
- .text:00452C14 cmp ecx, ds:off_1C8500C
- .text:00452C1A jb short loc_452C60
- .text:00452C1C mov eax, ds:dword_1C85154
- .text:00452C21 mov ecx, [ebp+4]
- .text:00452C24 sub ecx, eax
- .text:00452C26 cmp ecx, ds:off_1C85244
- .text:00452C2C jb short loc_452C60
- .text:00452C2E mov eax, dword_1BC665C
- .text:00452C33 or dword_1BC6658, 200000h
- .text:00452C3D or dword ptr qword_1BC6628, 100000h
- .text:00452C47 mov dword_1BC665C, eax
- .text:00452C4C mov eax, dword ptr qword_1BC6628+4
- .text:00452C51 mov dword_1BC8694, 0
- .text:00452C5B mov dword ptr qword_1BC6628+4, eax
- .text:00452C60
- .text:00452C60 loc_452C60: ; CODE XREF: lua_pushnumber+3Aj
- .text:00452C60 ; lua_pushnumber+4Cj
- .text:00452C60 pop ebp
- .text:00452C61 retn 0Ch
- .text:00452C61 lua_pushnumber endp
- .text:00452C61
- .text:00452C61 ; ---------------------------------------------------------------------------
- .text:00452C64 dd 466B75CEh, 0B596729Ch, 0A1A23EAAh
- .text:00452C70
- .text:00452C70 ; =============== S U B R O U T I N E =======================================
- .text:00452C70
- .text:00452C70 ; Attributes: bp-based frame
- .text:00452C70
- .text:00452C70 lua_pushstring proc near ; CODE XREF: sub_1FFC80+22p
- .text:00452C70 ; sub_1FFC80+2Ep ...
- .text:00452C70
- .text:00452C70 arg_0 = dword ptr 8
- .text:00452C70 arg_4 = dword ptr 0Ch
- .text:00452C70
- .text:00452C70 push ebp
- .text:00452C71 mov ebp, esp
- .text:00452C73 mov edx, [ebp+arg_4]
- .text:00452C76 test edx, edx
- .text:00452C78 jnz short loc_452C87
- .text:00452C7A push [ebp+arg_0]
- .text:00452C7D call lua_pushnil
- .text:00452C82 add esp, 4
- .text:00452C85 pop ebp
- .text:00452C86 retn
- .text:00452C87 ; ---------------------------------------------------------------------------
- .text:00452C87
- .text:00452C87 loc_452C87: ; CODE XREF: lua_pushstring+8j
- .text:00452C87 mov ecx, edx
- .text:00452C89 push esi
- .text:00452C8A lea esi, [ecx+1]
- .text:00452C8D nop dword ptr [eax]
- .text:00452C90
- .text:00452C90 loc_452C90: ; CODE XREF: lua_pushstring+25j
- .text:00452C90 mov al, [ecx]
- .text:00452C92 inc ecx
- .text:00452C93 test al, al
- .text:00452C95 jnz short loc_452C90
- .text:00452C97 sub ecx, esi
- .text:00452C99 push ecx
- .text:00452C9A push edx
- .text:00452C9B push [ebp+arg_0]
- .text:00452C9E call lua_pushlstring
- .text:00452CA3 add esp, 0Ch
- .text:00452CA6 pop esi
- .text:00452CA7 pop ebp
- .text:00452CA8 retn
- .text:00452CA8 lua_pushstring endp
- .text:00452CA8
- .text:00452CA8 ; ---------------------------------------------------------------------------
- .text:00452CA9 db 0F1h, 4Eh, 26h
- .text:00452CAC dd 7F37A175h
- .text:00452CB0
- .text:00452CB0 ; =============== S U B R O U T I N E =======================================
- .text:00452CB0
- .text:00452CB0 ; Attributes: bp-based frame
- .text:00452CB0
- .text:00452CB0 lua_pushthread proc near ; CODE XREF: .text:0043D5F6p
- .text:00452CB0 ; .text:004436EAp ...
- .text:00452CB0
- .text:00452CB0 arg_0 = dword ptr 8
- .text:00452CB0
- .text:00452CB0 push ebp
- .text:00452CB1 mov ebp, esp
- .text:00452CB3 mov edx, [ebp+arg_0]
- .text:00452CB6 mov eax, [edx+10h]
- .text:00452CB9 mov [eax], edx
- .text:00452CBB mov dword ptr [eax+8], 5
- .text:00452CC2 add dword ptr [edx+10h], 10h
- .text:00452CC6 mov eax, ds:dword_1C85008
- .text:00452CCB mov ecx, [ebp+4]
- .text:00452CCE sub ecx, eax
- .text:00452CD0 cmp ecx, ds:off_1C8500C
- .text:00452CD6 jb short loc_452D1C
- .text:00452CD8 mov eax, ds:dword_1C85154
- .text:00452CDD mov ecx, [ebp+4]
- .text:00452CE0 sub ecx, eax
- .text:00452CE2 cmp ecx, ds:off_1C85244
- .text:00452CE8 jb short loc_452D1C
- .text:00452CEA mov eax, dword_1BC665C
- .text:00452CEF or dword_1BC6658, 200000h
- .text:00452CF9 or dword ptr qword_1BC6628, 100000h
- .text:00452D03 mov dword_1BC665C, eax
- .text:00452D08 mov eax, dword ptr qword_1BC6628+4
- .text:00452D0D mov dword_1BC8694, 0
- .text:00452D17 mov dword ptr qword_1BC6628+4, eax
- .text:00452D1C
- .text:00452D1C loc_452D1C: ; CODE XREF: lua_pushthread+26j
- .text:00452D1C ; lua_pushthread+38j
- .text:00452D1C mov ecx, [edx+1Ch]
- .text:00452D1F lea eax, [edx+1Ch]
- .text:00452D22 xor ecx, eax
- .text:00452D24 xor eax, eax
- .text:00452D26 cmp [ecx+0B0h], edx
- .text:00452D2C setz al
- .text:00452D2F pop ebp
- .text:00452D30 retn
- .text:00452D30 lua_pushthread endp
- .text:00452D30
- .text:00452D30 ; ---------------------------------------------------------------------------
- .text:00452D31 db 0D8h, 26h, 28h
- .text:00452D34 dd 3953E039h, 0AC8A4F88h, 8358629Ch
- .text:00452D40
- .text:00452D40 ; =============== S U B R O U T I N E =======================================
- .text:00452D40
- .text:00452D40 ; Attributes: bp-based frame
- .text:00452D40
- .text:00452D40 sub_452D40 proc near ; CODE XREF: .text:0043CD7Ep
- .text:00452D40 ; .text:00443FFFp ...
- .text:00452D40
- .text:00452D40 arg_0 = dword ptr 8
- .text:00452D40 arg_4 = dword ptr 0Ch
- .text:00452D40
- .text:00452D40 push ebp
- .text:00452D41 mov ebp, esp
- .text:00452D43 mov eax, [ebp+arg_4]
- .text:00452D46 mov edx, [ebp+arg_0]
- .text:00452D49 movaps xmm1, xmmword ptr dword_19008D0
- .text:00452D50 movd xmm2, eax
- .text:00452D54 mov ecx, [edx+10h]
- .text:00452D57 cvtdq2pd xmm2, xmm2
- .text:00452D5B shr eax, 1Fh
- .text:00452D5E mov dword ptr [ecx+8], 2
- .text:00452D65 addsd xmm2, ds:qword_155D5D0[eax*8]
- .text:00452D6E movaps xmm0, xmm2
- .text:00452D71 xorps xmm1, xmm0
- .text:00452D74 movsd qword ptr [ecx], xmm1
- .text:00452D78 add dword ptr [edx+10h], 10h
- .text:00452D7C mov eax, ds:dword_1C85008
- .text:00452D81 mov ecx, [ebp+4]
- .text:00452D84 sub ecx, eax
- .text:00452D86 cmp ecx, ds:off_1C8500C
- .text:00452D8C jb short loc_452DD2
- .text:00452D8E mov eax, ds:dword_1C85154
- .text:00452D93 mov ecx, [ebp+4]
- .text:00452D96 sub ecx, eax
- .text:00452D98 cmp ecx, ds:off_1C85244
- .text:00452D9E jb short loc_452DD2
- .text:00452DA0 mov eax, dword_1BC665C
- .text:00452DA5 or dword_1BC6658, 200000h
- .text:00452DAF or dword ptr qword_1BC6628, 100000h
- .text:00452DB9 mov dword_1BC665C, eax
- .text:00452DBE mov eax, dword ptr qword_1BC6628+4
- .text:00452DC3 mov dword_1BC8694, 0
- .text:00452DCD mov dword ptr qword_1BC6628+4, eax
- .text:00452DD2
- .text:00452DD2 loc_452DD2: ; CODE XREF: sub_452D40+4Cj
- .text:00452DD2 ; sub_452D40+5Ej
- .text:00452DD2 pop ebp
- .text:00452DD3 retn
- .text:00452DD3 sub_452D40 endp
- .text:00452DD3
- .text:00452DD3 ; ---------------------------------------------------------------------------
- .text:00452DD4 dd 0D8854503h, 96A48F6Bh, 0DAB418C6h
- .text:00452DE0
- .text:00452DE0 ; =============== S U B R O U T I N E =======================================
- .text:00452DE0
- .text:00452DE0 ; Attributes: bp-based frame
- .text:00452DE0
- .text:00452DE0 lua_pushvalue proc near ; CODE XREF: sub_1FEFF0+8Bp
- .text:00452DE0 ; sub_1FF0A0+8Bp ...
- .text:00452DE0
- .text:00452DE0 arg_0 = dword ptr 8
- .text:00452DE0 arg_4 = dword ptr 0Ch
- .text:00452DE0
- .text:00452DE0 push ebp
- .text:00452DE1 mov ebp, esp
- .text:00452DE3 mov edx, [ebp+arg_4]
- .text:00452DE6 push esi
- .text:00452DE7 mov esi, [ebp+arg_0]
- .text:00452DEA push edi
- .text:00452DEB test edx, edx
- .text:00452DED jle short loc_452E07
- .text:00452DEF mov eax, [esi+18h]
- .text:00452DF2 mov edi, offset unk_15C1058
- .text:00452DF7 shl edx, 4
- .text:00452DFA add eax, 0FFFFFFF0h
- .text:00452DFD add eax, edx
- .text:00452DFF cmp eax, [esi+10h]
- .text:00452E02 cmovb edi, eax
- .text:00452E05 jmp short loc_452E10
- .text:00452E07 ; ---------------------------------------------------------------------------
- .text:00452E07
- .text:00452E07 loc_452E07: ; CODE XREF: lua_pushvalue+Dj
- .text:00452E07 mov ecx, esi
- .text:00452E09 call index2adr
- .text:00452E0E mov edi, eax
- .text:00452E10
- .text:00452E10 loc_452E10: ; CODE XREF: lua_pushvalue+25j
- .text:00452E10 mov edx, [esi+10h]
- .text:00452E13 mov ecx, [edi]
- .text:00452E15 mov [edx], ecx
- .text:00452E17 mov ecx, [edi+4]
- .text:00452E1A mov [edx+4], ecx
- .text:00452E1D mov eax, [edi+8]
- .text:00452E20 mov [edx+8], eax
- .text:00452E23 add dword ptr [esi+10h], 10h
- .text:00452E27 mov eax, ds:dword_1C85008
- .text:00452E2C mov ecx, [ebp+4]
- .text:00452E2F sub ecx, eax
- .text:00452E31 pop edi
- .text:00452E32 pop esi
- .text:00452E33 cmp ecx, ds:off_1C8500C
- .text:00452E39 jb short loc_452E7F
- .text:00452E3B mov eax, ds:dword_1C85154
- .text:00452E40 mov ecx, [ebp+4]
- .text:00452E43 sub ecx, eax
- .text:00452E45 cmp ecx, ds:off_1C85244
- .text:00452E4B jb short loc_452E7F
- .text:00452E4D mov eax, dword_1BC665C
- .text:00452E52 or dword_1BC6658, 200000h
- .text:00452E5C or dword ptr qword_1BC6628, 100000h
- .text:00452E66 mov dword_1BC665C, eax
- .text:00452E6B mov eax, dword ptr qword_1BC6628+4
- .text:00452E70 mov dword_1BC8694, 0
- .text:00452E7A mov dword ptr qword_1BC6628+4, eax
- .text:00452E7F
- .text:00452E7F loc_452E7F: ; CODE XREF: lua_pushvalue+59j
- .text:00452E7F ; lua_pushvalue+6Bj
- .text:00452E7F pop ebp
- .text:00452E80 retn
- .text:00452E80 lua_pushvalue endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement