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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x6ccc30]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0x88], eax
call fcn.00401460
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [0x64689c]
mov ecx, edi
call ebx
mov ecx, eax
call fcn.004014e0
test al, al
je 0x4ca221
call fcn.0040bd50
test eax, eax
je 0x4ca221
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x1c]
add ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov ebx, dword [edx + 0xc]
test ebx, ebx
je 0x4ca236
xor edi, edi
jmp 0x4ca1ed
cmp eax, 0x208
ja 0x4ca215
add ecx, 2
inc edi
mov ebx, ecx
push 0x209
push ebx
call fcn.005d55e2
add esp, 8
add edi, eax
cmp word [ebx + eax*2], 0
lea ecx, [ebx + eax*2]
jne 0x4ca1e0
cmp eax, 0x208
ja 0x4ca215
cmp word [ecx + 2], 0
jne 0x4ca1e7
mov ecx, dword [ebp + 8]
lea eax, [edi + edi + 4]
mov ebx, dword [ecx + 0xc]
jmp 0x4ca238
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.005ce525
xor eax, eax
jmp 0x4ca3f6
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov edi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x1c]
mov ecx, dword [esi + 0x10]
xor esi, esi
test ecx, ecx
je 0x4ca25e
call dword [0x64689c]
call ecx
test eax, eax
setne al
jmp 0x4ca260
xor eax, eax
movzx eax, al
lea ecx, [esp + 0x34]
push eax
push dword [esp + 0xc]
call fcn.004dd330
cmp dword [ebp + 0x20], 0xc
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
cmovne ebx, esi
cmp dword [ebp + 0x28], 0xc
cmovne edi, esi
test ebx, ebx
je 0x4ca2ae
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov edx, dword [ebx]
mov dword [esp + 0xc], eax
jmp 0x4ca2bb
mov dword [esp + 0xc], 0
mov edx, 9
test edi, edi
mov dword [esp + 8], esi
je 0x4ca2cd
mov ecx, dword [edi + 8]
mov esi, dword [edi]
mov eax, dword [edi + 4]
jmp 0x4ca2d6
mov esi, 9
xor eax, eax
xor ecx, ecx
test edi, edi
mov edi, 9
mov dword [esp + 0x24], eax
movzx eax, byte [ebp + 0x30]
mov dword [esp + 0x28], ecx
cmove edi, edx
test ebx, ebx
cmove edi, edx
cmp edx, esi
mov esi, dword [ebp + 8]
cmove edi, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebp + 0x2c]
mov dword [esp + 0x18], edi
lea ebx, [esi + 0x18]
lea ecx, [esi + 0x30]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x3c]
mov dword [esp + 8], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x30], edx
lea edx, [esi + 0x2c]
mov edi, dword [esi + 4]
mov dword [esp + 0x14], edi
movzx edi, byte [ebp + 0xc]
mov dword [esp + 0x10], edi
lea edi, [esi + 0x34]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [ebp + 0x14]
push eax
push dword [esp + 0x28]
push ecx
push edx
push edi
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x4c]
push eax
push 0x2e
lea eax, [esp + 0x78]
push eax
call fcn.004ca400
add esp, 0x48
test eax, eax
je 0x4ca390
xor edi, edi
jmp 0x4ca3e6
mov eax, dword [esp + 0x5c]
mov edi, 0
cmp eax, 2
jb 0x4ca3e6
mov ecx, dword [ebp + 0x18]
movzx edx, word [esp + 0x68]
test ecx, ecx
mov word [esi + 0x38], dx
je 0x4ca3b9
cmp eax, 2
je 0x4ca3b9
mov edx, dword [esp + 0x6c]
mov dword [ecx], edx
mov edi, dword [esp + 0x64]
cmp eax, 4
jb 0x4ca3e6
test edi, edi
je 0x4ca3e6
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp + 0xc]
test eax, eax
je 0x4ca3dc
test cl, cl
jne 0x4ca3dc
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
jmp 0x4ca3e6
test cl, cl
je 0x4ca3e6
mov eax, dword [esp + 0x70]
mov dword [ebx], eax
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.005ce525
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x2c