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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5da498
sub esp, 0x5c
mov eax, 0
mov dword [esp + 0x58], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5da3e9
mov ecx, dword [esp + 0x64]
movzx edx, byte [ecx]
mov byte [esp + 0x2e], dl
mov byte [esp], 7
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
call fcn.005d9b90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
test edx, edx
jne 0x5da3bb
mov dword [esp + 0x38], ebp
mov eax, ebx
mov ebx, dword [esp + 0x60]
mov ecx, ebx
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x5da06a
mov edx, ebx
sar ebx, 0x1f
cmp esi, ebx
sete bl
xchg ebp, ebx
seta bl
xchg ebp, ebx
cmp edi, edx
mov edx, edi
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5da01e
mov ebp, dword [esp + 0x38]
mov edi, edx
jmp 0x5da06a
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [0x8608d4]
mov ecx, dword [0x8608d0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x5c
ret
cmp edi, ebp
seta bl
mov edi, ebp
sar ebp, 0x1f
cmp esi, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov edx, edi
xchg edi, ebx
seta bl
xchg edi, ebx
and ebx, ebp
or ebx, edi
test bl, bl
jne 0x5da373
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
movzx ebx, byte [esp + 0x2e]
test bl, 0x80
je 0x5da2cf
movzx ebx, byte [esp + 0x70]
test bl, bl
jne 0x5da0b8
xor ecx, ecx
jmp 0x5da204
lea eax, [0x85b6f0]
mov dword [esp], eax
call fcn.00466c40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x6861a0]
cmp ecx, edx
jne 0x5da478
nop
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ebx, [0x5da4b0]
mov dword [esp + 0x48], ebx
lea ebx, [0x85b6f0]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
lea ebx, [esp + 0x48]
mov dword [esp + 0x58], ebx
mov byte [esp + 0x2f], 1
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x5da46b
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
ja 0x5da466
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.005da540
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5da26b
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov ebp, dword [edx + 8]
mov eax, dword [edx + 0xc]
cmp eax, ecx
ja 0x5da461
mov dword [esp], 0
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
lea edx, [ebx + ebp]
mov dword [esp + 4], edx
sub ecx, eax
mov dword [esp + 8], ecx
call fcn.0044bc00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
nop
mov eax, dword [esp + 0x40]
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov ecx, 1
test esi, esi
jne 0x5da45a
cmp eax, edx
ja 0x5da453
mov ebx, dword [esp + 0x3c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov esi, dword [esp + 0x44]
add ebx, esi
mov dword [esp + 0x7c], ebx
sub edx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
test cl, 1
je 0x5da267
and ecx, 0xfffffffe
mov byte [esp + 0x2f], cl
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
nop
mov eax, dword [esp + 0x40]
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
movzx ebx, byte [esp + 0x70]
test bl, bl
je 0x5da320
test esi, esi
jne 0x5da448
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
ja 0x5da43f
mov dword [esp], 0
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044bc00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x5da438
cmp eax, edx
ja 0x5da431
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
mov ebp, dword [esp + 0x44]
add ecx, ebp
mov dword [esp + 0x7c], ecx
sub edx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [0x8608dc]
mov ecx, dword [0x8608d8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], eax
mov eax, dword [0x8608dc]
mov ecx, dword [0x8608d8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x5c
ret
mov ecx, edx
call fcn.0045f840
mov ecx, edx
call fcn.0045f950
mov ecx, eax
mov edx, ebx
call fcn.0045f820
mov ecx, eax
mov edx, dword [esp + 0x3c]
call fcn.0045f910
mov ecx, edx
call fcn.0045f840
mov ecx, edx
call fcn.0045f950
call fcn.0045f830
call fcn.0045f820
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
call fcn.0045f910
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x658860]
mov dword [esp + 8], eax
call fcn.00408a80
nop
call fcn.004337a0
add esp, 0x5c
ret
call fcn.0045e340
jmp fcn.005d9f00