Function at 0x180031a10
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x650
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rsp + 0x640], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], rdx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x30], r15d
cmp qword [rcx + 0x10], rsi
je 0x180031b67
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x180031b6e
lea rcx, [rsp + 0x60]
call fcn.180014d60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.CTS_FAILED._GetLastError:
lea rcx, [rsp + 0x60]
call fcn.180022d00
mov rcx, rax
mov edx, ebx
call fcn.18002d850
lea rdx, str.CProcUtility::GetProcessIDByName
lea rcx, [rsp + 0x3b8]
call fcn.180012480
nop
lea rdx, str.ProcUtility.cpp
lea rcx, [rsp + 0x390]
call fcn.180012480
nop
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x60]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x3b8]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 0x4c]
lea r8, [rsp + 0x390]
xor edx, edx
call fcn.180030340
nop
lea rcx, [rsp + 0x3e0]
call fcn.1800a20a0
nop
lea rcx, [rsp + 0x390]
call fcn.180001850
nop
lea rcx, [rsp + 0x3b8]
call fcn.180001850
nop
lea rcx, [rsp + 0xe8]
call fcn.180014de0
lea rcx, [rsp + 0xe8]
call fcn.180013e40
xor eax, eax
jmp 0x180031da4
mov dword [rsp + 0x150], 0x238
lea rdx, [rsp + 0x150]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x180031c70
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x60]
call fcn.180014d60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.PF_FAILED._GetLastError:
lea rcx, [rsp + 0x60]
call fcn.180022d00
mov rcx, rax
mov edx, ebx
call fcn.18002d850
lea rdx, str.CProcUtility::GetProcessIDByName
lea rcx, [rsp + 0x390]
call fcn.180012480
nop
lea rdx, str.ProcUtility.cpp
lea rcx, [rsp + 0x3b8]
call fcn.180012480
nop
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x60]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x390]
mov qword [rsp + 0x20], rax
mov r9d, 0x56
lea r8, [rsp + 0x3b8]
xor edx, edx
call fcn.180030340
nop
lea rcx, [rsp + 0x3e0]
call fcn.1800a20a0
nop
lea rcx, [rsp + 0x3b8]
call fcn.180001850
nop
lea rcx, [rsp + 0x390]
call fcn.180001850
nop
jmp 0x180031b4d
lea rdx, [rsp + 0x150]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x180031d99
mov rcx, r14
call fcn.1800144b0
mov rcx, rax
lea rdx, [rsp + 0x17c]
call fcn.1800c0618
test eax, eax
jne 0x180031c70
cmp qword [rdi + 0x10], 0
jne 0x180031cb8
mov esi, dword [rsp + 0x158]
jmp 0x180031d99
mov r8d, dword [rsp + 0x158]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x180031c70
mov word [rsp + 0x430], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x432]
call fcn.1800c6a90
mov r9d, 0x104
lea r8, [rsp + 0x430]
xor edx, edx
mov rcx, r12
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x180031c70
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x3e0]
call fcn.180014430
nop
cmp qword [rdi + 0x18], 8
jb 0x180031d36
mov rdx, qword [rdi]
jmp 0x180031d39
mov rdx, rdi
mov r9, qword [rdi + 0x10]
xor r8d, r8d
mov rcx, rax
call fcn.180018d30
cmp rax, 0xffffffffffffffff
sete bl
lea rcx, [rsp + 0x3e0]
call fcn.1800a20a0
test bl, bl
je 0x180031d65
jmp 0x180031c70
mov esi, dword [rsp + 0x158]
mov dword [rsp + 0x30], esi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180031c70
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.1800bdf20
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret