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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov edi, ecx
mov ecx, dword [edx + 0x38]
movzx eax, byte [edx + 0x95]
movups xmm0, xmmword [edx + 0x80]
mov esi, edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 0x3c]
mov byte [esp + 0xb], al
mov eax, dword [edx + 0x58]
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 0x54]
test eax, eax
mov dword [esp + 0x28], eax
je 0x4caaba
cmp eax, 0x20000000
mov dword [esp + 0x18], ecx
jae 0x4cad01
lea ebx, [eax*4]
movzx eax, byte [0x537118]
xor ecx, ecx
mov edx, ebx
call fcn.004e4370
test eax, eax
je 0x4cad06
mov ecx, dword [esp + 0x18]
jmp 0x4caac1
mov eax, 2
xor ebx, ebx
push ebx
push ecx
mov dword [esp + 0x2c], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x64]
mov ebx, dword [esi + 0x60]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4cab0e
mov edx, eax
shl edx, 4
cmp eax, 0x7ffffff
mov dword [esp + 0xc], edx
ja 0x4cad12
movzx eax, byte [0x537118]
xor ecx, ecx
call fcn.004e4370
test eax, eax
je 0x4cad16
mov ecx, dword [esp + 0xc]
jmp 0x4cab15
mov eax, 8
xor ecx, ecx
push ecx
push ebx
mov dword [esp + 0x14], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x6c]
test eax, eax
mov dword [esp + 0x20], eax
je 0x4cab66
lea ebx, [eax*4]
cmp eax, 0x1fffffff
mov dword [esp + 0x14], ecx
ja 0x4cad26
movzx eax, byte [0x537118]
xor ecx, ecx
mov edx, ebx
call fcn.004e4370
test eax, eax
je 0x4cad2a
mov ecx, dword [esp + 0x14]
jmp 0x4cab6d
mov eax, 2
xor ebx, ebx
push ebx
push ecx
mov dword [esp + 0x1c], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ebx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
test ebx, ebx
je 0x4cabc7
mov dword [esp + 0x1c], edx
imul edx, ebx, 0x38
xor ecx, ecx
cmp ebx, 0x2492492
ja 0x4cad41
test edx, edx
js 0x4cad41
movzx eax, byte [0x537118]
xor ecx, ecx
mov dword [esp + 0x10], edx
call fcn.004e4370
test eax, eax
je 0x4cad38
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
jmp 0x4cabce
mov eax, 8
xor ecx, ecx
push ecx
push edx
mov dword [esp + 0x18], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
xor eax, 0x2e
or eax, dword [esi + 4]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x2c], eax
jne 0x4cac0c
movaps xmm1, xmmword [0x500480]
jmp 0x4cac3c
lea ecx, [esp + 0x68]
mov edx, esi
call fcn.004d7d40
movsd xmm1, qword [esi + 0x30]
movups xmm0, xmmword [esi + 0x10]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [esi + 0x28]
movsd qword [esp + 0x40], xmm1
movups xmm1, xmmword [esp + 0x68]
movaps xmm2, xmmword [esp + 0x50]
mov edx, dword [esi + 0x90]
movups xmmword [edi + 0x80], xmm2
mov dword [edi + 0x90], edx
movzx edx, byte [esi + 0x94]
mov esi, dword [esp + 0x24]
movsd xmm2, qword [esp + 0x40]
mov byte [edi + 0x94], dl
movzx edx, byte [esp + 0xb]
mov byte [edi + 0x95], dl
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x38], edx
mov edx, dword [esp + 0x38]
mov dword [edi + 0x3c], edx
mov edx, dword [esp + 0x28]
mov dword [edi + 0x50], edx
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], edx
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov dword [edi + 0x5c], edx
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], edx
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov dword [edi + 0x68], edx
mov dword [edi + 0x6c], esi
mov esi, dword [esp + 0x10]
mov dword [edi + 0x70], edx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], esi
mov dword [edi + 0x7c], ebx
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], esi
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], esi
movups xmmword [edi], xmm1
movsd xmm1, qword [esp + 0x48]
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
movsd qword [edi + 0x28], xmm2
movsd qword [edi + 0x30], xmm1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0041ec70
mov ecx, 2
mov edx, ebx
call fcn.0041ec50
xor ecx, ecx
jmp 0x4cad1b
mov ecx, 8
mov edx, dword [esp + 0xc]
call fcn.0041ec50
jmp 0x4cad46
xor ecx, ecx
jmp 0x4cad2f
mov ecx, 2
mov edx, ebx
call fcn.0041ec50
jmp 0x4cad46
mov edx, dword [esp + 0x10]
mov ecx, 8
call fcn.0041ec50
ud2