Function at 0x140011352
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140012220
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xa38
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1c6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa58]
mov rax, qword [0x14001f0c0]
xor rax, rbp
mov qword [rbp + 0xa08], rax
lea rcx, [0x1400250f3]
call fcn.140011488
mov dword [rbp + 0x10], 0x238
mov eax, dword [rbp + 0x10]
mov dword [rbp + 0x10], eax
lea rax, [rbp + 0x14]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 2
call fcn.14001123f
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0
jne 0x1400122f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xa04], eax
lea rdx, str._ERROR__Failed_to_take_Snapshot__Code:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001109b
mov ecx, dword [rbp + 0xa04]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14001c41c]
mov rcx, rax
call fcn.14001109b
jmp 0x1400124ca
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.1400112ee
test eax, eax
jne 0x140012353
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xa04], eax
lea rdx, str._ERROR__Failed_to_get_first_process__Code:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001109b
mov ecx, dword [rbp + 0xa04]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14001c41c]
mov rcx, rax
call fcn.14001109b
jmp 0x1400124ca
lea rax, [rbp + 0x3c]
test rax, rax
je 0x14001241f
lea rcx, [rbp + 0x3c]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rbp + 0x6b4], eax
mov dword [rbp + 0x6d4], 0
mov edx, 0x410
lea rcx, [rbp + 0x290]
call fcn.14001136b
cmp dword [rbp + 0x6b4], 0x208
jae 0x14001241f
jmp 0x1400123ab
mov eax, dword [rbp + 0x6d4]
inc eax
mov dword [rbp + 0x6d4], eax
mov eax, dword [rbp + 0x6b4]
cmp dword [rbp + 0x6d4], eax
jae 0x1400123dc
mov eax, dword [rbp + 0x6d4]
movzx eax, word [rbp + rax*2 + 0x3c]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_tolower]
mov ecx, dword [rbp + 0x6d4]
mov word [rbp + rcx*2 + 0x290], ax
jmp 0x14001239d
mov eax, dword [rbp + 0x6d4]
shl rax, 1
mov qword [rbp + 0x9f8], rax
mov eax, dword [rbp + 0x6d4]
inc eax
mov dword [rbp + 0x6d4], eax
cmp qword [rbp + 0x9f8], 0x410
jae 0x140012409
jmp 0x14001240e
call fcn.140011389
xor eax, eax
mov rcx, qword [rbp + 0x9f8]
mov word [rbp + rcx + 0x290], ax
mov rdx, qword [rbp + 0xa30]
lea rcx, [rbp + 0x290]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x1400124b2
mov rax, qword [rbp + 0xa38]
mov ecx, dword [rbp + 0x18]
mov dword [rax], ecx
mov rax, qword [rbp + 0xa38]
mov r8d, dword [rax]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbp + 0xa40]
mov qword [rcx], rax
mov rax, qword [rbp + 0xa40]
cmp qword [rax], 0
jne 0x1400124b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xa04], eax
lea rdx, str._ERROR__Failed_to_get_Open_handle__Code:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001109b
mov ecx, dword [rbp + 0xa04]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14001c41c]
mov rcx, rax
call fcn.14001109b
jmp 0x1400124ca
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140011429
test eax, eax
jne 0x140012353
cmp qword [rbp + 0x268], 0
je 0x1400124e1
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0xa38]
cmp dword [rax], 0
je 0x1400124fa
mov rax, qword [rbp + 0xa40]
cmp qword [rax], 0
jne 0x1400124fe
xor eax, eax
jmp 0x140012503
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c000]
call fcn.140011401
mov rax, rdi
mov rcx, qword [rbp + 0xa08]
xor rcx, rbp
call fcn.140011258
lea rsp, [rbp + 0xa18]
pop rdi
pop rbp
ret