Function at 0x14000a59c
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov r14d, ecx
lea rdi, [rsp + 0x50]
mov r12d, edx
xor eax, eax
mov edx, 0x208
xor ebx, ebx
mov ecx, edx
mov dword [rbp + 0x7e0], ebx
rep stosb byte [rdi], al
mov ecx, edx
mov qword [rsp + 0x20], rbx
lea rdi, [rbp + 0x160]
xor r9d, r9d
rep stosb byte [rdi], al
lea rcx, str._list
xor r8d, r8d
xor edx, edx
mov r15d, ebx
call fcn.14000e81c
test eax, eax
je 0x14000a617
call fcn.14000b1b0
mov ebx, 1
jmp 0x14000aae9
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
lea rcx, str._diag
xor edx, edx
call fcn.14000e81c
test eax, eax
je 0x14000a63b
call fcn.140010cc8
jmp 0x14000a60d
mov r13d, 0x104
mov qword [rsp + 0x20], rbx
mov esi, 1
lea r8, [rsp + 0x50]
mov r9d, r13d
lea rcx, str._prv
mov edx, esi
call fcn.14000e81c
test eax, eax
je 0x14000a69d
lea rcx, [rsp + 0x50]
call fcn.140001390
mov r15d, eax
cmp eax, 0x22
jb 0x14000a68e
xor r9d, r9d
lea rdx, str.____Invalid_provider_id__lu_specified__default_will_be_used___lu__r_n
mov r8d, eax
mov ecx, esi
call fcn.14000ed5c
mov r15d, ebx
mov edx, r15d
lea rcx, str.___Selected_provider:__lu_r_n
call fcn.140002248
mov r9d, r13d
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x50]
mov edx, esi
lea rcx, str._dse
call fcn.14000e81c
test eax, eax
je 0x14000a745
lea rcx, [rsp + 0x50]
call fcn.140001390
xor r9d, r9d
mov dword [rsp + 0x20], 2
mov r8d, r12d
mov edx, r14d
mov ecx, r15d
mov r13d, eax
call fcn.14000b854
mov rdi, rax
test rax, rax
je 0x14000aae9
mov rax, qword [rax + 0x40]
cmp qword [rax + 0x40], rbx
je 0x14000aacc
mov ecx, r12d
call fcn.140003980
mov r8, rax
test rax, rax
jne 0x14000a733
mov ecx, r12d
call fcn.1400037c4
mov r8, rax
test rax, rax
jne 0x14000a733
lea rdx, str.____Could_not_query_system_variable_address__abort._r_n
mov ecx, esi
call fcn.14000ed5c
jmp 0x14000aacc
mov rax, qword [rdi + 0x40]
mov edx, r13d
mov rcx, rdi
call qword [rax + 0x40]
jmp 0x14000aaca
lea rax, [rbp + 0x7e0]
mov r9d, r13d
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov edx, esi
lea rcx, str._map
call fcn.14000e81c
test eax, eax
je 0x14000a9fe
cmp dword [rbp + 0x7e0], ebx
jne 0x14000a783
lea rdx, str.____Input_file_not_specified_r_n
jmp 0x14000a88d
mov r9d, r13d
mov qword [rsp + 0x20], rbx
lea r8, [rbp + 0x160]
mov edx, esi
lea rcx, str._scv
mov r14d, esi
call fcn.14000e81c
test eax, eax
je 0x14000a7d4
lea rcx, [rbp + 0x160]
call fcn.140001390
mov r14d, eax
dec eax
cmp eax, 3
jbe 0x14000a7d4
mov r9d, esi
lea rdx, str.____Unrecognized_shellcode_version__lu__default_will_be_used___lu__r_n
mov r8d, r14d
mov ecx, esi
call fcn.14000ed5c
mov r14d, esi
xor eax, eax
mov dword [rbp + 0x7e0], ebx
lea rdi, [rbp + 0x370]
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rbp + 0x7e0]
mov r9d, r13d
lea rcx, str._drvn
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x370]
mov edx, esi
call fcn.14000e81c
mov eax, dword [rbp + 0x7e0]
lea rdx, [rbp + 0x370]
neg eax
mov dword [rbp + 0x7e0], ebx
lea rdi, [rbp + 0x580]
mov ecx, 0x208
sbb rax, rax
lea r8, [rbp + 0x580]
and rax, rdx
mov r9d, r13d
mov qword [rsp + 0x30], rax
mov edx, esi
xor eax, eax
rep stosb byte [rdi], al
lea rax, [rbp + 0x7e0]
lea rcx, str._drvr
mov qword [rsp + 0x20], rax
call fcn.14000e81c
mov eax, dword [rbp + 0x7e0]
lea rcx, [rsp + 0x50]
neg eax
lea rax, [rbp + 0x580]
sbb r13, r13
and r13, rax
call qword [sym.imp.ntdll.dll_RtlDoesFileExists_U]
test al, al
jne 0x14000a899
lea rdx, str.____Input_file_cannot_be_found__abort._r_n
mov ecx, esi
call fcn.14000ed5c
jmp 0x14000aae9
mov edx, r14d
lea rcx, str.___Driver_mapping_using_shellcode_version:__lu_r_n
call fcn.140002248
cmp r14d, 3
jne 0x14000a8ef
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jne 0x14000a8c1
lea rdx, str.____Driver_object_name_is_required_when_working_with_this_shellcode_r_n____Use_the_following_commands_to_supply_object_name_and_optionally_registry_key_name_r_n_t_drvn__ObjectName__and_or_r_n_t_drvr__ObjectKeyName__r_n_te.g._kdu__scv_3__drvn_MyName__map_MyDriver.sys_r_n
jmp 0x14000a88d
lea rcx, str.___Driver_object_name:___ws__r_n
call fcn.140002248
test r13, r13
je 0x14000a8e3
mov rdx, r13
lea rcx, str.___Registry_key_name:___ws__r_n
call fcn.140002248
jmp 0x14000a8ef
lea rcx, str.___No_driver_registry_key_name_specified__driver_object_name_will_be_used_instead_r_n
call fcn.140002248
lea rdx, [rsp + 0x50]
mov dword [rbp + 0x7e0], 2
lea rcx, [rsp + 0x38]
mov qword [rbp + 0x7e8], rbx
mov rsi, rbx
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea r9, [rbp + 0x7e8]
xor ecx, ecx
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x7e0]
call qword [sym.imp.ntdll.dll_LdrLoadDll]
test eax, eax
js 0x14000a94e
mov rcx, qword [rbp + 0x7e8]
test rcx, rcx
je 0x14000a96c
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
jne 0x14000a961
mov eax, 0xc000007b
mov edx, eax
lea rcx, str.____Error_while_loading_input_driver_file
call fcn.14000fbe0
jmp 0x14000aae9
mov rsi, qword [rbp + 0x7e8]
mov eax, ebx
jmp 0x14000a970
test eax, eax
js 0x14000a94e
test rsi, rsi
je 0x14000a94e
mov r8, rsi
lea rdx, [rsp + 0x50]
lea rcx, str.___Input_driver_file___ws__loaded_at_0x_p_r_n
call fcn.140002248
mov edx, dword [rbp + 0x7d0]
mov r9d, r14d
mov r8d, r12d
mov dword [rsp + 0x20], ebx
mov ecx, r15d
call fcn.14000b854
mov rdi, rax
test rax, rax
je 0x14000a9f0
cmp r14d, 3
jne 0x14000a9d9
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14000a9c5
lea rcx, [rdi + 0x54]
mov rdx, rax
call fcn.14000d980
test r13, r13
je 0x14000a9d9
lea rcx, [rdi + 0x260]
mov rdx, r13
call fcn.14000d980
mov rax, qword [rdi + 0x40]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x38]
mov rcx, rdi
mov ebx, eax
call fcn.14000bf50
mov rcx, rsi
call qword [sym.imp.ntdll.dll_LdrUnloadDll]
jmp 0x14000aae9
mov r9d, r13d
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x50]
mov edx, esi
lea rcx, [0x140031e98]
call fcn.14000e81c
lea r8, [rsp + 0x50]
test eax, eax
je 0x14000aa86
movzx edx, word [rsp + 0x50]
mov rdi, rbx
jmp 0x14000aa4c
lea eax, [rdx - 0x30]
cmp ax, 9
ja 0x14000aa51
movzx eax, dx
lea rdi, [rdi + rdi*4]
add r8, 2
lea rdi, [rdi - 0x18]
lea rdi, [rax + rdi*2]
movzx edx, word [r8]
test dx, dx
jne 0x14000aa2c
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r12d
mov edx, r14d
mov ecx, r15d
call fcn.14000b854
mov rsi, rax
test rax, rax
je 0x14000aae9
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.14000c370
mov ebx, eax
mov rcx, rsi
jmp 0x14000aacf
mov r9d, r13d
mov qword [rsp + 0x20], rbx
mov edx, esi
lea rcx, str._pse
call fcn.14000e81c
test eax, eax
je 0x14000aad6
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r12d
mov edx, r14d
mov ecx, r15d
call fcn.14000b854
mov rdi, rax
test rax, rax
je 0x14000aae9
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14000c224
mov ebx, eax
mov rcx, rdi
call fcn.14000bf50
jmp 0x14000aae9
lea rdx, str.____No_valid_parameters_combination_specified_or_command_is_not_recognized__see_Usage_for_help_r_n____Usage:_kdu__Provider__Command__r_n_nParameters:__r_nkdu__list___________List_available_providers_r_nkdu__diag___________Run_system_diagnostic_for_troubleshooting_r_nkdu__prv_id_________Optional__sets_provider_id_to_be_used_with_rest_of_commands__default_0_r_nkdu__pse_cmdline____Launch_program_as_PPL_r_nkdu__ps_pid_________Disable_ProtectedProcess_for_given_pid_r_nkdu__dse_value______Write_user_defined_value_to_the_system_DSE_state_flags_r_nkdu__map_filename___Map_driver_to_the_kernel_and_execute_it_entry_point__this_command_have_dependencies_listed_below_r_n_scv_version________Optional__select_shellcode_version__default_1_r_n_drvn_name__________Driver_object_name__only_valid_for_shellcode_version_3__r_n_drvr_name__________Optional__driver_registry_key_name__only_valid_for_shellcode_version_3__r_n
lea rcx, str._s_r_n
call fcn.140002248
mov eax, ebx
mov rbx, qword [rsp + 0x8d8]
add rsp, 0x890
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret