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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x144]
cmp eax, dword [ecx + 8]
jbe 0x5e1470
sub esp, 0x1c4
mov eax, dword [esp + 0x1cc]
jmp 0x5e105e
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
lea edi, [esp + 0x30]
xor eax, eax
call fcn.004716f8
mov ecx, dword [esp + 0x1c8]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
call fcn.005ef660
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
lea edi, [esp + 0x60]
lea esi, [esp + 0x30]
call fcn.00471bc0
lea ecx, [0x6a2600]
mov dword [esp], ecx
lea edx, [esp + 0x60]
mov dword [esp + 4], edx
call fcn.004e1200
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x1c8]
mov dword [esp], edx
lea ebx, [0x6638a0]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x30]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x50]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.005f0300
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5e1440
lea edi, [esp + 0x160]
xor eax, eax
call fcn.004716f8
lea ecx, [esp + 0x30]
mov dword [esp], ecx
lea edx, [esp + 0x160]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x20
call fcn.00402430
movzx ecx, byte [esp + 0xc]
test cl, cl
jne 0x5e140b
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
add eax, ecx
mov ecx, dword [esp + 0x1c8]
mov edx, dword [ecx + 0x28c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x50]
sub edx, ebp
cmp ebx, eax
jb 0x5e1165
cmp dword [esp + 0x3c], eax
jae 0x5e1187
cmp ebx, eax
jbe 0x5e1165
mov edx, dword [esp + 0x3c]
mov ebx, eax
sub eax, edx
mov esi, eax
jmp 0x5e118b
mov edx, dword [esp + 0x3c]
cmp edx, eax
jbe 0x5e1177
mov edx, eax
sub eax, ebx
mov ebx, edx
mov esi, eax
jmp 0x5e118b
mov esi, eax
sub eax, ebx
mov ebx, esi
sub esi, edx
cmp esi, eax
ja 0x5e118b
mov esi, eax
jmp 0x5e118b
mov ebx, eax
mov esi, edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x24], esi
movzx eax, byte [ecx + 0x295]
test al, al
je 0x5e11d2
mov dword [esp], ecx
lea eax, [0x6638a0]
mov dword [esp + 4], eax
lea edx, [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
call fcn.005f2e50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
jmp 0x5e1204
mov dword [esp], ecx
lea eax, [0x6638a0]
mov dword [esp + 4], eax
lea edx, [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
call fcn.005f2500
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
test ecx, ecx
jne 0x5e13f6
mov dword [esp + 0x180], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x5e1267
lea edi, [esp + 0x80]
xor eax, eax
call fcn.004716c8
mov ecx, dword [esp + 0x1c8]
mov ebp, dword [ecx + 0x78]
lea ebx, [0x6ae520]
cmp ebp, ebx
jne 0x5e1459
mov ebp, dword [ecx + 0x7c]
lea edi, [esp + 0x80]
mov esi, ebp
call fcn.004719e0
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x9c]
jmp 0x5e126b
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
call fcn.005efa80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x184], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005ef020
movzx eax, byte [esp + 8]
test al, al
je 0x5e105a
lea edi, [esp + 0x18c]
xor eax, eax
call fcn.004716f2
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18c], ecx
mov ecx, dword [esp + 0x184]
mov dword [esp + 0x190], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x194], ecx
mov ecx, dword [esp + 0x180]
mov dword [esp + 0x198], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x19c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1a0], ecx
lea edi, [esp + 0x1a4]
lea esi, [esp + 0x30]
call fcn.00471bc0
mov ecx, dword [esp + 0x1c8]
mov edx, dword [ecx + 0x1b4]
mov ebx, dword [ecx + 0x1b0]
inc ebx
mov ebp, dword [ecx + 0x1ac]
cmp edx, ebx
jae 0x5e139c
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6962a0]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c8]
mov dword [ebx + 0x1b4], eax
mov eax, dword [0x90f128]
test eax, eax
je 0x5e138b
call fcn.00471470
mov dword [edi], ecx
mov ebp, dword [ebx + 0x1ac]
mov dword [edi + 4], ebp
mov dword [ebx + 0x1ac], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x1c8]
mov dword [ecx + 0x1b0], ebx
mov edx, dword [0x90f128]
imul ebx, ebx, 0x38
lea edi, [ebx + ebp - 0x38]
test edx, edx
je 0x5e13e5
mov dword [esp + 0x188], edi
lea eax, [0x6962a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x18c]
mov dword [esp + 8], eax
call fcn.0040eab0
mov ecx, dword [esp + 0x1c8]
mov edi, dword [esp + 0x188]
lea esi, [esp + 0x18c]
call fcn.00471b84
jmp 0x5e105a
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d8], ebp
add esp, 0x1c4
ret
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax + 0x1b0]
test ecx, ecx
je 0x5e1423
mov byte [eax + 0x2a8], 1
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 0
add esp, 0x1c4
ret
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d8], eax
add esp, 0x1c4
ret
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea eax, [0x677be0]
mov dword [esp + 8], eax
call fcn.00409df0
nop
call fcn.00470060
jmp fcn.005e1030