Function at 0x140007710
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140106040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
mov r8d, 5
lea rdx, str.a.exe
lea rcx, [rbp + 0x80]
call fcn.14000efa0
nop
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rdx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x90]
lea rsi, [rdx + rax*2]
lea rbx, [rbp + 0x80]
cmova rbx, qword [rbp + 0x80]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0xf
cmp rbx, rsi
jne 0x1400077c5
mov byte [rbp + 0x60], 0
jmp 0x1400078bc
sub rsi, rbx
sar rsi, 1
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x140007a38
mov edi, 0xf
cmp rsi, rdi
jbe 0x14000787b
mov rdi, rsi
or rdi, 0xf
cmp rdi, rax
jbe 0x140007833
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400afb68
mov rcx, rax
test rax, rax
je 0x1400079a7
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x78], rdi
jmp 0x14000787f
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140007854
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x78], rdi
jmp 0x14000787f
cmp rcx, 0x1000
jb 0x14000786c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140007a3e
jmp 0x140007809
call fcn.1400afb68
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x78], rdi
jmp 0x14000787f
mov rax, qword [rbp + 0x60]
lea r8, [rbp + 0x60]
cmp rdi, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x1400078b3
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rbx, [rbx + 2]
sub rdx, 1
jne 0x1400078a0
mov qword [rbp + 0x70], rsi
mov byte [r8 + rsi], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140007962
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140007959
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdx, qword [rbp + 0x60]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14000793f
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000793f
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
test eax, eax
jne 0x140007953
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400078f0
jmp 0x140007959
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], 5
lea rcx, [rsp + 0x20]
call fcn.14000dee0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1400079b3
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400079ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400079ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400afa40
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0xf
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140007a10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007a0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400afa40
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400afa20
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140002eb0
nop
call fcn.140002b60
int3