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

Disassembly:
mov ecx, dword [0x8602c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59482d
sub esp, 0x58
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x64]
xor edx, edx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x594611
add eax, 0x14
inc edx
cmp ebx, edx
jle 0x59474a
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], eax
lea edi, [esp + 0x44]
mov esi, eax
call fcn.004683ce
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x594647
mov esi, 1
jmp 0x594676
mov eax, dword [ecx]
lea edi, [esp]
lea esi, [esp + 0x44]
call fcn.004683ce
mov edx, dword [esp + 0x5c]
call eax
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x40]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x594686
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
jmp 0x59460d
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
lea edi, [esp]
lea esi, [esp + 0x44]
call fcn.004683ce
mov ecx, dword [esp + 0x28]
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jb 0x5946c5
mov edi, dword [esp + 0x34]
jmp 0x59470b
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x616b60]
mov dword [esp + 0x10], eax
call fcn.0044dbe0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebx, ebp
mov ebp, eax
mov eax, dword [esp + 0x38]
lea edx, [edi + ebp*8 - 8]
mov dword [edx], ecx
mov ecx, dword [0x860560]
lea edx, [edi + ebp*8 - 4]
test ecx, ecx
je 0x59472f
mov ecx, edi
call fcn.00467c50
mov dword [edi], eax
mov esi, dword [edx]
mov dword [edi + 4], esi
mov edi, ecx
mov dword [edx], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov esi, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x64]
jmp 0x59460d
test esi, esi
jne 0x594804
mov eax, dword [0x82f718]
mov ecx, dword [0x82f71c]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
lea edx, [0x619f00]
mov dword [esp], edx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x59479f
mov ecx, dword [esp + 0x3c]
jmp 0x5947aa
call fcn.00467c40
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x5947c3
mov ecx, dword [esp + 0x70]
jmp 0x5947ce
call fcn.00467c40
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x68a218]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x58
ret
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x58
ret
call fcn.00466840
jmp fcn.005945e0