Function at 0x1400016d0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x9b0]
sub rsp, 0xab0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x9a0], rax
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_]
mov rsi, r8
movaps xmm1, xmmword [0x140003670]
mov edi, edx
mov eax, dword [0x1400036f0]
mov r14, rcx
movaps xmmword [rsp + 0x60], xmm0
lea rcx, [rbp - 0xa]
movaps xmm0, xmmword [0x140003680]
xor edx, edx
movaps xmmword [rbp - 0x80], xmm0
mov r8d, 0x172
movaps xmm0, xmmword [0x1400036a0]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [0x140003690]
movaps xmmword [rbp - 0x60], xmm0
movaps xmm0, xmmword [0x1400036c0]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm1, xmmword [0x1400036b0]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [0x1400036e0]
movaps xmmword [rbp - 0x50], xmm1
movaps xmm1, xmmword [0x1400036d0]
mov dword [rbp - 0x10], eax
movzx eax, word [0x1400036f4]
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm1
mov word [rbp - 0xc], ax
call sub.VCRUNTIME140.dll_memset
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindows_NTCurrentVersionSilentProcessExit_]
lea rcx, [rbp + 0x1f0]
movaps xmm1, xmmword [0x140003710]
xor edx, edx
movaps xmmword [rbp + 0x170], xmm0
mov r8d, 0x188
movaps xmm0, xmmword [0x140003720]
movaps xmmword [rbp + 0x180], xmm1
movaps xmm1, xmmword [0x140003730]
movaps xmmword [rbp + 0x190], xmm0
movaps xmm0, xmmword [0x140003740]
movaps xmmword [rbp + 0x1a0], xmm1
movaps xmm1, xmmword [0x140003750]
movaps xmmword [rbp + 0x1b0], xmm0
movaps xmm0, xmmword [0x140003760]
movaps xmmword [rbp + 0x1c0], xmm1
movaps xmm1, xmmword [0x140003770]
movaps xmmword [rbp + 0x1d0], xmm0
movaps xmmword [rbp + 0x1e0], xmm1
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rbp + 0x380], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001890
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x800
xor edx, edx
mov ebx, eax
mov ecx, 0x1300
xor eax, eax
mov r8d, ebx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov r9, qword [rsp + 0x48]
lea rdx, str.CreateTollhelp32Snapshot
mov r8d, ebx
lea rcx, str.____The_function__S_failed_with_error_code__d____S
call fcn.140001010
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x140001b52
lea rdx, [rbp + 0x380]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140001910
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x800
xor edx, edx
mov ebx, eax
mov ecx, 0x1300
xor eax, eax
mov r8d, ebx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov r9, qword [rsp + 0x50]
lea rdx, str.Process32First
mov r8d, ebx
lea rcx, str.____The_function__S_failed_with_error_code__d____S
call fcn.140001010
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x140001b52
cmp dword [rbp + 0x388], edi
je 0x14000197e
lea rdx, [rbp + 0x380]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001910
mov edx, edi
lea rcx, str.____NiceKatz_was_unable_to_retrieve_process_name_of_PID:__d_n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x800
xor edx, edx
mov ebx, eax
mov ecx, 0x1300
xor eax, eax
mov r8d, ebx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
lea rdx, str.Process32Next
jmp 0x140001a37
lea rdx, [rbp + 0x3ac]
lea rcx, [rbp + 0x790]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea r8, [rbp + 0x790]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rbp + 0x790]
mov edx, 0x104
lea rcx, [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x60]
call fcn.140001b70
test eax, eax
je 0x140001a56
lea rcx, [0x140003478]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
jne 0x140001a5d
lea rcx, str.____Failed_to_get_handle_to_NTDLL_n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x800
xor edx, edx
mov ebx, eax
mov ecx, 0x1300
xor eax, eax
mov r8d, ebx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
lea rdx, str.GetModuleHandle
mov r9, qword [rsp + 0x40]
lea rcx, str.____The_function__S_failed_with_error_code__d____S
mov r8d, ebx
call fcn.140001010
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x140001b52
mov edx, dword [rsi + 0x10]
lea rcx, str.___Dumping_PID__d_via_SilentProcessExit_n
call fcn.140001010
lea rdx, str.RtlReportSilentProcessExit
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140005638], rax
test rax, rax
jne 0x140001ad8
lea rcx, str.____Could_not_find_RtlReportSilentProcessExit_in_NTDLL
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x800
xor edx, edx
mov ebx, eax
mov ecx, 0x1300
xor eax, eax
mov r8d, ebx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
lea rdx, [0x140003520]
jmp 0x140001a37
mov edx, 1
mov rcx, r14
call rax
test eax, eax
je 0x140001af6
lea rcx, str.____Unable_to_call_RtlReportSilentProcessExit_on_the_target_process_n
call fcn.140001010
xor eax, eax
jmp 0x140001b52
mov edx, dword [rsi + 0x10]
lea rcx, str.___PID__d_dumped_successfully_n
call fcn.140001010
lea r8, [rsp + 0x60]
mov edx, 0x208
lea rcx, [rbp + 0x380]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, [rbp + 0x380]
call fcn.140001f30
lea r8, [rbp + 0x170]
mov edx, 0x208
lea rcx, [rbp + 0x380]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, [rbp + 0x380]
call fcn.140001f30
mov eax, 1
mov rcx, qword [rbp + 0x9a0]
xor rcx, rsp
call fcn.1400020f0
add rsp, 0xab0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret