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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov eax, dword [edx + 0x58]
mov esi, edx
mov edi, ecx
movups xmm0, xmmword [edx + 0x80]
movzx ecx, byte [edx + 0x95]
mov edx, dword [edx + 0x38]
mov ebx, dword [esi + 0x54]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x3c]
test eax, eax
mov dword [esp + 0x28], eax
mov byte [esp + 0xb], cl
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x3c], edx
je 0x476d14
cmp eax, 0x1fffffff
ja 0x476f50
lea ebx, [eax*4]
test ebx, ebx
js 0x476f55
movzx eax, byte [0x52314c]
mov ecx, ebx
mov edx, 2
call fcn.00404a60
test eax, eax
jne 0x476d1b
mov ecx, 2
mov edx, ebx
call fcn.00404f40
mov eax, 2
xor ebx, ebx
mov ecx, dword [esp + 0x10]
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 + 0x10], eax
je 0x476d75
cmp eax, 0x7ffffff
ja 0x476f5a
mov ecx, eax
shl ecx, 4
js 0x476f5a
movzx eax, byte [0x52314c]
mov edx, 8
mov dword [esp + 0xc], ecx
call fcn.00404a60
test eax, eax
je 0x476f61
mov ecx, dword [esp + 0xc]
jmp 0x476d7c
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 0x476dd8
cmp eax, 0x1fffffff
mov dword [esp + 0x18], ecx
ja 0x476f71
lea ebx, [eax*4]
test ebx, ebx
js 0x476f71
movzx eax, byte [0x52314c]
mov ecx, ebx
mov edx, 2
call fcn.00404a60
test eax, eax
je 0x476f78
mov ecx, dword [esp + 0x18]
jmp 0x476ddf
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 0x476e3a
cmp ebx, 0x2492492
mov dword [esp + 0x1c], edx
ja 0x476f86
imul ecx, ebx, 0x38
test ecx, ecx
js 0x476f86
movzx eax, byte [0x52314c]
mov edx, 8
mov dword [esp + 0x14], ecx
call fcn.00404a60
test eax, eax
je 0x476f8d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
jmp 0x476e41
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]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x48]
xor eax, 0x2e
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x30], edx
or eax, dword [esi + 4]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
jne 0x476e7f
movaps xmm1, xmmword [0x4ac8a0]
jmp 0x476e9d
lea ecx, [esp + 0x58]
mov edx, esi
call fcn.0047a460
movups xmm2, xmmword [esi + 0x10]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
movups xmm0, xmmword [esi + 0x28]
movups xmm1, xmmword [esp + 0x58]
movaps xmm3, xmmword [esp + 0x40]
mov edx, dword [esi + 0x90]
movups xmmword [edi + 0x80], xmm3
mov dword [edi + 0x90], edx
movzx edx, byte [esi + 0x94]
mov esi, dword [esp + 0x24]
mov byte [edi + 0x94], dl
movzx edx, byte [esp + 0xb]
mov byte [edi + 0x95], dl
mov edx, dword [esp + 0x38]
mov dword [edi + 0x38], edx
mov edx, dword [esp + 0x3c]
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 + 0x10]
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 + 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
movups xmmword [edi + 0x10], xmm2
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
movups xmmword [edi + 0x28], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00404f00
call fcn.00404f00
call fcn.00404f00
jmp 0x476f9b
mov edx, dword [esp + 0xc]
mov ecx, 8
call fcn.00404f40
jmp 0x476f9b
call fcn.00404f00
jmp 0x476f9b
mov ecx, 2
mov edx, ebx
call fcn.00404f40
jmp 0x476f9b
call fcn.00404f00
jmp 0x476f9b
mov edx, dword [esp + 0x14]
mov ecx, 8
call fcn.00404f40
ud2