Function at 0x566bc0
Capabilities:
Terminate process

Disassembly:
push rbp
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov dword [rbp + 0x90], ecx
mov eax, dword [rbp + 0x50]
imul eax, eax, 0x1aa
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x4c]
imul eax, eax, 0x1ce
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x4c]
add eax, 0x213
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x48]
add eax, 0x237
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x60]
sub eax, 0x29c
mov dword [rbp + 0x4c], eax
mov byte [rbp + 0x5f], 0
mov eax, dword [rbp + 0x4c]
add eax, 0x204
mov dword [rbp + 0x50], eax
cmp dword [rbp + 0x90], 0
je 0x566e76
nop
mov eax, dword [rbp + 0x90]
cmp rax, 0xffffffffffffffff
je 0x566e4e
mov eax, dword [rbp + 0x60]
sub eax, 0x276
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x4c]
imul eax, eax, 0x1d7
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x4c]
add eax, 0x1fb
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x48]
sub eax, 0x280
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x60]
sub eax, 0x284
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x7c]
imul eax, eax, 0x2c9
mov dword [rbp + 0x48], eax
mov ecx, 1
xor edx, edx
mov r8d, dword [rbp + 0x90]
call sub.kernel32.dll_OpenProcess
mov dword [rbp + 0x64], eax
nop
mov eax, dword [rbp + 0x78]
add dword [rbp + 0x7c], eax
lea rcx, [rbp + 0x7c]
lea rdx, [rbp + 0x74]
call fcn.00561b70
mov eax, dword [rbp + 0x7c]
add eax, dword [rbp + 0x78]
mov dword [rbp + 0x60], eax
mov ecx, dword [rbp + 0x64]
xor edx, edx
call sub.kernel32.dll_TerminateProcess
mov eax, dword [rbp + 0x7c]
imul eax, eax, 0x2c1
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x74], 0
cmp dword [rbp + 0x74], 1
jge 0x566d29
add dword [rbp + 0x74], 1
mov eax, dword [rbp + 0x54]
add eax, dword [rbp + 0x48]
cmp eax, dword [rbp + 0x60]
jle 0x566cf3
mov eax, dword [rbp + 0x4c]
shl eax, 9
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x54]
add eax, dword [rbp + 0x50]
cmp dword [rbp + 0x70], eax
jne 0x566d0a
mov eax, dword [rbp + 0x58]
add eax, 0xe7
mov dword [rbp + 0x70], eax
mov eax, dword [rbp + 0x70]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x68]
imul eax, dword [rbp + 0x70]
mov dword [rbp + 0x7c], eax
mov eax, dword [rbp + 0x78]
sub eax, dword [rbp + 0x68]
mov dword [rbp + 0x7c], eax
cmp dword [rbp + 0x74], 1
jl 0x566cdb
nop
mov eax, dword [rbp + 0x78]
cmp eax, dword [rbp + 0x74]
jle 0x566d47
lea rcx, [rbp + 0x7c]
lea rdx, [rbp + 0x68]
lea r8, [rbp + 0x70]
lea r9, [rbp + 0x6c]
call fcn.005653a0
mov eax, dword [rbp + 0x78]
cmp eax, dword [rbp + 0x74]
jle 0x566d60
lea rcx, [rbp + 0x7c]
lea rdx, [rbp + 0x78]
lea r8, [rbp + 0x68]
call fcn.005656b0
mov eax, dword [rbp + 0x78]
add eax, dword [rbp + 0x74]
mov dword [rbp + 0x7c], eax
mov ecx, dword [rbp + 0x64]
mov edx, 0x1964
call sub.kernel32.dll_WaitForSingleObject
lea rcx, [rbp + 0x7c]
lea rdx, [rbp + 0x74]
lea r8, [rbp + 0x68]
lea r9, [rbp + 0x6c]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.00563f10
mov dword [rbp + 0x78], 0
cmp dword [rbp + 0x78], 1
jge 0x566def
add dword [rbp + 0x78], 1
mov eax, dword [rbp + 0x54]
add eax, dword [rbp + 0x48]
cmp eax, dword [rbp + 0x60]
jle 0x566dbd
mov eax, dword [rbp + 0x50]
imul eax, eax, 0x1a9
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x70]
sub eax, dword [rbp + 0x6c]
mov ecx, dword [rbp + 0x58]
sub ecx, dword [rbp + 0x50]
cmp eax, ecx
jle 0x566dd9
mov eax, dword [rbp + 0x6c]
add eax, 0xd1
mov dword [rbp + 0x70], eax
mov eax, dword [rbp + 0x68]
imul eax, dword [rbp + 0x70]
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x74]
add dword [rbp + 0x7c], eax
cmp dword [rbp + 0x78], 1
jl 0x566da2
nop
mov byte [rbp + 0x5f], 1
nop
lea rcx, [rbp + 0x7c]
lea rdx, [rbp + 0x78]
lea r8, [rbp + 0x74]
lea r9, [rbp + 0x70]
lea rax, [rbp + 0x6c]
mov qword [rsp + 0x20], rax
call fcn.00563320
mov eax, dword [rbp + 0x78]
cmp eax, dword [rbp + 0x74]
jle 0x566e30
lea rcx, [rbp + 0x7c]
lea rdx, [rbp + 0x78]
lea r8, [rbp + 0x68]
lea r9, [rbp + 0x70]
call fcn.005653a0
mov ecx, dword [rbp + 0x64]
call sub.kernel32.dll_CloseHandle_1
jmp 0x566e4e
mov eax, dword [rbp + 0x74]
add dword [rbp + 0x7c], eax
mov eax, 0x5b
sub eax, dword [rbp + 0x74]
cmp eax, 0x10d
jge 0x566e76
lea rcx, [rbp + 0x7c]
lea rdx, [rbp + 0x78]
lea r8, [rbp + 0x74]
call fcn.00562110
movzx rax, byte [rbp + 0x5f]
lea rsp, [rbp + 0x80]
pop rbp
ret