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

Disassembly:
mov ecx, dword [0x8602c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc4]
cmp eax, dword [ecx + 8]
jbe 0x597889
sub esp, 0x144
mov ecx, dword [esp + 0x160]
test ecx, ecx
je 0x597631
lea edi, [esp + 0x11c]
xor eax, eax
call fcn.00467eeb
mov ecx, dword [esp + 0x15c]
mov dword [esp], ecx
mov edx, dword [esp + 0x160]
mov dword [esp + 4], edx
call fcn.005792c0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x11c]
lea esi, [esp + 8]
call fcn.004683ce
lea edi, [esp + 0xe0]
lea esi, [esp + 0x11c]
call fcn.004683ce
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x597499
mov eax, dword [esp + 0x14c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x150]
mov dword [esp], edx
lea ebx, [0x611320]
mov dword [esp + 4], ebx
lea ebx, [0x860140]
mov dword [esp + 8], ebx
call ecx
lea eax, [0x605460]
cmp dword [esp + 0xc], eax
jne 0x596beb
mov eax, dword [esp + 0x10]
jmp 0x596bed
xor eax, eax
mov dword [esp + 0x98], eax
test eax, eax
je 0x596c17
mov edx, dword [eax]
test edx, edx
je 0x596c17
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, [0x614f40]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
lea ecx, [0x5a4390]
mov dword [eax], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x596c44
mov ecx, dword [esp + 0x148]
jmp 0x596c52
call fcn.00467c40
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, [0x6112e0]
mov dword [esp + 4], esi
lea esi, [0x860140]
mov dword [esp + 8], esi
call ebx
lea eax, [0x60f860]
cmp dword [esp + 0xc], eax
jne 0x596c98
mov eax, dword [esp + 0x10]
jmp 0x596c9a
xor eax, eax
test eax, eax
jne 0x596ca5
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x88], eax
nop
lea ecx, [0x627d80]
mov dword [esp], ecx
call fcn.0040c2d0
mov eax, dword [esp + 4]
lea ecx, [0x68a76c]
mov dword [eax], ecx
lea ecx, [0x860140]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14c]
mov dword [eax + 8], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x596ced
mov ecx, dword [esp + 0x150]
jmp 0x596cfb
call fcn.00467c40
mov ecx, dword [esp + 0x150]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea edx, [0x68a78c]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0057d940
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], 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, [0x689450]
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.00451650
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
lea edx, [0x860510]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.004707f0
mov eax, dword [esp + 0x148]
test eax, eax
je 0x596dab
lea ecx, [eax + 8]
jmp 0x596db6
mov edx, dword [0x82f278]
test byte [edx], al
lea ecx, [edx + 8]
mov dword [esp + 0x70], ecx
lea eax, [0x621c80]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
lea ecx, [0x597940]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x596df5
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x88]
jmp 0x596e0a
call fcn.00467c50
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov edx, dword [esp + 0x88]
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 [0x860560]
test ecx, ecx
jne 0x596e2d
mov ecx, dword [esp + 0x154]
jmp 0x596e3b
call fcn.00467c40
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 [0x860560]
test edx, edx
jne 0x596e5b
mov edx, dword [esp + 0x15c]
jmp 0x596e69
call fcn.00467c40
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 + 0x78]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00584330
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.00467eeb
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.0044a620
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x597173
lea edi, [esp + 0xcc]
lea esi, [esp + 0x130]
call fcn.004683ce
nop
lea eax, [0x860510]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.004707f0
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
test eax, eax
je 0x5970f2
lea edx, [0x68a22c]
cmp eax, edx
jne 0x596fbc
mov edx, dword [esp + 0x98]
test edx, edx
jmp 0x5970fb
mov dword [esp + 0x48], eax
mov dword [esp + 0x8c], ecx
cmp dword [0x82f988], eax
jne 0x597000
mov edx, dword [0x82f98c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004040e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x596ff5
mov eax, 1
jmp 0x597033
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x8c]
lea edx, [0x614340]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00409d20
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x597022
xor eax, eax
jmp 0x597033
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 + 0x48]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x8c]
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, [0x627ce0]
mov dword [esp], edx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x597089
mov ecx, dword [esp + 0xb4]
jmp 0x597097
call fcn.00467c40
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 [0x860560]
test ecx, ecx
jne 0x5970c6
mov ecx, dword [esp + 0x98]
test ecx, ecx
mov ecx, dword [esp + 0x15c]
mov edx, dword [esp + 0x98]
jmp 0x5970dd
call fcn.00467c40
mov ecx, dword [esp + 0x15c]
mov dword [edi], ecx
mov edx, dword [esp + 0x98]
test edx, edx
mov dword [eax + 8], ecx
movzx ebx, byte [esp + 0x27]
mov byte [eax + 0x18], bl
mov ecx, eax
lea eax, [0x68a22c]
jmp 0x5970fb
mov edx, dword [esp + 0x98]
test edx, edx
je 0x5976ff
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x5976ff
mov dword [esp + 0x54], eax
mov dword [esp + 0xac], ecx
lea ebx, [0x606720]
cmp dword [esp + 0xcc], ebx
jne 0x597135
mov ebp, dword [esp + 0xd0]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
jmp 0x597139
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x80], esi
lea eax, [0x60e860]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.0044da60
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x80]
xor edx, edx
jmp 0x5977b8
mov eax, dword [esp + 0x148]
test eax, eax
je 0x597183
add eax, 8
jmp 0x59718e
mov ecx, dword [0x82f278]
test byte [ecx], al
lea eax, [ecx + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.005847f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x597211
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
call eax
lea eax, [0x61ca20]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
lea ecx, [0x5978f0]
mov dword [eax], ecx
lea ecx, [0x64cf78]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x5971ed
mov ecx, dword [esp + 0x94]
jmp 0x5971fb
call fcn.00467c40
mov ecx, dword [esp + 0x94]
mov dword [edi], ecx
mov dword [eax + 8], ecx
lea ecx, [0x64cf7c]
mov dword [eax + 0xc], ecx
mov dword [esp], eax
call fcn.00443e20
jmp 0x59726e
lea eax, [0x61ca20]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
lea ecx, [0x5978a0]
mov dword [eax], ecx
lea ecx, [0x64cf78]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x59724b
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x7c]
jmp 0x597260
call fcn.00467c50
mov ecx, dword [esp + 0x94]
mov dword [edi], ecx
mov edx, dword [esp + 0x7c]
mov dword [edi + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esp], eax
call fcn.00443e20
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 + 0x44], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x6c], ebx
cmp dword [0x82f980], eax
jne 0x5972f5
mov ecx, dword [0x82f984]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004040e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5972df
lea ecx, [0x68a204]
lea edx, [0x860140]
jmp 0x597340
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x6c]
cmp dword [0x82f988], eax
jne 0x597340
mov ecx, dword [0x82f98c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004040e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x59732a
mov ecx, dword [0x82f728]
mov edx, dword [0x82f72c]
jmp 0x597340
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
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, [0x627ce0]
mov dword [esp], edx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x597387
mov ecx, dword [esp + 0xb4]
jmp 0x597395
call fcn.00467c40
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 [0x860560]
test ecx, ecx
jne 0x5973b4
mov ecx, dword [esp + 0x15c]
jmp 0x5973c2
call fcn.00467c40
mov ecx, dword [esp + 0x15c]
mov dword [edi], ecx
mov dword [esp + 0x90], eax
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xa4]
cmp dword [0x82f988], ecx
je 0x5973eb
mov ecx, dword [esp + 0x98]
test ecx, ecx
mov edx, 0
jmp 0x59741c
mov eax, dword [0x82f98c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004040e0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x98]
test ecx, ecx
mov edx, eax
mov eax, dword [esp + 0x90]
mov byte [eax + 0x18], dl
je 0x59745d
mov edx, dword [ecx + 4]
test edx, edx
je 0x59745d
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, [0x68a22c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
call ecx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
lea ecx, [0x68a22c]
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], eax
add esp, 0x144
ret
lea edi, [esp]
lea esi, [esp + 0x11c]
call fcn.004683ce
call fcn.0057b250
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, 4
je 0x5974cd
cmp eax, 0x10
jne 0x5974c5
mov edx, dword [esp + 0x1c]
jmp 0x597544
xor ecx, ecx
xor edx, edx
xor eax, eax
jmp 0x597544
movzx eax, byte [ecx]
mov byte [esp + 0x2a], al
movzx edx, byte [ecx + 1]
mov byte [esp + 0x28], dl
movzx ebx, byte [ecx + 2]
mov byte [esp + 0x2b], bl
movzx ecx, byte [ecx + 3]
mov byte [esp + 0x29], cl
mov ebp, dword [0x82fcd8]
mov esi, dword [0x82fcdc]
lea edi, [0x60dc80]
mov dword [esp], edi
mov dword [esp + 4], 0x10
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
call fcn.0044d910
mov ecx, dword [esp + 0x10]
movzx eax, byte [esp + 0x2a]
mov byte [ecx + 0xc], al
movzx eax, byte [esp + 0x28]
mov byte [ecx + 0xd], al
movzx eax, byte [esp + 0x2b]
mov byte [ecx + 0xe], al
movzx eax, byte [esp + 0x29]
mov byte [ecx + 0xf], al
mov edx, 0x10
mov eax, 0x10
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], ecx
lea edi, [esp + 0x108]
lea esi, [esp + 0xe0]
call fcn.004683ce
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x597589
nop
lea ebx, [0x60d940]
cmp dword [ecx], ebx
jne 0x597583
mov ecx, dword [ecx + 4]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x59758d
xor ecx, ecx
xor ebx, ebx
jmp 0x59758d
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x64], ebx
lea eax, [0x60ba20]
mov dword [esp], eax
call fcn.0040c2d0
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 [0x860560]
test ecx, ecx
jne 0x5975c5
mov ecx, dword [esp + 0x68]
jmp 0x5975d0
call fcn.00467c40
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 [0x860560]
test ecx, ecx
jne 0x5975e9
mov ecx, dword [esp + 0x64]
jmp 0x5975f4
call fcn.00467c40
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 [0x82f730]
mov ecx, dword [0x82f734]
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, [0x627ce0]
mov dword [esp], edx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x597684
mov ecx, dword [esp + 0xb4]
jmp 0x597692
call fcn.00467c40
mov ecx, dword [esp + 0xb4]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x5976ae
mov ecx, dword [esp + 0x15c]
jmp 0x5976bc
call fcn.00467c40
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, [0x68a22c]
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], eax
add esp, 0x144
ret
test eax, eax
je 0x59770f
xor edx, edx
mov ebp, ecx
xor ebx, ebx
mov ecx, eax
xor eax, eax
jmp 0x597767
mov eax, dword [esp + 0xcc]
lea ecx, [0x606720]
cmp eax, ecx
jne 0x597791
mov eax, dword [esp + 0xd0]
movzx ecx, byte [esp + 0xdc]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov eax, dword [eax + 8]
test cl, cl
je 0x597763
mov dword [esp + 0x2c], edx
lea eax, [0x619ea0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0044d910
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, [0x60e860]
mov dword [esp + 8], eax
call fcn.00409810
mov dword [edx], ebx
mov ebx, dword [esp + 0xa0]
lea ecx, [ebx + 0x14]
lea edx, [eax + 1]
mov eax, esi
mov ebx, dword [esp + 0x40]
cmp edx, ebx
jge 0x59783f
mov dword [esp + 0x50], edx
mov dword [esp + 0xa0], ecx
lea edi, [esp + 0xf4]
mov esi, ecx
call fcn.004683ce
lea ecx, [eax + edx*8]
mov dword [esp + 0x9c], ecx
lea ebx, [0x619ea0]
mov dword [esp], ebx
lea ebp, [esp + 0xf4]
mov dword [esp + 4], ebp
call fcn.00409940
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xa8]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 8]
lea ebp, [0x619ea0]
mov esi, ecx
mov ecx, dword [esp + 0x9c]
mov dword [ecx], ebp
mov ecx, dword [0x860560]
test ecx, ecx
je 0x5977a7
call fcn.00467c50
mov dword [edi], ebx
mov ecx, dword [edx]
mov dword [edi + 4], ecx
jmp 0x5977a7
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 4]
mov ecx, dword [edx]
movzx ebp, byte [esp + 0xdc]
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 0x5976ff
call fcn.00466840
jmp fcn.00596b20