Function at 0x1400047c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1405bdaa0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
xor r12d, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x140004ab5
mov dword [rsp + 0x70], 0x238
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14000f380
nop
lea rdi, [rsp + 0x28]
mov r8, qword [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdi, r8
lea rcx, [rsp + 0x28]
cmovae rcx, r8
mov rax, qword [rsp + 0x38]
lea rsi, [rcx + rax*2]
lea rbx, [rsp + 0x28]
cmovae rbx, r8
cmp rbx, rsi
je 0x140004886
sub rdi, rbx
nop dword [rax + rax]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rbx + rdi], ax
add rbx, 2
cmp rbx, rsi
jne 0x140004870
lea rdx, [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140004a5f
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x48]
call fcn.14000f240
nop
lea rdi, [rsp + 0x48]
mov r14, qword [rsp + 0x60]
cmp r14, 8
setae al
mov r11, qword [rsp + 0x48]
cmovae rdi, r11
lea rcx, [rsp + 0x48]
test al, al
mov rax, qword [rsp + 0x58]
je 0x1400048dc
mov rbx, r11
lea rsi, [r11 + rax*2]
jmp 0x1400048e5
lea rsi, [rcx + rax*2]
lea rbx, [rsp + 0x48]
cmp rbx, rsi
je 0x140004915
sub rdi, rbx
nop dword [rax]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rdi + rbx], ax
add rbx, 2
cmp rbx, rsi
jne 0x1400048f0
mov r14, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov r11, qword [rsp + 0x48]
lea rbx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rbx, qword [rsp + 0x28]
lea rsi, [rsp + 0x48]
cmp r14, 8
setae r13b
cmovae rsi, r11
mov rdi, qword [rsp + 0x38]
cmp rdi, rax
ja 0x1400049c8
sub rax, rdi
test rdi, rdi
je 0x140004a23
inc rax
lea r15, [rsi + rax*2]
mov rax, rsi
movzx r10d, word [rbx]
nop
mov rcx, r15
sub rcx, rax
sar rcx, 1
mov rdx, r12
je 0x14000498a
cmp word [rax], r10w
je 0x140004987
cmp rcx, 1
je 0x14000498a
dec rcx
add rax, 2
cmp word [rax], r10w
jne 0x140004974
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x1400049c3
mov r8, rdi
mov rdx, rbx
test rdi, rdi
je 0x1400049b7
mov r9, rax
sub r9, rbx
movzx ecx, word [rdx + r9]
cmp cx, word [rdx]
jne 0x140004a15
add rdx, 2
sub r8, 1
jne 0x1400049a3
sub rax, rsi
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x140004a1e
mov r15, qword [rsp + 0x20]
test r13b, r13b
je 0x140004a02
lea rdx, [r14*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x1400049fa
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004aa9
mov rcx, r11
call fcn.1401c44ec
lea rdx, [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140004894
add rax, 2
jmp 0x140004960
mov r15, qword [rsp + 0x20]
mov r12d, dword [rsp + 0x78]
cmp r14, 8
jb 0x140004a5f
lea rdx, [r14*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140004a57
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004aa9
mov rcx, r11
call fcn.1401c44ec
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140004ab5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ab0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ab0
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.1401c44ec
mov eax, r12d
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1401c4160
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret