Function at 0x140001f40
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140230a00]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12d, r8d
mov r14, rcx
mov dword [rsp + 0x20], 1
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r13w
lea rcx, [rsp + 0x28]
call fcn.140002550
nop
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov esi, r13d
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
setg r15b
test rax, rax
jg 0x140001ff0
test r15b, r15b
je 0x140001fe6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x50]
jmp 0x14000209a
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x74]
call fcn.1400b18d0
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rdi, qword [rsp + 0x50]
test eax, eax
je 0x14000208b
cmp qword [rsp + 0x38], 0
je 0x140002047
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rbp - 0x64]
call fcn.140094e3c
test eax, eax
jne 0x140002079
cmp rdi, rsi
je 0x14000205d
mov eax, dword [rsp + 0x78]
mov dword [rdi], eax
add rdi, 4
mov qword [rsp + 0x50], rdi
jmp 0x140002079
lea r8, [rsp + 0x78]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400029b0
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002021
test r15b, r15b
je 0x14000209a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400020dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002234
call fcn.140079aa4
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r13w
mov rbx, qword [rsp + 0x48]
cmp rbx, rdi
jne 0x140002104
mov edi, 0xc0000225
jmp 0x1400021ca
mov edi, dword [rbx]
mov rcx, r14
call fcn.140002240
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
jne 0x140002120
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000212e
mov r8d, edi
xor edx, edx
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov rcx, qword [r14]
cmp rax, rcx
je 0x140002147
test rcx, rcx
jle 0x140002144
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14], r15
cmp dword [0x140237c5c], 0xa
jb 0x140002183
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
jne 0x140002183
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov rcx, qword [r14]
cmp rax, rcx
je 0x140002183
test rcx, rcx
jle 0x140002180
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14], r15
mov r15, qword [r14]
test r15, r15
jg 0x1400021bc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp r15, rax
je 0x1400021bc
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp r15, rax
je 0x1400021bc
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
jmp 0x1400021ca
mov dword [r14 + 8], edi
mov rcx, r14
call fcn.14000d3d0
mov edi, eax
test rbx, rbx
je 0x140002202
sub rsi, rbx
and rsi, 0xfffffffffffffffc
mov rax, rbx
cmp rsi, 0x1000
jb 0x1400021f7
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000222e
mov rdx, rsi
mov rcx, rbx
call fcn.140079aa4
mov eax, edi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140079bc0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400892cc
nop
call fcn.1400892cc
nop
int3