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

Disassembly:
sub esp, 0x5c
movsd xmm0, qword [esp + 0x60]
push ebx
push ebp
push esi
push edi
sub esp, 8
movsd qword [esp], xmm0
call fcn.004bc290
add esp, 8
lea ecx, [esp + 0x1c]
mov edi, eax
mov esi, edx
lea eax, [esp + 0x4c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
push eax
call fcn.004b7ef0
cmp dword [esp + 0x78], 0
jne 0x4ba752
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], edi
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], esi
call fcn.004b7e90
mov ebx, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov eax, ebx
mov edx, ebp
shld edx, eax, 1
add eax, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x78], eax
add eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
adc edx, 0
dec eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esp + 0x1c], xmm0
call fcn.004bb100
mov eax, esi
and eax, 0xfffff
or edi, eax
jne 0x4ba723
mov ecx, esi
xor eax, eax
and ecx, 0x7ff00000
or eax, ecx
je 0x4ba723
shr esi, 0x14
and esi, 0x7ff
cmp esi, 1
je 0x4ba723
mov ecx, dword [esp + 0x44]
shld ebp, ebx, 2
add ecx, 0xfffffffe
shl ebx, 2
jmp 0x4ba72f
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
sub ecx, edi
mov esi, dword [esp + 0x68]
add ebx, 0xffffffff
mov eax, ebx
adc ebp, 0xffffffff
mov edx, ebp
call fcn.004c5320
movups xmm0, xmmword [esp + 0x1c]
jmp 0x4ba83f
movsd xmm0, qword [esp + 0x70]
cvtpd2ps xmm0, xmm0
push ecx
movss dword [esp], xmm0
call fcn.004bc2a0
mov esi, eax
add esp, 4
mov edi, esi
and edi, 0x7f800000
jne 0x4ba78c
shr eax, 0x17
mov edx, 0xffffff6a
mov dword [esp + 0x78], eax
mov dword [esp + 0x10], 0xffffff69
jmp 0x4ba7a6
shr eax, 0x17
mov dword [esp + 0x78], eax
movzx eax, al
lea ecx, [eax - 0x98]
mov dword [esp + 0x10], ecx
lea edx, [eax - 0x97]
and esi, 0x7fffff
mov dword [esp + 0x44], edx
test edi, edi
mov dword [esp + 0x14], edx
lea ebx, [esi + 0x800000]
cmove ebx, esi
xor ebp, ebp
mov eax, ebx
mov ecx, ebp
shld ecx, eax, 1
add eax, eax
mov dword [esp + 0x18], ecx
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
add ecx, 1
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x3c]
adc eax, ebp
mov dword [esp + 0x40], eax
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [esp + 0x3c], xmm0
call fcn.004bb100
test esi, esi
jne 0x4ba815
test edi, edi
je 0x4ba815
cmp byte [esp + 0x78], 1
je 0x4ba815
mov ecx, dword [esp + 0x10]
shld ebp, ebx, 2
shl ebx, 2
jmp 0x4ba821
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x44]
sub ecx, edi
mov esi, dword [esp + 0x68]
add ebx, 0xffffffff
mov eax, ebx
adc ebp, 0xffffffff
mov edx, ebp
call fcn.004c5320
movups xmm0, xmmword [esp + 0x3c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], esi
push eax
mov eax, 0xffffffa0
mov dword [esp + 0x3c], edi
sub eax, dword [esp + 0x5c]
push eax
mov eax, 0xffffff84
mov dword [esp + 0x3c], edx
sub eax, dword [esp + 0x60]
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x50], 0
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x4c], xmm0
call fcn.004ba550
movups xmm0, xmmword [esp + 0x5c]
add esp, 0x10
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x4c]
movups xmmword [esp + 0x4c], xmm0
push eax
call fcn.004bad10
movups xmm0, xmmword [esp + 0x2c]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
movups xmmword [esp + 0x30], xmm0
call fcn.004bad10
movups xmm0, xmmword [esp + 0x5c]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x60]
movups xmmword [esp + 0x60], xmm0
call fcn.004bad10
movups xmm0, xmmword [esp + 0x5c]
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [esp + 0x8c]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [eax], xmm0
call fcn.004b8c90
mov ecx, dword [esp + 0xc8]
add esp, 0x40
mov edx, dword [esp + 0x78]
sub edx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x5c
ret