Function at 0x51fea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8cbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc4]
cmp eax, dword [ecx + 8]
jbe 0x520bfb
sub esp, 0x144
mov ecx, dword [esp + 0x160]
test ecx, ecx
je 0x5209a6
lea edi, [esp + 0x11c]
xor eax, eax
call fcn.0046c0bb
mov ecx, dword [esp + 0x15c]
mov dword [esp], ecx
mov edx, dword [esp + 0x160]
mov dword [esp + 4], edx
call fcn.004f8390
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
lea edi, [esp + 0x11c]
lea esi, [esp + 8]
call fcn.0046c59e
lea edi, [esp + 0x108]
lea esi, [esp + 0x11c]
call fcn.0046c59e
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x52080f
mov eax, dword [esp + 0x14c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x150]
mov dword [esp], edx
lea ebx, [0x6362e0]
mov dword [esp + 4], ebx
lea ebx, [0x8cbda0]
mov dword [esp + 8], ebx
call ecx
lea eax, [0x61ec40]
cmp dword [esp + 0xc], eax
jne 0x51ff6b
mov eax, dword [esp + 0x10]
jmp 0x51ff6d
xor eax, eax
mov dword [esp + 0x74], eax
test eax, eax
je 0x51ff94
mov edx, dword [eax]
test edx, edx
je 0x51ff94
mov eax, dword [edx]
mov ecx, dword [esp + 0x15c]
mov dword [esp], ecx
mov ebx, dword [esp + 0x160]
mov dword [esp + 4], ebx
call eax
lea eax, [0x63ab20]
mov dword [esp], eax
call fcn.0040fcf0
mov eax, dword [esp + 4]
lea ecx, [0x536090]
mov dword [eax], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x51ffc1
mov ecx, dword [esp + 0x148]
jmp 0x51ffcf
call fcn.0046beb0
mov ecx, dword [esp + 0x148]
mov dword [edi], ecx
mov dword [esp + 0xb8], eax
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x14c]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [esp + 0x150]
mov dword [esp], ebp
lea esi, [0x6362a0]
mov dword [esp + 4], esi
lea esi, [0x8cbda0]
mov dword [esp + 8], esi
call ebx
lea eax, [0x633480]
cmp dword [esp + 0xc], eax
jne 0x520015
mov eax, dword [esp + 0x10]
jmp 0x520017
xor eax, eax
test eax, eax
jne 0x520022
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x78], eax
lea ecx, [0x651940]
mov dword [esp], ecx
call fcn.0040fcf0
mov eax, dword [esp + 4]
lea ecx, [0x701ecc]
mov dword [eax], ecx
lea ecx, [0x8cbda0]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14c]
mov dword [eax + 8], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x520066
mov ecx, dword [esp + 0x150]
jmp 0x520074
call fcn.0046beb0
mov ecx, dword [esp + 0x150]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea edx, [0x701eac]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00502ae0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0xb4], edx
mov dword [esp], 0
mov ebx, dword [esp + 0x154]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x158]
mov dword [esp + 8], ebp
lea esi, [0x700cb4]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x15c]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x160]
mov dword [esp + 0x18], edi
call fcn.00455520
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
lea edx, [0x8cc080]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.004772b0
mov eax, dword [esp + 0x148]
test eax, eax
je 0x52012a
lea ecx, [eax + 8]
jmp 0x520135
mov edx, dword [0x89d64c]
test byte [edx], al
lea ecx, [edx + 8]
mov dword [esp + 0x70], ecx
lea eax, [0x64b140]
mov dword [esp], eax
call fcn.0040fcf0
mov eax, dword [esp + 4]
lea ecx, [0x520cb0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x520174
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
jmp 0x520189
call fcn.0046bec0
mov ecx, dword [esp + 0x80]
mov dword [edi], ecx
mov edx, dword [esp + 0x78]
mov dword [edi + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x158]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x5201ac
mov ecx, dword [esp + 0x154]
jmp 0x5201ba
call fcn.0046beb0
mov ecx, dword [esp + 0x154]
mov dword [edi], ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x160]
mov dword [eax + 0x1c], ecx
mov edx, dword [0x8cc0e0]
test edx, edx
jne 0x5201da
mov edx, dword [esp + 0x15c]
jmp 0x5201e8
call fcn.0046beb0
mov edx, dword [esp + 0x15c]
mov dword [edi], edx
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.005094e0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x14c]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 0x150]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
lea edi, [esp + 0x130]
xor eax, eax
call fcn.0046c0bb
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xbc], eax
lea ecx, [esp + 0x130]
mov dword [esp + 0xc0], ecx
lea ecx, [esp + 0xbc]
mov dword [esp], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.0044e580
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5204e6
lea edi, [esp + 0xe0]
lea esi, [esp + 0x130]
call fcn.0046c59e
nop
lea eax, [0x8cc080]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.004772b0
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
test eax, eax
je 0x520468
lea edx, [0x701898]
cmp eax, edx
jne 0x52033b
mov edx, dword [esp + 0x74]
test edx, edx
jmp 0x52046e
mov dword [esp + 0x88], ecx
mov dword [esp + 0x44], eax
cmp dword [0x89de40], eax
jne 0x52037f
mov edx, dword [0x89de44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00407c30
movzx eax, byte [esp + 0xc]
test al, al
je 0x520374
mov eax, 1
jmp 0x5203b2
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x88]
lea edx, [0x639620]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0040d750
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5203a1
xor eax, eax
jmp 0x5203b2
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
mov byte [esp + 0x27], al
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x88]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0xb4], ecx
lea edx, [0x6518a0]
mov dword [esp], edx
call fcn.0040fcf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x520408
mov ecx, dword [esp + 0xb4]
jmp 0x520416
call fcn.0046beb0
mov ecx, dword [esp + 0xb4]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x160]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x52043f
mov ecx, dword [esp + 0x74]
test ecx, ecx
mov ecx, dword [esp + 0x15c]
mov edx, dword [esp + 0x74]
jmp 0x520453
call fcn.0046beb0
mov ecx, dword [esp + 0x15c]
mov dword [edi], ecx
mov edx, dword [esp + 0x74]
test edx, edx
mov dword [eax + 8], ecx
movzx ebx, byte [esp + 0x27]
mov byte [eax + 0x18], bl
mov ecx, eax
lea eax, [0x701898]
jmp 0x52046e
mov edx, dword [esp + 0x74]
test edx, edx
je 0x520a74
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x520a74
mov dword [esp + 0xac], ecx
mov dword [esp + 0x54], eax
lea ebx, [0x61ff20]
cmp dword [esp + 0xe0], ebx
jne 0x5204a8
mov ebp, dword [esp + 0xe4]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
jmp 0x5204ac
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x98], esi
lea eax, [0x630fc0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.004519e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x98]
xor edx, edx
jmp 0x520b2d
mov eax, dword [esp + 0x148]
test eax, eax
je 0x5204f6
add eax, 8
jmp 0x520501
mov ecx, dword [0x89d64c]
test byte [ecx], al
lea eax, [ecx + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.005099a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x520587
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
call eax
lea eax, [0x644c80]
mov dword [esp], eax
call fcn.0040fcf0
mov eax, dword [esp + 4]
lea ecx, [0x520c60]
mov dword [eax], ecx
lea ecx, [0x6be434]
mov dword [eax + 4], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x520563
mov ecx, dword [esp + 0x94]
jmp 0x520571
call fcn.0046beb0
mov ecx, dword [esp + 0x94]
mov dword [edi], ecx
mov dword [eax + 8], ecx
lea ecx, [0x6be438]
mov dword [eax + 0xc], ecx
mov dword [esp], eax
call fcn.00447d90
jmp 0x5205ea
lea eax, [0x644ce0]
mov dword [esp], eax
call fcn.0040fcf0
mov eax, dword [esp + 4]
lea ecx, [0x520c10]
mov dword [eax], ecx
lea ecx, [0x6be434]
mov dword [eax + 4], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x5205c4
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x84]
jmp 0x5205dc
call fcn.0046bec0
mov ecx, dword [esp + 0x94]
mov dword [edi], ecx
mov edx, dword [esp + 0x84]
mov dword [edi + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esp], eax
call fcn.00447d90
mov eax, dword [esp + 0x14c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x150]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x6c], ebx
cmp dword [0x89de38], eax
jne 0x520671
mov ecx, dword [0x89de3c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00407c30
movzx eax, byte [esp + 0xc]
test al, al
je 0x52065b
lea ecx, [0x701870]
lea edx, [0x8cbda0]
jmp 0x5206bc
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x6c]
cmp dword [0x89de40], eax
jne 0x5206bc
mov ecx, dword [0x89de44]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00407c30
movzx eax, byte [esp + 0xc]
test al, al
je 0x5206a6
mov ecx, dword [0x89dbc0]
mov edx, dword [0x89dbc4]
jmp 0x5206bc
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0xb4], ecx
lea edx, [0x6518a0]
mov dword [esp], edx
call fcn.0040fcf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x520703
mov ecx, dword [esp + 0xb4]
jmp 0x520711
call fcn.0046beb0
mov ecx, dword [esp + 0xb4]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x160]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x520730
mov ecx, dword [esp + 0x15c]
jmp 0x52073e
call fcn.0046beb0
mov ecx, dword [esp + 0x15c]
mov dword [edi], ecx
mov dword [esp + 0x8c], eax
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xa4]
cmp dword [0x89de40], ecx
je 0x520764
mov ecx, dword [esp + 0x74]
test ecx, ecx
mov edx, 0
jmp 0x520792
mov eax, dword [0x89de44]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00407c30
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x74]
test ecx, ecx
mov edx, eax
mov eax, dword [esp + 0x8c]
mov byte [eax + 0x18], dl
je 0x5207d3
mov edx, dword [ecx + 4]
test edx, edx
je 0x5207d3
mov ecx, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [esp + 0xc], 0
lea ebx, [0x701898]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
call ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
lea ecx, [0x701898]
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], eax
add esp, 0x144
ret
lea edi, [esp]
lea esi, [esp + 0x11c]
call fcn.0046c59e
call fcn.004fb290
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, 4
je 0x520843
cmp eax, 0x10
jne 0x52083b
mov edx, dword [esp + 0x1c]
jmp 0x5208ba
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x5208ba
movzx eax, byte [ecx]
mov byte [esp + 0x2b], al
movzx edx, byte [ecx + 1]
mov byte [esp + 0x2a], dl
movzx ebx, byte [ecx + 2]
mov byte [esp + 0x29], bl
movzx ecx, byte [ecx + 3]
mov byte [esp + 0x28], cl
mov ebp, dword [0x89e090]
mov esi, dword [0x89e094]
lea edi, [0x62f320]
mov dword [esp], edi
mov dword [esp + 4], 0x10
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
call fcn.00451890
mov ecx, dword [esp + 0x10]
movzx eax, byte [esp + 0x2b]
mov byte [ecx + 0xc], al
movzx eax, byte [esp + 0x2a]
mov byte [ecx + 0xd], al
movzx eax, byte [esp + 0x29]
mov byte [ecx + 0xe], al
movzx eax, byte [esp + 0x28]
mov byte [ecx + 0xf], al
mov eax, 0x10
mov edx, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x38], edx
lea edi, [esp + 0xf4]
lea esi, [esp + 0x108]
call fcn.0046c59e
mov ecx, dword [esp + 0x104]
test ecx, ecx
je 0x5208fe
lea ebx, [0x62efe0]
cmp dword [ecx], ebx
jne 0x5208f8
mov ecx, dword [ecx + 4]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x520902
xor ecx, ecx
xor ebx, ebx
jmp 0x520902
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x64], ebx
lea eax, [0x628ce0]
mov dword [esp], eax
call fcn.0040fcf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x52093a
mov ecx, dword [esp + 0x68]
jmp 0x520945
call fcn.0046beb0
mov ecx, dword [esp + 0x68]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x52095e
mov ecx, dword [esp + 0x64]
jmp 0x520969
call fcn.0046beb0
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], 1
mov dword [esp + 0x16c], 1
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0
add esp, 0x144
ret
mov eax, dword [0x89dbc8]
mov ecx, dword [0x89dbcc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0xb4], ecx
lea edx, [0x6518a0]
mov dword [esp], edx
call fcn.0040fcf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x5209f9
mov ecx, dword [esp + 0xb4]
jmp 0x520a07
call fcn.0046beb0
mov ecx, dword [esp + 0xb4]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x520a23
mov ecx, dword [esp + 0x15c]
jmp 0x520a31
call fcn.0046beb0
mov ecx, dword [esp + 0x15c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov byte [eax + 0x1a], 1
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
lea ecx, [0x701898]
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], eax
add esp, 0x144
ret
test eax, eax
je 0x520a84
xor edx, edx
mov ebp, ecx
xor ebx, ebx
mov ecx, eax
xor eax, eax
jmp 0x520adc
mov eax, dword [esp + 0xe0]
lea ecx, [0x61ff20]
cmp eax, ecx
jne 0x520b06
mov eax, dword [esp + 0xe4]
movzx ecx, byte [esp + 0xf0]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov eax, dword [eax + 8]
test cl, cl
je 0x520ad8
mov dword [esp + 0x2c], edx
lea eax, [0x640ba0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00451890
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov eax, edx
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], ebp
add esp, 0x144
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x630fc0]
mov dword [esp + 8], eax
call fcn.0040d1d0
mov dword [edx], ebx
mov ebx, dword [esp + 0xa0]
lea ecx, [ebx + 0x14]
lea edx, [eax + 1]
mov eax, esi
mov ebx, dword [esp + 0x50]
cmp edx, ebx
jge 0x520bb4
mov dword [esp + 0x40], edx
mov dword [esp + 0xa0], ecx
lea edi, [esp + 0xcc]
mov esi, ecx
call fcn.0046c59e
lea ecx, [eax + edx*8]
mov dword [esp + 0x9c], ecx
lea ebx, [0x640ba0]
mov dword [esp], ebx
lea ebp, [esp + 0xcc]
mov dword [esp + 4], ebp
call fcn.0040d300
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xa8]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 8]
lea ebp, [0x640ba0]
mov esi, ecx
mov ecx, dword [esp + 0x9c]
mov dword [ecx], ebp
mov ecx, dword [0x8cc0e0]
test ecx, ecx
je 0x520b1c
call fcn.0046bec0
mov dword [edi], ebx
mov ecx, dword [edx]
mov dword [edi + 4], ecx
jmp 0x520b1c
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov ecx, dword [edx]
movzx ebp, byte [esp + 0xf0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x14], ebx
call ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xac]
jmp 0x520a74
call fcn.0046aab0
jmp fcn.0051fea0