Function at 0x4521c0
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 + 0x20], eax
je 0x45223d
lea ebx, [eax*4]
cmp eax, 0x1fffffff
mov dword [esp + 0x10], ecx
ja 0x452491
mov eax, dword [0x4fcc54]
movzx eax, byte [eax]
push 2
push ebx
call fcn.004016e0
add esp, 8
test eax, eax
je 0x45249a
mov ecx, dword [esp + 0x10]
jmp 0x452244
mov eax, 2
xor ebx, ebx
push ebx
push ecx
mov dword [esp + 0x30], 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 + 0x10], eax
je 0x452296
mov ecx, eax
shl ecx, 4
cmp eax, 0x7ffffff
mov dword [esp + 0xc], ecx
ja 0x4524a6
mov eax, dword [0x4fcc54]
movzx eax, byte [eax]
push 8
push ecx
call fcn.004016e0
add esp, 8
test eax, eax
je 0x4524aa
mov ecx, dword [esp + 0xc]
jmp 0x45229d
mov eax, 8
xor ecx, ecx
push ecx
push ebx
mov dword [esp + 0x2c], 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 + 0xc], eax
je 0x4522f1
lea ebx, [eax*4]
cmp eax, 0x1fffffff
mov dword [esp + 0x18], ecx
ja 0x4524be
mov eax, dword [0x4fcc54]
movzx eax, byte [eax]
push 2
push ebx
call fcn.004016e0
add esp, 8
test eax, eax
je 0x4524c2
mov ecx, dword [esp + 0x18]
jmp 0x4522f8
mov eax, 2
xor ebx, ebx
push ebx
push ecx
mov dword [esp + 0x20], 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 0x452357
imul ecx, ebx, 0x38
xor eax, eax
cmp ebx, 0x2492492
ja 0x4524dc
test ecx, ecx
mov dword [esp + 0x1c], edx
js 0x4524dc
mov eax, dword [0x4fcc54]
movzx eax, byte [eax]
push 8
mov dword [esp + 0x18], ecx
push ecx
call fcn.004016e0
add esp, 8
test eax, eax
je 0x4524d3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
jmp 0x45235e
mov eax, 8
xor ecx, ecx
push ecx
push edx
mov dword [esp + 0x1c], 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 0x45239c
movaps xmm1, xmmword [0x4e0620]
jmp 0x4523cc
lea ecx, [esp + 0x68]
mov edx, esi
call fcn.00451e10
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 + 0x28]
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 + 0x20]
mov dword [edi + 0x50], edx
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], edx
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov dword [edi + 0x5c], edx
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], edx
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov dword [edi + 0x68], edx
mov dword [edi + 0x6c], esi
mov esi, dword [esp + 0x14]
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
xor eax, eax
push ebx
push eax
call fcn.004a8150
mov eax, 2
push ebx
push eax
call fcn.004a8150
xor eax, eax
jmp 0x4524af
mov eax, 8
push dword [esp + 0xc]
push eax
call fcn.004a8150
add esp, 8
jmp 0x4524e6
xor eax, eax
jmp 0x4524c7
mov eax, 2
push ebx
push eax
call fcn.004a8150
add esp, 8
jmp 0x4524e6
mov ecx, dword [esp + 0x14]
mov eax, 8
push ecx
push eax
call fcn.004a8150
add esp, 8
ud2