Function at 0x140005260
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1960]
mov eax, 0x1a60
call fcn.14001d710
sub rsp, rax
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rbp + 0x1950], rax
mov r14, rcx
mov rsi, qword [rcx]
mov rdi, qword [rsi + 8]
xor r15d, r15d
cmp byte [rdi + 0x19], r15b
jne 0x140005329
nop dword [rax]
mov r8, qword [rdi + 0x10]
mov rdx, r14
mov rcx, r14
call fcn.140004cb4
mov rbx, rdi
mov rdi, qword [rdi]
mov rdx, qword [rbx + 0x48]
cmp rdx, 8
jb 0x140005305
mov rcx, qword [rbx + 0x30]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140005300
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400055f9
mov rcx, r8
call fcn.14001c23c
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x48], 7
mov word [rbx + 0x30], r15w
mov edx, 0x50
mov rcx, rbx
call fcn.14001c23c
cmp byte [rdi + 0x19], r15b
je 0x1400052b0
mov qword [rsi + 8], rsi
mov qword [rsi], rsi
mov qword [rsi + 0x10], rsi
mov qword [r14 + 8], r15
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140005353
xor eax, eax
jmp 0x140005611
mov dword [rbp - 0x60], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x5c]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400055b6
mov esi, 4
mov rax, qword gs:[0x58]
add rsi, qword [rax]
nop
mov rax, qword [r14]
mov rcx, qword [rax + 8]
mov rdx, rax
mov r8d, dword [rbp - 0x40]
cmp byte [rcx + 0x19], 0
jne 0x1400053dc
cmp dword [rcx + 0x20], r8d
jae 0x1400053d0
mov rcx, qword [rcx + 0x10]
jmp 0x1400053d6
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1400053c4
cmp byte [rdx + 0x19], 0
jne 0x1400053e8
cmp r8d, dword [rdx + 0x20]
jae 0x1400053eb
mov rdx, rax
mov ecx, dword [rbp - 0x58]
mov dword [rsp + 0x48], ecx
mov ecx, r15d
cmp rdx, rax
cmovne ecx, r8d
mov dword [rsp + 0x4c], ecx
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov word [rax], r15w
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsi]
cmp dword [0x140039004], eax
jle 0x14000547d
lea rcx, [0x140039004]
call fcn.14001c408
cmp dword [0x140039004], 0xffffffff
jne 0x14000547d
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x140021668]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140038fd8], rax
lea rcx, [0x140039004]
call fcn.14001c3a8
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1400054b1
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000552f
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x140038fd8]
test rax, rax
je 0x1400054f4
mov dword [rsp + 0x30], 0xbb7
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, rbx
call qword [0x140020f60]
test eax, eax
jne 0x140005510
mov r9d, 0xbb7
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x140005521
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x50]
call fcn.140002268
test rbx, rbx
je 0x14000552f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x7c], eax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140004974
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.140004a78
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400055a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000559c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005600
call fcn.14001c23c
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400053b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000560c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005607
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005607
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 fcn.14001c23c
mov eax, 1
mov rcx, qword [rbp + 0x1950]
xor rcx, rsp
call fcn.14001c1e0
lea r11, [rsp + 0x1a60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret