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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x597179
sub esp, 0x44
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x597041
je 0x59703a
mov ecx, dword [eax + 4]
lea edx, [0x645560]
cmp edx, ecx
jne 0x597030
mov ecx, dword [esp + 0x50]
je 0x597018
call fcn.00481260
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x597004
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 0x78]
mov ebp, dword [eax + 0x80]
mov esi, dword [eax + 0x7c]
lea edi, [eax + 0x78]
mov dword [esp + 0x40], edi
lea edi, [esi + 1]
cmp edi, ebp
jg 0x596f8d
lea ebp, [esi + 1]
mov dword [eax + 0x7c], ebp
mov ebp, esi
shl esi, 3
lea edi, [0x741f00]
mov dword [ebx + esi], edi
mov ecx, dword [0x77c810]
lea ebp, [ebx + ebp*8 + 4]
test ecx, ecx
jne 0x596f6e
mov dword [ebx + esi + 4], edx
mov ecx, dword [eax + 0x88]
mov ebx, dword [eax + 0x84]
mov ebp, dword [eax + 0x8c]
lea esi, [eax + 0x84]
mov dword [esp + 0x40], esi
lea esi, [ecx + 1]
cmp esi, ebp
jg 0x596ef3
lea ebp, [ecx + 1]
mov dword [eax + 0x88], ebp
mov ebp, ecx
shl ecx, 3
mov dword [ebx + ecx], edi
mov esi, dword [0x77c810]
lea ebp, [ebx + ebp*8 + 4]
test esi, esi
jne 0x596ed2
mov ebp, dword [esp + 0x28]
mov dword [ebx + ecx + 4], ebp
lea ecx, [0x61b100]
mov dword [esp], ecx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
lea ecx, [0x598ba0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 8]
test ecx, ecx
jne 0x596eb9
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x596ea0
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x98]
mov ebx, dword [ecx + 0x94]
mov ebp, dword [ecx + 0x90]
lea esi, [ecx + 0x90]
mov dword [esp + 0x38], esi
lea edi, [ebx + 1]
cmp edi, edx
jg 0x596e29
lea edx, [ebx + 1]
mov dword [ecx + 0x94], edx
lea ecx, [ebp + ebx*4]
mov edx, dword [0x77c810]
test edx, edx
jne 0x596e1b
mov dword [ebp + ebx*4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x44
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040d580
jmp 0x596dff
lea esi, [0x601260]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov dword [ebx + 0x98], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x596e86
mov dword [ebx + 0x90], eax
mov ebp, dword [ebx + 0x90]
mov eax, dword [esp + 0x3c]
mov ecx, ebx
mov ebx, dword [esp + 0x20]
jmp 0x596de4
mov edx, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
jmp 0x596e71
mov dword [esp], edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x3c]
jmp 0x596dbd
mov dword [esp], edx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x3c]
jmp 0x596da5
mov dword [esp], ebp
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x596d68
lea edx, [0x614e40]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov dword [ebx + 0x8c], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x596f54
mov dword [ebx + 0x84], eax
mov ebp, dword [ebx + 0x84]
mov eax, ebx
mov edx, dword [esp + 0x24]
lea edi, [0x741f00]
mov ebx, ebp
jmp 0x596d3d
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
jmp 0x596f3b
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0040d580
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
lea edi, [0x741f00]
jmp 0x596d16
lea ecx, [0x614e40]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov dword [ebx + 0x80], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x596fea
mov dword [ebx + 0x78], eax
mov ebp, dword [ebx + 0x78]
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov ebx, ebp
jmp 0x596cec
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
jmp 0x596fd2
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x44
ret
mov ecx, 0
jmp 0x596ca0
mov ecx, eax
jmp 0x596c8e
lea eax, [0x64aebb]
mov dword [esp], eax
mov dword [esp + 4], 3
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
call fcn.0047fa40
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
test ecx, ecx
jne 0x597169
mov ebx, dword [esp + 0x48]
mov ebp, dword [ebx + 0x78]
mov esi, dword [ebx + 0x7c]
mov edi, dword [ebx + 0x80]
lea edx, [ebx + 0x78]
mov dword [esp + 0x40], edx
lea edx, [esi + 1]
cmp edx, edi
jg 0x5970f6
lea edx, [esi + 1]
mov dword [ebx + 0x7c], edx
mov edx, esi
shl esi, 3
lea ebx, [0x741f00]
mov dword [ebp + esi], ebx
lea edx, [ebp + edx*8 + 4]
mov ebx, dword [0x77c810]
test ebx, ebx
jne 0x5970e0
mov dword [ebp + esi + 4], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d580
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
jmp 0x5970cc
lea ecx, [0x614e40]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov dword [ebx + 0x80], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x59714f
mov dword [ebx + 0x78], eax
mov ebp, dword [ebx + 0x78]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
jmp 0x5970a5
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
jmp 0x59713b
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
add esp, 0x44
ret
call fcn.00448420
jmp fcn.00596c60