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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x1015a380]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 8]
lea edx, [ecx + 4]
mov dword [esp + 0xc], 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 + 0x34], xmm0
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x14]
mov esi, dword [eax]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x20]
lea edx, [eax + 0x48]
movss xmm3, dword [0x10155b64]
add esp, 0xc
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 [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
mov esi, eax
mov dword [esi + 0x34], ecx
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 [0x1020f4ec]
movss xmm0, dword [0x10155ac4]
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], 0xd
divss xmm0, dword [ebx + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [esp + 0x18], eax
neg eax
mov dword [esi + 0x40], eax
add ecx, 0xffffffd5
cmp ecx, 5
ja case.default.0x100d26d4
jmp dword [ecx*4 + 0x100d2dcc]
movss xmm0, dword [0x10155be4]
divss xmm0, dword [ebx + 0x20]
jmp 0x100d2746
movss xmm0, dword [0x10155bc0]
divss xmm0, dword [ebx + 0x20]
addss xmm0, xmm0
jmp 0x100d2746
movss xmm0, dword [0x10155ab8]
mov dword [esi + 0x2c], 0x3fc00000
divss xmm0, dword [ebx + 0x20]
jmp 0x100d2746
mov ecx, dword [0x1020f5c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
mov eax, dword [0x1020f4ec]
lea edx, [esi + 0x48]
movss xmm0, dword [0x10155ab8]
movss xmm3, dword [0x10155b64]
fstp dword [esi + 0x2c]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [esi + 0x3c], eax
mov eax, dword [0x1020f4ec]
movss xmm0, dword [0x10155d40]
mov ecx, dword [esi + 0x38]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jge 0x100d2d4a
lea ebx, [esi + 4]
nop dword [eax]
cmp dword [esi + 0x3c], ecx
jg 0x100d2881
mov eax, dword [esi + 0x34]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x100d2798
jmp dword [eax*4 + 0x100d2de4]
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
movss xmm0, dword [0x10155aac]
comiss xmm0, xmm2
jb case.default.0x100d2798
jmp 0x100d281e
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
movss xmm0, dword [0x10155ac8]
comiss xmm0, xmm2
jb case.default.0x100d2798
jmp 0x100d281e
mov eax, dword [0x1020f4ec]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
comiss xmm0, dword [esi + 0x2c]
jbe case.default.0x100d2798
mov byte [ebx], 1
mov dword [esi + 0x40], ecx
mov ecx, dword [edx + 4]
mov byte [esp + 0x13], 0
cmp ecx, dword [edx + 8]
je 0x100d2849
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.0x100d2798
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, edx
call fcn.100b8a60
movss xmm3, dword [0x10155b64]
mov eax, dword [0x1020f4ec]
movss xmm0, dword [0x10155b18]
mov ecx, dword [esi + 0x38]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
add eax, ecx
mov dword [esi + 0x3c], eax
cmp ecx, dword [esp + 0x20]
jl 0x100d2d1d
cmp byte [ebx], 0
jne 0x100d2d4a
mov ecx, dword [0x1020f5a0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
mov eax, dword [0x1020f4ec]
mov ecx, 0x8400b
movss xmm3, dword [esi + 0x20]
mov ebx, 0x4208608b
fstp dword [esp + 0x14]
movaps xmm1, xmm3
mov dword [esp + 0x38], 0x40000000
movss xmm2, dword [eax + 0x20]
mov eax, dword [esi + 0x28]
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x14]
movaps xmm4, xmm2
cmp eax, 1
mov dword [esp + 0xa0], 0
mulss xmm4, dword [esi + 0x18]
movaps xmm5, xmm2
cmove ebx, ecx
lea ecx, [esp + 0x80]
mulss xmm5, dword [esi + 0x1c]
push ecx
mulss xmm0, dword [0x10155b50]
push eax
push dword [esi + 8]
lea eax, [esp + 0x44]
movss dword [esp + 0x20], xmm4
subss xmm1, xmm0
movss dword [esp + 0x30], xmm5
xorps xmm0, xmm0
mov dword [esp + 0x48], 0x40000000
movups xmmword [esp + 0x8c], xmm0
push ebx
movups xmmword [esp + 0xa0], xmm0
push eax
movss dword [esi + 0x20], xmm1
addss xmm3, xmm1
movaps xmm0, xmm4
mov dword [esp + 0x54], 0x40000000
addss xmm0, dword [edi]
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0xc0000000
push eax
mulss xmm3, dword [0x10155b64]
lea eax, [esp + 0x44]
push eax
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm5
addss xmm0, dword [edi + 4]
mulss xmm3, xmm2
push edi
mov dword [esp + 0x68], 0xc0000000
mov dword [esp + 0x6c], 0xc0000000
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 8]
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x54], xmm0
call fcn.10056a90
cmp byte [esp + 0xb7], 0
je 0x100d2a59
test dword [esp + 0xb0], 0x80000
je 0x100d2a59
push 0x54
lea eax, [esp + 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xac], 0x3f800000
lea eax, [esp + 0x80]
mov dword [esp + 0xbc], str.empty
mov dword [esp + 0x50], 0x40000000
mov dword [esp + 0x54], 0x40000000
push eax
push dword [esi + 0x28]
mov eax, ebx
mov dword [esp + 0x60], 0x40000000
push dword [esi + 8]
and eax, 0xfff7ffff
mov dword [esp + 0x68], 0xc0000000
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x70], 0xc0000000
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x78], 0xc0000000
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.10056a90
movss xmm0, dword [0x10155bc0]
comiss xmm0, dword [esp + 0xac]
ja 0x100d2a7f
cmp byte [esp + 0xb6], 0
jne 0x100d2a7f
cmp byte [esp + 0xb7], 0
je 0x100d2adc
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je 0x100d2ae3
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100d2adc
push 0x54
lea eax, [esp + 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xac], 0x3f800000
lea eax, [esp + 0x80]
mov dword [esp + 0xbc], str.empty
push eax
push dword [esi + 0x28]
lea eax, [esp + 0x34]
push dword [esi + 8]
push ebx
push eax
push edi
call fcn.100569a0
mov ecx, dword [esp + 0xcc]
cmp byte [esp + 0xb7], 0
je 0x100d2b94
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x80]
mov dword [esi + 0x28], 3
movss xmm3, dword [edi]
movss xmm2, dword [edi + 4]
addss xmm0, xmm3
movss xmm1, dword [edi + 8]
subss xmm3, dword [esp + 0x14]
push eax
push 3
push dword [esi + 8]
movss dword [esp + 0x74], xmm0
lea eax, [esp + 0x74]
movss xmm0, dword [esp + 0x30]
addss xmm0, xmm2
movss dword [esp + 0x80], xmm3
subss xmm2, dword [esp + 0x30]
push 0x8400b
push eax
lea eax, [esp + 0x88]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, xmm1
movss dword [esp + 0x8c], xmm2
subss xmm1, dword [esp + 0x30]
push eax
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x94], xmm1
call fcn.100569a0
mov ecx, dword [esp + 0xcc]
movss xmm0, dword [esp + 0xac]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100d2bc0
movq xmm0, qword [esp + 0x8c]
mov eax, dword [esp + 0x94]
movq qword [edi], xmm0
mov dword [edi + 8], eax
test ecx, ecx
je 0x100d2c62
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
jne 0x100d2c62
mov eax, dword [esi + 0x34]
cmp eax, 0x44
je 0x100d2c20
cmp eax, 0x2e
je 0x100d2bec
cmp eax, 0x30
jne 0x100d2c62
mov ecx, dword [0x1020f5e8]
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 [0x10155ab4]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
comiss xmm0, dword [esp + 0xa0]
ja 0x100d2c62
mov eax, dword [esi + 0x38]
lea ebx, [esi + 0x48]
mov byte [esi + 4], 1
mov dword [esi + 0x40], eax
mov ecx, dword [ebx + 4]
mov byte [esp + 0x13], 1
cmp ecx, dword [ebx + 8]
je 0x100d2c52
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 0x100d2c65
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100b8a60
jmp 0x100d2c65
lea ebx, [esi + 0x48]
cmp byte [esi + 4], 0
jne 0x100d2d4a
movss xmm0, dword [esp + 0xac]
ucomiss xmm0, dword [0x10155bc0]
lahf
test ah, 0x44
jnp 0x100d2cce
mov eax, dword [esi + 0x38]
mov dword [esi + 0x40], eax
mov ecx, dword [ebx + 4]
mov byte [esp + 0x13], 1
cmp ecx, dword [ebx + 8]
je 0x100d2cb0
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 0x100d2cbe
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100b8a60
lea eax, [esp + 0x80]
push eax
lea ecx, [esi + 4]
call fcn.100cf1f0
mov eax, dword [esi + 0x40]
add eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x38]
cmp eax, ecx
jg 0x100d2d12
mov dword [esi + 0x40], ecx
mov ecx, dword [ebx + 4]
mov byte [esp + 0x13], 0
cmp ecx, dword [ebx + 8]
je 0x100d2d04
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 0x100d2d12
lea eax, [esp + 0x13]
push eax
push edi
push ecx
mov ecx, ebx
call fcn.100b8a60
movss xmm3, dword [0x10155b64]
lea ebx, [esi + 4]
mov ecx, dword [esi + 0x38]
mov eax, dword [0x1020f4ec]
inc ecx
movss xmm0, dword [0x10155d40]
mov dword [esi + 0x38], ecx
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jge 0x100d2d4a
lea edx, [esi + 0x48]
jmp 0x100d2780
mov eax, dword [esi + 0x40]
add eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x38]
cmp eax, ecx
jg 0x100d2d92
mov dword [esi + 0x40], ecx
lea eax, [esi + 0xc]
mov ecx, dword [esi + 0x4c]
mov byte [esp + 0x13], 0
cmp ecx, dword [esi + 0x50]
je 0x100d2d83
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 + 0x4c], 0x10
jmp 0x100d2d92
lea edi, [esp + 0x13]
push edi
push eax
push ecx
lea ecx, [esi + 0x48]
call fcn.100b8a60
movd xmm0, dword [esi + 0x38]
mov eax, esi
mov ecx, dword [0x1020f4ec]
cvtdq2ps xmm0, xmm0
pop edi
mulss xmm0, dword [ecx + 0x20]
mov ecx, dword [esp + 0xd8]
addss xmm0, dword [esp + 0x24]
movss dword [esi + 0x30], xmm0
pop esi
pop ebx
xor ecx, esp
call fcn.100d7b08
mov esp, ebp
pop ebp
ret 0x10