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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x34], eax
call fcn.0046b0a0
mov eax, dword [esi + 8]
lea edx, [esp + 0xc]
movq xmm0, qword [ebp + 0x18]
mov edi, dword [ebp + 0x20]
push 0
mov ecx, dword [eax]
push edx
push 0
push 0
push eax
movq qword [esp + 0x4c], xmm0
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], edi
call dword [ecx + 0x2c]
movss xmm0, dword [0x4e00ec]
ucomiss xmm0, dword [esi + 0x1c]
lahf
test ah, 0x44
jp 0x492af8
movss xmm0, dword [esp + 0x20]
mov eax, 0x55555556
imul dword [esi]
movss xmm1, dword [0x4dffe0]
movq xmm2, qword [esp + 0x38]
movss dword [esp + 0x2c], xmm0
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x492c56
movss xmm1, dword [esi + 0x18]
movss xmm4, dword [ebp + 0x18]
movss xmm3, dword [ebp + 0x20]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x492b39
movss xmm0, dword [esi + 0x1c]
ucomiss xmm0, dword [ebp + 0x1c]
lahf
test ah, 0x44
jp 0x492b39
movss xmm0, dword [esi + 0x20]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x492b39
mov dword [esi + 0x14], 0
jmp 0x49310b
subss xmm3, dword [esi + 0x20]
subss xmm4, xmm1
push ecx
movaps xmm0, xmm3
mulss xmm3, xmm3
mulss xmm0, dword [0x4e0038]
movaps xmm2, xmm4
mulss xmm4, dword [0x4e0038]
addss xmm0, dword [esp + 0x2c]
mulss xmm2, xmm2
addss xmm4, dword [esp + 0x24]
addss xmm3, xmm2
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x24], xmm4
movss dword [esp], xmm3
call fcn.00434750
fadd dword [esi + 0x14]
add esp, 4
xor eax, eax
fstp dword [esp + 0x1c]
movss xmm1, dword [esp + 0x1c]
comiss xmm1, dword [0x4dffa4]
movss dword [esi + 0x14], xmm1
jbe 0x492bdf
movq xmm2, qword [ebp + 0x18]
mov eax, 0x55555556
imul dword [esi]
movss xmm1, dword [0x4dffe0]
movq qword [esp + 0x20], xmm2
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x2c], xmm0
mov edi, dword [ebp + 0x20]
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x492c4c
movd xmm0, dword [0x4ebd28]
movss xmm3, dword [0x4dfeac]
cvtdq2ps xmm0, xmm0
movaps xmm2, xmm3
movss xmm4, dword [0x4dff50]
divss xmm2, xmm0
mulss xmm2, xmm4
comiss xmm1, xmm2
jbe 0x49310b
nop
movss xmm1, dword [esi + 0x14]
inc eax
subss xmm1, xmm2
movaps xmm2, xmm3
movss dword [esi + 0x14], xmm1
movd xmm0, dword [0x4ebd28]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
mulss xmm2, xmm4
comiss xmm1, xmm2
ja 0x492c10
mov edi, dword [esp + 0x28]
movq xmm2, qword [esp + 0x20]
movss xmm1, dword [0x4dffc0]
movq qword [esp + 0x38], xmm2
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x49310b
movaps xmm0, xmm1
xorps xmm0, xmmword [0x4e0270]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x30], xmm1
nop dword [eax]
mov eax, dword [esi + 4]
movq qword [esp + 0x20], xmm2
mov dword [esp + 0x28], edi
lea eax, [eax + eax*2]
add eax, eax
mov dword [esp + 0x44], eax
call fcn.004a3b50
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x30]
divss xmm0, dword [0x4e0064]
addss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x10], xmm0
call fcn.004a3b50
movss xmm4, dword [esp + 0x10]
movss xmm1, dword [0x4dffa8]
movaps xmm0, xmm4
divss xmm0, xmm1
movd xmm7, eax
cvtdq2ps xmm7, xmm7
cvttss2si edx, xmm0
mulss xmm7, dword [esp + 0x30]
mov dword [esp + 0x10], edx
divss xmm7, dword [0x4e0064]
addss xmm7, dword [esp + 0x1c]
addss xmm7, dword [esp + 0x28]
cmp edx, 2
jl 0x4930fa
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x108]
add eax, 0xfffffffe
cmp edx, eax
jge 0x4930fa
movaps xmm0, xmm7
divss xmm0, xmm1
cvttss2si edi, xmm0
cmp edi, 2
jl 0x4930f6
mov eax, dword [ecx + 0x10c]
sub eax, 2
cmp edi, eax
jge 0x4930f6
mov ecx, edi
test ecx, ecx
jns 0x492d51
add ecx, 0x7f
sar ecx, 7
mov eax, edx
test eax, eax
jns 0x492d5d
add eax, 0x7f
sar eax, 7
lea edx, [eax + ecx*2]
cmp edi, 0x7f
mov eax, dword [esp + 0x10]
lea ecx, [edi - 0x80]
cmovle ecx, edi
add eax, 0xffffff80
imul ecx, dword [edx*8 + 0x500d64]
cmp dword [esp + 0x10], 0x7f
cmovle eax, dword [esp + 0x10]
lea ecx, [ecx + eax*4]
mov eax, dword [edx*8 + 0x500d68]
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 0x34]
cmp eax, dword [ecx + 0x1a4]
je 0x4930f6
imul edi, dword [ecx + 0x108]
mov eax, dword [esp + 0x10]
add edi, dword [ecx + 0x194]
cmp byte [edi + eax], 0x14
ja 0x4930f6
push ecx
movaps xmm2, xmm7
movaps xmm1, xmm4
call fcn.0046bf60
mov eax, dword [esp + 0xc]
movaps xmm2, xmm0
mov edx, dword [esp + 0x44]
movaps xmm1, xmm4
subss xmm1, dword [esi + 0x10]
xorps xmm6, xmm6
movaps xmm3, xmm2
addss xmm3, xmm6
movaps xmm0, xmm4
lea ecx, [edx + edx*2]
movss dword [eax + ecx*8], xmm1
movaps xmm1, xmm7
mov eax, dword [esp + 0xc]
addss xmm1, xmm6
movss dword [eax + ecx*8 + 4], xmm3
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 8], xmm1
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0xc], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x14], 0x3f800000
subss xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x18], xmm0
movss xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
mulss xmm0, dword [0x4dff50]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x1c], xmm0
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x20], xmm1
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x24], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x28], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x2c], 0
lea ecx, [edx + edx*2]
movss xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
addss xmm0, xmm0
addss xmm0, xmm4
addss xmm4, xmm6
movss dword [eax + ecx*8 + 0x30], xmm0
movaps xmm0, xmm7
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x34], xmm3
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x38], xmm1
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x3c], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x40], 0x3f800000
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x44], 0x3f800000
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x48], xmm4
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x4c], xmm3
subss xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x50], xmm0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x54], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x58], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x5c], 0x3f800000
lea ecx, [edx + edx*2]
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x60], xmm4
movss xmm0, dword [esi + 0x10]
mulss xmm0, dword [0x4dff50]
mov eax, dword [esp + 0xc]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x64], xmm0
mov edi, 0x3f000000
mov eax, dword [esp + 0xc]
movaps xmm0, xmm7
subss xmm0, dword [esi + 0x10]
mov dword [esp + 0x10], 4
movss dword [eax + ecx*8 + 0x68], xmm0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x6c], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x70], 0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x74], 0
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x78], xmm4
mov eax, dword [esp + 0xc]
movss dword [eax + ecx*8 + 0x7c], xmm3
movss xmm0, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
addss xmm0, xmm0
addss xmm0, xmm7
movss dword [eax + ecx*8 + 0x80], xmm0
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x84], 0xffffff
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x88], 0x3f800000
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x8c], 0x3f800000
nop
sub edx, 1
jns 0x493001
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x493026
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x49304b
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x493070
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x493095
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
sub edx, 1
jns 0x4930ba
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea edx, [eax*2 - 1]
mov eax, dword [esp + 0xc]
lea ecx, [edx + edx*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [esp + 0xc]
or dword [eax + ecx*8 + 0xc], edi
add edi, 0x3f000000
sub dword [esp + 0x10], 1
jne 0x492ff0
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
cmp eax, dword [esi]
jl 0x4930fa
mov dword [esi + 4], 0
jmp 0x4930fa
mov edi, dword [esp + 0x14]
sub dword [esp + 0x18], 1
movq xmm2, qword [esp + 0x38]
jne 0x492c80
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
call fcn.0046b170
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c