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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5957b6
sub esp, 0x60
lea eax, [0x7b4b60]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x7c]
lea ebx, [edx + ecx]
mov dword [esp + 8], ebx
call fcn.00438a20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x88]
lea ebp, [ebx + ecx]
mov dword [esp + 0x30], ebp
cmp ebp, edx
ja 0x59571d
cmp ebp, edx
ja 0x5957af
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], edx
add ecx, eax
mov dword [esp], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0044d190
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x7c]
lea edx, [ecx + eax]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x34]
cmp edx, ebx
ja 0x5956e2
mov ebp, dword [esp + 0x4c]
cmp edx, ebx
ja 0x5957a8
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], ebp
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044d190
lea eax, [0x7b4b60]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
shl eax, 1
mov edx, dword [esp + 0x94]
lea eax, [eax + edx*2]
mov ebx, dword [esp + 0x98]
lea eax, [eax + ebx*2]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00438a20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x50], edx
movzx ebx, word [esp + 0x64]
mov word [esp], bx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
call fcn.00595120
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x14], ebp
mov ebp, dword [0xb789f8]
mov esi, dword [0xb789f4]
mov edi, dword [0xb789f0]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x5957a1
mov edx, dword [esp + 0x38]
cmp eax, edx
ja 0x59579a
sub edx, eax
mov ebx, ecx
sub ecx, eax
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
mov esi, dword [esp + 0x50]
add ecx, esi
cmp eax, ebp
ja 0x595793
cmp eax, edx
ja 0x59578c
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], ecx
sub edx, eax
sub ebp, eax
mov dword [esp + 0x3c], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebp, ecx
mov edi, dword [esp + 0x94]
mov ecx, dword [esp + 0x3c]
cmp edi, ecx
ja 0x595785
cmp edi, edx
ja 0x59577e
mov dword [esp + 0x5c], ebp
sub edx, edi
sub ecx, edi
mov dword [esp + 0x44], ecx
neg ecx
sar ecx, 0x1f
and ecx, edi
add ecx, ebp
mov ebp, dword [esp + 0x44]
cmp edi, ebp
ja 0x595777
cmp edi, edx
ja 0x595770
mov dword [esp + 0x58], ecx
sub edx, edi
sub ebp, edi
mov dword [esp + 0x40], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edi
add ebp, ecx
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0x40]
cmp ecx, edi
ja 0x595769
cmp ecx, edx
ja 0x595762
mov edx, edi
sub edi, ecx
mov dword [esp + 0x40], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, ecx
add edi, ebp
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x40]
cmp ecx, edi
ja 0x59575b
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xb8], eax
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edi
add esp, 0x60
ret
lea ecx, [0x7b4b60]
mov dword [esp], ecx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438ba0
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x48]
jmp 0x59544b
mov dword [esp + 0x48], ecx
lea ebx, [0x7b4b60]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.00438ba0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x30]
jmp 0x595403
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.0044b230
jmp fcn.005953a0