Function at 0x1006b330
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov eax, dword [esp + 0xb0]
mov ecx, dword [0x10259d1c]
xor ecx, esp
mov dword [esp + 0x88], ecx
cmp eax, 0xffffffff
je 0x1006b59a
cmp eax, 8
jae 0x1006b5b3
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x28]
mov ecx, dword [ecx + 8]
mov edi, dword [ecx + 0x38]
xorps xmm0, xmm0
movlps qword [esp + 0x58], xmm0
movlps qword [esp + 0x50], xmm0
movups xmmword [esp + 0x78], xmm0
movups xmmword [esp + 0x68], xmm0
lea esi, [esp + 0x78]
lea ebp, [esp + 0x68]
lea edx, [esp + 0x50]
lea ebx, [esp + 0x58]
mov ecx, edi
push esi
push ebp
push edx
push ebx
push eax
call fcn.10064700
test al, al
je 0x1006b59a
movss xmm0, dword [esp + 0xa8]
movss xmm1, dword [esp + 0xa4]
unpcklps xmm1, xmm0
movsd xmm0, qword [esp + 0x58]
subps xmm1, xmm0
movlps qword [esp + 0x60], xmm1
mov ebx, dword [edi + 8]
mov esi, dword [esp + 0xa0]
mov eax, dword [esi + 0x48]
cmp eax, dword [esi + 0x4c]
movups xmmword [esp + 0x10], xmm1
jne 0x1006b447
lea ebp, [eax + 1]
test eax, eax
je 0x1006b3fb
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
add ecx, eax
jmp 0x1006b400
mov ecx, 8
cmp ecx, ebp
cmovg ebp, ecx
cmp eax, ebp
jge 0x1006b447
lea eax, [ebp*4]
push eax
call fcn.100484d0
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1006b43e
mov ecx, dword [esi + 0x48]
shl ecx, 2
push ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [esi + 0x50]
call fcn.10048500
add esp, 4
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], ebp
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
mov dword [ecx + eax*4], ebx
inc dword [esi + 0x48]
mov ecx, esi
call fcn.1005fc50
lea edx, [esp + 0x80]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0xac]
mulss xmm0, xmm3
movsd xmm1, qword [esp + 0x50]
movaps xmm2, xmm3
shufps xmm2, xmm3, 0
mulps xmm2, xmm1
movups xmmword [esp], xmm2
movaps xmm1, xmm3
unpcklps xmm1, xmm0
movups xmm0, xmmword [esp + 0x10]
addps xmm1, xmm0
movups xmmword [esp + 0x30], xmm1
movaps xmm0, xmm1
addps xmm0, xmm2
movups xmmword [esp + 0x20], xmm0
movlps qword [esp + 0x48], xmm0
movlps qword [esp + 0x40], xmm1
lea eax, [esp + 0x48]
lea ebp, [esp + 0x40]
mov ecx, esi
push 0x30000000
push edx
lea edi, [esp + 0x80]
push edi
push eax
push ebp
push ebx
call fcn.10062e20
movss xmm1, dword [esp + 0xac]
addss xmm1, xmm1
addss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
addss xmm0, dword [esp]
movss dword [esp + 0x48], xmm0
movups xmm0, xmmword [esp + 0x20]
shufps xmm0, xmm0, 0x55
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x40], xmm1
movups xmm0, xmmword [esp + 0x30]
shufps xmm0, xmm0, 0x55
movss dword [esp + 0x44], xmm0
mov ecx, esi
push 0x30000000
lea edi, [esp + 0x84]
push edi
lea eax, [esp + 0x80]
push eax
lea ebp, [esp + 0x54]
push ebp
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.10062e20
movups xmm0, xmmword [esp]
movups xmm1, xmmword [esp + 0x10]
addps xmm0, xmm1
movups xmmword [esp], xmm0
movlps qword [esp + 0x48], xmm0
lea edx, [esp + 0x60]
mov ecx, esi
push 0xff000000
push edi
lea eax, [esp + 0x80]
push eax
push ebp
push edx
mov edi, edx
push ebx
call fcn.10062e20
lea eax, [esp + 0x70]
movups xmm0, xmmword [esp]
movlps qword [esp + 0x48], xmm0
mov ecx, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x70]
push eax
push ebp
push edi
push ebx
call fcn.10062e20
mov eax, dword [esi + 0x48]
test eax, eax
jle 0x1006b5b3
dec eax
mov dword [esi + 0x48], eax
mov ecx, esi
call fcn.1005fc50
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10155bf1
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3