Function at 0x180004910
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x180045058]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov dword [rsp + 0x70], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x180004bc0
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x180004bc0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
lea rax, [rbp - 0x64]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1800049c0
lea rcx, [rsp + 0x48]
cmp rdx, 7
ja 0x1800049f2
mov qword [rsp + 0x58], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x64]
call fcn.18000fbd0
mov word [rsp + rbx + 0x48], r14w
jmp 0x1800049ff
lea r9, [rbp - 0x64]
xor r8d, r8d
call fcn.18000b3b0
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
setae r8b
cmovae rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
lea rdi, [rdx + rax*2]
lea rbx, [rsp + 0x48]
test r8b, r8b
cmovne rbx, qword [rsp + 0x48]
mov qword [rsp + 0x28], r14
mov rcx, r14
mov qword [rsp + 0x38], rcx
mov r8d, 0xf
mov qword [rsp + 0x40], r8
mov byte [rsp + 0x28], cl
mov rdx, rdi
sub rdx, rbx
sar rdx, 1
cmp rdx, 0x10
jb 0x180004a6d
lea rcx, [rsp + 0x28]
call fcn.18000c8f0
mov rcx, r14
mov qword [rsp + 0x38], rcx
mov r8, qword [rsp + 0x40]
cmp rbx, rdi
je 0x180004ac4
movzx r9d, byte [rbx]
cmp rcx, r8
jae 0x180004a9e
lea rax, [rcx + 1]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x28]
cmp r8, 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180004aaf
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x28]
call fcn.18000b520
add rbx, 2
cmp rbx, rdi
je 0x180004ac4
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
jmp 0x180004a72
mov rax, qword [0x180047948]
cmp rax, qword [0x180047950]
je 0x180004aeb
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.180009ef0
add qword [0x180047948], 0x20
jmp 0x180004af8
lea r8, [rsp + 0x28]
mov rdx, rax
call fcn.18000c300
lea rdx, [rbp - 0x64]
lea rcx, str.explorer.exe
call fcn.1800163f4
mov ecx, dword [0x180047958]
test eax, eax
cmove ecx, dword [rsp + 0x78]
mov dword [0x180047958], ecx
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180004b58
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004b53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004bee
call fcn.18000dc40
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x180004ba9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004ba4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004bf4
call fcn.18000dc40
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x180004996
xor al, al
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.18000dc20
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180015a3c
nop
call fcn.180015a3c
int3