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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e6085
sub esp, 0x5c
lea edi, [esp + 0x80]
xor eax, eax
call fcn.0045eb73
lea edi, [esp + 0x28]
call fcn.0045eb73
lea edi, [esp + 0x28]
lea esi, [esp + 0x60]
call fcn.0045f040
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov eax, ebp
mov ebp, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.005d3290
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
lea edx, [0x615800]
mov dword [esp], edx
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
lea ecx, [0x68b794]
mov edx, dword [esp + 0x20]
mov dword [edx + 0x30], ecx
mov ebx, dword [0x7e77b0]
test ebx, ebx
jne 0x5e5e75
mov dword [edx + 0x34], eax
jmp 0x5e5e7d
lea edi, [edx + 0x34]
call fcn.0045e950
lea eax, [0x615800]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
lea ecx, [0x68b794]
mov edx, dword [esp + 0x20]
mov dword [edx + 0x38], ecx
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x5e5eaf
mov dword [edx + 0x3c], eax
jmp 0x5e5eb7
lea edi, [edx + 0x3c]
call fcn.0045e950
lea eax, [0x620d00]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x7c]
mov byte [eax], cl
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x5e5ee3
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x4c], eax
jmp 0x5e5eef
mov ecx, dword [esp + 0x20]
lea edi, [ecx + 0x4c]
call fcn.0045e950
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
test edx, edx
je 0x5e5f15
mov dword [ecx + 0x24], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x5e5f0d
mov dword [ecx + 0x20], eax
jmp 0x5e5f15
lea edi, [ecx + 0x20]
call fcn.0045e950
mov dword [esp], ecx
call fcn.005d43e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5e6050
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.005d5170
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x54]
nop
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5e5f92
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp eax, ecx
ja 0x5e607f
mov dword [esp], 0
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
add edx, ebx
mov dword [esp + 4], edx
sub ecx, eax
mov dword [esp + 8], ecx
call fcn.0044aee0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x5e5f9d
mov ecx, 5
lea eax, [0x62e29f]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004a0380
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5e5fff
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp eax, ecx
ja 0x5e607a
mov dword [esp], 0
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
add edx, ebx
mov dword [esp + 4], edx
sub ecx, eax
mov dword [esp + 8], ecx
call fcn.0044aee0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x5e600a
mov ecx, 5
lea eax, [0x62e29f]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004a0380
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x28]
call fcn.0045f00e
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0x5c
ret
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x28]
call fcn.0045f00e
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edx
add esp, 0x5c
ret
call fcn.0045ea30
call fcn.0045ea30
nop
call fcn.0045d540
jmp fcn.005e5dd0