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

Disassembly:
sub esp, 0x64
mov eax, dword [0x1032e6c0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x74]
push edi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], esi
push eax
push ebp
push esi
call fcn.1004b1f0
mov edi, dword [esp + 0x98]
and edi, 0xf0000
not edi
and edi, dword [esp + 0x98]
and edi, 0xffffefff
push 0
or edi, 0x100000
push 0x3000
mov dword [esp + 0x48], edi
call fcn.10019a90
push eax
mov dword [esp + 0x38], eax
call fcn.10006300
add esi, 0xb8
mov ebx, eax
push esi
call fcn.10012000
add esp, 0x20
test eax, eax
jne 0x1004a238
movups xmm0, xmmword [esi]
lea eax, [esp + 0x40]
push eax
movups xmmword [esp + 0x44], xmm0
push ebx
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [esp + 0x68], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x68], xmm0
call fcn.10006a70
add esp, 8
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], 0
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
and eax, 0xffffff
push eax
push ebp
call fcn.10149cf0
add esp, 0x14
test al, al
je 0x1004a402
movsd xmm4, qword [0x102a5f90]
mov ecx, dword [esp + 0x14]
cmp ecx, 0xffff
jne 0x1004a28a
call fcn.100075e0
jmp 0x1004a30a
xorps xmm2, xmm2
movsd xmm3, qword [0x102a2928]
xorps xmm0, xmm0
xorps xmm1, xmm1
cmp ecx, dword [esp + 0x24]
jae 0x1004a2e8
mov edx, dword [esp + 0x28]
movzx eax, byte [edx + ecx*4 + 2]
movd xmm0, eax
movzx eax, byte [edx + ecx*4 + 1]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
movzx eax, byte [edx + ecx*4]
cvtdq2pd xmm1, xmm1
movd xmm2, eax
movzx eax, byte [edx + ecx*4 + 3]
cvtdq2pd xmm2, xmm2
movd xmm3, eax
cvtdq2pd xmm3, xmm3
divsd xmm0, xmm4
divsd xmm1, xmm4
divsd xmm2, xmm4
divsd xmm3, xmm4
sub esp, 0x20
movsd qword [esp + 0x18], xmm3
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
call fcn.1000af40
add esp, 0x20
mov esi, eax
push esi
push ebx
call fcn.10006b10
push esi
call fcn.1000b010
push edi
push dword [esp + 0x28]
push ebp
call fcn.1014abc0
add esp, 0x18
test eax, eax
jne 0x1004a3d3
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.10049590
add esp, 8
test eax, eax
jne 0x1004a3c0
mov esi, dword [esp + 0x2c]
push ebx
push esi
call fcn.10015280
push esi
mov edi, eax
call fcn.1001c730
push edi
push ebx
call fcn.10006010
push edi
call fcn.10015780
push ebx
call fcn.10006410
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
and eax, 0xffffff
push eax
push ebp
call fcn.10149cf0
movsd xmm4, qword [0x102a5f90]
add esp, 0x30
mov edi, dword [esp + 0x30]
test al, al
jne 0x1004a274
push ebx
call fcn.100063e0
add esp, 4
push 0
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x1c]
call fcn.100107e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1026465b
add esp, 0x64
ret
push ebx
mov esi, 0x64
call fcn.100063e0
add esp, 4
push dword [esp + 0x1c]
call fcn.1000cbd0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1026465b
add esp, 0x64
ret
push ebx
call fcn.100063e0
mov esi, dword [esp + 0x24]
add esp, 4
test esi, esi
je 0x1004a3a8
push dword [esp + 0x1c]
call fcn.1000cbd0
mov ecx, dword [esp + 0x74]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1026465b
add esp, 0x64
ret