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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5e17b1
sub esp, 0x94
xor ebx, ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call fcn.004452c0
mov ebx, dword [esp]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
cmp ebx, ebp
jge 0x5e171c
mov ebx, dword [esp + 0x40]
cmp ebx, 0
je 0x5e17aa
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
mov ebp, dword [ebx + 8]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x80], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x50]
cmp ebx, ebp
jae 0x5e17a3
mov ebp, dword [esp + 0x4c]
shl ebx, 2
add ebp, ebx
mov ebx, dword [ebp]
mov dword [esp + 0x3c], ebx
mov edx, dword [esp + 0x74]
xor eax, eax
cmp eax, edx
jge 0x5e1638
mov dword [esp + 0x20], edx
mov ebx, edx
sub ebx, eax
mov ebp, ebx
sar ebx, 0x1f
sub ebp, ebx
mov ebx, ebp
sar ebx, 1
add ebx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x74]
cmp ebx, ebp
jae 0x5e179c
mov ebp, dword [esp + 0x70]
shl ebx, 2
add ebp, ebx
mov eax, dword [ebp]
mov ebx, dword [esp + 0x3c]
add ebx, eax
mov dword [esp], ebx
call fcn.005dbc50
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x98]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
call fcn.00463520
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
cmp ebx, 0
jge 0x5e1795
mov eax, ebp
inc eax
cmp eax, edx
jl 0x5e159f
mov ecx, dword [esp + 0x74]
cmp eax, ecx
jge 0x5e16f8
mov dword [esp + 0x24], eax
mov ebx, eax
mov ebp, dword [esp + 0x74]
cmp eax, ebp
jae 0x5e178e
mov ebp, dword [esp + 0x70]
shl ebx, 2
add ebp, ebx
mov eax, dword [ebp]
mov ebx, dword [esp + 0x3c]
add ebx, eax
mov dword [esp + 0x38], ebx
mov dword [esp], ebx
call fcn.005dbc50
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp ecx, esi
jne 0x5e16f8
mov dword [esp + 0x44], edi
mov dword [esp], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x98]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call fcn.004633f0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x5e16f8
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x5e1752
mov dword [esp + 0x5c], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 4
add ebx, ebp
mov ebp, dword [esp + 0x38]
cmp byte [0x8f7eb8], 0
jne 0x5e1744
mov dword [ebx], ebp
mov eax, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x74]
cmp eax, ecx
jl 0x5e1644
mov ebx, dword [esp + 0x40]
add ebx, 0xc
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x34]
inc ebx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
cmp ebx, ebp
jl 0x5e153e
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xa4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xa8], ebx
add esp, 0x94
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0041b160
jmp 0x5e16e7
mov dword [esp], 0x752d00
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00449ae0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, ebx
inc ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], ecx
jmp 0x5e16cf
call fcn.00435970
ud2
mov edx, ebp
jmp 0x5e1597
call fcn.00435970
ud2
call fcn.00435970
ud2
mov dword [ebx], eax
jmp 0x5e154b
call fcn.004616d0
jmp fcn.005e1490