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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
movzx eax, byte [ebp + 0x10]
lea edi, [esp + 0x48]
mov dword [esp + 0x48], ecx
mov byte [esp + 0x4c], al
lea eax, [esp + 0x50]
push edi
push eax
call fcn.00499940
add esp, 8
cmp dword [esp + 0x50], 0
je 0x49a909
mov eax, dword [esp + 0x54]
mov dword [esi + 4], eax
mov byte [esi], 6
jmp 0x49ab37
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x49a96c
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
mov eax, esp
push edi
push eax
call fcn.00499ba0
add esp, 8
cmp byte [esp], 6
jne 0x49a982
mov eax, dword [esp + 4]
mov ecx, dword [ebp + 8]
test esi, esi
mov dword [ecx + 4], eax
mov byte [ecx], 6
je 0x49a964
push 1
push esi
push ebx
call fcn.0040dc90
add esp, 0xc
mov esi, dword [ebp + 8]
jmp 0x49ab2a
mov byte [esi], 5
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
jmp 0x49ab37
movsd xmm0, qword [esp + 0x10]
movsd xmm2, qword [esp]
movsd xmm1, qword [esp + 8]
lea eax, [esp + 0x78]
lea esi, [esp + 0x20]
lea ecx, [esp + 0x60]
lea edx, [esp + 0x3c]
movsd qword [esp + 0x88], xmm0
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm2
push eax
push ecx
push edx
push esi
call fcn.00497e30
add esp, 0x10
movzx eax, byte [esp + 0x20]
mov esi, esp
cmp eax, 6
je 0x49aa30
cmp eax, 3
jb 0x49aa30
je 0x49a9fe
cmp eax, 4
jne 0x49aa0f
lea eax, [esp + 0x24]
push eax
call fcn.00428310
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49aa30
shl eax, 3
lea eax, [eax + eax*2]
push 8
jmp 0x49aa08
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49aa30
push 1
push eax
push dword [esp + 0x30]
jmp 0x49aa1e
lea eax, [esp + 0x24]
push eax
call fcn.00425b70
add esp, 4
jmp 0x49aa30
call fcn.0040dc90
add esp, 0xc
nop word cs:[eax + eax]
push edi
lea eax, [esp + 0x24]
push eax
call fcn.00499940
add esp, 8
cmp dword [esp + 0x20], 0
jne 0x49ab1d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x49ab5c
mov dword [esp + 0x1c], eax
mov eax, edi
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
push eax
push esi
call fcn.00499ba0
add esp, 8
movzx eax, byte [esp]
cmp al, 6
je 0x49ab8d
mov dword [esp + 0x6c], ebx
lea ebx, [esp + 1]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x91]
movsd xmm0, qword [ebx + 0xf]
movsd xmm2, qword [ebx]
movsd xmm1, qword [ebx + 8]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edi
movsd qword [edx + 0xf], xmm0
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm2
mov byte [esp + 0x90], al
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00497e30
add esp, 0x10
movzx eax, byte [esp]
lea edi, [esp + 0x48]
cmp eax, 6
je 0x49aa30
cmp eax, 3
jb 0x49aa30
je 0x49ab0d
cmp eax, 4
jne 0x49ab41
lea eax, [esp + 4]
push eax
call fcn.00428310
add esp, 4
mov eax, dword [esp + 4]
test eax, eax
jne 0x49ab4a
jmp 0x49aa30
mov eax, dword [esp + 4]
test eax, eax
je 0x49aa30
push 1
jmp 0x49ab52
mov edi, dword [esp + 0x24]
mov esi, dword [ebp + 8]
mov dword [esi + 4], edi
mov byte [esi], 6
lea eax, [esp + 0x3c]
push eax
call fcn.00425b70
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
jmp 0x49aa13
shl eax, 3
lea eax, [eax + eax*2]
push 8
push eax
push dword [esp + 0x10]
jmp 0x49aa1e
mov eax, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov esi, dword [ebp + 8]
mov dword [esp + 0xb], eax
movsd qword [esp + 3], xmm0
mov byte [esi], 5
movsd xmm0, qword [esp]
movsd xmm1, qword [esp + 7]
movsd qword [esi + 1], xmm0
movsd qword [esi + 8], xmm1
jmp 0x49ab37
mov edi, dword [esp + 4]
test ebx, ebx
je 0x49ab21
push 1
push ebx
push dword [esp + 0x24]
call fcn.0040dc90
add esp, 0xc
jmp 0x49ab21