Function at 0x140001767
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140042cb0
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x408], rbx
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov qword [rsp + 0x40], r9
mov ebx, r8d
mov dword [rsp + 0x30], ebx
mov r12d, edx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov esi, edi
mov dword [rsp + 0x38], edi
xor r15b, r15b
mov r14d, edi
cmp qword [rcx + 0x10], rsi
je 0x140042fe1
xor edx, edx
lea ecx, [rdi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140042fcc
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x74]
call sub.MSVCR110.dll_memset
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, r13
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140042fac
nop
lea rcx, [rbp - 0x64]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140042f90
cmp dword [rsp + 0x78], ebx
je 0x140042f90
mov qword [rbp + 0x1e8], 7
mov qword [rbp + 0x1e0], rdi
mov word [rbp + 0x1d0], di
cmp word [rbp - 0x64], 0
jne 0x140042da1
mov r8, rdi
jmp 0x140042dbb
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140042db0
lea rdx, [rbp - 0x64]
lea rcx, [rbp + 0x1d0]
call fcn.140002ef5
nop
mov cl, 1
call qword [sym.imp.MSVCP110.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov rbx, rax
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x1b0]
call fcn.140003323
mov rdi, rax
mov qword [rsp + 0x50], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1400022a7
movzx edi, al
cmp qword [rbp + 0x1c8], 8
jb 0x140042e2b
mov rcx, qword [rbp + 0x1b0]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x1c8], 7
xor eax, eax
mov qword [rbp + 0x1c0], rax
mov word [rbp + 0x1b0], ax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x140042e62
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
cmp qword [rbp + 0x1e8], 8
jb 0x140042e78
mov rcx, qword [rbp + 0x1d0]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
test dil, dil
je 0x140042f8a
mov rdi, qword [rsp + 0x40]
cmp qword [rdi + 0x10], 0
je 0x140042eb9
mov edx, dword [rsp + 0x78]
lea rcx, [rbp + 0x1b0]
call fcn.140002b58
or esi, 1
xor ecx, ecx
movzx r8d, cl
mov rdx, rax
mov rcx, rdi
call fcn.1400030f8
test al, al
jne 0x140042eb9
xor bl, bl
jmp 0x140042ebb
mov bl, 1
test sil, 1
je 0x140042eda
and esi, 0xfffffffe
cmp qword [rbp + 0x1c8], 8
jb 0x140042eda
mov rcx, qword [rbp + 0x1b0]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
test bl, bl
je 0x140042f8a
cmp r12d, 0xffffffff
jne 0x140042ef5
mov r14d, dword [rsp + 0x78]
mov r15b, 1
jmp 0x140042f8a
mov ecx, dword [rsp + 0x78]
call fcn.140002e19
mov rbx, rax
test rax, rax
je 0x140042f8a
lea rcx, [rbp + 0x1f0]
call fcn.14000273e
nop
mov dword [rsp + 0x34], 0xffffffff
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov r8d, 0xc
mov rdx, rbx
lea rcx, [rbp + 0x1f0]
call fcn.140003bcf
test eax, eax
je 0x140042f66
cmp dword [rsp + 0x34], r12d
jne 0x140042f66
mov r14d, dword [rsp + 0x78]
mov r15b, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rax, vtable.CAdvApi32.0
mov qword [rbp + 0x1f0], rax
lea rcx, [rbp + 0x1f0]
call fcn.140003373
mov ebx, dword [rsp + 0x30]
xor edi, edi
lea rdx, [rsp + 0x70]
mov rcx, r13
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x140042fc1
test r15b, r15b
je 0x140042d60
jmp 0x140042fc1
cmp byte [0x14007ca60], sil
je 0x140042fc1
lea rcx, str.GetProcessIDUsingSnapshot:Process32FirstW_failed_n
call fcn.1400031a2
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140042fe1
cmp byte [0x14007ca60], sil
je 0x140042fe1
lea rcx, str.CreateToolhelp32Snapshot:Process32FirstW_failed_n
call fcn.1400031a2
mov eax, r14d
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140052d40
mov rbx, qword [rsp + 0x408]
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret