Function at 0x10129830
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov ebx, edx
movss dword [ebp - 0xc], xmm1
push edi
mov edi, ecx
cmp ebx, 0xffffffff
je 0x10129af2
cmp ebx, 7
ja 0x10129af9
mov eax, dword [edi + 0x28]
mov ecx, 4
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x38]
lea eax, [ebp - 0x40]
mov dword [eax + 4], 0
lea eax, [eax + 8]
mov dword [eax - 8], 0
sub ecx, 1
jne 0x10129865
test byte [esi + 4], 2
jne 0x10129af2
mov eax, dword [esi + 0x58]
cmp eax, 0xffffffff
je 0x10129af9
push eax
lea ecx, [esi + 0x40]
call fcn.1003d0a0
mov edx, eax
cmp dword [edx], 0x80000000
jne 0x10129af9
movzx eax, word [edx + 8]
lea ecx, [ebx + ebx*2]
movss xmm2, dword [ecx*8 + 0x101e43dc]
movss xmm5, dword [ecx*8 + 0x101e43d8]
movss dword [ebp - 8], xmm2
movd xmm4, eax
movzx eax, word [edx + 0xa]
cvtdq2ps xmm4, xmm4
movd xmm3, eax
addss xmm4, dword [ecx*8 + 0x101e43d0]
cvtdq2ps xmm3, xmm3
movaps xmm1, xmm4
movss dword [ebp - 4], xmm5
mulss xmm1, dword [esi + 0x24]
addss xmm3, dword [ecx*8 + 0x101e43d4]
movaps xmm0, xmm3
addss xmm2, xmm3
mulss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x40], xmm1
movaps xmm1, xmm5
addss xmm1, xmm4
addss xmm4, dword [0x1017f258]
movss dword [ebp - 0x3c], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esi + 0x28]
mulss xmm1, dword [esi + 0x24]
movss dword [ebp - 0x34], xmm0
movaps xmm0, xmm4
addss xmm4, xmm5
movss dword [ebp - 0x38], xmm1
mulss xmm0, dword [esi + 0x24]
mulss xmm3, dword [esi + 0x28]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp + 8]
subss xmm0, dword [ecx*8 + 0x101e43e0]
movss dword [ebp - 0x2c], xmm3
mulss xmm4, dword [esi + 0x24]
mulss xmm2, dword [esi + 0x28]
movss dword [ebp + 8], xmm0
movss xmm0, dword [ebp + 0xc]
subss xmm0, dword [ecx*8 + 0x101e43e4]
movss dword [ebp - 0x28], xmm4
mov ecx, edi
movss dword [ebp - 0x24], xmm2
movss dword [ebp + 0xc], xmm0
mov esi, dword [esi + 8]
push esi
call fcn.1012bce0
movss xmm1, dword [ebp - 0xc]
lea eax, [ebp - 0x28]
movss xmm3, dword [ebp - 4]
movaps xmm0, xmm1
movss xmm4, dword [ebp - 8]
xorps xmm2, xmm2
mulss xmm0, xmm2
push 0x30000000
movss xmm2, dword [ebp + 8]
addss xmm2, xmm1
mulss xmm3, xmm1
push eax
mulss xmm4, xmm1
lea eax, [ebp - 0x30]
push eax
movss xmm1, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
addss xmm1, xmm0
movss dword [ebp - 0x10], xmm0
movaps xmm0, xmm2
movss dword [ebp - 4], xmm3
addss xmm0, xmm3
movss dword [ebp - 8], xmm4
push eax
lea eax, [ebp - 0x20]
movss dword [ebp - 0x20], xmm2
push eax
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm1
addss xmm0, xmm4
push esi
movss dword [ebp - 0x14], xmm0
mov ecx, edi
call fcn.10121920
movss xmm2, dword [ebp - 0xc]
lea eax, [ebp - 0x28]
movss xmm1, dword [ebp + 0xc]
addss xmm2, xmm2
addss xmm1, dword [ebp - 0x10]
push 0x30000000
push eax
lea eax, [ebp - 0x30]
mov ecx, edi
addss xmm2, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20]
movss dword [ebp - 0x14], xmm1
push eax
lea eax, [ebp - 0x18]
movaps xmm0, xmm2
movss dword [ebp - 0x18], xmm2
addss xmm0, dword [ebp - 4]
push eax
push esi
movss dword [ebp - 0x20], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ebp - 8]
movss dword [ebp - 0x1c], xmm0
call fcn.10121920
movss xmm0, dword [ebp + 8]
lea eax, [ebp - 0x28]
addss xmm0, dword [ebp - 4]
push 0xff000000
push eax
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
movss dword [ebp - 0x20], xmm0
lea eax, [ebp - 0x20]
movss xmm0, dword [ebp + 0xc]
addss xmm0, dword [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push esi
movss dword [ebp - 0x1c], xmm0
call fcn.10121920
movss xmm0, dword [ebp + 8]
lea eax, [ebp - 0x38]
addss xmm0, dword [ebp - 4]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
movss dword [ebp - 0x20], xmm0
lea eax, [ebp - 0x20]
movss xmm0, dword [ebp + 0xc]
addss xmm0, dword [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push esi
movss dword [ebp - 0x1c], xmm0
call fcn.10121920
mov eax, dword [edi + 0x48]
test eax, eax
jle 0x10129af9
dec eax
mov ecx, edi
mov dword [edi + 0x48], eax
call fcn.10121f80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3