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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x314]
cmp eax, dword [ecx + 8]
jbe 0x5cb23d
sub esp, 0x394
lea eax, [0x5f6dc0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
lea ecx, [0x5cb2d0]
mov dword [eax], ecx
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x5ca693
mov edx, dword [esp + 0x398]
mov dword [eax + 4], edx
jmp 0x5ca6ad
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x398]
call fcn.00463860
mov eax, ecx
mov edx, dword [esp + 0x398]
mov dword [esp + 0x54], eax
mov ebx, dword [edx + 0x108]
movzx ebx, byte [ebx]
test bl, bl
jne 0x5ca748
mov ebx, dword [0x7e2780]
test ebx, ebx
jne 0x5ca6da
lea ebx, [0x634318]
mov dword [0x7baeb4], ebx
jmp 0x5ca6ef
lea edi, [0x7baeb4]
mov ecx, eax
lea eax, [0x634318]
call fcn.00463860
mov eax, ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov ebx, dword [edx + 0xdc]
mov ebp, dword [edx + 0xe0]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
lea ebx, [0x61bc52]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 3
xor ecx, ecx
jmp 0x5caa6d
mov eax, dword [0x7bbe70]
mov dword [esp + 0x24], eax
mov ecx, dword [0x7bbe74]
mov dword [esp + 0x34], ecx
lea edx, [0x5f8740]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00409900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5ca7be
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
lea eax, [0x603540]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004094a0
mov ecx, dword [esp + 8]
lea eax, [0x674c48]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x188]
mov edx, eax
xor eax, eax
call fcn.00463a84
mov dword [esp + 0x188], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18c], ecx
mov byte [esp + 0x190], 0xff
mov byte [esp + 0x190], 7
lea edi, [esp + 0xf8]
lea esi, [esp + 0x188]
call fcn.00463f28
lea ecx, [0x611740]
mov dword [esp], ecx
lea ecx, [esp + 0xf8]
mov dword [esp + 4], ecx
call fcn.004094a0
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
lea edx, [0x5f8740]
mov dword [esp], edx
lea edx, [0x674840]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00409900
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test ecx, ecx
jne 0x5ca882
lea eax, [0x674840]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], eax
lea eax, [0x603540]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.004094a0
mov edx, dword [esp + 8]
lea ecx, [0x674c48]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x248]
xor eax, eax
call fcn.00463a84
mov ecx, dword [esp + 0x25c]
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x248], ebx
mov dword [esp + 0x24c], edx
mov byte [esp + 0x250], 0xff
lea edx, [0x5f0f40]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1f4
call fcn.0044a1a0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x25c], ecx
mov dword [esp + 0x260], 0
mov dword [esp + 0x264], 0x1f4
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x5ca91f
mov dword [esp + 0x25c], ecx
mov dword [esp + 0x260], 0
mov dword [esp + 0x264], 0x1f4
jmp 0x5ca93f
mov byte [ecx], 0x7b
mov dword [esp + 0x25c], ecx
mov dword [esp + 0x260], 1
mov dword [esp + 0x264], 0x1f4
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00463a84
lea edi, [esp + 0xc8]
lea esi, [esp + 0x248]
call fcn.00463f28
lea edi, [esp + 0x308]
lea esi, [esp + 0xc8]
call fcn.00463f28
lea edi, [esp + 0x218]
lea esi, [esp + 0x308]
call fcn.00463f28
mov ecx, dword [esp + 0x23c]
inc ecx
mov edx, dword [esp + 0x238]
mov ebx, dword [esp + 0x240]
cmp ebx, ecx
jae 0x5ca9dc
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f6220]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x240], eax
mov dword [esp + 0x238], edx
mov dword [esp + 0x23c], ecx
lea ebx, [edx + ecx*8 - 8]
lea ebp, [0x67482c]
mov dword [ebx], ebp
lea edi, [edx + ecx*8 - 4]
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x5caa05
mov eax, dword [esp + 0x54]
mov dword [edi], eax
jmp 0x5caa0e
mov eax, dword [esp + 0x54]
call fcn.00463860
mov eax, dword [0x7e2780]
test eax, eax
jne 0x5caa2c
lea edi, [0x7bc8e0]
lea esi, [esp + 0x218]
call fcn.00463f28
jmp 0x5caa4f
lea eax, [0x611740]
mov dword [esp], eax
lea eax, [0x7bc8e0]
mov dword [esp + 4], eax
lea eax, [esp + 0x218]
mov dword [esp + 8], eax
call fcn.004108d0
mov dword [esp + 0x39c], 0
mov dword [esp + 0x3a0], 0
add esp, 0x394
ret
inc ecx
cmp ecx, 2
jge 0x5caacb
lea ebx, [esp + ecx*8 + 0x78]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x5caa6c
cmp ecx, 2
ja 0x5cb230
mov eax, ecx
shl ecx, 3
add eax, 0xfffffffe
neg eax
mov edx, eax
neg eax
sar eax, 0x1f
and ecx, eax
lea eax, [esp + ecx + 0x78]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
lea eax, [0x672e60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004a88d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, eax
jmp 0x5caacf
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ecx
lea eax, [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00570420
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov edx, dword [esp + 0x398]
mov ebx, dword [edx + 0xc0]
mov ebp, dword [edx + 0xc4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.004096f0
mov eax, dword [esp + 8]
lea ecx, [0x5f0d80]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x61c224]
mov dword [esp], eax
mov dword [esp + 4], 6
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ce1a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
xor eax, eax
jmp 0x5cabdf
inc eax
cmp eax, 2
jge 0x5cac41
lea edx, [esp + eax*8 + 0x88]
mov edx, dword [edx + 4]
test edx, edx
je 0x5cabde
cmp eax, 2
ja 0x5cb226
mov ecx, eax
shl eax, 3
add ecx, 0xfffffffe
neg ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
lea eax, [esp + eax + 0x88]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
lea eax, [0x672e60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004a88d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x5cac45
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x441
mov dword [esp + 0xc], 0x1a4
call fcn.0049c940
mov eax, dword [0x7e2780]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
jne 0x5cac92
mov eax, dword [esp + 0x398]
mov dword [eax + 0x104], ecx
jmp 0x5caca6
mov esi, dword [esp + 0x398]
lea edi, [esi + 0x104]
mov eax, ecx
call fcn.00463860
test edx, edx
jne 0x5cb211
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call fcn.005b7010
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x5cb1fc
mov dword [esp + 0x3c], eax
lea eax, [0x5eb860]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00404b50
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x674c60]
mov dword [esp + 0x58], ecx
lea ecx, [0x673ba4]
mov dword [esp + 0x5c], ecx
mov dword [esp], eax
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005b69d0
lea eax, [0x5faaa0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
lea ecx, [0x5cb250]
mov dword [eax], ecx
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x5cad7c
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
jmp 0x5cad98
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00463860
lea edi, [ecx + 8]
mov eax, dword [esp + 0x3c]
call fcn.00463860
mov eax, ecx
mov dword [esp], eax
call fcn.00440dc0
lea edi, [esp + 0x338]
xor eax, eax
call fcn.00463a79
lea ecx, [0x674520]
mov dword [esp + 0x338], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x33c], ecx
lea ecx, [0x6262a5]
mov dword [esp + 0x344], ecx
mov dword [esp + 0x348], 0x1d
mov byte [esp + 0x340], 1
lea ecx, [0x612520]
mov dword [esp], ecx
lea ecx, [esp + 0x338]
mov dword [esp + 4], ecx
call fcn.004094a0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
lea ecx, [0x5f8740]
mov dword [esp], ecx
lea ecx, [0x674818]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00409900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5cae61
lea eax, [0x674818]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], eax
lea eax, [0x603540]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.004094a0
mov ecx, dword [esp + 8]
lea eax, [0x674c48]
mov dword [esp + 0x40], ecx
lea edi, [esp + 0x1e8]
mov edx, eax
xor eax, eax
call fcn.00463a84
mov ecx, dword [esp + 0x1fc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1e8], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1ec], edx
mov byte [esp + 0x1f0], 0xff
lea edx, [0x5f0f40]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1f4
call fcn.0044a1a0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1fc], ecx
mov dword [esp + 0x200], 0
mov dword [esp + 0x204], 0x1f4
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x5caf00
mov dword [esp + 0x1fc], ecx
mov dword [esp + 0x200], 0
mov dword [esp + 0x204], 0x1f4
jmp 0x5caf20
mov byte [ecx], 0x7b
mov dword [esp + 0x1fc], ecx
mov dword [esp + 0x200], 1
mov dword [esp + 0x204], 0x1f4
lea edi, [esp + 0x98]
xor eax, eax
call fcn.00463a84
lea edi, [esp + 0x98]
lea esi, [esp + 0x1e8]
call fcn.00463f28
lea edi, [esp + 0x2d8]
lea esi, [esp + 0x98]
call fcn.00463f28
lea edi, [esp + 0x158]
lea esi, [esp + 0x2d8]
call fcn.00463f28
mov ecx, dword [0x7e2454]
mov dword [esp], ecx
call fcn.004095e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x17c]
inc ecx
mov edx, dword [esp + 0x178]
mov ebx, dword [esp + 0x180]
cmp ebx, ecx
jae 0x5cafd7
mov dword [esp + 0x50], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f6220]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x180], eax
mov dword [esp + 0x178], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x17c], ecx
lea ebx, [edx + ecx*8 - 8]
lea ebp, [0x674854]
mov dword [ebx], ebp
lea edi, [edx + ecx*8 - 4]
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x5caffc
mov dword [edi], eax
jmp 0x5cb001
call fcn.00463860
lea edi, [esp + 0x2d8]
lea esi, [esp + 0x158]
call fcn.00463f28
lea edi, [esp + 0x2a8]
lea esi, [esp + 0x2d8]
call fcn.00463f28
lea edi, [esp + 0x128]
lea esi, [esp + 0x2a8]
call fcn.00463f28
mov ecx, dword [esp + 0x14c]
inc ecx
mov edx, dword [esp + 0x148]
mov ebx, dword [esp + 0x150]
cmp ebx, ecx
jae 0x5cb090
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f6220]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x150], eax
mov dword [esp + 0x148], edx
mov dword [esp + 0x14c], ecx
lea ebx, [edx + ecx*8 - 8]
lea ebp, [0x674868]
mov dword [ebx], ebp
lea edi, [edx + ecx*8 - 4]
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x5cb0bb
lea ecx, [0x7e2564]
mov dword [edi], ecx
jmp 0x5cb0c6
lea eax, [0x7e2564]
call fcn.00463860
lea edi, [esp + 0x2a8]
lea esi, [esp + 0x128]
call fcn.00463f28
lea edi, [esp + 0x278]
lea esi, [esp + 0x2a8]
call fcn.00463f28
lea edi, [esp + 0x1b8]
lea esi, [esp + 0x278]
call fcn.00463f28
mov ecx, dword [esp + 0x1dc]
inc ecx
mov edx, dword [esp + 0x1d8]
mov ebx, dword [esp + 0x1e0]
cmp ebx, ecx
jae 0x5cb155
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f6220]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1e0], eax
mov dword [esp + 0x1d8], edx
mov dword [esp + 0x1dc], ecx
lea ebx, [edx + ecx*8 - 8]
lea ebp, [0x67482c]
mov dword [ebx], ebp
lea edi, [edx + ecx*8 - 4]
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x5cb17e
mov eax, dword [esp + 0x54]
mov dword [edi], eax
jmp 0x5cb187
mov eax, dword [esp + 0x54]
call fcn.00463860
mov eax, dword [0x7e2780]
test eax, eax
jne 0x5cb1a5
lea edi, [0x7bc8e0]
lea esi, [esp + 0x1b8]
call fcn.00463f28
jmp 0x5cb1c8
lea eax, [0x611740]
mov dword [esp], eax
lea eax, [0x7bc8e0]
mov dword [esp + 4], eax
lea eax, [esp + 0x1b8]
mov dword [esp + 8], eax
call fcn.004108d0
nop
mov eax, dword [0x7baec0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00468130
mov dword [esp + 0x39c], 0
mov dword [esp + 0x3a0], 0
add esp, 0x394
ret
mov dword [esp + 0x39c], edx
mov dword [esp + 0x3a0], ebx
add esp, 0x394
ret
mov dword [esp + 0x39c], ebx
mov dword [esp + 0x3a0], ebp
add esp, 0x394
ret
mov ecx, 2
call fcn.00463940
mov eax, ecx
mov ecx, 2
call fcn.00463940
nop
call fcn.00462450
jmp fcn.005ca640