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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1ec]
cmp eax, dword [ecx + 8]
jbe 0x5c2b3f
sub esp, 0x26c
lea eax, [0x600e80]
mov dword [esp], eax
call fcn.0040c490
mov eax, dword [esp + 4]
mov dword [esp + 0x260], eax
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0046754a
mov ecx, dword [esp + 0x270]
mov edx, dword [ecx + 0x138]
test edx, edx
je 0x5c25dd
mov ebx, dword [ecx + 0x13c]
mov dword [esp + 0x264], edx
mov dword [esp + 0x268], ebx
mov edx, dword [esp + 0x264]
test edx, edx
je 0x5c25d5
movzx ebx, byte [edx + 0xf]
nop
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5c25cc
or ebx, 0x80
mov ebp, dword [esp + 0x268]
jmp 0x5c25e3
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x5c25e3
xor ebx, ebx
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x25c], ebp
mov dword [esp + 0x258], edx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004990b0
cmp dword [esp + 0xc], 0x29
jle 0x5c281d
mov eax, dword [esp + 0x258]
mov dword [esp], eax
mov eax, dword [esp + 0x25c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x29
call fcn.00497d30
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
cmp eax, 9
ja 0x5c2675
cmp eax, 7
jne 0x5c2659
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5c269b
cmp eax, 8
jne 0x5c2665
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5c269b
cmp eax, 9
jne 0x5c2b04
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5c269b
cmp eax, 0xa
jne 0x5c2680
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5c269b
cmp eax, 0xb
jne 0x5c268e
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5c269b
cmp eax, 0xc
jne 0x5c2b04
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x5c280b
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x270]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5c2702
lea edi, [esp + 0x88]
xor eax, eax
call fcn.00467518
mov ecx, dword [edx + 0x78]
lea ebx, [0x615320]
cmp ecx, ebx
jne 0x5c2aee
mov esi, dword [edx + 0x7c]
lea edi, [esp + 0x88]
call fcn.00467830
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x24]
sub ecx, eax
jmp 0x5c273d
lea edi, [esp + 0x168]
xor eax, eax
call fcn.00467514
mov ecx, dword [edx + 0x78]
lea ebx, [0x614fa0]
cmp ecx, ebx
jne 0x5c2ad8
mov esi, dword [edx + 0x7c]
lea edi, [esp + 0x168]
call fcn.00467808
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005b9930
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
lea edi, [esp + 0x70]
lea esi, [esp + 0x58]
call fcn.00467a24
lea ecx, [0x60a260]
mov dword [esp], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004cc720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x270]
mov dword [esp], ecx
lea edx, [0x5e0d60]
mov dword [esp + 4], edx
lea edx, [esp + 0x58]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005ba620
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5c27f9
mov edi, dword [esp + 0x260]
lea esi, [esp + 0x58]
call fcn.00467a24
mov eax, dword [esp + 0x60]
test eax, eax
je 0x5c282f
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x5c282f
mov ecx, dword [esp + 0x270]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005b9930
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x260]
mov edx, dword [esp + 0x270]
xor ebx, ebx
jmp 0x5c29d4
mov dword [esp + 0x274], 0
add esp, 0x26c
ret
mov dword [esp + 0x274], 0
add esp, 0x26c
ret
mov dword [esp + 0x274], 0
add esp, 0x26c
ret
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5c2897
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x5c2897
mov ecx, dword [esp + 0x270]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005b9930
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x5fbbe0]
mov dword [esp], ecx
lea edx, [esp + 0x50]
mov dword [esp + 4], edx
call fcn.004cc720
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x5c28e0
mov eax, dword [esp + 0x260]
mov dword [esp + 0x274], eax
add esp, 0x26c
ret
mov dword [ecx + 0x28], ebx
lea esi, [ebp + ebx*8 - 8]
lea ebp, [ebp + ebx*8 - 4]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esi], edi
mov dword [ebp], eax
mov ebp, dword [esp + 0x38]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
lea edx, [ebp + eax]
mov ebp, dword [esp + 0x270]
mov ecx, ebp
test eax, eax
je 0x5c29bd
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0x6c]
mov esi, eax
mov eax, ebp
xor edx, edx
div esi
cmp ebx, eax
jae 0x5c2897
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], ecx
lea eax, [0x5e0da0]
mov dword [esp + 4], eax
lea edx, [esp + 0x48]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.005ba620
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5c2897
mov ecx, dword [esp + 0x260]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x28]
inc ebx
mov ebp, dword [ecx + 0x24]
cmp edx, ebx
jae 0x5c28ac
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5fbbe0]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x260]
mov dword [ebx + 0x2c], eax
mov eax, dword [0x7f7690]
test eax, eax
je 0x5c29aa
call fcn.004672b0
mov dword [edi], ecx
mov ebp, dword [ebx + 0x24]
mov dword [edi + 4], ebp
mov dword [ebx + 0x24], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x260]
jmp 0x5c28ac
call fcn.00436b70
mov dword [ecx + 0x1c], edi
mov dword [edx + edi*4 - 4], esi
inc ebx
add eax, 4
mov edx, dword [esp + 0x270]
mov ebp, dword [esp + 0x64]
shr ebp, 2
cmp ebx, ebp
jae 0x5c282f
mov ebp, dword [edx + 0x2ac]
add ebp, 0xfffffffc
cmp eax, ebp
jbe 0x5c29fa
mov ebp, dword [0x7c3d28]
xor esi, esi
jmp 0x5c2a31
mov ebp, dword [edx + 0x28c]
cmp eax, ebp
ja 0x5c2ad1
mov esi, dword [edx + 0x290]
sub ebp, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebp, 3
jbe 0x5c2ac5
mov edi, dword [edx + 0x288]
mov esi, dword [edi + esi]
xor ebp, ebp
test ebp, ebp
jne 0x5c282f
mov ebp, dword [ecx + 0x20]
mov edi, dword [ecx + 0x1c]
inc edi
mov edx, dword [ecx + 0x18]
cmp ebp, edi
jae 0x5c29c2
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], eax
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5eed60]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x260]
mov dword [ebx + 0x20], eax
mov eax, dword [0x7f7690]
test eax, eax
je 0x5c2aa6
call fcn.004672b0
mov dword [edi], ecx
mov ebp, dword [ebx + 0x18]
mov dword [edi + 4], ebp
mov dword [ebx + 0x18], ecx
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
mov edi, edx
mov edx, ecx
mov ecx, dword [esp + 0x260]
jmp 0x5c29c2
mov eax, 3
mov ecx, ebp
call fcn.00467310
mov ecx, ebp
call fcn.00467380
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x5efca0]
mov dword [esp + 8], eax
call fcn.00409960
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x5efca0]
mov dword [esp + 8], eax
call fcn.00409960
lea eax, [0x5fd2c0]
mov dword [esp], eax
call fcn.0040c490
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x620706]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [0x5f5020]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00437cb0
nop
call fcn.00465ea0
jmp fcn.005c2540