Function at 0x140069350
Capabilities:
Enumerate pe sections
Get system information on windows
Install driver
Make suspicious ntquerysysteminformation call
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x14009d680]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
xor edi, edi
mov dword [rbp + 8], edi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov rcx, qword [0x14009dcf8]
call fcn.14006fbc0
mov r15, rax
mov qword [rsp + 0x40], rax
mov ebx, edi
mov dword [rbp], edi
lea r9, [rbp]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140069427
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp]
mov r8d, dword [rbp]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x1400693e0
test eax, eax
js 0x140069508
mov esi, edi
cmp dword [rbx], edi
jbe 0x140069508
nop dword [rax]
mov eax, esi
imul rcx, rax, 0x128
lea r14, [rcx + rbx]
movzx edx, word [r14 + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xc0], rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x140069480
lea rcx, [rbp + 0xa8]
call fcn.1400574d0
lea rcx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rcx, qword [rbp + 0xa8]
lea rdx, str.mlx4_bus.sys
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14006952f
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x1400694fe
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400694f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006957c
call fcn.140072e60
inc esi
cmp esi, dword [rbx]
jb 0x140069440
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [r15], 0x4550
je 0x1400695b5
lea rdx, str.Invalid_NT_signature_in_target_driver
jmp 0x140069594
mov rsi, qword [r14 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x140069588
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069583
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069583
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072e60
test rsi, rsi
je 0x140069519
lea rdx, str.Driver_already_loaded__press_enter_to_start_when_in_game.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14006b1c4
mov ebx, dword [r15 + 0x50]
mov dword [rsp + 0x68], ebx
mov eax, dword [0x140084c58]
mov dword [rbp], eax
movzx eax, word [0x140084c5c]
mov word [rbp + 4], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
mov r8d, 0xc
lea rdx, str.mlx4_bus.sys
lea rcx, [rbp - 0x60]
call fcn.1400574d0
mov r9d, ebx
lea r8, [rbp]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x10]
call fcn.140067160
nop
cmp dword [rbp + 0x58], 0
jne 0x14006961d
lea rdx, str.Failed_to_get_info_for_potential_signed_driver.
jmp 0x14006b19e
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x120]
call fcn.1400575d0
mov qword [rbp], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140069672
mov bl, 1
jmp 0x1400696f4
mov qword [rbp + 0x90], rdi
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 7
cmova rdx, qword [rbp + 0x120]
lea r8, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1400696a7
mov bl, 1
jmp 0x1400696f4
mov dword [rbp + 0x70], 1
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x74], rax
mov dword [rbp + 0x7c], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x10
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1400696e8
mov bl, 1
jmp 0x1400696f4
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x14006973d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069738
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069738
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072e60
lea rsi, str.___
test bl, bl
je 0x140069750
mov r12d, edi
jmp 0x140069e2b
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x20]
call fcn.140057230
mov rbx, rax
mov qword [rbp + 0x70], rdi
lea rax, [0x14009d530]
mov qword [rbp + 0x78], rax
lea r8, [rbp + 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1400626b0
mov dword [rbp + 8], 1
cmp dword [rbp + 0x70], 0
jne 0x14006b20b
lea r12, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r12, qword [rbp - 0x80]
mov r15, qword [rbp - 0x70]
call fcn.14007237c
mov r13d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov r8, rdi
mov qword [rsp + 0x58], rdi
mov ecx, 0xf
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x48], r8b
mov dword [rbp + 8], 0x11
test r15, r15
je 0x1400698d3
cmp r15, 0x7fffffff
ja 0x14006b21f
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
mov ecx, eax
call fcn.1400723ec
mov rsi, rax
shr rax, 0x20
test eax, eax
jne 0x14006b22a
movsxd rcx, esi
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
ja 0x140069835
mov qword [rsp + 0x58], rcx
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rax, qword [rsp + 0x48]
mov byte [rax + rcx], 0
jmp 0x140069890
mov r14, rcx
sub r14, rdx
mov r8, qword [rsp + 0x60]
mov rax, r8
sub rax, rdx
cmp r14, rax
ja 0x140069876
mov qword [rsp + 0x58], rcx
lea rbx, [rsp + 0x48]
cmp r8, 0xf
cmova rbx, qword [rsp + 0x48]
add rbx, rdx
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.140073ec0
mov byte [rbx + r14], 0
jmp 0x140069890
mov byte [rsp + 0x20], 0
mov r9, r14
movzx r8d, byte [rbp + 0x60]
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140058250
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova r9, qword [rsp + 0x48]
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov rdx, r12
mov ecx, r13d
call fcn.1400723ec
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x14006b236
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
lea rsi, str.___
mov r14d, 0xf
mov dword [rbp + 8], r14d
mov rax, rcx
sub rax, r8
cmp rax, 4
jb 0x140069974
lea rax, [r8 + 4]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rcx, r14
cmova rbx, qword [rsp + 0x48]
lea rax, [0x140084b28]
lea r13, str.___
cmp rax, rbx
jbe 0x140069932
lea rax, [rbx + r8]
cmp r13, rax
ja 0x140069932
cmp rbx, r13
ja 0x14006992a
mov rsi, rdi
jmp 0x140069937
mov rsi, rbx
sub rsi, r13
jmp 0x140069937
mov esi, 4
inc r8
lea rcx, [rbx + 4]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 4
sub r8, rsi
lea rdx, [r13 + 4]
add rdx, rsi
lea rcx, [rbx + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x48]
jmp 0x140069999
mov qword [rsp + 0x28], 4
mov qword [rsp + 0x20], rsi
xor r9d, r9d
movzx r8d, byte [rbp + 0x60]
mov edx, 4
lea rcx, [rsp + 0x48]
call fcn.140058790
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 0x20
mov dword [rbp + 8], r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], rdi
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x70]
call fcn.1400574d0
nop
mov rsi, qword [rbp + 0x40]
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r9, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x88]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140069a60
lea rax, [rcx + rsi]
mov qword [rbp + 0x80], rax
lea rbx, [rbp + 0x70]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x70]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x140069a76
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x60]
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.1400580c0
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
lea r8, [rbp]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140069ae1
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140069ada
inc rdx
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140069ad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069c0b
call fcn.140072e60
mov bl, 1
jmp 0x140069c1c
mov byte [rbp + 0x62], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x62]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140069a9c
mov byte [rbp + 0x63], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x63]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140069a9c
mov byte [rbp + 0x60], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140069a9c
lea rcx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rcx, qword [rbp + 0xa8]
mov eax, dword [rbp + 0xb8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140069a9c
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140069c17
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069c12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069c12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072e60
test ebx, ebx
setne bl
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x140069c60
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069c5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069c5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072e60
movdqa xmm0, xmmword [0x140085090]
movdqu xmmword [rbp + 0xb8], xmm0
mov byte [rbp + 0xa8], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140069cb7
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069cb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069cb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072e60
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
lea rcx, [rbp - 0x80]
call fcn.140062520
nop
lea rcx, [rbp - 0x20]
call fcn.140062520
test bl, bl
je 0x140069ce9
mov r12d, edi
jmp 0x140069e2b
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], rdi
mov qword [rbp + 0x100], rdi
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0xe8]
call fcn.1400574d0
nop
mov rsi, qword [rbp + 0x40]
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r9, qword [rbp + 0x30]
mov r14, qword [rbp + 0xf8]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x140069d7e
lea rax, [r14 + rsi]
mov qword [rbp + 0xf8], rax
lea rbx, [rbp + 0xe8]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0xe8]
lea rcx, [rbx + r14]
mov r8, rsi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov byte [rax + r14], 0
jmp 0x140069d97
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x60]
mov rdx, rsi
lea rcx, [rbp + 0xe8]
call fcn.1400580c0
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x188]
call sub.ntdll.dll_RtlInitAnsiString
mov r8b, 1
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x98]
call sub.ntdll.dll_RtlAnsiStringToUnicodeString
lea rcx, [rbp + 0x98]
call sub.ntdll.dll_NtLoadDriver
mov ebx, eax
mov rdx, qword [rbp + 0x100]
cmp rdx, 0xf
jbe 0x140069e22
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069e1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069e1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072e60
mov r12d, edi
test ebx, ebx
sete r12b
lea r15, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r15, qword [rbp + 0x30]
mov rbx, rdi
mov dword [rbp + 8], edi
lea r9, [rbp + 8]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140069ea7
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 8]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 8]
mov r8d, dword [rbp + 8]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x140069e60
test eax, eax
js 0x140069f68
mov esi, edi
cmp dword [rbx], edi
jbe 0x140069f68
nop dword [rax]
mov eax, esi
imul rcx, rax, 0x128
lea r14, [rbx + rcx]
movzx eax, word [r14 + 0x2e]
add rax, rbx
lea rdx, [rcx + 0x30]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], rdi
mov qword [rbp + 0x158], rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140069f00
lea rcx, [rbp + 0x140]
call fcn.1400574d0
lea rcx, [rbp + 0x140]
cmp qword [rbp + 0x158], 0xf
cmova rcx, qword [rbp + 0x140]
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14006a5d2
mov r8, qword [rbp + 0x158]
cmp r8, 0xf
jbe 0x140069f5e
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.140061950
inc esi
cmp esi, dword [rbx]
jb 0x140069ec0
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, rdi
cmp r12d, 1
ja 0x14006b197
test rsi, rsi
je 0x14006b197
lea rdx, str.Loaded_signed_driver
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
mov rcx, rax
lea rdx, str.at__0x
call fcn.140014140
lea rdx, [0x140068e10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.MSVCP140.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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str.__with_result__0x
call fcn.140014140
lea rdx, [0x140068e10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, r12d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140084ccc]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r14d, dword [rbp + 0x50]
add r14, rsi
mov qword [rsp + 0x78], r14
lea rdx, str.Target_section__.data__offset__0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
lea rdx, [0x140068e10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.MSVCP140.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_int____ptr64]
mov rcx, rax
lea rdx, str.__size__0x
call fcn.140014140
lea rdx, [0x140068e10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rbp + 0x54]
mov rcx, rax
call qword [sym.imp.MSVCP140.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_int____ptr64]
mov rcx, rax
lea rdx, str.__map_start__0x
call fcn.140014140
lea rdx, [0x140068e10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, r14
mov rcx, rax
call qword [sym.imp.MSVCP140.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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140084ccc]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, rdi
mov dword [rbp], edi
lea r9, [rbp]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14006a137
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp]
mov r8d, dword [rbp]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x14006a0f0
test eax, eax
js 0x14006a1fc
mov esi, edi
cmp dword [rbx], edi
jbe 0x14006a1fc
nop dword [rax]
mov eax, esi
imul rcx, rax, 0x128
movzx edx, word [rcx + rbx + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], rdi
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14006a190
lea rcx, [rbp + 0xc8]
call fcn.1400574d0
lea rcx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rcx, qword [rbp + 0xc8]
lea rdx, [0x1400849d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14006a625
mov r8, qword [rbp + 0xe0]
cmp r8, 0xf
jbe 0x14006a1f2
mov rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0xc8]
call fcn.140061950
inc esi
cmp esi, dword [rbx]
jb 0x14006a150
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.140068300
mov r13, rax
call fcn.140067ec0
mov r12, rax
test r13, r13
je 0x14006b18e
test rax, rax
je 0x14006b18e
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x108], xmm1
mov qword [rbp + 0x118], rdi
lea rax, [0x14007d300]
mov qword [rbp + 0x90], rax
lea rax, str.Unknown
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x90]
mov edx, 0x6650
lea rcx, [rbp + 0x108]
call fcn.140057700
nop
mov r8d, 0x10
lea rdx, [rbp + 0xc8]
lea rcx, [0x14009f1fc]
call fcn.14005b010
nop
lea rcx, [rbp + 0x198]
call fcn.14006d430
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14006a2ba
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rax
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x70], xmm0
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.1400577c0
nop
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rdx, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xd8]
lea rcx, [rbp - 0x40]
call fcn.140062a60
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x40]
call fcn.14005a8e0
nop
lea rcx, [rbp + 0x198]
call fcn.140062520
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1d0]
call fcn.140073ec0
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 0xf
cmova rdx, qword [rbp + 0x120]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rcx, [rbp + 0x1d0]
call fcn.140059570
nop
mov r8, qword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
sub r8, rdx
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x1d8]
call fcn.140062d50
test rax, rax
jne 0x14006a3f5
mov rax, qword [rbp + 0x1d0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1d0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0xa8]
call fcn.1400575d0
mov qword [rbp], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14006a83f
mov qword [rbp + 0x90], rdi
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 7
cmova rdx, qword [rbp + 0xa8]
lea r8, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14006a83f
mov dword [rbp + 0x70], 1
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x74], rax
mov dword [rbp + 0x7c], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x10
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x14006a83f
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0xa8]
call fcn.140062520
xor r8d, r8d
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x80]
call fcn.140057230
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140062640
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14006a501
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rax
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x70], xmm0
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.1400577c0
nop
lea r8, [rbp - 0x40]
lea rdx, str.___
lea rcx, [rbp + 0x198]
call fcn.140057330
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0xa8]
call fcn.1400574d0
nop
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rdx, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xd8]
lea rcx, [rbp + 0xa8]
call fcn.140062a60
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rdx, qword [rbp + 0xa8]
lea r8, [rbp]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x14006a65f
mov bl, 1
jmp 0x14006a74f
mov rsi, qword [r14 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r8, qword [rbp + 0x158]
cmp r8, 0xf
jbe 0x14006a607
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.140061950
mov qword [rbp + 0x150], rdi
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], 0
jmp 0x140069f7c
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r8, qword [rbp + 0xe0]
cmp r8, 0xf
jbe 0x14006a20d
mov rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0xc8]
call fcn.140061950
jmp 0x14006a20d
mov byte [rbp + 0x60], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14006a699
mov bl, 1
jmp 0x14006a74f
mov byte [rbp + 0x63], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x63]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14006a6d0
mov bl, 1
jmp 0x14006a74f
mov byte [rbp + 0x62], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x62]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14006a707
mov bl, 1
jmp 0x14006a74f
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14006a714
mov rbx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14006a73f
mov bl, 1
jmp 0x14006a74f
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test eax, eax
setne bl
lea rcx, [rbp + 0xa8]
call fcn.14005a8e0
nop
lea rcx, [rbp + 0x198]
call fcn.14005a8e0
nop
lea rcx, [rbp - 0x40]
call fcn.14005a8e0
nop
lea rcx, [rbp - 0x20]
call fcn.140062520
nop
lea rcx, [rbp - 0x80]
call fcn.140062520
test bl, bl
jne 0x14006a84b
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf8], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0xe8]
call fcn.1400574d0
nop
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rdx, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xd8]
lea rcx, [rbp + 0xe8]
call fcn.140062a60
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x188]
call sub.ntdll.dll_RtlInitAnsiString
mov r8b, 1
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x98]
call sub.ntdll.dll_RtlAnsiStringToUnicodeString
lea rcx, [rbp + 0x98]
call sub.ntdll.dll_NtLoadDriver
test eax, eax
sete bl
lea rcx, [rbp + 0xe8]
call fcn.14005a8e0
jmp 0x14006a84d
lea rcx, [rbp + 0xa8]
call fcn.140062520
xor bl, bl
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x198]
call fcn.140059680
mov byte [rbp + 0x1b8], bl
lea rcx, [rbp + 0x1d0]
call fcn.14005b4d0
nop
lea rcx, [rbp + 0x120]
call fcn.14005a8e0
nop
lea rcx, [rbp + 0xc8]
call fcn.14005a8e0
nop
lea rcx, [rbp + 0x108]
call fcn.14005a9e0
nop
test bl, bl
jne 0x14006a8d8
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x140085090]
movdqu xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x80], bl
mov qword [rbp + 0x160], rdi
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x168]
call fcn.140059680
nop
lea rcx, [rbp - 0x80]
call fcn.14005a8e0
jmp 0x14006a927
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..GIO
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x14009f200], rax
mov qword [rbp + 0x160], rax
lea rdx, [rbp + 0x198]
lea rcx, [rbp + 0x168]
call fcn.140059680
nop
lea rcx, [rbp + 0x198]
call fcn.14005a8e0
nop
cmp qword [rbp + 0x160], 0
je 0x14006b15c
cmp qword [rbp + 0x178], 0
je 0x14006b15c
lea rdx, str.Vulnerable_driver_loaded__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
lea rdx, [rbp + 0x168]
cmp qword [rbp + 0x180], 0xf
cmova rdx, qword [rbp + 0x168]
mov rcx, rax
call fcn.140014140
mov rcx, rax
lea rdx, [0x140084ccc]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0x61]
call fcn.140070540
mov rbx, r14
mov esi, dword [rsp + 0x68]
mov qword [rsp + 0x70], rsi
lea r15, [rsi + r14]
mov edx, 4
cmp r14, r15
jae 0x14006acec
mov ecx, dword [0x14009f368]
mov rax, qword gs:[0x58]
mov r14, qword [rax + rcx*8]
add r14, rdx
nop
mov eax, dword [r14]
cmp dword [0x14009f280], eax
jle 0x14006aa30
lea rcx, [0x14009f280]
call fcn.1400731d0
cmp dword [0x14009f280], 0xffffffff
jne 0x14006aa30
lea rcx, [0x14007ce40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009f278], rax
lea rcx, [0x14009f280]
call fcn.140073164
lea rcx, [0x14009d540]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14006b275
cmp dword [0x14009d58c], 0x7fffffff
je 0x14006b260
mov dword [rbp + 0x108], 0x25ff
mov word [rbp + 0x10c], ax
mov qword [rbp + 0x10e], r12
mov rcx, qword [0x14009f208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x188]
call fcn.14006bca0
mov rcx, qword [0x14009f208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x108]
call fcn.14006e170
mov rax, qword [0x14009f278]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x14009f208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x188]
call fcn.14006e170
lea rcx, [0x14009d540]
call sub.MSVCP140.dll__Mtx_unlock
mov r9d, 8
mov r8, rsi
lea rdx, [rbp]
lea rcx, [rbp + 0x61]
call fcn.140071100
test al, al
jne 0x14006aaf5
xor eax, eax
mov qword [rbp], rax
lea rdx, str.Manipulating_page_table__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
lea rdx, [rbp + 0x168]
cmp qword [rbp + 0x180], 0xf
cmova rdx, qword [rbp + 0x168]
mov rcx, rax
call fcn.140014140
mov rcx, rax
lea rdx, str._._Large_page__
call fcn.140014140
mov rdx, qword [rbp]
shr rdx, 7
and edx, 1
mov rcx, rax
call qword [sym.imp.MSVCP140.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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140084ccc]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp]
test al, al
jns 0x14006ab8f
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp], rax
lea r8, [rbp]
jmp 0x14006acc5
mov eax, dword [r14]
cmp dword [0x14009f280], eax
jle 0x14006abdf
lea rcx, [0x14009f280]
call fcn.1400731d0
cmp dword [0x14009f280], 0xffffffff
jne 0x14006abdf
lea rcx, [0x14007ce40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009f278], rax
lea rcx, [0x14009f280]
call fcn.140073164
lea rcx, [0x14009d540]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14006b255
cmp dword [0x14009d58c], 0x7fffffff
je 0x14006b240
mov dword [rbp + 0x98], 0x25ff
mov word [rbp + 0x9c], ax
mov qword [rbp + 0x9e], r13
mov rcx, qword [0x14009f208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x70]
call fcn.14006bca0
mov rcx, qword [0x14009f208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x98]
call fcn.14006e170
mov rax, qword [0x14009f278]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x14009f208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x70]
call fcn.14006e170
lea rcx, [0x14009d540]
call sub.MSVCP140.dll__Mtx_unlock
mov r9d, 8
mov r8, rsi
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x61]
call fcn.140071100
test al, al
jne 0x14006ac9f
xor eax, eax
jmp 0x14006aca6
mov rax, qword [rbp + 0x90]
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0x90], rax
lea r8, [rbp + 0x90]
mov r9d, 8
mov rdx, rsi
lea rcx, [rbp + 0x61]
call fcn.140071930
add rbx, 0x1000
cmp rbx, r15
jb 0x14006a9e0
mov rsi, qword [rsp + 0x70]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov r13, qword [rsp + 0x40]
mov r8d, dword [r13 + 0x54]
mov rdx, qword [0x14009dcf8]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, str.Local_mapped_image_base__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
mov rdx, r14
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140084ccc]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movzx eax, word [r13 + 0x14]
lea r15, [r13 + 0x18]
add r15, rax
mov r12, qword [rsp + 0x78]
cmp di, word [r13 + 6]
jae 0x14006ae5b
lea rsi, [r15 + 0xc]
nop dword [rax]
mov ebx, dword [rsi]
add rbx, r14
mov r8d, dword [rsi + 4]
mov edx, dword [rsi + 8]
add rdx, qword [0x14009dcf8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rdx, str.Mapping_section__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
movsxd rcx, edi
lea r8, [rcx + rcx*4]
lea rdx, [r15 + r8*8]
mov rcx, rax
call fcn.140014140
lea rdx, [0x140084e1c]
mov rcx, rax
call fcn.140014140
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str._____
call fcn.140014140
mov edx, dword [rsi]
add rdx, r12
mov rcx, rax
call qword [sym.imp.MSVCP140.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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str.___0x
call fcn.140014140
lea rdx, [0x140068e10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rsi + 4]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
mov rcx, rax
lea rdx, [0x140084ccc]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc edi
lea rsi, [rsi + 0x28]
movzx eax, word [r13 + 6]
cmp edi, eax
jl 0x14006ad80
mov rsi, qword [rsp + 0x70]
lea rdx, str.Mapping_driver___signed_driver_in_section__.data__with_size__0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
lea rdx, [0x140068e10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.MSVCP140.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_int____ptr64]
mov rcx, rax
lea rdx, [0x140084ccc]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, r12
sub rbx, qword [r13 + 0x30]
mov rdx, r14
lea rcx, [rbp + 0x70]
call fcn.14006fbf0
mov rdx, rbx
mov rcx, rax
call fcn.14006fd20
mov rdx, r14
lea rcx, [rbp + 0x70]
call fcn.14006f370
mov rcx, rax
call fcn.14006ffd0
test al, al
jne 0x14006af45
lea rdx, str.Failed_to_resolve_imports.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x198]
call fcn.140059680
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14006af38
mov rcx, rbx
call fcn.14006dca0
nop
mov rcx, rbx
call fcn.14005a8e0
jmp 0x14006b180
mov r8d, dword [r13 + 0x54]
xor edx, edx
mov rcx, r14
call fcn.140073ec0
mov r9, rsi
mov r8, r14
mov rdx, r12
lea rcx, [rbp + 0x61]
call fcn.140071930
mov ebx, dword [r13 + 0x28]
add rbx, r12
lea rdx, str.Mapped_entry_point__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.MSVCP140.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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140084ccc]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edi, dword [r13 + 0x50]
mov r8d, dword [0x14009f368]
mov rax, qword gs:[0x58]
mov r8, qword [rax + r8*8]
mov eax, 4
mov eax, dword [rax + r8]
cmp dword [0x14009f290], eax
jle 0x14006b018
lea rcx, [0x14009f290]
call fcn.1400731d0
cmp dword [0x14009f290], 0xffffffff
jne 0x14006b018
lea rcx, [0x14007ce40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009f288], rax
lea rcx, [0x14009f290]
call fcn.140073164
lea rcx, [0x14009d590]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14006b280
cmp dword [0x14009d5dc], 0x7fffffff
je 0x14006b1f6
mov dword [rbp + 0x98], 0x25ff
mov word [rbp + 0x9c], ax
mov qword [rbp + 0x9e], rbx
mov rcx, qword [0x14009f208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x70]
call fcn.14006bca0
mov rcx, qword [0x14009f208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x98]
call fcn.14006e170
mov rax, qword [0x14009f288]
mov rdx, rdi
mov rcx, r12
call rax
mov ebx, eax
mov rcx, qword [0x14009f208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x70]
call fcn.14006e170
lea rcx, [0x14009d590]
call sub.MSVCP140.dll__Mtx_unlock
lea rdx, str.Driver_entry_returned__0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
lea rdx, [0x140068e10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140084ccc]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x198]
call fcn.140059680
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14006b143
mov rcx, rbx
call fcn.14006dca0
test al, al
je 0x14006b143
mov dil, 1
jmp 0x14006b146
xor dil, dil
mov rcx, rbx
call fcn.14005a8e0
test dil, dil
jne 0x14006b180
lea rdx, str.Unable_to_unload_vulnerable_driver.
jmp 0x14006b163
lea rdx, str.Unable_to_load_vulnerable_driver.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x160]
call fcn.14005a950
jmp 0x14006b1bb
lea rdx, str.Failed_to_sig_scan_PTE_functions.
jmp 0x14006b19e
lea rdx, str.Failed_to_load_signed_driver__please_restart_your_computer
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014140
lea rdx, [0x1400143a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x10]
call fcn.14005abc0
mov al, 1
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140072d00
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [0x14009d5dc], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov r8, rbx
lea rdx, [rbp + 0x70]
lea rcx, str.absolute
call fcn.140062330
nop
mov ecx, 0x16
call fcn.140062400
int3
shr rsi, 0x20
mov ecx, esi
call fcn.140062440
int3
shr rcx, 0x20
call fcn.140062440
nop
mov dword [0x14009d58c], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov dword [0x14009d58c], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3