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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x5cd277
sub esp, 0xf4
mov eax, 0
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp + 4], ecx
call fcn.005cba10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
test eax, eax
jne 0x5ccbac
mov dword [esp + 0x9c], edx
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
lea ecx, [0x5cd2d0]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
lea ecx, [esp + 0xdc]
mov dword [esp + 0xec], ecx
mov byte [esp + 0x2b], 1
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.0046cb25
mov dword [esp + 0xb0], 0x2c
mov ecx, dword [esp + 0xfc]
mov ebx, dword [ecx + 0x28]
mov ebp, dword [ecx + 0x24]
test ebx, ebx
jne 0x5ccb70
mov dword [esp + 0x58], 0
mov dword [esp + 0x58], 1
mov ebx, 1
lea ebp, [esp + 0x58]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x8c], ebp
lea eax, [0x6860c0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
call fcn.004507f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x8c]
mov ebx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x5ccbf2
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf4
ret
mov ecx, dword [esp + 0x5c]
inc ecx
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x8c]
mov edx, esi
mov esi, ebx
mov ebx, dword [esp + 0x3c]
mov edi, ebp
mov ebp, ecx
mov ecx, edi
cmp ebp, ebx
jge 0x5ccce6
mov edi, dword [edx + ebp*4]
test edi, edi
je 0x5ccce2
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x98], eax
mov eax, dword [0x96efa0]
lea ecx, [0x695dc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.0040fd30
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax]
test cl, cl
je 0x5cccce
mov ebx, dword [eax + 4]
test ebx, ebx
jbe 0x5cd261
mov ebx, dword [esp + 0x40]
inc ebx
mov ebp, dword [esp + 0x44]
cmp ebp, ebx
jb 0x5ccc68
mov eax, dword [esp + 0x98]
jmp 0x5cccad
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6860c0]
mov dword [esp + 0x10], eax
call fcn.004508b0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x90]
mov ebp, ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
je 0x5cccc5
call fcn.0046c8a0
mov dword [edi], edx
mov ecx, dword [eax + ebx*4 - 4]
mov dword [edi + 4], ecx
mov dword [eax + ebx*4 - 4], edx
jmp 0x5ccbd4
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x98]
jmp 0x5ccbd4
xor eax, eax
xor esi, esi
test eax, eax
je 0x5ccd0d
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], esi
test esi, esi
jbe 0x5cd258
mov dword [esp + 0xbc], eax
jmp 0x5ccd2e
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov ecx, dword [esp + 0xfc]
lea esi, [ecx + 0x10]
mov dword [esp + 0xe8], esi
lea edi, [esp + 0x74]
call fcn.0046d00e
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
test ecx, 0x80000000
je 0x5ccd7c
shl ecx, 1
mov ebx, edx
shl edx, 1
mov ebp, ebx
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
shr ebx, 0x1f
add edx, 0xd7b17f80
adc ebx, 0xd
jmp 0x5ccd8b
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov ebp, edx
mov edx, ecx
test edx, edx
sete cl
test ebx, ebx
sete dl
and edx, ecx
test dl, dl
je 0x5ccda6
test ebp, 0x3fffffff
sete cl
jmp 0x5ccda8
xor ecx, ecx
xor ecx, 1
test cl, cl
je 0x5cce6b
lea edi, [esp + 0x60]
mov esi, dword [esp + 0xe8]
call fcn.0046d00e
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
test ecx, 0x80000000
je 0x5ccdf7
shl ecx, 1
mov ebx, edx
shl edx, 1
mov ebp, ebx
shr ebx, 0x1f
or ebx, ecx
mov ecx, ebx
shl ebx, 1
shr edx, 0x1f
or edx, ebx
shr ecx, 0x1f
add edx, 0xd7b17f80
adc ecx, 0xd
jmp 0x5cce03
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov ebp, edx
mov edx, ebx
imul ecx, ecx, 0x3b9aca00
mov eax, 0x3b9aca00
mul edx
add ecx, edx
and ebp, 0x3fffffff
mov edx, ebp
sar ebp, 0x1f
nop
add eax, edx
adc ecx, ebp
add eax, 0x3d1a0000
mov dword [esp], eax
adc ecx, 0xa1b203eb
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
call fcn.00464760
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, 0xd53e8000
mov dword [esp + 0x30], ecx
adc edx, 0x19db1de
mov dword [esp + 0x34], edx
lea eax, [esp + 0x30]
jmp 0x5cce6d
xor eax, eax
mov dword [esp + 0x94], 0
mov ecx, dword [esp + 0x9c]
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 + 0xb0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0
lea eax, [esp + 0x94]
mov dword [esp + 0x1c], eax
call fcn.004a2ff0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
test eax, eax
jne 0x5cd061
mov eax, dword [esp + 0x94]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x5cd290]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xf0], eax
mov byte [esp + 0x2b], 3
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xf8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 8], eax
call fcn.005cc640
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x88], ebp
test eax, eax
jne 0x5cd01b
mov esi, dword [esp + 0x108]
mov edi, dword [esp + 0x104]
inc edi
mov ebp, dword [esp + 0x100]
cmp esi, edi
jae 0x5ccfe6
mov dword [esp + 0x54], ebx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x4c], edx
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x689f00]
mov dword [esp + 0x10], eax
call fcn.004508b0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x108], eax
mov dword [esp + 0x100], ebp
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x104], edi
lea esi, [edi + edi*2]
mov dword [ebp + esi*4 - 8], edx
mov dword [ebp + esi*4 - 4], ebx
mov ebx, dword [0x9aef70]
test ebx, ebx
je 0x5cd010
call fcn.0046c8a0
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 + 0x88]
mov ecx, dword [esp + 0x94]
mov ebx, dword [ecx + 0x14]
test ebx, ebx
jbe 0x5cd099
jl 0x5cd253
mov eax, 4
mul ebx
jo 0x5cd242
mov esi, dword [ecx + 0x18]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp eax, esi
ja 0x5cd242
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xe4], edi
xor eax, eax
jmp 0x5cd150
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov ecx, dword [esp + 0x104]
test ecx, ecx
jne 0x5cd0fa
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ebp
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov ecx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0xe4]
cmp eax, ebx
jge 0x5cd239
mov dword [esp + 0x5c], eax
mov ecx, dword [edi + eax*4]
mov edx, dword [esp + 0xf8]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 8], ecx
call fcn.005cc640
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x5cd137
mov eax, dword [esp + 0x108]
mov ebp, dword [esp + 0x104]
inc ebp
mov esi, dword [esp + 0x100]
cmp eax, ebp
jae 0x5cd205
mov dword [esp + 0x48], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x50], ebx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x689f00]
mov dword [esp + 0x10], eax
call fcn.004508b0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x108], eax
mov dword [esp + 0x100], esi
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x104], ebp
lea eax, [ebp + ebp*2]
mov dword [esi + eax*4 - 8], edx
mov dword [esi + eax*4 - 4], ebx
mov ebx, dword [0x9aef70]
test ebx, ebx
je 0x5cd230
call fcn.0046c8a0
mov dword [edi], ecx
mov ebx, dword [esi + eax*4 - 0xc]
mov dword [edi + 4], ebx
mov dword [esi + eax*4 - 0xc], ecx
jmp 0x5cd137
mov eax, dword [esp + 0x38]
jmp 0x5cd099
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x5cd24e
call fcn.00463df0
call fcn.00463e80
call fcn.00463df0
xor eax, eax
mov ecx, eax
call fcn.0046c910
xor eax, eax
mov ecx, eax
call fcn.0046c910
nop
call fcn.00439380
add esp, 0xf4
ret
call fcn.0046b490
jmp fcn.005cca40