Function at 0x490f10
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 ebx, edx
mov edi, ecx
mov edx, dword [edx + 0x50]
movzx eax, byte [ebx + 0x95]
mov ecx, dword [ebx + 0x5c]
movsd xmm0, qword [ebx + 0x84]
mov esi, dword [ebx + 0x54]
mov dword [esp + 0x30], edx
mov byte [esp + 0x17], al
mov eax, dword [ebx + 0x8c]
test ecx, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], ecx
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x4c], eax
je 0x490fad
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x491282
mov dl, al
lea esi, [ecx*4]
add edx, edx
test esi, esi
js 0x491289
mov dword [esp + 0x28], edx
je 0x490fb6
movzx eax, byte [0x5c91e8]
mov ecx, esi
call fcn.0041aa20
test eax, eax
jne 0x490fc0
jmp 0x491290
mov eax, 2
xor esi, esi
jmp 0x490fc0
mov eax, edx
test eax, eax
je 0x491290
push esi
push dword [esp + 0x30]
mov dword [esp + 0x34], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edx, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x60]
test edx, edx
mov dword [esp + 0x28], edx
je 0x49102c
xor eax, eax
cmp edx, 0x8000000
mov dword [esp + 0x24], ecx
setb byte [esp + 0xc]
jae 0x49129d
mov ecx, edx
movzx edx, byte [esp + 0xc]
mov esi, ebx
shl ecx, 4
mov al, dl
shl eax, 3
test ecx, ecx
js 0x49129d
mov ebx, esi
mov dword [esp + 0xc], eax
je 0x491035
movzx eax, byte [0x5c91e8]
mov edx, dword [esp + 0xc]
mov esi, ecx
call fcn.0041aa20
jmp 0x49103b
mov eax, 8
xor esi, esi
jmp 0x491047
mov eax, dword [esp + 0xc]
mov esi, ecx
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x4912a4
push esi
push ecx
mov dword [esp + 0x14], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x74]
mov eax, dword [ebx + 0x6c]
test ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
je 0x4910ad
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x4912b1
mov dl, al
lea esi, [ecx*4]
add edx, edx
test esi, esi
js 0x4912b1
mov dword [esp + 0x10], edx
je 0x4910b6
movzx eax, byte [0x5c91e8]
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.0041aa20
test eax, eax
jne 0x4910c2
jmp 0x4912b8
mov eax, 2
xor esi, esi
jmp 0x4910c2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4912b8
push esi
push dword [esp + 0x24]
mov dword [esp + 0x28], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [ebx + 0x80]
mov eax, dword [ebx + 0x78]
test esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], esi
je 0x491136
xor edx, edx
cmp esi, 0x2492493
setb al
jae 0x4912c5
mov dl, al
imul ecx, esi, 0x38
shl edx, 3
test ecx, ecx
js 0x4912c5
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
je 0x491267
movzx eax, byte [0x5c91e8]
mov edx, dword [esp + 0x18]
call fcn.0041aa20
test eax, eax
je 0x491273
mov ecx, dword [esp + 0x1c]
jmp 0x49113d
mov eax, 8
xor ecx, ecx
push ecx
push dword [esp + 0x14]
mov dword [esp + 0x18], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x40]
mov esi, dword [ebx + 0x44]
mov edx, dword [ebx + 0x48]
xor eax, 0x2e
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], edx
or eax, dword [ebx + 4]
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x38], eax
jne 0x49117e
movaps xmm1, xmmword [0x542390]
jmp 0x49119c
lea ecx, [esp + 0x68]
mov edx, ebx
call fcn.00494bf0
movups xmm2, xmmword [ebx + 0x10]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
movups xmm0, xmmword [ebx + 0x28]
movups xmm1, xmmword [esp + 0x68]
mov edx, dword [esp + 0x30]
movaps xmm3, xmmword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov dword [edi + 0x50], edx
mov edx, dword [esp + 0x44]
movlps qword [edi + 0x84], xmm3
mov dword [edi + 0x8c], edx
mov edx, dword [ebx + 0x90]
mov dword [edi + 0x90], edx
movzx edx, byte [ebx + 0x94]
mov ebx, dword [esp + 0x48]
mov byte [edi + 0x94], dl
movzx edx, byte [esp + 0x17]
mov byte [edi + 0x95], dl
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], esi
mov dword [edi + 0x5c], esi
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], esi
mov dword [edi + 0x68], esi
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], esi
mov dword [edi + 0x74], esi
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x40]
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], esi
mov dword [edi + 0x80], esi
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], esi
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
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
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x491130
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
call fcn.0041b1c0
jmp 0x4912ca
call fcn.0041b180
ud2
call fcn.0041b180
ud2
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.0041b1c0
ud2
call fcn.0041b180
jmp 0x4912ca
mov ecx, dword [esp + 0xc]
mov edx, esi
call fcn.0041b1c0
jmp 0x4912ca
call fcn.0041b180
jmp 0x4912ca
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.0041b1c0
jmp 0x4912ca
call fcn.0041b180
ud2