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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp byte [esi + 0x10], 9
jne 0x49a704
lea eax, [esi + 0x11]
lea ecx, [0x564661]
push 0x27
push ecx
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x49a782
xorps xmm0, xmm0
mov eax, 5
xor ecx, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x27], 0
movaps xmmword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x27]
movsd xmm1, qword [esp + 0x20]
movsd xmm2, qword [esp + 0x10]
movsd qword [ebx + 0x28], xmm0
movsd qword [ebx + 0x21], xmm1
movsd xmm1, qword [esp + 0x18]
movsd qword [ebx + 0x11], xmm2
movsd qword [ebx + 0x19], xmm1
mov dword [ebx + 0xc], 0x101
mov dword [ebx + 8], 0x10df786
mov dword [ebx + 4], 0x48862a09
mov byte [ebx + 0x10], cl
mov dword [ebx + 0x30], eax
mov dword [ebx], 2
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, byte [esi + 0xc]
cmp cl, 0x15
jne 0x49a794
mov cl, 0x15
mov eax, 2
jmp 0x49a72b
mov eax, 4
cmp cl, 4
jne 0x49a905
mov ecx, dword [esi]
or ecx, dword [esi + 8]
jne 0x49a72b
lea eax, [esp + 0x10]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push eax
call fcn.0044c440
add esp, 0xc
mov esi, dword [esp + 0x10]
cmp esi, 8
jne 0x49a90a
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0xa8]
push dword [esp + 0x1c]
call fcn.00499ff0
add esp, 4
mov edx, esi
lea ecx, [esp + 0xd8]
push edi
call fcn.00499ff0
add esp, 4
movsd xmm1, qword [esp + 0xc8]
movsd xmm2, qword [esp + 0xc0]
movsd xmm0, qword [esp + 0xd0]
movsd xmm3, qword [esp + 0xa8]
movsd qword [esp + 0x128], xmm1
movsd xmm1, qword [esp + 0xb8]
movsd qword [esp + 0x120], xmm2
movsd xmm2, qword [esp + 0x100]
movsd qword [esp + 0x130], xmm0
movsd qword [esp + 0x108], xmm3
movsd qword [esp + 0x118], xmm1
movsd xmm1, qword [esp + 0xb0]
movsd qword [esp + 0xa0], xmm2
movsd xmm2, qword [esp + 0xf0]
movsd qword [esp + 0x110], xmm1
movsd xmm1, qword [esp + 0xf8]
movsd qword [esp + 0x90], xmm2
movsd xmm2, qword [esp + 0xd8]
movsd qword [esp + 0x98], xmm1
movsd xmm1, qword [esp + 0xe8]
movsd qword [esp + 0x78], xmm2
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [esp + 0xe0]
movsd qword [esp + 0x80], xmm1
lea eax, [esp + 0x78]
lea ecx, [esp + 0x108]
push 0x1000
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.0049aec0
add esp, 0x10
cmp dword [esp + 0x10], 2
jne 0x49a9c6
mov dword [ebx + 0x30], 4
jmp 0x49a772
jmp 0x49a72b
mov eax, dword [esp + 0x18]
movsd xmm1, qword [esp + 0x2c]
cmp esi, 4
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
mov edi, 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [esp + 0x34]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x28]
movsd qword [esp + 0x80], xmm1
jne 0x49a98a
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x40]
movsd xmm1, qword [esp + 0x78]
movsd xmm2, qword [esp + 0x80]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 8]
movsd qword [esp + 0x18], xmm2
movsd qword [esp + 0x10], xmm1
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0xc]
movsd xmm1, qword [esp + 0x18]
mov dword [ebx + 8], ecx
movlps qword [ebx + 0xc], xmm0
mov ecx, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x10]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x18], eax
movsd qword [ebx + 0x24], xmm1
mov dword [ebx + 0x2c], ecx
movsd qword [ebx + 0x1c], xmm0
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], esi
jmp 0x49a772
lea esi, [esp + 0x10]
mov ecx, 0x18
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x49a778