Function at 0x140001ae0
Capabilities:
Acquire debug privileges
Delete file
Enumerate processes
Get common file path
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x630]
sub rsp, 0x730
mov rax, qword [0x140008008]
xor rax, rsp
mov qword [rbp + 0x620], rax
movups xmm0, xmmword [str.ProcExp64]
mov eax, dword [0x140005d58]
mov r12d, ecx
mov qword [rbp - 0x58], rdx
mov r8d, 0x1f4
mov dword [rsp + 0x5c], ecx
xor edx, edx
lea rcx, [rbp + 0x214]
movaps xmmword [rbp + 0x200], xmm0
mov dword [rbp + 0x210], eax
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
lea rcx, [rbp + 0x410]
xor edx, edx
mov r8d, 0x208
mov r13d, ebx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x78], rbx
mov r14d, ebx
mov dword [rsp + 0x44], ebx
mov r15d, ebx
mov dword [rsp + 0x58], ebx
mov edi, ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
lea edx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001bde
mov rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x68]
lea r9d, [rbx + 4]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x70]
mov dword [rbp - 0x70], ebx
lea edx, [rbx + 0x14]
mov dword [rbp - 0x68], 4
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne edi, dword [rbp - 0x70]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140001bee
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x140001c0a
lea rcx, str.You_need_elevated_privileges_to_run_this_tool__n
call fcn.140001010
mov rax, 0xffffffffffffffff
jmp 0x140002319
xorps xmm0, xmm0
mov qword [rbp - 0x68], rbx
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x68]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140001c3b
lea rdi, str.SetDebugPrivilege.OpenProcessToken
jmp 0x140001ca8
lea r8, [rsp + 0x6c]
mov dword [rsp + 0x68], 1
lea rdx, str.SeDebugPrivilege
mov dword [rsp + 0x74], 2
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rbp - 0x68]
test eax, eax
jne 0x140001c76
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdi, str.SetDebugPrivilege.LookupPrivilegeValueW
jmp 0x140001ca8
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x68]
mov r9d, 0x10
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rbp - 0x68]
test eax, eax
jne 0x140001cd5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdi, str.SetDebugPrivilege.AdjustTokenPrivileges
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
lea rcx, str._____s:__d_n
mov r8d, eax
call fcn.140001010
lea rdx, str.Setting_Debug_Privilege_failed__this_might_cause_access_denied__5__error_on_some_hosts
lea rcx, str.____s_n
call fcn.140001010
jmp 0x140001cdb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x58]
lea r8, str.hukln:p:s:d:x:
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov ecx, r12d
mov qword [rsp + 0x20], rbx
call fcn.140001570
mov r12, 0xffffffffffffffff
cmp eax, r12d
je 0x140002256
add eax, 0xffffff9c
lea rdx, [0x140000000]
cmp eax, 0x14
ja case.0x140001d29.101
cdqe
mov ecx, dword [rdx + rax*4 + 0x2bac]
add rcx, rdx
jmp rcx
mov rsi, qword [0x140008670]
mov r9d, r12d
mov r8, rsi
mov dword [rsp + 0x28], ebx
mov edx, 1
mov dword [rsp + 0x58], 1
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
test eax, eax
jne 0x140001d65
mov r15, rbx
jmp 0x140001da4
mov rcx, rdi
mov edx, 2
add rcx, 1
cmovb rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r15, rax
test rax, rax
jne 0x140001d88
mov r15, rbx
jmp 0x140001da4
mov dword [rsp + 0x28], edi
mov r9d, r12d
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov edi, ebx
cmp rax, r12
je 0x140002343
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000223a
nop dword [rax]
lea rdx, [rbp - 0x14]
mov rax, r15
sub rdx, r15
nop word [rax + rax]
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x140001e06
add rax, 2
test cx, cx
jne 0x140001df0
mov ecx, ebx
jmp 0x140001e0b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
lea eax, [rdi + 1]
lea rdx, [rbp - 0x40]
mov rcx, rsi
cmove r14d, dword [rbp - 0x38]
cmovne eax, edi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001de0
mov dword [rsp + 0x44], r14d
cmp edi, 1
jne 0x140002256
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [0x140008670]
mov r9d, r12d
mov r8, rsi
mov dword [rsp + 0x28], ebx
mov edx, edi
mov qword [rsp + 0x20], rbx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
test eax, eax
jne 0x140001e79
mov r15d, dword [rsp + 0x48]
mov r13, rbx
jmp case.0x140001d29.101
mov rcx, rdi
mov edx, 2
add rcx, 1
cmovb rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r13, rax
test rax, rax
jne 0x140001ea4
mov r15d, dword [rsp + 0x48]
mov r13, rbx
jmp case.0x140001d29.101
mov dword [rsp + 0x28], edi
mov r9d, r12d
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r15d, dword [rsp + 0x48]
jmp case.0x140001d29.101
mov rcx, qword [0x140008670]
mov edi, 1
mov dword [rsp + 0x40], edi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
xor edx, edx
mov ecx, 0x1000
mov r8d, eax
mov dword [rsp + 0x44], eax
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp rax, r12
je 0x140002256
jmp 0x140002088
xor edx, edx
lea rcx, [rbp + 0x410]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r14, qword [0x140008670]
mov r9d, r12d
mov r8, r14
mov dword [rsp + 0x28], ebx
mov edx, 1
mov qword [rsp + 0x20], rbx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
test eax, eax
jne 0x140001f4b
mov rdi, rbx
jmp 0x140001f8a
mov rcx, rsi
mov edx, 2
add rcx, 1
cmovb rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
jne 0x140001f6e
mov rdi, rbx
jmp 0x140001f8a
mov dword [rsp + 0x28], esi
mov r9d, r12d
mov r8, r14
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8, rdi
lea rcx, [rbp + 0x200]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r14d, dword [rsp + 0x44]
jmp case.0x140001d29.101
mov r15d, 1
lea rcx, [rbp + 0x410]
xor edx, edx
mov dword [rsp + 0x48], r15d
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r14, qword [0x140008670]
mov r9d, r12d
mov r8, r14
mov dword [rsp + 0x28], ebx
mov edx, r15d
mov qword [rsp + 0x20], rbx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
test eax, eax
jne 0x140001ff8
mov rdi, rbx
jmp 0x140002036
mov rcx, rsi
mov edx, 2
add rcx, r15
cmovb rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
jne 0x14000201a
mov rdi, rbx
jmp 0x140002036
mov dword [rsp + 0x28], esi
mov r9d, r12d
mov r8, r14
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8, rdi
lea rcx, [rbp + 0x410]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r14d, dword [rsp + 0x44]
jmp case.0x140001d29.101
mov rax, qword [0x140008670]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x54], 1
jmp case.0x140001d29.101
mov dword [rsp + 0x4c], 1
jmp case.0x140001d29.101
mov dword [rsp + 0x50], 1
jmp case.0x140001d29.101
mov dword [rsp + 0x60], 1
mov edi, dword [rsp + 0x40]
mov rdx, qword [rbp - 0x58]
lea r8, str.hukln:p:s:d:x:
mov ecx, dword [rsp + 0x5c]
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call fcn.140001570
cmp eax, r12d
jne 0x140001d0a
mov esi, dword [rsp + 0x58]
test esi, esi
jne 0x140002358
test edi, edi
je 0x140002256
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDuplicateObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll.dll
mov qword [0x140008698], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll
mov qword [0x1400086a8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll.dll
mov qword [0x140008678], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x140005430]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll
mov qword [0x1400086a0], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtLoadDriver
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll
mov qword [0x140008680], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUnloadDriver
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1400086a8], rbx
mov qword [0x140008688], rax
je 0x140002b8b
cmp qword [0x140008698], rbx
je 0x140002b8b
cmp qword [0x140008678], rbx
je 0x140002b8b
cmp qword [0x140008680], rbx
je 0x140002b8b
test rax, rax
je 0x140002b8b
test r15d, r15d
jne 0x14000236c
lea rdx, str.no_special_driver_dir_specified__extracting_to_current_dir
lea rcx, str.____s_n
call fcn.140001010
lea rdx, [rbp - 0x40]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rax, str.PROCEXP
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, str._ws_ws
lea rax, [rbp - 0x40]
mov edx, 0x104
lea rcx, [rbp + 0x410]
mov qword [rsp + 0x20], rax
call fcn.140001090
jmp 0x14000237f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetProcessNameFromPID.Process32First
lea rcx, str._____s:__d_n
call fcn.140001010
lea rcx, str._n____Either_PID_number_or_name_is_incorrect_n
call fcn.140001010
lea rcx, str._nUsage:_backstab.exe___n_name___p_PID___options____n
call fcn.140001010
lea rcx, str._t_n__t_tChoose_process_by_name__including_the_.exe_suffix_n
call fcn.140001010
lea rcx, str._t_p__t_tChoose_process_by_PID_n
call fcn.140001010
lea rcx, str._t_l__t_tList_handles_of_protected_process_n
call fcn.140001010
lea rcx, str._t_k__t_tKill_the_protected_process_by_closing_its_handles_n
call fcn.140001010
lea rcx, str._t_x__t_tClose_a_specific_handle_n
call fcn.140001010
lea rcx, str._t_d__t_tSpecify_path_to_where_ProcExp_will_be_extracted_n
call fcn.140001010
lea rcx, str._t_s__t_tSpecify_service_name_registry_key_n
call fcn.140001010
lea rcx, str._t_u__t_t_attempt_to__Unload_ProcExp_driver_n
call fcn.140001010
lea rcx, str._t_h__t_tPrint_this_menu_n
call fcn.140001010
lea rcx, str.Examples:_n
call fcn.140001010
lea rcx, str._tbackstab.exe__n_cyserver.exe__k_t_t__kill_cyserver__n
call fcn.140001010
lea rcx, str._tbackstab.exe__n_cyserver.exe__x_E4C_t_t__Close_handle_E4C_of_cyserver__n
call fcn.140001010
lea rcx, str._tbackstab.exe__n_cyserver.exe__l_t_t_list_all_handles_of_cyserver__n
call fcn.140001010
lea rcx, str._tbackstab.exe__p_4326__k__d_c:driver.sys_t_t_kill_protected_process_with_PID_4326__extract_ProcExp_driver_to_C:__n
call fcn.140001010
mov eax, r12d
mov rcx, qword [rbp + 0x620]
xor rcx, rsp
call fcn.1400032e0
mov rbx, qword [rsp + 0x780]
add rsp, 0x730
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x140006348]
jmp 0x14000224a
test edi, edi
je 0x1400020c5
lea rcx, str._n____Either_name_specified_has_multiple_instances__or_you_specified_a_name_AND_a_PID_n
jmp 0x14000225d
lea rdx, [rbp + 0x410]
lea rcx, str.extracting_the_drive_to__ws
call fcn.140001070
lea rcx, [rbp + 0x410]
call fcn.1400030e0
xorps xmm0, xmm0
lea rcx, [rbp - 0x40]
xor edx, edx
mov r8d, 0x208
movups xmmword [rbp - 0x68], xmm0
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp - 0x54]
mov dword [rbp - 0x58], 1
lea rdx, str.SeLoadDriverPrivilege
mov dword [rbp - 0x4c], 2
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1400023d1
lea rbx, str.EnablePrivilege.LookupPrivilegeValueW
jmp 0x14000242e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x68]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400023f7
lea rbx, str.EnablePrivilege.OpenProcessToken
jmp 0x14000242e
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x58]
mov qword [rsp + 0x28], rbx
mov r9d, 0x10
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x68]
test eax, eax
jne 0x14000244b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, str.EnablePrivilege.AdjustTokenPrivileges
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
lea rcx, str._____s:__d_n
mov r8d, eax
call fcn.140001010
jmp 0x1400024ee
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x410]
call fcn.140001100
test eax, eax
jne 0x140002486
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.NtUnloadDriver.SetRegistryKeyValues
lea rcx, str._____s:__d_n
call fcn.140001010
jmp 0x1400024ee
lea rax, [rbp + 0x200]
mov r8, r12
lea r9, str.RegistryMachineSystemCurrentControlSetServices_ws
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.140001090
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call qword [0x1400086a0]
lea rcx, [rbp - 0x68]
call qword [0x140008680]
test eax, eax
je 0x14000257b
cmp eax, 0xc000010e
je 0x14000257b
cmp eax, 0xc0000035
je 0x14000257b
mov edx, eax
lea rcx, str.NtLoadDriver:__x_n
call fcn.140001010
cmp dword [rsp + 0x60], 0
je 0x140002558
xorps xmm0, xmm0
lea rcx, [rbp - 0x40]
xor edx, edx
mov r8d, 0x208
movups xmmword [rsp + 0x78], xmm0
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x200]
mov r8, r12
lea r9, str.RegistryMachineSystemCurrentControlSetServices_ws
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.140001090
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call qword [0x1400086a0]
lea rcx, [rsp + 0x78]
call qword [0x140008688]
lea rcx, [rbp + 0x200]
call fcn.140001360
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_load_driver
lea rcx, str._____s:__d_n
call fcn.140001010
xor eax, eax
jmp 0x140002319
lea rdx, [rbp + 0x200]
lea rcx, str.Driver_loaded_as__ws_n
call fcn.140001010
mov qword [rsp + 0x30], rbx
lea rcx, str..PROCEXP152
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x140008660], rax
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140002ac6
test rax, rax
je 0x140002ac6
lea rdx, str.Connected_to_Driver_successfully
lea rcx, [0x1400053c0]
call fcn.140001010
mov ecx, r14d
call fcn.140002d90
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14000261f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.could_not_get_handle_to_protected_process
lea rcx, str._____s:__d_n
call fcn.140001010
xor eax, eax
jmp 0x140002319
cmp dword [rsp + 0x4c], ebx
jne 0x140002635
cmp dword [rsp + 0x50], ebx
jne 0x140002635
cmp dword [rsp + 0x54], ebx
je 0x1400029f0
lea rcx, [0x140005f14]
call fcn.140001010
test esi, esi
je 0x140002654
mov rdx, r13
lea rcx, str.Process_Name:__ws_n
call fcn.140001010
mov edx, r14d
lea rcx, str.___Process_PID:__d_n
call fcn.140001010
mov r8d, r14d
mov dword [rsp + 0x60], ebx
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x14000269f
lea rcx, [0x140006080]
call fcn.140001010
mov edx, r14d
lea rcx, str.____Failed_to_get_the_protection_level_of_process_with_PID__d_n
call fcn.140001010
jmp 0x14000283f
mov r9d, 4
lea r8, [rsp + 0x60]
mov rcx, rdi
lea edx, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_GetProcessInformation]
test eax, eax
jne 0x1400026e4
lea rcx, [0x140006090]
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, r14d
lea rcx, str.____Failed_to_get_the_protection_level_of_process_with_PID__d_n
call fcn.140001010
jmp 0x14000283f
mov esi, dword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, r14d
mov dword [rsp + 0x60], ebx
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
jne 0x140002721
lea rcx, [0x140006080]
call fcn.140001010
mov r14, rbx
jmp 0x140002829
mov r9d, 4
lea r8, [rsp + 0x60]
mov rcx, r14
lea edx, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_GetProcessInformation]
test eax, eax
jne 0x14000275a
lea rcx, [0x140006090]
call fcn.140001010
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, rbx
jmp 0x140002829
mov edi, dword [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x80
lea ecx, [rdx - 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
je 0x140002829
cmp edi, 5
ja 0x1400027d6
je 0x1400027cd
test edi, edi
je 0x1400027c4
sub edi, 1
je 0x1400027bb
sub edi, 1
je 0x1400027b2
sub edi, 1
je 0x1400027a9
cmp edi, 1
jne 0x1400027ea
lea r9, str.PsProtectedSignerLsa_Light
jmp 0x140002815
lea r9, str.PsProtectedSignerAntimalware_Light
jmp 0x140002815
lea r9, str.PsProtectedSignerWindows_Light
jmp 0x140002815
lea r9, str.PsProtectedSignerWindows
jmp 0x140002815
lea r9, str.PsProtectedSignerWinTcb_Light
jmp 0x140002815
lea r9, str.PsProtectedSignerWinTcb
jmp 0x140002815
cmp edi, 6
je 0x14000280e
cmp edi, 7
je 0x140002805
cmp edi, 8
je 0x1400027fc
cmp edi, 0xfffffffe
je 0x1400027f3
lea r9, str.Unknown
jmp 0x140002815
lea r9, str.None
jmp 0x140002815
lea r9, str.PsProtectedSignerPplApp
jmp 0x140002815
lea r9, str.PsProtectedSignerAuthenticode
jmp 0x140002815
lea r9, str.PsProtectedSignerCodegen_Light
lea r8, [0x1400062e0]
mov edx, 0x40
mov rcx, rax
call fcn.140002c00
mov r8, r14
lea rcx, str.___Process_Protection_level:__d____ws_n
mov edx, esi
call fcn.140001010
mov r14d, dword [rsp + 0x44]
cmp dword [rsp + 0x4c], ebx
je 0x1400028ea
lea rdx, str.Listing_Handles_n
lea rcx, str.____s_n
call fcn.140001010
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov esi, eax
call fcn.140002cc0
lea rcx, [0x140005f14]
mov rdi, rax
call fcn.140001010
lea rcx, str._Handle__Type___Device_n
call fcn.140001010
lea rcx, str._n
call fcn.140001010
cmp dword [rdi], ebx
jbe 0x1400028de
nop word [rax + rax]
mov ecx, ebx
lea rdx, [rcx + rcx*2]
movups xmm1, xmmword [rdi + rdx*8 + 8]
movsd xmm0, qword [rdi + rdx*8 + 0x18]
movd eax, xmm1
movups xmmword [rsp + 0x78], xmm1
movsd qword [rbp - 0x78], xmm0
cmp eax, esi
jne 0x1400028d8
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
mov r8, qword [rbp - 0x80]
shr rdx, 0x30
call fcn.140002f40
inc ebx
cmp ebx, dword [rdi]
jb 0x1400028a0
lea rcx, [0x140005f14]
jmp 0x1400029f7
cmp dword [rsp + 0x50], ebx
je 0x14000299a
lea rdx, str.Killing_process_n
lea rcx, str.____s_n
call fcn.140001010
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov r14d, eax
call fcn.140002cc0
mov rsi, rax
mov edi, ebx
cmp dword [rax], ebx
jbe 0x140002985
mov ecx, edi
lea rdx, [rcx + rcx*2]
movups xmm1, xmmword [rsi + rdx*8 + 8]
movsd xmm0, qword [rsi + rdx*8 + 0x18]
movd eax, xmm1
movups xmmword [rsp + 0x78], xmm1
movsd qword [rbp - 0x78], xmm0
cmp eax, r14d
jne 0x14000297f
mov eax, 0x88888889
mul edi
shr edx, 3
imul ecx, edx, 0xf
cmp edi, ecx
jne 0x140002972
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x60], 0x103
jne 0x140002985
movzx edx, word [rsp + 0x7e]
mov ecx, r14d
call fcn.140002e40
inc edi
cmp edi, dword [rsi]
jb 0x140002921
lea rdx, str.Killing_process_succeeded
lea rcx, [0x1400053c0]
call fcn.140001010
jmp 0x1400029fc
cmp dword [rsp + 0x54], ebx
je 0x1400029f0
mov rcx, qword [rsp + 0x78]
xor edx, edx
lea r8d, [rdx + 0x10]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov edx, eax
lea rcx, str.Closing_Handle_:_0x_x_n
call fcn.140001070
mov rcx, qword [rsp + 0x78]
xor edx, edx
lea r8d, [rdx + 0x10]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
movsxd rdx, eax
mov ecx, r14d
call fcn.140002e40
lea rdx, str.Closing_handle_succeeded
lea rcx, [0x1400053c0]
call fcn.140001010
jmp 0x1400029fc
lea rcx, str.Please_select_an_operation_n
call fcn.140001010
xorps xmm0, xmm0
lea rcx, [rbp - 0x40]
xor edx, edx
mov r8d, 0x208
movups xmmword [rsp + 0x78], xmm0
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x200]
mov edx, 0x104
lea r9, str.RegistryMachineSystemCurrentControlSetServices_ws
mov qword [rsp + 0x20], rax
mov r8, 0xffffffffffffffff
lea rcx, [rbp - 0x40]
call fcn.140001090
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call qword [0x1400086a0]
lea rcx, [rsp + 0x78]
call qword [0x140008688]
lea rcx, [rbp + 0x200]
call fcn.140001360
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140002a7f
mov rdx, r12
lea rcx, str.Error_ClosingHandle_to_driver_file__p
call fcn.140001010
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140002ab3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.DeleteResourceFromDisk.DeleteFileW
lea rcx, str._____s:__d_n
call fcn.140001010
xor eax, eax
jmp 0x140002319
lea rcx, str.___Driver_File_cleaned_up_from_disk_n
call fcn.140001010
xor eax, eax
jmp 0x140002319
xorps xmm0, xmm0
lea rcx, [rbp - 0x40]
xor edx, edx
mov r8d, 0x208
movups xmmword [rsp + 0x78], xmm0
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x200]
mov edx, 0x104
lea r9, str.RegistryMachineSystemCurrentControlSetServices_ws
mov qword [rsp + 0x20], rax
mov r8, 0xffffffffffffffff
lea rcx, [rbp - 0x40]
call fcn.140001090
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call qword [0x1400086a0]
lea rcx, [rsp + 0x78]
call qword [0x140008688]
lea rcx, [rbp + 0x200]
call fcn.140001360
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140002b5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.DeleteResourceFromDisk.DeleteFileW
lea rcx, str._____s:__d_n
call fcn.140001010
jmp 0x140002b68
lea rcx, str.___Driver_File_cleaned_up_from_disk_n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.ConnectToProcExpDevice
lea rcx, str._____s:__d_n
call fcn.140001010
xor eax, eax
jmp 0x140002319
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.InitializeNecessaryNtAddresses
lea rcx, str._____s:__d_n
call fcn.140001010
jmp 0x140002316