Function at 0x10295ec0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x104e6584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x104f677c
call fcn.1015f0d9
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
cmp dword [eax], 0x40
jle 0x10295f2a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
shl ecx, 1
lea edx, [ecx*4 + 4]
push edx
call fcn.1015fc4b
add esp, 4
mov dword [ebp - 0x228], eax
jmp 0x10295f36
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x228]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
add ecx, dword [eax + 4]
cvtsi2ss xmm0, ecx
addss xmm0, dword [0x1042d1f8]
imul edx, dword [ebp + 0x10], 0x14
mov eax, dword [ebp + 0xc]
movss dword [eax + edx + 4], xmm0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 4]
jge 0x102962ee
cvtsi2ss xmm0, dword [ebp - 0x18]
addss xmm0, dword [0x1042d1cc]
movss dword [ebp - 0x230], xmm0
cvtsi2ss xmm0, dword [ebp - 0x18]
addss xmm0, dword [0x1042d1f8]
movss dword [ebp - 0x234], xmm0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
shl ecx, 2
push ecx
push 0
mov edx, dword [ebp - 0x228]
push edx
call fcn.1015d3f1
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ecx*4 + 4]
push edx
push 0
mov eax, dword [ebp - 0x22c]
push eax
call fcn.1015d3f1
add esp, 0xc
mov eax, dword [ebp - 0x238]
cmp dword [eax], 0
je 0x10296083
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
mov dword [ebp - 0x23c], ecx
mov eax, dword [ebp - 0x23c]
movss xmm0, dword [ebp - 0x230]
comiss xmm0, dword [eax + 0x18]
jb 0x10296070
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x23c]
movss xmm0, dword [eax + 0x10]
ucomiss xmm0, dword [0x1042d1cc]
lahf
test ah, 0x44
jp 0x1029604d
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [ebp - 0x23c]
xorps xmm0, xmm0
movss dword [eax + 0x10], xmm0
mov eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.10295560
add esp, 8
jmp 0x1029607e
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
mov dword [ebp - 0x238], ecx
jmp 0x10295fec
mov eax, dword [ebp + 0xc]
movss xmm0, dword [ebp - 0x234]
comiss xmm0, dword [eax + 4]
jb 0x10296157
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
movss xmm0, dword [eax + 4]
ucomiss xmm0, dword [ecx + 0xc]
lahf
test ah, 0x44
jnp 0x10296149
mov eax, dword [ebp + 0x20]
push eax
push ecx
movss xmm0, dword [ebp - 0x230]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.102958c0
add esp, 0x14
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x10296149
cmp dword [ebp - 0x1c], 0
jne 0x10296119
cmp dword [ebp + 0x1c], 0
je 0x10296119
mov eax, dword [ebp - 0x240]
movss xmm0, dword [ebp - 0x230]
comiss xmm0, dword [eax + 0x18]
jbe 0x10296119
mov eax, dword [ebp - 0x240]
movss xmm0, dword [ebp - 0x230]
movss dword [eax + 0x18], xmm0
mov eax, dword [ebp - 0x240]
movss xmm0, dword [eax + 0x18]
comiss xmm0, dword [ebp - 0x230]
jae 0x10296135
push 0
call dword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
add eax, 0x14
mov dword [ebp + 0xc], eax
jmp 0x10296083
cmp dword [ebp - 0x14], 0
je 0x1029618e
push ecx
movss xmm0, dword [ebp - 0x230]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x22c]
add eax, 4
push eax
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.10293960
add esp, 0x14
xorps xmm0, xmm0
movss dword [ebp - 0x244], xmm0
mov dword [ebp - 0x20], 0
jmp 0x102961ab
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jge 0x10296284
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x22c]
movss xmm0, dword [ebp - 0x244]
addss xmm0, dword [ecx + eax*4]
movss dword [ebp - 0x244], xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x228]
movss xmm0, dword [ecx + eax*4]
addss xmm0, dword [ebp - 0x244]
movss dword [ebp - 0x248], xmm0
cvtss2sd xmm0, dword [ebp - 0x248]
sub esp, 8
movsd qword [esp], xmm0
call fcn.1015da40
add esp, 8
fstp dword [ebp - 0x2d4]
fld dword [ebp - 0x2d4]
fstp dword [ebp - 0x2d8]
movss xmm0, dword [ebp - 0x2d8]
mulss xmm0, dword [0x1042e6dc]
addss xmm0, dword [0x1042d1ec]
movss dword [ebp - 0x248], xmm0
cvttss2si eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0xff
jle 0x10296263
mov dword [ebp - 0x24c], 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
imul ecx, dword [eax + 8]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dl, byte [ebp - 0x24c]
mov byte [eax + ecx], dl
jmp 0x102961a2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
cmp dword [eax], 0
je 0x102962d7
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
mov dword [ebp - 0x250], ecx
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x250]
movss xmm0, dword [eax + 4]
addss xmm0, dword [ecx + 8]
mov edx, dword [ebp - 0x250]
movss dword [edx + 4], xmm0
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
mov dword [ebp - 0x238], ecx
jmp 0x1029628d
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x10295f72
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.10295500
add esp, 8
lea eax, [ebp - 0x224]
cmp dword [ebp - 0x228], eax
je 0x1029631b
mov eax, dword [ebp - 0x228]
push eax
call fcn.1015ea80
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1015ebf2
mov esp, ebp
pop ebp
ret