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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x5c6b01
sub esp, 0xe0
mov eax, 0
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 4], ecx
call fcn.005c5660
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
test eax, eax
jne 0x5c6565
mov dword [esp + 0x68], edx
lea ecx, [0x5c6b50]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd8], ecx
mov byte [esp + 0x2b], 1
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.004773d5
mov dword [esp + 0xa4], 0x2c
mov ecx, dword [esp + 0xe8]
mov ebx, dword [ecx + 0x28]
mov ebp, dword [ecx + 0x24]
test ebx, ebx
jne 0x5c652f
mov dword [esp + 0x5c], 1
mov ebx, 1
lea ebp, [esp + 0x5c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x74], ebp
lea eax, [0x6b0aa0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
call fcn.004726e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
mov ebx, edx
xor ebp, ebp
xor esi, esi
jmp 0x5c65a4
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
add esp, 0xe0
ret
mov ecx, dword [esp + 0x58]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x3c]
mov esi, eax
mov eax, ebx
mov ebx, dword [esp + 0x3c]
cmp ebp, ebx
jge 0x5c6679
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x5c6675
mov dword [esp + 0x58], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x6c], eax
mov eax, dword [0x8a6e0c]
lea ecx, [0x6c3bc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.0046dbd0
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
test al, al
je 0x5c6664
mov eax, dword [esp + 0x30]
inc eax
mov edx, dword [esp + 0x34]
cmp edx, eax
jb 0x5c6605
mov ebx, dword [esp + 0x6c]
jmp 0x5c6643
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6b0aa0]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0x70]
mov ebp, dword [0x8c88d8]
test ebp, ebp
je 0x5c665b
call fcn.004772f0
mov dword [edi], ecx
mov ebp, dword [ebx + eax*4 - 4]
mov dword [edi + 4], ebp
mov dword [ebx + eax*4 - 4], ecx
jmp 0x5c658d
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x6c]
jmp 0x5c658d
xor eax, eax
xor esi, esi
test eax, eax
je 0x5c6698
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], eax
jmp 0x5c66b9
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xe8]
lea esi, [eax + 0x10]
mov dword [esp + 0x84], esi
lea edi, [esp + 0x90]
call fcn.004778be
lea edi, [esp]
lea esi, [esp + 0x90]
call fcn.004778be
call fcn.004b5fa0
movzx eax, byte [esp + 0x14]
test al, al
je 0x5c66f7
xor eax, eax
jmp 0x5c6746
lea edi, [esp + 0x90]
mov esi, dword [esp + 0x84]
call fcn.004778be
lea edi, [esp]
lea esi, [esp + 0x90]
call fcn.004778be
call fcn.004b7690
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ab160
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x10]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [esp + 0xa4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], eax
call fcn.004abc70
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
test eax, eax
jne 0x5c6906
mov eax, dword [esp + 0x64]
lea ecx, [0x5c6b10]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0xdc], eax
mov byte [esp + 0x2b], 3
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xe4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 8], eax
call fcn.005c61d0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x60], ebp
test eax, eax
jne 0x5c68c3
mov esi, dword [esp + 0xf4]
mov edi, dword [esp + 0xf0]
inc edi
mov ebp, dword [esp + 0xec]
cmp esi, edi
jae 0x5c6891
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x7c], ecx
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x6b6f60]
mov dword [esp + 0x10], eax
call fcn.00472770
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xec], ebp
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0xf0], edi
lea esi, [edi + edi*2]
mov dword [ebp + esi*4 - 8], edx
mov dword [ebp + esi*4 - 4], ebx
mov ebx, dword [0x8c88d8]
test ebx, ebx
je 0x5c68bb
call fcn.004772f0
mov dword [edi], ecx
mov ebx, dword [ebp + esi*4 - 0xc]
mov dword [edi + 4], ebx
mov dword [ebp + esi*4 - 0xc], ecx
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov ebx, dword [ecx + 0x14]
test ebx, ebx
jbe 0x5c693e
jl 0x5c6aef
mov eax, 4
mul ebx
jo 0x5c6ade
mov esi, dword [ecx + 0x18]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp eax, esi
ja 0x5c6ade
mov dword [esp + 0x38], ebx
mov dword [esp + 0x80], edi
xor eax, eax
jmp 0x5c69f2
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xd8]
mov eax, dword [edx]
call eax
add esp, 0xe0
ret
mov ecx, dword [esp + 0xf0]
test ecx, ecx
jne 0x5c699f
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ebp
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xdc]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xd8]
mov eax, dword [edx]
call eax
add esp, 0xe0
ret
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xdc]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xd8]
mov eax, dword [edx]
call eax
add esp, 0xe0
ret
mov ecx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x80]
cmp eax, ebx
jge 0x5c6ad5
mov dword [esp + 0x58], eax
mov ecx, dword [edi + eax*4]
mov edx, dword [esp + 0xe4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 8], ecx
call fcn.005c61d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x5c69dc
mov eax, dword [esp + 0xf4]
mov ebp, dword [esp + 0xf0]
inc ebp
mov esi, dword [esp + 0xec]
cmp eax, ebp
jae 0x5c6aa1
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x78], ecx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6b6f60]
mov dword [esp + 0x10], eax
call fcn.00472770
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xec], esi
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xf0], ebp
lea eax, [ebp + ebp*2]
mov dword [esi + eax*4 - 8], edx
mov dword [esi + eax*4 - 4], ebx
mov ebx, dword [0x8c88d8]
test ebx, ebx
je 0x5c6acc
call fcn.004772f0
mov dword [edi], ecx
mov ebx, dword [esi + eax*4 - 0xc]
mov dword [edi + 4], ebx
mov dword [esi + eax*4 - 0xc], ecx
jmp 0x5c69dc
mov eax, dword [esp + 0x2c]
jmp 0x5c693e
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x5c6aea
call fcn.00467d50
call fcn.00467de0
call fcn.00467d50
nop
call fcn.0043af70
add esp, 0xe0
ret
call fcn.00475ee0
jmp fcn.005c6420