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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov eax, dword [edx]
cmp eax, dword [edx + 4]
je 0x49c4fb
mov dword [esp + 0x20], ecx
mov ecx, eax
add eax, 0x28
mov dword [esp + 0x28], edx
mov dword [edx], eax
mov dword [esp + 0x24], ecx
mov ebx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0xc]
movaps xmm0, xmmword [ebx]
movaps xmmword [esp + 0xc0], xmm0
mov dword [esp + 0x30], eax
lea edi, [esp + 0x118]
mov ecx, edi
call fcn.0049c6b8
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi]
mov edi, dword [edi + 4]
movq xmm0, qword [0x505d80]
movsd xmm1, qword [0x505d88]
lea esi, [esp + 0x10]
movq qword [esi - 0x10], xmm0
movsd qword [esi - 8], xmm1
mov dword [esi + 4], edi
mov edi, dword [esp + 0x30]
mov dword [esi], edx
mov dword [esi + 0xc], ecx
mov dword [esi + 8], eax
mov edx, edi
mov ecx, esp
push esi
call fcn.0048f5fe
pop eax
movdqa xmm0, xmmword [esp + 0xc0]
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0xdc]
lea eax, [ebx + 0x10]
mov dword [esi], ebx
mov dword [esi + 4], eax
pmovmskb edx, xmm0
lea ecx, [ecx + ebx + 1]
not edx
mov dword [esi + 8], ecx
mov word [esi + 0xc], dx
mov dword [esi + 0x10], edi
lea ecx, [esp + 0xdc]
call fcn.0048fca3
test eax, eax
je 0x49c489
mov ecx, dword [eax - 0x18]
mov edx, dword [eax - 0x28]
mov esi, dword [eax - 0x24]
mov edi, dword [eax - 0x20]
mov ebx, dword [eax - 0x1c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x98], edx
mov edx, eax
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], ebx
add edx, 0xfffffff0
lea ecx, [esp + 0xb0]
call fcn.0048f30b
push 0xa
pop ecx
lea ebx, [esp + 0x98]
lea edi, [esp + 0xf0]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xa8]
movsd xmm0, qword [esp + 0x98]
movsd xmm1, qword [esp + 0xa0]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x108]
movsd qword [esp + 0x88], xmm1
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x70], xmm1
mov byte [esp + 0x78], 0
push ebx
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.0048f54e
add esp, 0xc
mov ebx, eax
lea eax, [esp + 0x80]
mov esi, edx
mov dword [esp + 0x34], eax
xor edx, edx
mov edi, esp
lea eax, [esp + 0x10]
inc edx
mov ecx, edi
push eax
call fcn.0048f5fe
pop eax
mov edx, dword [esp + 4]
mov ecx, dword [esp]
lea eax, [esp + 0x34]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
push 0x48f712
lea eax, [esp + 0x3c]
push eax
push esi
push ebx
call fcn.0048f612
add esp, 0x10
test eax, eax
je 0x49c420
movsd xmm1, qword [esp + 0x88]
mov eax, dword [esp + 0x90]
movq xmm0, qword [esp + 0x80]
movsd xmm2, qword [esp + 0x68]
shr ebx, 0x19
movsd qword [esp + 0x40], xmm1
movsd xmm1, qword [esp + 0x78]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x50]
movq qword [esp + 0x38], xmm0
movsd qword [eax], xmm2
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x70]
movsd qword [eax + 8], xmm1
mov eax, dword [esp]
movzx ecx, byte [eax + edx]
and ecx, 1
sub dword [esp + 8], ecx
lea ecx, [edx - 0x10]
and ecx, dword [esp + 4]
mov byte [eax + edx], bl
neg edx
mov byte [ecx + eax + 0x10], bl
inc dword [esp + 0xc]
imul ecx, edx, 0x30
lea edi, [eax + ecx - 0x30]
push 0xc
pop ecx
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
jmp 0x49c271
mov eax, dword [esp]
neg edx
imul ecx, edx, 0x30
movsd xmm0, qword [eax + ecx - 8]
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [eax + ecx - 0x18]
movsd xmm1, qword [eax + ecx - 0x10]
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [esp + 0x78]
movsd qword [esp + 0x40], xmm1
movsd qword [eax + ecx - 8], xmm0
movq xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
movsd qword [eax + ecx - 0x10], xmm1
movq qword [eax + ecx - 0x18], xmm0
cmp byte [esp + 0x38], 7
je 0x49c271
lea ecx, [esp + 0x38]
call fcn.0048f4dc
jmp 0x49c271
movsd xmm1, qword [esp + 8]
movq xmm0, qword [esp]
movsd xmm2, qword [esp + 0x10]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xf0]
lea ecx, [esp + 0x38]
movsd qword [esp + 0x40], xmm1
movsd xmm1, qword [esp + 0x18]
movq qword [esp + 0x38], xmm0
movsd qword [esp + 0x48], xmm2
movsd qword [esp + 0x50], xmm1
mov eax, dword [eax + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov byte [esp + 0x5c], 0
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 0x14]
push 0x506f38
call fcn.0048e93b
pop eax
push 0xa
pop ecx
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
jmp 0x49c502
mov dword [ecx + 0x20], 6
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret