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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x10160380]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
mov ebx, ecx
mov ecx, 0x101a12b1
push edi
mov dword [esp + 0x20], ebx
call fcn.10138266
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0x87
push 0
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebx], eax
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
movss xmm0, dword [eax]
mov eax, dword [ecx + 0x10]
movss dword [esp + 0x38], xmm0
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x14]
mov esi, dword [eax]
mov eax, dword [esp + 0x28]
add eax, 5
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x30]
lea edx, [eax + 0x48]
add esp, 0xc
mov dword [esp + 0x14], edx
mov byte [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x44], 0
movups xmmword [eax + 0x54], xmm0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0xf
mov byte [eax + 0x54], 0
movups xmmword [eax + 0x6c], xmm0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x80], 0xf
mov byte [eax + 0x6c], 0
mov dword [eax + 0x88], 0
mov dword [eax + 0x84], 0
mov dword [eax + 8], esi
lea esi, [eax + 4]
mov dword [esi + 0x30], ecx
movq xmm0, qword [edi]
movq qword [eax + 0xc], xmm0
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x20]
add edi, 0xc
mov dword [edi + 8], eax
movq xmm0, qword [ebx]
movq qword [esi + 0x14], xmm0
mov eax, dword [ebx + 8]
mov ebx, dword [0x1019006c]
movss xmm0, dword [0x1015bc4c]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], 0xd
divss xmm0, dword [ebx + 0x20]
add ecx, 0xffffffd5
movss xmm3, dword [0x1015bce4]
addss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [esp + 0x24], eax
neg eax
mov dword [esi + 0x3c], eax
cmp ecx, 5
ja case.default.0x100daca1
jmp dword [ecx*4 + 0x100db38c]
movss xmm0, dword [0x1015bd64]
divss xmm0, dword [ebx + 0x20]
jmp 0x100dad14
movss xmm0, dword [0x1015bd40]
divss xmm0, dword [ebx + 0x20]
addss xmm0, xmm0
jmp 0x100dad14
movss xmm0, dword [0x1015bc40]
mov dword [esi + 0x28], 0x3fc00000
divss xmm0, dword [ebx + 0x20]
jmp 0x100dad14
mov ecx, dword [0x1019014c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
mov eax, dword [0x1019006c]
movss xmm0, dword [0x1015bc40]
movss xmm3, dword [0x1015bce4]
mov edx, dword [esp + 0x14]
fstp dword [esi + 0x28]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [esi + 0x38], eax
mov eax, dword [0x1019006c]
movss xmm0, dword [0x1015bed4]
mov ecx, dword [esi + 0x34]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jge 0x100db30b
cmp dword [esi + 0x38], ecx
jg 0x100dae45
mov eax, dword [esi + 0x30]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x100dad5c
jmp dword [eax*4 + 0x100db3a4]
movss xmm1, dword [esi + 0x18]
movss xmm2, dword [esi + 0x14]
movss xmm0, dword [esi + 0x1c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x1015bc34]
comiss xmm0, xmm2
jb case.default.0x100dad5c
jmp 0x100dade2
movss xmm1, dword [esi + 0x18]
movss xmm2, dword [esi + 0x14]
movss xmm0, dword [esi + 0x1c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x1015bc50]
comiss xmm0, xmm2
jb case.default.0x100dad5c
jmp 0x100dade2
mov eax, dword [0x1019006c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
comiss xmm0, dword [esi + 0x28]
jbe case.default.0x100dad5c
mov byte [esi], 1
mov dword [esi + 0x3c], ecx
mov ecx, dword [edx + 4]
mov byte [esp + 0x13], 0
cmp ecx, dword [edx + 8]
je 0x100dae0d
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 0
add dword [edx + 4], 0x10
jmp case.default.0x100dad5c
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, edx
call fcn.100c1280
movss xmm3, dword [0x1015bce4]
mov eax, dword [0x1019006c]
movss xmm0, dword [0x1015bc98]
mov ecx, dword [esi + 0x34]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
add eax, ecx
mov dword [esi + 0x38], eax
cmp ecx, dword [esp + 0x28]
jl 0x100db2dd
cmp byte [esi], 0
jne 0x100db30b
mov ecx, dword [0x10190120]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
mov eax, dword [0x1019006c]
mov ecx, 0x8400b
movss xmm3, dword [esi + 0x1c]
mov ebx, 0x4208608b
fstp dword [esp + 0x18]
movaps xmm1, xmm3
mov dword [esp + 0x40], 0x40000000
movss xmm2, dword [eax + 0x20]
mov eax, dword [esi + 0x24]
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x18]
movaps xmm4, xmm2
cmp eax, 1
mov dword [esp + 0xa8], 0
mulss xmm4, dword [esi + 0x14]
movaps xmm5, xmm2
cmove ebx, ecx
lea ecx, [esp + 0x88]
mulss xmm5, dword [esi + 0x18]
push ecx
mulss xmm0, dword [0x1015bcd0]
push eax
push dword [esi + 4]
lea eax, [esp + 0x4c]
movss dword [esp + 0x24], xmm4
subss xmm1, xmm0
movss dword [esp + 0x38], xmm5
xorps xmm0, xmm0
mov dword [esp + 0x50], 0x40000000
movups xmmword [esp + 0x94], xmm0
push ebx
movups xmmword [esp + 0xa8], xmm0
push eax
movss dword [esi + 0x1c], xmm1
addss xmm3, xmm1
movaps xmm0, xmm4
mov dword [esp + 0x5c], 0x40000000
addss xmm0, dword [edi]
lea eax, [esp + 0x60]
mov dword [esp + 0x60], 0xc0000000
push eax
mulss xmm3, dword [0x1015bce4]
lea eax, [esp + 0x4c]
push eax
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm5
addss xmm0, dword [edi + 4]
mulss xmm3, xmm2
push edi
mov dword [esp + 0x70], 0xc0000000
mov dword [esp + 0x74], 0xc0000000
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 8]
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x5c], xmm0
call fcn.10058b10
cmp byte [esp + 0xbf], 0
je 0x100db020
test dword [esp + 0xb8], 0x80000
je 0x100db020
push 0x54
lea eax, [esp + 0x8c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xb4], 0x3f800000
lea eax, [esp + 0x88]
mov dword [esp + 0xc4], str.empty
mov dword [esp + 0x58], 0x40000000
mov dword [esp + 0x5c], 0x40000000
push eax
push dword [esi + 0x24]
mov eax, ebx
mov dword [esp + 0x68], 0x40000000
push dword [esi + 4]
and eax, 0xfff7ffff
mov dword [esp + 0x70], 0xc0000000
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x78], 0xc0000000
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x80], 0xc0000000
push eax
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.10058b10
movss xmm0, dword [0x1015bd40]
comiss xmm0, dword [esp + 0xb4]
ja 0x100db046
cmp byte [esp + 0xbe], 0
jne 0x100db046
cmp byte [esp + 0xbf], 0
je 0x100db0a3
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x100db0aa
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100db0a3
push 0x54
lea eax, [esp + 0x8c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xb4], 0x3f800000
lea eax, [esp + 0x88]
mov dword [esp + 0xc4], str.empty
push eax
push dword [esi + 0x24]
lea eax, [esp + 0x3c]
push dword [esi + 4]
push ebx
push eax
push edi
call fcn.10058a10
mov ecx, dword [esp + 0xd4]
cmp byte [esp + 0xbf], 0
je 0x100db158
mov dword [esi + 0x24], 3
lea eax, [esp + 0x88]
movss xmm3, dword [edi]
movss xmm2, dword [edi + 4]
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x18]
movss xmm1, dword [edi + 8]
subss xmm3, dword [esp + 0x18]
push eax
push 3
push dword [esi + 4]
movss dword [esp + 0x7c], xmm0
lea eax, [esp + 0x7c]
movaps xmm0, xmm2
movss dword [esp + 0x88], xmm3
addss xmm0, dword [esp + 0x38]
subss xmm2, dword [esp + 0x38]
push 0x8400b
push eax
lea eax, [esp + 0x90]
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x30]
subss xmm1, dword [esp + 0x30]
push eax
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x9c], xmm1
call fcn.10058a10
mov ecx, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xb4]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100db184
movq xmm0, qword [esp + 0x94]
mov eax, dword [esp + 0x9c]
movq qword [edi], xmm0
mov dword [edi + 8], eax
test ecx, ecx
je 0x100db226
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
jne 0x100db226
mov eax, dword [esi + 0x30]
cmp eax, 0x44
je 0x100db1e4
cmp eax, 0x2e
je 0x100db1b0
cmp eax, 0x30
jne 0x100db226
mov ecx, dword [0x1019016c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x1c], eax
call dword [esp + 0x1c]
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x1015bc3c]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
comiss xmm0, dword [esp + 0xa8]
ja 0x100db226
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0x34]
mov byte [esi], 1
mov dword [esi + 0x3c], eax
mov ecx, dword [ebx + 4]
mov byte [esp + 0x13], 1
cmp ecx, dword [ebx + 8]
je 0x100db216
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 1
add dword [ebx + 4], 0x10
jmp 0x100db22a
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100c1280
jmp 0x100db22a
mov ebx, dword [esp + 0x14]
cmp byte [esi], 0
jne 0x100db30b
movss xmm0, dword [esp + 0xb4]
ucomiss xmm0, dword [0x1015bd40]
lahf
test ah, 0x44
jnp 0x100db291
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
mov ecx, dword [ebx + 4]
mov byte [esp + 0x13], 1
cmp ecx, dword [ebx + 8]
je 0x100db274
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 1
add dword [ebx + 4], 0x10
jmp 0x100db282
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100c1280
lea eax, [esp + 0x88]
mov ecx, esi
push eax
call fcn.100d7340
mov eax, dword [esi + 0x3c]
add eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
jg 0x100db2d5
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebx + 4]
mov byte [esp + 0x13], 0
cmp ecx, dword [ebx + 8]
je 0x100db2c7
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 0
add dword [ebx + 4], 0x10
jmp 0x100db2d5
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100c1280
movss xmm3, dword [0x1015bce4]
mov ecx, dword [esi + 0x34]
mov eax, dword [0x1019006c]
inc ecx
movss xmm0, dword [0x1015bed4]
mov dword [esi + 0x34], ecx
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jge 0x100db30b
mov edx, dword [esp + 0x14]
jmp 0x100dad44
mov eax, dword [esi + 0x3c]
add eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
jg 0x100db353
mov dword [esi + 0x3c], ecx
lea eax, [esi + 8]
mov ecx, dword [esi + 0x48]
mov byte [esp + 0x13], 0
cmp ecx, dword [esi + 0x4c]
je 0x100db344
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 0
add dword [esi + 0x48], 0x10
jmp 0x100db353
lea edi, [esp + 0x13]
push edi
push eax
push ecx
lea ecx, [esi + 0x44]
call fcn.100c1280
movd xmm0, dword [esi + 0x34]
mov ecx, dword [0x1019006c]
mov eax, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
pop edi
mulss xmm0, dword [ecx + 0x20]
mov ecx, dword [esp + 0xe0]
addss xmm0, dword [esp + 0x2c]
movss dword [esi + 0x2c], xmm0
pop esi
pop ebx
xor ecx, esp
call fcn.100dfe28
mov esp, ebp
pop ebp
ret 0x10