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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
push eax
push esi
mov dword [esp + 0x24], eax
mov byte [esp + 0x20], 0xff
call fcn.1018d790
movss xmm0, dword [esp + 0x48]
add esp, 0xc
movss xmm1, dword [0x10386830]
movss dword [esp + 0xc], xmm0
test al, al
je 0x1027ae40
mulss xmm0, dword [0x10386838]
sub esp, 8
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm1, dword [0x1038683c]
add esp, 8
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
comiss xmm1, xmm0
jbe 0x1027ae27
movss xmm1, dword [0x10386844]
comiss xmm0, xmm1
ja 0x1027ae2a
movaps xmm0, xmm1
movss xmm1, dword [0x10386830]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xc]
mov byte [esp + 0x14], al
movzx eax, word [esi + 0xc]
test eax, eax
je 0x1027ae4e
mulss xmm0, xmm1
jmp 0x1027ae51
xorps xmm0, xmm0
mov eax, dword [ebp + 0x20]
lea ecx, [esp + 0x40]
push dword [esp + 0x10]
movss dword [esp + 0x10], xmm0
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x1c]
movups xmmword [esp + 0x64], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x2c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x54], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esp + 0x1c], xmm0
call fcn.10046620
movups xmm0, xmmword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
movups xmmword [esp + 0x74], xmm0
movups xmm0, xmmword [esp + 0x54]
lea ecx, [ecx + 0x9c]
movups xmmword [esp + 0x84], xmm0
movq xmm0, qword [esp + 0x1c]
movq qword [esp + 0x94], xmm0
call fcn.1013e3d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp byte [eax + 0x40], 0
lea esi, [eax + 0x44]
mov dword [esp + 0x10], esi
je 0x1027af4e
push 0xc0
mov dword [esp + 0x2c], 0
call fcn.1014a980
push dword [esp + 0x24]
movss xmm0, dword [esp + 0x10]
mov ecx, eax
sub esp, 0x14
mov dword [esp + 0x28], 0
mov eax, esp
movss dword [esp + 0x10], xmm0
movups xmm0, xmmword [esp + 0x78]
movups xmmword [eax], xmm0
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.1027a760
lea ecx, [esp + 0x10]
mov dword [edi], eax
call fcn.1027a9b0
lea ecx, [esp + 0x40]
call fcn.10046740
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0xe0
call fcn.1014a980
mov esi, eax
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x20]
lea ecx, [esi + 0xc0]
push eax
movups xmmword [esp + 0x54], xmm0
call fcn.10190d10
push dword [esp + 0x24]
movss xmm0, dword [esp + 0x10]
mov ecx, esi
sub esp, 0x14
mov dword [esp + 0x40], eax
mov eax, esp
movss dword [esp + 0x10], xmm0
movups xmm0, xmmword [esp + 0x78]
movups xmmword [eax], xmm0
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1027a760
lea ecx, [esp + 0x40]
mov dword [edi], eax
call fcn.10046740
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret