Function at 0x1006a560
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 0x1006a5b4
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 0x1006a826
movzx eax, word [ecx]
cmp ebx, eax
cmovle ebx, eax
add ecx, 0x28
dec ebp
jne 0x1006a590
cmp dword [esp], 0xffff
jl 0x1006a5b6
jmp 0x1006a826
xor ebx, ebx
mov eax, dword [esi + 8]
test eax, eax
je 0x1006a5da
mov dword [esi + 4], 0
mov dword [esi], 0
push eax
call fcn.100485d0
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1006a5ff
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
push eax
call fcn.100485d0
add esp, 4
mov dword [esi + 0x1c], 0
mov byte [esi + 0x54], 0
inc ebx
mov ecx, esi
push ebx
call fcn.1006ada0
mov ebp, dword [esi + 0x20]
test ebp, ebp
jle 0x1006a658
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 0x1006a826
movss xmm0, dword [edi + ecx]
mov edi, dword [esi + 8]
movss dword [edi + edx*4], xmm0
cmp dword [esi + 0x14], edx
jle 0x1006a826
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 0x1006a620
mov eax, dword [esi + 0x14]
cmp eax, 0x20
jle 0x1006a66f
mov ecx, dword [esi + 0x1c]
movzx ecx, word [ecx + 0x40]
cmp ecx, 0xffff
jne 0x1006a67b
mov ecx, dword [esi + 0x2c]
test ecx, ecx
jne 0x1006a68c
jmp 0x1006a7b4
lea ecx, [ecx + ecx*4]
shl ecx, 3
add ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1006a7b4
test ebp, ebp
jle 0x1006a826
mov edi, dword [esi + 0x28]
lea ecx, [ebp - 1]
lea edx, [ecx + ecx*4]
cmp word [edi + edx*8], 9
jne 0x1006a6ab
mov ebp, ecx
jmp 0x1006a72e
lea ecx, [ebp + 1]
mov dword [esp], ecx
mov edx, dword [esi + 0x24]
cmp edx, ebp
jg 0x1006a728
test edx, edx
je 0x1006a6c9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sar ecx, 1
add ecx, edx
jmp 0x1006a6ce
mov ecx, 8
cmp ecx, dword [esp]
cmovle ecx, dword [esp]
cmp edx, ecx
mov edx, dword [esp]
jge 0x1006a72b
mov dword [esp + 4], ecx
lea eax, [ecx*8]
lea eax, [eax + eax*4]
push eax
call fcn.100485a0
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1006a71b
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.100485d0
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 0x1006a74d
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + 0x40]
cmp eax, 0xffff
jne 0x1006a752
mov eax, dword [esi + 0x2c]
jmp 0x1006a758
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 [0x101a98f4]
movss dword [edi + edx*8 + 4], xmm0
cmp dword [esi], 9
jle 0x1006a826
mov eax, dword [esi + 8]
movss dword [eax + 0x24], xmm0
movzx eax, word [ecx]
cmp dword [esi + 0x14], eax
jle 0x1006a826
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 0x1006a7e3
mov eax, dword [esi + 0x1c]
movzx ecx, word [eax + ecx*2]
cmp ecx, 0xffff
je 0x1006a7e3
mov eax, dword [esi + 0x28]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov dword [esi + 0x2c], edx
test eax, eax
je 0x1006a7ea
movss xmm0, dword [eax + ecx*8 + 4]
jmp 0x1006a7ed
mov dword [esi + 0x2c], 0
xorps xmm0, xmm0
movss dword [esi + 0xc], xmm0
xor eax, eax
xorps xmm0, xmm0
jmp 0x1006a805
inc eax
cmp ebx, eax
je 0x1006a81e
cmp dword [esi], eax
jle 0x1006a826
mov ecx, dword [esi + 8]
ucomiss xmm0, dword [ecx + eax*4]
jbe 0x1006a800
movss xmm1, dword [esi + 0xc]
movss dword [ecx + eax*4], xmm1
jmp 0x1006a800
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