Function at 0x100d4e44
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
call fcn.100d4f50
test al, al
jne case.default.0x100d4b6e
call fcn.100d50e0
mov eax, dword [0x101be704]
mov ecx, dword [eax + 0x1c]
dec ecx
cmp ecx, 5
ja case.default.0x100d4b6e
jmp dword [ecx*4 + 0x100d4e84]
push 0
call fcn.101454f0
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x101afd98]
movss dword [eax + 0x10], xmm0
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x101be69c], 0
push 0
jne 0x100d4bba
call fcn.101454f0
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x101afd64]
movss dword [eax + 0x10], xmm0
pop esi
mov esp, ebp
pop ebp
ret
call fcn.101454f0
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [0x101afd64]
movss dword [eax + 0x10], xmm0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101be658]
xor ecx, ecx
cmp eax, 9
push ecx
cmovg eax, ecx
mov dword [0x101be658], eax
cmp byte [0x101be69c], cl
jne 0x100d4bf6
lea esi, [eax + 0x2d]
jmp 0x100d4c00
lea eax, [eax + eax*2]
mov esi, 0xc8
sub esi, eax
call fcn.101454f0
inc dword [0x101be658]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm1
movss dword [eax + 0x10], xmm0
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x101c6c14]
push 0
movss dword [esp + 0xc], xmm0
call fcn.101454f0
mov ecx, 0x101c6c10
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [esp + 8]
movss dword [eax + 0x10], xmm0
call fcn.1014dda0
movss xmm0, dword [0x101c6c14]
addss xmm0, dword [0x101afd60]
movss dword [0x101c6c14], xmm0
pop esi
mov esp, ebp
pop ebp
ret
push 0
call fcn.101454f0
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x101afd98]
movss dword [eax + 0x10], xmm0
call fcn.10145940
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.1014c330
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax]
movss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x100d4ccf
sqrtsd xmm0, xmm0
jmp 0x100d4cd4
call fcn.101610b0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x101afd04]
comiss xmm0, xmm1
jbe 0x100d4dd8
push 0
call fcn.101454f0
movss xmm1, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x18]
movss xmm0, dword [eax + 0x20]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x100d4d28
sqrtsd xmm0, xmm0
jmp 0x100d4d2d
call fcn.101610b0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x101afd2c]
comiss xmm0, xmm1
jbe 0x100d4dd8
mov eax, dword [0x101be6c0]
mov eax, dword [eax]
movss xmm0, dword [eax + 0xc]
comiss xmm0, dword [0x101c0e74]
jbe case.default.0x100d4b6e
addss xmm0, dword [0x101afc98]
mov eax, dword [0x101be65c]
test eax, eax
push 0
sete byte [0x101be69c]
imul esi, eax, 0x4c
movss dword [0x101c0e74], xmm0
call fcn.101454f0
movd xmm0, esi
xor ecx, ecx
cvtdq2ps xmm0, xmm0
push 0
addss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
mov eax, dword [0x101be6bc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp byte [eax + 0x54], cl
setne cl
lea ecx, [ecx*2 + 1]
imul ecx, dword [0x101be65c]
imul esi, ecx, 0xd
call fcn.101454f0
neg dword [0x101be65c]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x1c], xmm0
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call fcn.101453c0
and eax, 0x80000001
jns 0x100d4dec
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x100d4e1c
push ecx
call fcn.101453c0
imul esi, eax, 0x37
and esi, 0x80000001
jns 0x100d4e04
dec esi
or esi, 0xfffffffe
inc esi
push 0
call fcn.101454f0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
neg dword [0x101be65c]
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x101be69c], 0
push 0
jne 0x100d4e5a
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
call fcn.101454f0
movss xmm0, dword [esp + 8]
addss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
pop esi
mov esp, ebp
pop ebp
ret
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
call fcn.101454f0
movss xmm0, dword [esp + 8]
addss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
pop esi
mov esp, ebp
pop ebp
ret