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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x964
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0x960], eax
mov eax, dword [ebp + 8]
movss dword [esp], xmm3
mov dword [esp + 0xc], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x20], ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x20], esi
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x14], edi
test eax, eax
je 0x1018531f
test esi, esi
je 0x1018531f
mov eax, dword [ebx + 0x28]
cmp byte [eax + 0x2a], 0
jne 0x1018531f
mov edx, dword [ebx + 0x20]
mov ecx, edi
call fcn.101847a0
test al, al
je 0x10184fcd
movss xmm0, dword [ebp + 0x10]
movss xmm3, dword [esp + 0xc]
push edi
push ecx
movss dword [esp], xmm0
mov ecx, ebx
push esi
push dword [esp + 0x24]
call fcn.10184890
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x960]
xor ecx, esp
call fcn.102af935
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [edi + 0x40]
mov ecx, eax
push dword [ebx + 0x20]
shr ecx, 0x18
and ecx, 3
test al, 0x80
lea eax, [ecx + 4]
cmove eax, ecx
lea ecx, [esp + 0x24]
mov eax, dword [eax*4 + 0x102f9758]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x30]
add eax, 0x14
push eax
push edi
call fcn.1014d400
movss xmm2, dword [ebp + 0x10]
lea eax, [esp + 0x2c]
movss xmm1, dword [esp + 0xc]
mov ecx, dword [ebx + 0x20]
push eax
call fcn.101532e0
test dword [edi + 0x40], 0x30000
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
movss xmm5, dword [0x103000e8]
mov eax, dword [esp + 0x18]
movss dword [esp + 0x10], xmm3
movss dword [esp + 0xc], xmm4
je 0x10185126
mov edi, dword [esp + 0x24]
xor edx, edx
add edi, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edi
xor ecx, ecx
xor edi, edi
mov dword [esp + 0xc], edx
cmp eax, dword [esp + 0x1c]
jae 0x101850d7
xor ebx, ebx
nop dword [eax]
push 0
push 0
lea eax, [esp + 0x18]
push eax
push esi
call dword [esp + 0x44]
add esp, 0x10
movsx edx, byte [eax + 0x1a]
mov ecx, dword [eax + 8]
sub edx, edi
movsx edi, byte [eax + 0x19]
add edx, 0x20
shl edx, 0xa
and edx, 0xffff0000
add ecx, edx
mov edx, dword [esp + 0xc]
add edx, dword [eax + 0xc]
add ebx, ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], edx
cmp dword [esp + 0x10], eax
jb 0x10185070
mov eax, dword [esp + 0x18]
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x30]
movss xmm5, dword [0x103000e8]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
movd xmm1, ecx
movd xmm2, edx
cvtdq2ps xmm1, xmm1
mov ecx, dword [edi + 0x40]
and ecx, 0x30000
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [0x10300008]
mulss xmm2, dword [0x10300008]
cmp ecx, 0x10000
jne 0x10185112
mulss xmm1, xmm5
mulss xmm2, xmm5
subss xmm3, xmm1
subss xmm4, xmm2
movss dword [esp + 0x10], xmm3
movss dword [esp + 0xc], xmm4
add eax, dword [esp + 0x24]
lea ecx, [esp + 0x68]
mov dword [esp + 0x20], eax
call fcn.1017f780
mov ecx, dword [ebx + 0x34]
xor eax, eax
mov dword [esp + 0x4a4], 0
mov dword [esp + 0x930], 0
mov dword [esp + 0x4a0], 0
test ecx, ecx
je 0x10185165
cmp dword [ecx], eax
jne 0x101851aa
mov edx, dword [ebx + 0x20]
lea eax, [esp + 0x4a4]
push 0
push eax
push edi
mov ecx, ebx
call fcn.101b1b10
mov ecx, dword [ebx + 0x28]
add esp, 0xc
movss xmm3, dword [esp + 0x10]
mov dword [esp + 0x4a0], eax
cmp byte [ecx + 0x29], 0
jne 0x101851aa
add ecx, 0x14
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [esp + 0x68]
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0x7c], xmm0
push dword [esp + 0x14]
lea ecx, [esp + 0x3c]
xor edi, edi
push esi
push eax
push ebx
call fcn.10184de0
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov cl, byte [ecx + 0x36]
shr cl, 4
test cl, 1
je 0x1018520a
mov ecx, dword [ebx + 0x20]
call fcn.101a3340
cmp eax, 1
jne 0x101851f9
mov dword [esp + 0x24], edi
mov dword [esp + 0x64], 0x3f000000
jmp 0x1018520a
cmp eax, 2
jne 0x1018520a
mov dword [esp + 0x28], edi
mov dword [esp + 0x60], 0x3f000000
movss xmm0, dword [esp + 0x60]
addss xmm0, xmm3
mulss xmm0, dword [0x1030040c]
call fcn.102b181e
movss xmm0, dword [esp + 0x64]
mov ebx, eax
addss xmm0, dword [esp + 0xc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mulss xmm0, dword [0x1030040c]
call fcn.102b181e
mov ecx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x18], eax
jae 0x101852fd
nop dword [eax]
and ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
and ebx, dword [esp + 0x28]
push ecx
push ebx
push eax
push esi
call dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov ebx, eax
add esp, 0x10
movsx eax, byte [ebx + 0x1a]
sub eax, edi
movsx edi, byte [ebx + 0x19]
add eax, 0x20
shl eax, 0xa
and eax, 0xffff0000
cdq
add ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
adc eax, edx
cmp word [ebx + 0x10], 0
mov dword [esp + 0x10], eax
je 0x101852c5
push ebx
push dword [esp + 0x10]
push dword [esp + 0x24]
push eax
push ecx
lea eax, [esp + 0x4c]
push eax
call dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov eax, dword [ebx + 8]
cdq
add ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
adc eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [esp + 0x14]
cdq
add ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
adc dword [esp + 0xc], edx
cmp dword [esp + 0x18], eax
jb 0x10185260
lea ecx, [esp + 0x4a4]
call fcn.10187440
lea ecx, [esp + 0x68]
call fcn.1019b730
push esi
call fcn.10187ee0
mov ecx, eax
call fcn.10188b70
mov ecx, dword [esp + 0x96c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.102af935
mov esp, ebp
pop ebp
ret 0x10