Function at 0x140001880
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r14, rdx
mov qword [rsp + 0x28], rdx
mov r13, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x140001c05
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001bfc
xor r15d, r15d
lea rcx, [rbp - 0x44]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140001910
mov r8, r13
cmp qword [r13 + 0x18], 7
jbe 0x140001928
mov r8, qword [r13]
mov rdx, qword [r13 + 0x10]
cmp rdx, rax
jne 0x140001be7
lea rcx, [rbp - 0x44]
test rdx, rdx
je 0x140001968
lea rax, [rbp - 0x44]
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140001be7
add rcx, 2
sub rdx, 1
jne 0x140001950
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov r8d, dword [rbp - 0x68]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140001ba5
mov r9d, 0x104
lea r8, [rbp + 0x1d0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x140001c40
lea rax, [rbp + 0x1d0]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400019d0
mov rax, qword [rsp + 0x48]
cmp rdx, rax
ja 0x140001a15
lea rdi, [rsp + 0x30]
cmp rax, 7
cmova rdi, qword [rsp + 0x30]
mov qword [rsp + 0x40], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x1d0]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r15w
jmp 0x140001a26
lea r9, [rbp + 0x1d0]
lea rcx, [rsp + 0x30]
call fcn.140005a30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.1400016b0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400016b0
lea r10, [rsp + 0x70]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rbp - 0x78]
cmp r14, 7
cmova r10, rbx
lea r15, [rsp + 0x50]
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x68]
cmp r12, 7
cmova r15, rsi
mov r11, qword [rbp - 0x80]
mov rax, qword [rsp + 0x60]
cmp r11, rax
ja 0x140001b05
sub rax, r11
test r11, r11
je 0x140001c4e
inc rax
lea rdi, [r15 + rax*2]
mov rax, r15
nop dword [rax]
mov rcx, rdi
sub rcx, rax
sar rcx, 1
je 0x140001b05
movzx edx, word [r10]
nop
cmp word [rax], dx
je 0x140001ac1
add rax, 2
sub rcx, 1
jne 0x140001ab0
jmp 0x140001b05
test rax, rax
je 0x140001b05
mov r8, r11
mov rdx, r10
test r11, r11
je 0x140001af8
mov r9, rax
sub r9, r10
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x140001c37
add rdx, 2
sub r8, 1
jne 0x140001ae0
sub rax, r15
cmp rax, 2
jb 0x140001c4e
cmp r12, 7
jbe 0x140001b49
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001b38
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d4a
mov rcx, rsi
call fcn.1400060ac
mov r14, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x70]
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
cmp r14, 7
jbe 0x140001b9b
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140001b93
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d51
mov rcx, rbx
call fcn.1400060ac
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140001be7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001be2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d58
call fcn.1400060ac
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001901
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140006050
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
add rax, 2
jmp 0x140001aa0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001ba5
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001c9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d4a
call fcn.1400060ac
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140001ced
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ce8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d51
call fcn.1400060ac
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], bx
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140001d43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400060ac
mov al, 1
jmp 0x140001c07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3