Function at 0x1006a490
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov ebp, dword [ecx + 0x20]
test ebp, ebp
je 0x1006a4e4
mov ecx, dword [esi + 0x28]
xor ebx, ebx
test ebp, ebp
mov edx, 0
cmovg edx, ebp
lea edi, [ebp - 1]
mov dword [esp], ebp
nop word cs:[eax + eax]
cmp edx, edi
jbe 0x1006a756
movzx eax, word [ecx]
cmp ebx, eax
cmovle ebx, eax
add ecx, 0x28
dec ebp
jne 0x1006a4c0
cmp dword [esp], 0xffff
jl 0x1006a4e6
jmp 0x1006a756
xor ebx, ebx
mov eax, dword [esi + 8]
test eax, eax
je 0x1006a50a
mov dword [esi + 4], 0
mov dword [esi], 0
push eax
call fcn.10048500
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1006a52f
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
push eax
call fcn.10048500
add esp, 4
mov dword [esi + 0x1c], 0
mov byte [esi + 0x54], 0
inc ebx
mov ecx, esi
push ebx
call fcn.1006acd0
mov ebp, dword [esi + 0x20]
test ebp, ebp
jle 0x1006a588
xor eax, eax
mov ecx, 4
nop word [eax + eax]
mov edi, dword [esi + 0x28]
movzx edx, word [edi + ecx - 4]
cmp dword [esi], edx
jle 0x1006a756
movss xmm0, dword [edi + ecx]
mov edi, dword [esi + 8]
movss dword [edi + edx*4], xmm0
cmp dword [esi + 0x14], edx
jle 0x1006a756
mov edi, dword [esi + 0x1c]
mov word [edi + edx*2], ax
inc eax
mov ebp, dword [esi + 0x20]
add ecx, 0x28
cmp eax, ebp
jl 0x1006a550
mov eax, dword [esi + 0x14]
cmp eax, 0x20
jle 0x1006a59f
mov ecx, dword [esi + 0x1c]
movzx ecx, word [ecx + 0x40]
cmp ecx, 0xffff
jne 0x1006a5ab
mov ecx, dword [esi + 0x2c]
test ecx, ecx
jne 0x1006a5bc
jmp 0x1006a6e4
lea ecx, [ecx + ecx*4]
shl ecx, 3
add ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1006a6e4
test ebp, ebp
jle 0x1006a756
mov edi, dword [esi + 0x28]
lea ecx, [ebp - 1]
lea edx, [ecx + ecx*4]
cmp word [edi + edx*8], 9
jne 0x1006a5db
mov ebp, ecx
jmp 0x1006a65e
lea ecx, [ebp + 1]
mov dword [esp], ecx
mov edx, dword [esi + 0x24]
cmp edx, ebp
jg 0x1006a658
test edx, edx
je 0x1006a5f9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sar ecx, 1
add ecx, edx
jmp 0x1006a5fe
mov ecx, 8
cmp ecx, dword [esp]
cmovle ecx, dword [esp]
cmp edx, ecx
mov edx, dword [esp]
jge 0x1006a65b
mov dword [esp + 4], ecx
lea eax, [ecx*8]
lea eax, [eax + eax*4]
push eax
call fcn.100484d0
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1006a64b
mov ecx, dword [esi + 0x20]
shl ecx, 3
lea ecx, [ecx + ecx*4]
push ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [esi + 0x28]
call fcn.10048500
add esp, 4
mov dword [esi + 0x28], edi
mov eax, dword [esp + 4]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x14]
mov edx, dword [esp]
mov dword [esi + 0x20], edx
lea edx, [ebp*4]
add edx, ebp
lea ecx, [edi + edx*8]
cmp eax, 0x20
jle 0x1006a67d
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + 0x40]
cmp eax, 0xffff
jne 0x1006a682
mov eax, dword [esi + 0x2c]
jmp 0x1006a688
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [ecx], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [ecx + 0x20], xmm0
movups xmmword [ecx + 0x10], xmm1
mov word [ecx], 9
movss xmm0, dword [edi + edx*8 + 4]
mulss xmm0, dword [0x101a78f4]
movss dword [edi + edx*8 + 4], xmm0
cmp dword [esi], 9
jle 0x1006a756
mov eax, dword [esi + 8]
movss dword [eax + 0x24], xmm0
movzx eax, word [ecx]
cmp dword [esi + 0x14], eax
jle 0x1006a756
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
dec edx
mov word [ecx + eax*2], dx
mov eax, dword [esi + 0x14]
movzx ecx, word [esi + 0x42]
cmp eax, ecx
jle 0x1006a713
mov eax, dword [esi + 0x1c]
movzx ecx, word [eax + ecx*2]
cmp ecx, 0xffff
je 0x1006a713
mov eax, dword [esi + 0x28]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov dword [esi + 0x2c], edx
test eax, eax
je 0x1006a71a
movss xmm0, dword [eax + ecx*8 + 4]
jmp 0x1006a71d
mov dword [esi + 0x2c], 0
xorps xmm0, xmm0
movss dword [esi + 0xc], xmm0
xor eax, eax
xorps xmm0, xmm0
jmp 0x1006a735
inc eax
cmp ebx, eax
je 0x1006a74e
cmp dword [esi], eax
jle 0x1006a756
mov ecx, dword [esi + 8]
ucomiss xmm0, dword [ecx + eax*4]
jbe 0x1006a730
movss xmm1, dword [esi + 0xc]
movss dword [ecx + eax*4], xmm1
jmp 0x1006a730
add esp, 8
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