Function at 0x100da800
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, 0x101a12ad
push edi
mov dword [esp + 0x20], ebx
call fcn.10137ff6
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 [0x1018ff7c]
movss xmm0, dword [0x1015bc2c]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], 0xd
divss xmm0, dword [ebx + 0x20]
add ecx, 0xffffffd5
movss xmm3, dword [0x1015bcc4]
addss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [esp + 0x24], eax
neg eax
mov dword [esi + 0x3c], eax
cmp ecx, 5
ja case.default.0x100da9b1
jmp dword [ecx*4 + 0x100db09c]
movss xmm0, dword [0x1015bd44]
divss xmm0, dword [ebx + 0x20]
jmp 0x100daa24
movss xmm0, dword [0x1015bd20]
divss xmm0, dword [ebx + 0x20]
addss xmm0, xmm0
jmp 0x100daa24
movss xmm0, dword [0x1015bc20]
mov dword [esi + 0x28], 0x3fc00000
divss xmm0, dword [ebx + 0x20]
jmp 0x100daa24
mov ecx, dword [0x1019005c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
mov eax, dword [0x1018ff7c]
movss xmm0, dword [0x1015bc20]
movss xmm3, dword [0x1015bcc4]
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 [0x1018ff7c]
movss xmm0, dword [0x1015beb4]
mov ecx, dword [esi + 0x34]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jge 0x100db01b
cmp dword [esi + 0x38], ecx
jg 0x100dab55
mov eax, dword [esi + 0x30]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x100daa6c
jmp dword [eax*4 + 0x100db0b4]
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 [0x1015bc14]
comiss xmm0, xmm2
jb case.default.0x100daa6c
jmp 0x100daaf2
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 [0x1015bc30]
comiss xmm0, xmm2
jb case.default.0x100daa6c
jmp 0x100daaf2
mov eax, dword [0x1018ff7c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
comiss xmm0, dword [esi + 0x28]
jbe case.default.0x100daa6c
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 0x100dab1d
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.0x100daa6c
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, edx
call fcn.100c1240
movss xmm3, dword [0x1015bcc4]
mov eax, dword [0x1018ff7c]
movss xmm0, dword [0x1015bc78]
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 0x100dafed
cmp byte [esi], 0
jne 0x100db01b
mov ecx, dword [0x10190030]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
mov eax, dword [0x1018ff7c]
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 [0x1015bcb0]
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 [0x1015bcc4]
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.10058b80
cmp byte [esp + 0xbf], 0
je 0x100dad30
test dword [esp + 0xb8], 0x80000
je 0x100dad30
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.10058b80
movss xmm0, dword [0x1015bd20]
comiss xmm0, dword [esp + 0xb4]
ja 0x100dad56
cmp byte [esp + 0xbe], 0
jne 0x100dad56
cmp byte [esp + 0xbf], 0
je 0x100dadb3
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x100dadba
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100dadb3
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.10058a80
mov ecx, dword [esp + 0xd4]
cmp byte [esp + 0xbf], 0
je 0x100dae68
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.10058a80
mov ecx, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xb4]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100dae94
movq xmm0, qword [esp + 0x94]
mov eax, dword [esp + 0x9c]
movq qword [edi], xmm0
mov dword [edi + 8], eax
test ecx, ecx
je 0x100daf36
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
jne 0x100daf36
mov eax, dword [esi + 0x30]
cmp eax, 0x44
je 0x100daef4
cmp eax, 0x2e
je 0x100daec0
cmp eax, 0x30
jne 0x100daf36
mov ecx, dword [0x1019007c]
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 [0x1015bc1c]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
comiss xmm0, dword [esp + 0xa8]
ja 0x100daf36
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 0x100daf26
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 0x100daf3a
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100c1240
jmp 0x100daf3a
mov ebx, dword [esp + 0x14]
cmp byte [esi], 0
jne 0x100db01b
movss xmm0, dword [esp + 0xb4]
ucomiss xmm0, dword [0x1015bd20]
lahf
test ah, 0x44
jnp 0x100dafa1
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 0x100daf84
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 0x100daf92
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100c1240
lea eax, [esp + 0x88]
mov ecx, esi
push eax
call fcn.100d7050
mov eax, dword [esi + 0x3c]
add eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
jg 0x100dafe5
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebx + 4]
mov byte [esp + 0x13], 0
cmp ecx, dword [ebx + 8]
je 0x100dafd7
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 0x100dafe5
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100c1240
movss xmm3, dword [0x1015bcc4]
mov ecx, dword [esi + 0x34]
mov eax, dword [0x1018ff7c]
inc ecx
movss xmm0, dword [0x1015beb4]
mov dword [esi + 0x34], ecx
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jge 0x100db01b
mov edx, dword [esp + 0x14]
jmp 0x100daa54
mov eax, dword [esi + 0x3c]
add eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
jg 0x100db063
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 0x100db054
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 0x100db063
lea edi, [esp + 0x13]
push edi
push eax
push ecx
lea ecx, [esi + 0x44]
call fcn.100c1240
movd xmm0, dword [esi + 0x34]
mov ecx, dword [0x1018ff7c]
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.100dfbc8
mov esp, ebp
pop ebp
ret 0x10