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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x5ca8b1
sub esp, 0xfc
mov eax, 0
mov dword [esp + 0xf8], eax
mov byte [esp + 0x36], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x5ca178
mov edx, dword [0x8e7a50]
test edx, edx
jne 0x5ca16a
lea eax, [0x8c1ca0]
mov dword [ecx + 0x28], eax
jmp 0x5ca178
lea edi, [ecx + 0x28]
lea eax, [0x8c1ca0]
call fcn.00464190
mov byte [ecx + 0x30], 0
mov dword [esp], ecx
call fcn.005c9310
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], ebx
test ebp, ebp
jne 0x5ca893
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
mov ebp, dword [esp + 0x100]
mov dword [ebp + 0x74], ebx
mov ebx, dword [0x8e7a50]
test ebx, ebx
jne 0x5ca1d1
mov dword [ebp + 0x70], edx
jmp 0x5ca1df
lea edi, [ebp + 0x70]
mov ebx, eax
mov eax, edx
call fcn.00464190
mov eax, ebx
mov dword [esp + 0x5c], eax
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.005ca920
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], ebx
test ebp, ebp
jne 0x5ca88c
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x68], ecx
test esi, esi
je 0x5ca2cf
test eax, eax
je 0x5ca2c4
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0046442b
lea ecx, [0x5ca8c0]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x8c], ecx
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], esi
lea ebp, [esp + 0x84]
mov dword [esp + 0xf8], ebp
mov byte [esp + 0x36], 1
mov ebp, 1
jmp 0x5ca2d8
mov ecx, dword [esp + 0x100]
xor ebp, ebp
jmp 0x5ca2d8
mov ecx, dword [esp + 0x100]
xor ebp, ebp
xchg ebp, eax
mov byte [esp + 0x37], al
xchg ebp, eax
mov dword [esp], ecx
lea eax, [0x7314c0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.005c6430
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x5ca349
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5ca342
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005c6700
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
test edx, edx
je 0x5ca3b5
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5ca3ae
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
lea eax, [0x69ad80]
cmp ebx, eax
je 0x5ca3c4
mov ebp, 0
mov dword [esp + 0x50], ebp
jne 0x5ca7c1
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.005cba50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5ca422
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5ca41b
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
mov eax, dword [esp + 0x100]
mov ecx, dword [eax + 0x28]
mov dword [esp], ecx
mov byte [esp + 4], 1
call fcn.005c0030
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5ca449
xor edx, edx
jmp 0x5ca44c
movzx edx, word [ecx]
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x18]
cmp ecx, 0x18
jb 0x5ca89a
add esi, 0xffffffe8
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 0x18
mov eax, ebx
lea ebx, [ebp + esi]
cmp ecx, 0x20
jne 0x5ca49b
cmp dword [ebx], 0x4e574f44
jne 0x5ca498
mov edi, edx
lea edx, [ebp + esi + 4]
cmp dword [edx], 0x1445247
sete dl
cmp ecx, 0x20
jmp 0x5ca4a2
cmp ecx, 0x20
mov edi, edx
mov edx, 0
jne 0x5ca4bb
cmp dword [ebx], 0x4e574f44
jne 0x5ca4bb
lea ecx, [ebp + esi + 4]
cmp dword [ecx], 0x445247
sete cl
jmp 0x5ca4bd
xor ecx, ecx
cmp di, 0x304
jne 0x5ca4dd
mov ebx, dword [esp + 0x100]
cmp word [ebx + 0x24], 0x303
ja 0x5ca4e4
test dl, dl
jne 0x5ca4f7
test cl, cl
jne 0x5ca4f7
jmp 0x5ca4e4
mov ebx, dword [esp + 0x100]
cmp di, 0x303
jne 0x5ca55c
cmp word [ebx + 0x24], 0x302
ja 0x5ca55c
test cl, cl
je 0x5ca55c
mov dword [esp], ebx
mov byte [esp + 4], 0x2f
call fcn.005c5840
lea eax, [0x698140]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x54
lea ecx, [0x6dd87d]
mov dword [eax], ecx
lea ecx, [0x730940]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5ca555
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
cmp word [ebx + 0x24], 0x304
jne 0x5ca64f
lea edi, [esp + 0x98]
xor eax, eax
call fcn.00464418
mov dword [esp + 0x98], ebx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc8], ecx
lea ecx, [esp + 0x98]
mov dword [esp], ecx
call fcn.005cf580
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
movzx ecx, byte [esp + 0x37]
test cl, 1
je 0x5ca648
and ecx, 0xfffffffe
mov byte [esp + 0x36], cl
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
lea eax, [0x6b3fc0]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [0x8e7a50]
test eax, eax
jne 0x5ca676
mov ecx, dword [esp + 0x100]
mov dword [edi], ecx
jmp 0x5ca684
mov eax, dword [esp + 0x100]
call fcn.00464190
mov ecx, eax
mov edx, dword [esp + 0x104]
mov dword [edi + 4], edx
mov edx, dword [0x8e7a50]
test edx, edx
jne 0x5ca6b9
mov eax, dword [esp + 0x108]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x58], eax
jmp 0x5ca6f2
lea edx, [edi + 8]
mov eax, dword [esp + 0x108]
mov ebx, edi
mov edi, edx
call fcn.00464190
lea edi, [ebx + 0xc]
mov eax, dword [esp + 0x50]
call fcn.00464190
lea edi, [ebx + 0x10]
mov eax, dword [esp + 0x5c]
call fcn.00464190
lea edi, [ebx + 0x58]
mov eax, dword [esp + 0x4c]
call fcn.00464190
mov edi, ebx
mov dword [esp + 0x58], edi
mov dword [esp], edi
call fcn.005cbb90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x5ca73f
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5ca738
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5ca788
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x5ca788
mov ebx, dword [esp + 0x4c]
cmp ecx, ebx
je 0x5ca788
mov edx, dword [esp + 0x100]
mov edx, dword [edx + 0x28]
mov ebx, dword [edx + 0x84]
mov edx, dword [edx + 0x88]
mov ebx, dword [ebx + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call ebx
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5ca7ba
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
mov dword [esp + 0x70], ebx
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005c5840
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], eax
lea eax, [0x69ad80]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x80], eax
lea eax, [0x6dd0d9]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cbfe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
movzx eax, byte [esp + 0x37]
test al, 1
je 0x5ca885
and eax, 0xfffffffe
mov byte [esp + 0x36], al
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
add esp, 0xfc
ret
add esp, 0xfc
ret
mov eax, 0x18
call fcn.00464270
nop
call fcn.00435720
add esp, 0xfc
ret
call fcn.00462d80
jmp fcn.005ca100