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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x1015a368]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 8]
lea edx, [ecx + 4]
mov dword [esp + 8], ecx
push ebx
push esi
mov eax, dword [eax]
push edi
push 0x88
push 0
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
push edx
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 4]
movss xmm0, dword [eax]
mov eax, dword [ecx + 0x10]
movss dword [esp + 0x3c], xmm0
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x14]
mov esi, dword [eax]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 0x48]
movss xmm1, dword [0x10155c1c]
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 + 0x40], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0xf
mov dword [eax + 0x54], 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
mov dword [eax + 0x7c], 0
mov dword [eax + 0x80], 0xf
mov dword [eax + 0x88], 0
mov dword [eax + 0x84], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 8], esi
mov esi, eax
mov dword [esi + 0x34], ecx
add ecx, 0xffffffd5
movq xmm0, qword [edi]
movq qword [esi + 0xc], xmm0
mov eax, dword [edi + 8]
lea edi, [esi + 0xc]
mov dword [edi + 8], eax
movq xmm0, qword [ebx]
movq qword [esi + 0x18], xmm0
mov eax, dword [ebx + 8]
mov ebx, dword [0x1020e2d4]
movss xmm0, dword [0x10155b84]
add ebx, 0x20
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], 0xd
divss xmm0, dword [ebx]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x1c], eax
neg eax
mov dword [esi + 0x40], eax
cmp ecx, 5
movss xmm0, dword [0x10155c78]
ja case.default.0x100d2549
jmp dword [ecx*4 + 0x100d2cd8]
movss xmm0, dword [0x10155ca0]
divss xmm0, dword [ebx]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esi + 0x3c], eax
movss xmm2, dword [0x10155c1c]
movss xmm1, dword [ebx]
movss xmm0, dword [0x10155e10]
divss xmm0, xmm1
mov ecx, dword [esi + 0x38]
addss xmm0, xmm2
cvttss2si eax, xmm0
cmp ecx, eax
jge 0x100d2c5c
fld dword [0x10155c08]
mov ebx, ecx
fstp dword [esp + 0x24]
movss xmm4, dword [0x10155b88]
movss xmm3, dword [0x10155b6c]
cmp dword [esi + 0x3c], ebx
jg 0x100d2777
mov eax, dword [esi + 0x34]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x100d25c6
jmp dword [eax*4 + 0x100d2cf0]
divss xmm0, dword [ebx]
addss xmm0, xmm0
jmp 0x100d255c
movss xmm0, dword [0x10155b78]
mov dword [esi + 0x2c], 0x3fc00000
jmp 0x100d2558
mov ecx, dword [0x1020e3b4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
mov ebx, dword [0x1020e2d4]
lea edx, [esi + 0x48]
movss xmm0, dword [0x10155b78]
add ebx, 0x20
fstp dword [esi + 0x2c]
movss xmm2, dword [0x10155c1c]
divss xmm0, dword [ebx]
addss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [esi + 0x3c], eax
jmp 0x100d256f
movss xmm1, dword [esi + 0x1c]
movss xmm2, dword [esi + 0x18]
movss xmm0, dword [esi + 0x20]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm3, xmm2
jb case.default.0x100d25c6
mov byte [esi + 4], 1
mov dword [esi + 0x40], ebx
mov ecx, dword [esi + 0x4c]
mov byte [esp + 0xd], 0
cmp ecx, dword [esi + 0x50]
je 0x100d268f
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov al, byte [esp + 0xd]
mov byte [ecx + 0xc], al
add dword [edx + 4], 0x10
jmp case.default.0x100d25c6
lea eax, [esp + 0xd]
jmp 0x100d273d
movss xmm1, dword [esi + 0x1c]
movss xmm2, dword [esi + 0x18]
movss xmm0, dword [esi + 0x20]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm4, xmm2
jb case.default.0x100d25c6
mov byte [esi + 4], 1
mov dword [esi + 0x40], ebx
mov ecx, dword [esi + 0x4c]
mov byte [esp + 0xe], 0
cmp ecx, dword [esi + 0x50]
je 0x100d26f3
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov al, byte [esp + 0xe]
mov byte [ecx + 0xc], al
add dword [edx + 4], 0x10
jmp case.default.0x100d25c6
lea eax, [esp + 0xe]
jmp 0x100d273d
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
comiss xmm0, dword [esi + 0x2c]
jbe case.default.0x100d25c6
mov byte [esi + 4], 1
mov dword [esi + 0x40], ebx
mov ecx, dword [esi + 0x4c]
mov byte [esp + 0xf], 0
cmp ecx, dword [esi + 0x50]
je 0x100d2739
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov al, byte [esp + 0xf]
mov byte [ecx + 0xc], al
add dword [edx + 4], 0x10
jmp case.default.0x100d25c6
lea eax, [esp + 0xf]
push eax
push edi
push ecx
mov ecx, edx
call fcn.100b7a10
mov eax, dword [0x1020e2d4]
movss xmm0, dword [0x10155bd8]
mov ecx, dword [esi + 0x38]
mov ebx, ecx
movss xmm2, dword [0x10155c1c]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10155c1c]
cvttss2si eax, xmm0
add eax, ecx
mov dword [esi + 0x3c], eax
cmp ebx, dword [esp + 0x20]
jl 0x100d2c26
cmp byte [esi + 4], 0
jne 0x100d2c5c
mov ecx, dword [0x1020e388]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
fmul dword [esp + 0x24]
mov edx, 0x8400b
mov eax, dword [0x1020e2d4]
mov ecx, 0x4208608b
movss xmm2, dword [esi + 0x20]
mov dword [esp + 0x40], 0x40000000
mov dword [esp + 0x44], 0x40000000
movss xmm3, dword [eax + 0x20]
mov eax, dword [esi + 0x28]
movaps xmm5, xmm3
mulss xmm5, dword [esi + 0x18]
cmp eax, 1
mov dword [esp + 0xa8], 0
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
movaps xmm6, xmm3
mulss xmm6, dword [esi + 0x1c]
cmove ecx, edx
lea edx, [esp + 0x88]
mov dword [esp + 0x14], ecx
mulss xmm0, xmm3
push edx
push eax
push dword [esi + 8]
subss xmm2, xmm0
movss dword [esp + 0x34], xmm5
xorps xmm0, xmm0
movss dword [esp + 0x38], xmm6
movups xmmword [esp + 0x94], xmm0
push ecx
movups xmmword [esp + 0xa8], xmm0
mov dword [esp + 0x58], 0x40000000
lea eax, [esp + 0x50]
movaps xmm4, xmm2
mov dword [esp + 0x5c], 0xc0000000
addss xmm4, dword [esi + 0x20]
movss dword [esi + 0x20], xmm2
movaps xmm0, xmm5
addss xmm0, dword [edi]
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x64], 0xc0000000
mulss xmm4, dword [0x10155c1c]
push eax
movss dword [esp + 0x4c], xmm0
lea eax, [esp + 0x4c]
movaps xmm0, xmm6
mov dword [esp + 0x6c], 0xc0000000
addss xmm0, dword [edi + 4]
mulss xmm4, xmm3
push eax
push edi
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm4
addss xmm0, dword [edi + 8]
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x5c], xmm0
call fcn.100562e0
cmp byte [esp + 0xbf], 0
je 0x100d2957
test dword [esp + 0xb8], 0x80000
je 0x100d2957
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 + 0x28]
mov eax, dword [esp + 0x1c]
push dword [esi + 8]
and eax, 0xfff7ffff
mov dword [esp + 0x6c], 0x40000000
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x74], 0xc0000000
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x7c], 0xc0000000
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x84], 0xc0000000
push eax
push edi
call fcn.100562e0
movss xmm0, dword [0x10155c78]
comiss xmm0, dword [esp + 0xb4]
ja 0x100d2981
cmp byte [esp + 0xbe], 0
jne 0x100d2981
cmp byte [esp + 0xbf], 0
je 0x100d2a8f
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x100d29e8
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100d29e1
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 + 0x28]
lea eax, [esp + 0x3c]
push dword [esi + 8]
push dword [esp + 0x20]
push eax
push edi
call fcn.100561f0
mov ecx, dword [esp + 0xd4]
cmp byte [esp + 0xbf], 0
je 0x100d2a96
mov dword [esi + 0x28], 3
lea eax, [esp + 0x88]
movss xmm3, dword [edi]
movss xmm2, dword [edi + 4]
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x28]
movss xmm1, dword [edi + 8]
subss xmm3, dword [esp + 0x28]
push eax
push 3
push dword [esi + 8]
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 + 0x2c]
subss xmm1, dword [esp + 0x2c]
push eax
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x9c], xmm1
call fcn.100561f0
mov ecx, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xb4]
ucomiss xmm0, dword [0x10155b24]
lahf
test ah, 0x44
jnp 0x100d2ac3
movq xmm0, qword [esp + 0x94]
mov eax, dword [esp + 0x9c]
movq qword [edi], xmm0
mov dword [edi + 8], eax
test ecx, ecx
je 0x100d2b68
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
jne 0x100d2b68
mov eax, dword [esi + 0x34]
cmp eax, 0x44
je 0x100d2b23
cmp eax, 0x2e
je 0x100d2aef
cmp eax, 0x30
jne 0x100d2b68
mov ecx, dword [0x1020e3d4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x10155b74]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
comiss xmm0, dword [esp + 0xa8]
ja 0x100d2b68
mov eax, dword [esi + 0x38]
lea ebx, [esi + 0x48]
mov byte [esi + 4], 1
mov dword [esi + 0x40], eax
mov ecx, dword [esi + 0x4c]
mov byte [esp + 0x10], 1
cmp ecx, dword [esi + 0x50]
je 0x100d2b58
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov al, byte [esp + 0x10]
mov byte [ecx + 0xc], al
add dword [ebx + 4], 0x10
jmp 0x100d2b6b
lea eax, [esp + 0x10]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100b7a10
jmp 0x100d2b6b
lea ebx, [esi + 0x48]
cmp byte [esi + 4], 0
jne 0x100d2c59
movss xmm0, dword [esp + 0xb4]
ucomiss xmm0, dword [0x10155c78]
lahf
test ah, 0x44
jnp 0x100d2bd7
mov eax, dword [esi + 0x38]
mov dword [esi + 0x40], eax
mov ecx, dword [esi + 0x4c]
mov byte [esp + 0x11], 1
cmp ecx, dword [esi + 0x50]
je 0x100d2bb9
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov al, byte [esp + 0x11]
mov byte [ecx + 0xc], al
add dword [ebx + 4], 0x10
jmp 0x100d2bc7
lea eax, [esp + 0x11]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100b7a10
lea eax, [esp + 0x88]
push eax
lea ecx, [esi + 4]
call fcn.100cec40
mov eax, dword [esi + 0x40]
add eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x38]
cmp eax, ecx
jg 0x100d2c1e
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x4c]
mov byte [esp + 0x12], 0
cmp ecx, dword [esi + 0x50]
je 0x100d2c10
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov al, byte [esp + 0x12]
mov byte [ecx + 0xc], al
add dword [ebx + 4], 0x10
jmp 0x100d2c1e
lea eax, [esp + 0x12]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100b7a10
movss xmm2, dword [0x10155c1c]
mov ecx, dword [esi + 0x38]
mov eax, dword [0x1020e2d4]
inc ecx
movss xmm0, dword [0x10155e10]
mov ebx, ecx
mov dword [esi + 0x38], ecx
movss xmm1, dword [eax + 0x20]
divss xmm0, xmm1
addss xmm0, xmm2
cvttss2si eax, xmm0
cmp ebx, eax
jge 0x100d2c5c
lea edx, [esi + 0x48]
jmp 0x100d259e
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x40]
add eax, dword [esp + 0x1c]
cmp eax, ecx
jg 0x100d2ca1
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x4c]
mov byte [esp + 0x13], 0
cmp ecx, dword [esi + 0x50]
je 0x100d2c92
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov al, byte [esp + 0x13]
mov byte [ecx + 0xc], al
add dword [esi + 0x4c], 0x10
jmp 0x100d2ca1
lea eax, [esp + 0x13]
push eax
push edi
push ecx
lea ecx, [esi + 0x48]
call fcn.100b7a10
movd xmm0, dword [esi + 0x38]
mov eax, esi
mov ecx, dword [0x1020e2d4]
cvtdq2ps xmm0, xmm0
pop edi
mulss xmm0, dword [ecx + 0x20]
mov ecx, dword [esp + 0xe0]
addss xmm0, dword [esp + 0x2c]
movss dword [esi + 0x30], xmm0
pop esi
pop ebx
xor ecx, esp
call fcn.100d7a38
mov esp, ebp
pop ebp
ret 0x10