Function at 0x140020890
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x140063030]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r15, rdx
mov qword [rsp + 0x50], rdx
mov r13, rcx
xor esi, esi
mov r12d, esi
mov dword [rsp + 0x40], esi
mov dword [rdx], esi
mov edi, esi
mov rcx, qword [rcx]
mov rax, qword [r13 + 8]
sub rax, rcx
sar rax, 4
test rax, rax
je 0x140020927
mov ebx, esi
nop dword [rax]
mov rcx, qword [rbx + rcx]
call fcn.14001d4c0
cmp eax, 1
jne 0x14002090c
mov rax, qword [r13]
mov rcx, qword [rbx + rax]
mov ecx, dword [rcx + 0x60]
add dword [r15], ecx
inc rdi
add rbx, 0x10
mov rcx, qword [r13]
mov rax, qword [r13 + 8]
sub rax, rcx
sar rax, 4
cmp rdi, rax
jb 0x1400208f0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x140020c99
mov dword [rbp - 0x20], 0x238
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140020c90
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], si
lea rax, [rbp + 0xc]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140020980
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x60]
call fcn.14001a720
nop
cmp qword [rbp - 0x50], 0
jne 0x1400209bd
mov qword [rbp - 0x80], rsi
mov rdx, rsi
mov qword [rbp - 0x70], rdx
mov ecx, 0xf
mov qword [rbp - 0x68], rcx
mov byte [rbp - 0x80], 0
jmp 0x140020a79
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, dword [rbp - 0x50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0xf
mov rdx, rbx
xor r8d, r8d
lea rcx, [rbp - 0x40]
call fcn.140012f00
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
or r12d, 1
lea rdi, [rbp - 0x80]
mov r14, qword [rbp - 0x80]
cmp rcx, 0x10
cmovae rdi, r14
lea rsi, [rbp - 0x80]
cmovae rsi, r14
add rsi, rdx
lea rbx, [rbp - 0x80]
cmp rcx, 0x10
cmovae rbx, r14
cmp rbx, rsi
je 0x140020ac7
sub rdi, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call fcn.140033a94
mov byte [rdi + rbx], al
inc rbx
cmp rbx, rsi
jne 0x140020ab0
mov r14, qword [rbp - 0x80]
xor esi, esi
mov qword [rsp + 0x48], rsi
mov rcx, qword [r13]
mov rax, qword [r13 + 8]
sub rax, rcx
sar rax, 4
test rax, rax
je 0x140020bf7
nop word [rax + rax]
mov rdx, qword [rsi + rcx]
cmp dword [rdx + 0x64], 0
je 0x140020bc7
add rdx, 0x18
lea rcx, [rsp + 0x60]
call fcn.140001300
or r12d, 2
mov dword [rsp + 0x40], r12d
lea rdx, [rbp - 0x80]
mov r14, qword [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, r14
lea rcx, [rsp + 0x60]
mov rbx, qword [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, rbx
mov r15, qword [rsp + 0x70]
mov r8, r15
mov r12, qword [rbp - 0x70]
cmp r12, r15
cmovb r8, r12
call fcn.140027060
mov edi, eax
test eax, eax
jne 0x140020b6b
cmp r15, r12
jae 0x140020b62
lea edi, [rax - 1]
jmp 0x140020b6b
xor edi, edi
cmp r15, r12
seta dil
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x140020bab
lea rdx, [rax + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140020b9f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020cc9
mov rcx, rbx
call fcn.14002453c
mov r14, qword [rbp - 0x80]
mov r12d, dword [rsp + 0x40]
test edi, edi
jne 0x140020bc7
mov rax, qword [r13]
mov rcx, qword [rsi + rax]
mov ecx, dword [rcx + 0x64]
mov r15, qword [rsp + 0x50]
add dword [r15], ecx
mov rdx, qword [rsp + 0x48]
inc rdx
mov qword [rsp + 0x48], rdx
add rsi, 0x10
mov rcx, qword [r13]
mov rax, qword [r13 + 8]
sub rax, rcx
sar rax, 4
cmp rdx, rax
jb 0x140020af0
mov r15, qword [rsp + 0x58]
xor esi, esi
mov rax, qword [rbp - 0x68]
cmp rax, 0x10
jb 0x140020c32
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140020c2a
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020ccf
mov rcx, r14
call fcn.14002453c
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140020c7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020c79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020cc3
call fcn.14002453c
lea rdx, [rbp - 0x20]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140020958
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400244f0
mov rbx, qword [rsp + 0x380]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14002ae98
nop
call fcn.14002ae98
nop
call fcn.14002ae98
int3