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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1dc
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x1f0]
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x10], eax
cmp ecx, eax
je 0x40cf8f
mov eax, dword [esp + 0x1f0]
lea esi, [eax + 0x58]
lea edi, [eax + 8]
lea ebx, [esp + 0x8c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
nop word cs:[eax + eax]
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov dword [esp], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x40cd4b
mov eax, dword [esp]
shr eax, 0x10
mov ebp, esi
jmp 0x40cd19
add ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
je 0x40cd38
mov edx, dword [esp]
cmp word [ecx + 0x10], dx
jb 0x40cd10
ja 0x40cd30
cmp word [ecx + 0x12], ax
setb dl
test dl, 1
jne 0x40cd10
mov ebp, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x40cd19
mov ecx, ebp
cmp ebp, esi
je 0x40cd4b
mov ecx, dword [esp]
cmp word [ebp + 0x10], cx
jbe 0x40cf78
mov ecx, esi
movups xmm0, xmmword [edi + 0x3c]
movups xmmword [esp + 0x68], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esp + 0x5c], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esp + 0x4c], xmm0
movups xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0x10]
movups xmmword [esp + 0x3c], xmm1
movups xmmword [esp + 0x2c], xmm0
lea eax, [ecx + 0x114]
mov dword [esp + 0x18], eax
movups xmm0, xmmword [ecx + 0x114]
movups xmm1, xmmword [ecx + 0x124]
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm1
movups xmm0, xmmword [ecx + 0x134]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x144]
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [ecx + 0x150]
movups xmmword [edi + 0x3c], xmm0
movzx eax, word [ecx + 0x160]
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x84], 1
mov word [esp + 0x88], ax
mov dword [esp + 0x78], 0x41f708
mov esi, 0x20
mov dword [esp + 0x1c], ecx
jmp 0x40ce12
mov byte [ebx + 0xc], 1
add esi, 0x10
add ebx, 0x10
cmp esi, 0x120
je 0x40ce80
mov byte [ebx], 0
mov byte [ebx + 0xc], 0
cmp byte [ecx + esi], 0
je 0x40ce04
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov edi, dword [ecx + esi - 0xc]
mov ebp, dword [ecx + esi - 8]
sub ebp, edi
je 0x40ce00
js 0x40cfaa
push ebp
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea ecx, [eax + ebp]
mov dword [esp + 0x20], ecx
mov dword [ebx + 8], ecx
push ebp
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x1c]
jmp 0x40ce00
mov eax, dword [esp + 0x18]
movups xmm0, xmmword [eax + 0x3e]
lea ebx, [esp + 0x8c]
movups xmmword [ebx + 0x13e], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebx + 0x130], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebx + 0x120], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [ebx + 0x110], xmm1
movups xmmword [ebx + 0x100], xmm0
movzx eax, word [esp]
inc eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov byte [esp + 0x84], 1
mov dword [esp + 0x24], 0x40caa0
mov dword [esp + 0x28], 0
sub esp, 0x10
movsd xmm0, qword [esp + 0x34]
movsd qword [esp + 8], xmm0
lea eax, [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x200]
mov dword [esp], eax
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.004091d0
mov esi, dword [esi]
mov dword [esp + 0x78], 0x41f708
mov ecx, ebx
call fcn.0040e640
movups xmm0, xmmword [esp + 0x68]
mov edi, dword [esp + 0xc]
movups xmmword [edi + 0x3c], xmm0
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [esp + 0x4c]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [esp + 0x2c]
movups xmm1, xmmword [esp + 0x3c]
movups xmmword [edi + 0x10], xmm1
movups xmmword [edi], xmm0
test esi, esi
jne 0x40cf99
mov ecx, dword [esp + 0x14]
add ecx, 4
cmp ecx, dword [esp + 0x10]
mov esi, dword [esp + 8]
jne 0x40ccf0
jmp 0x40cf8f
mov ecx, ebp
jb 0x40cd4d
cmp word [ecx + 0x12], ax
ja 0x40cd4b
jmp 0x40cd4d
mov eax, dword [esp + 4]
mov dword [eax], 0
mov eax, dword [esp + 4]
add esp, 0x1dc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, ebx
call fcn.0040ea30
int3