Function at 0x1400695f0
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 [0x14009e680]
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 [0x14009ed00]
call fcn.14006fe30
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 0x1400696c7
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 0x140069680
test eax, eax
js 0x1400697a8
mov esi, edi
cmp dword [rbx], edi
jbe 0x1400697a8
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 0x140069720
lea rcx, [rbp + 0xa8]
call fcn.1400147d0
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 0x1400697cf
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x14006979e
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069799
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006981c
call fcn.140072f0c
inc esi
cmp esi, dword [rbx]
jb 0x1400696e0
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [r15], 0x4550
je 0x140069855
lea rdx, str.Invalid_NT_signature_in_target_driver
jmp 0x140069834
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 0x140069828
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069823
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069823
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072f0c
test rsi, rsi
je 0x1400697b9
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.140014570
lea rdx, [0x140059ca0]
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 0x14006b464
mov ebx, dword [r15 + 0x50]
mov dword [rsp + 0x68], ebx
mov eax, dword [0x140084c30]
mov dword [rbp], eax
movzx eax, word [0x140084c34]
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.1400147d0
mov r9d, ebx
lea r8, [rbp]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x10]
call fcn.140067450
nop
cmp dword [rbp + 0x58], 0
jne 0x1400698bd
lea rdx, str.Failed_to_get_info_for_potential_signed_driver.
jmp 0x14006b43e
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.140058470
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 0x140069912
mov bl, 1
jmp 0x140069994
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 0x140069947
mov bl, 1
jmp 0x140069994
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 0x140069988
mov bl, 1
jmp 0x140069994
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x1400699dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400699d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400699d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072f0c
lea rsi, str.___
test bl, bl
je 0x1400699f0
mov r12d, edi
jmp 0x14006a0ce
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x20]
call fcn.1400581d0
mov rbx, rax
mov qword [rbp + 0x70], rdi
lea rax, [0x14009e530]
mov qword [rbp + 0x78], rax
lea r8, [rbp + 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140062b60
mov dword [rbp + 8], 1
cmp dword [rbp + 0x70], 0
jne 0x14006b4ab
lea r12, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r12, qword [rbp - 0x80]
mov r15, qword [rbp - 0x70]
call fcn.1400725e4
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 0x140069b73
cmp r15, 0x7fffffff
ja 0x14006b4bf
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
mov ecx, eax
call fcn.140072654
mov rsi, rax
shr rax, 0x20
test eax, eax
jne 0x14006b4ca
movsxd rcx, esi
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
ja 0x140069ad5
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 0x140069b30
mov r14, rcx
sub r14, rdx
mov r8, qword [rsp + 0x60]
mov rax, r8
sub rax, rdx
cmp r14, rax
ja 0x140069b16
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.140074120
mov byte [rbx + r14], 0
jmp 0x140069b30
mov byte [rsp + 0x20], 0
mov r9, r14
movzx r8d, byte [rbp + 0x60]
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.1400590f0
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.140072654
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x14006b4d6
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 0x140069c14
lea rax, [r8 + 4]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rcx, r14
cmova rbx, qword [rsp + 0x48]
lea rax, [0x140084b00]
lea r13, str.___
cmp rax, rbx
jbe 0x140069bd2
lea rax, [rbx + r8]
cmp r13, rax
ja 0x140069bd2
cmp rbx, r13
ja 0x140069bca
mov rsi, rdi
jmp 0x140069bd7
mov rsi, rbx
sub rsi, r13
jmp 0x140069bd7
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 0x140069c39
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.140059630
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.1400147d0
nop
mov rsi, qword [rbp + 0x40]
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r9, qword [rbp + 0x30]
mov r14, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x140069d03
lea rax, [r14 + rsi]
mov qword [rbp + 0x80], rax
lea rbx, [rbp + 0x70]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x70]
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 0x140069d19
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x60]
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.140058f60
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 0x140069d84
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140069d7d
inc rdx
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140069d78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069eae
call fcn.140072f0c
mov bl, 1
jmp 0x140069ebf
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 0x140069d3f
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 0x140069d3f
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 0x140069d3f
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 0x140069d3f
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140069eba
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069eb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069eb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072f0c
test ebx, ebx
setne bl
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x140069f03
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069efe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069efe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072f0c
movdqa xmm0, xmmword [0x140076c60]
movdqu xmmword [rbp + 0xb8], xmm0
mov byte [rbp + 0xa8], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140069f5a
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069f55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140069f55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072f0c
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
lea rcx, [rbp - 0x80]
call fcn.1400629f0
nop
lea rcx, [rbp - 0x20]
call fcn.1400629f0
test bl, bl
je 0x140069f8c
mov r12d, edi
jmp 0x14006a0ce
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.1400147d0
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 0x14006a021
lea rax, [rsi + r14]
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 0x14006a03a
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x60]
mov rdx, rsi
lea rcx, [rbp + 0xe8]
call fcn.140058f60
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 0x14006a0c5
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a0c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a0c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072f0c
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 0x14006a147
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 0x14006a100
test eax, eax
js 0x14006a208
mov esi, edi
cmp dword [rbx], edi
jbe 0x14006a208
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 0x14006a1a0
lea rcx, [rbp + 0x140]
call fcn.1400147d0
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 0x14006a872
mov r8, qword [rbp + 0x158]
cmp r8, 0xf
jbe 0x14006a1fe
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.140061e60
inc esi
cmp esi, dword [rbx]
jb 0x14006a160
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, rdi
cmp r12d, 1
ja 0x14006b437
test rsi, rsi
je 0x14006b437
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.140014570
mov rcx, rax
lea rdx, str.at__0x
call fcn.140014570
lea rdx, [0x1400690b0]
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.140014570
lea rdx, [0x1400690b0]
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, [0x140084ca4]
call fcn.140014570
lea rdx, [0x140059ca0]
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.140014570
lea rdx, [0x1400690b0]
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.140014570
lea rdx, [0x1400690b0]
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.140014570
lea rdx, [0x1400690b0]
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, [0x140084ca4]
call fcn.140014570
lea rdx, [0x140059ca0]
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 0x14006a3d7
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 0x14006a390
test eax, eax
js 0x14006a49c
mov esi, edi
cmp dword [rbx], edi
jbe 0x14006a49c
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 0x14006a430
lea rcx, [rbp + 0xc8]
call fcn.1400147d0
lea rcx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rcx, qword [rbp + 0xc8]
lea rdx, [0x1400849a8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14006a8c5
mov r8, qword [rbp + 0xe0]
cmp r8, 0xf
jbe 0x14006a492
mov rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0xc8]
call fcn.140061e60
inc esi
cmp esi, dword [rbx]
jb 0x14006a3f0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.1400685e0
mov r13, rax
call fcn.1400681a0
mov r12, rax
test r13, r13
je 0x14006b42e
test rax, rax
je 0x14006b42e
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, [0x14007d3b0]
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.1400585a0
nop
mov r8d, 0x10
lea rdx, [rbp + 0xc8]
lea rcx, [0x1400a01fc]
call fcn.14005b830
nop
lea rcx, [rbp + 0x198]
call fcn.14006d6c0
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14006a55a
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.140058660
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.140062f10
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.140015020
nop
lea rcx, [rbp + 0x198]
call fcn.1400629f0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1d0]
call fcn.140074120
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.14005a2f0
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.140063200
test rax, rax
jne 0x14006a695
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.140058470
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 0x14006aadf
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 0x14006aadf
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 0x14006aadf
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0xa8]
call fcn.1400629f0
xor r8d, r8d
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x80]
call fcn.1400581d0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140062af0
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14006a7a1
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.140058660
nop
lea r8, [rbp - 0x40]
lea rdx, str.___
lea rcx, [rbp + 0x198]
call fcn.1400582d0
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.1400147d0
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.140062f10
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 0x14006a8ff
mov bl, 1
jmp 0x14006a9ef
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 0x14006a8a7
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.140061e60
mov qword [rbp + 0x150], rdi
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], 0
jmp 0x14006a21c
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 0x14006a4ad
mov rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0xc8]
call fcn.140061e60
jmp 0x14006a4ad
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 0x14006a939
mov bl, 1
jmp 0x14006a9ef
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 0x14006a970
mov bl, 1
jmp 0x14006a9ef
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 0x14006a9a7
mov bl, 1
jmp 0x14006a9ef
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14006a9b4
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 0x14006a9df
mov bl, 1
jmp 0x14006a9ef
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test eax, eax
setne bl
lea rcx, [rbp + 0xa8]
call fcn.140015020
nop
lea rcx, [rbp + 0x198]
call fcn.140015020
nop
lea rcx, [rbp - 0x40]
call fcn.140015020
nop
lea rcx, [rbp - 0x20]
call fcn.1400629f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400629f0
test bl, bl
jne 0x14006aaeb
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.1400147d0
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.140062f10
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.140015020
jmp 0x14006aaed
lea rcx, [rbp + 0xa8]
call fcn.1400629f0
xor bl, bl
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x198]
call fcn.140014da0
mov byte [rbp + 0x1b8], bl
lea rcx, [rbp + 0x1d0]
call fcn.14005bcf0
nop
lea rcx, [rbp + 0x120]
call fcn.140015020
nop
lea rcx, [rbp + 0xc8]
call fcn.140015020
nop
lea rcx, [rbp + 0x108]
call fcn.14005b460
nop
test bl, bl
jne 0x14006ab78
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x140076c60]
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.140014da0
nop
lea rcx, [rbp - 0x80]
call fcn.140015020
jmp 0x14006abc7
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 [0x1400a0200], rax
mov qword [rbp + 0x160], rax
lea rdx, [rbp + 0x198]
lea rcx, [rbp + 0x168]
call fcn.140014da0
nop
lea rcx, [rbp + 0x198]
call fcn.140015020
nop
cmp qword [rbp + 0x160], 0
je 0x14006b3fc
cmp qword [rbp + 0x178], 0
je 0x14006b3fc
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.140014570
lea rdx, [rbp + 0x168]
cmp qword [rbp + 0x180], 0xf
cmova rdx, qword [rbp + 0x168]
mov rcx, rax
call fcn.140014570
mov rcx, rax
lea rdx, [0x140084ca4]
call fcn.140014570
lea rdx, [0x140059ca0]
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.1400707b0
mov rbx, r14
mov esi, dword [rsp + 0x68]
mov qword [rsp + 0x70], rsi
lea r15, [rsi + r14]
mov edx, 4
cmp r14, r15
jae 0x14006af8c
mov ecx, dword [0x1400a0368]
mov rax, qword gs:[0x58]
mov r14, qword [rax + rcx*8]
add r14, rdx
nop
mov eax, dword [r14]
cmp dword [0x1400a0280], eax
jle 0x14006acd0
lea rcx, [0x1400a0280]
call fcn.1400734a0
cmp dword [0x1400a0280], 0xffffffff
jne 0x14006acd0
lea rcx, [0x14007cef0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a0278], rax
lea rcx, [0x1400a0280]
call fcn.140073434
lea rcx, [0x14009e540]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14006b515
cmp dword [0x14009e58c], 0x7fffffff
je 0x14006b500
mov dword [rbp + 0x108], 0x25ff
mov word [rbp + 0x10c], ax
mov qword [rbp + 0x10e], r12
mov rcx, qword [0x1400a0208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x188]
call fcn.14006bf40
mov rcx, qword [0x1400a0208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x108]
call fcn.14006e3e0
mov rax, qword [0x1400a0278]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x1400a0208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x188]
call fcn.14006e3e0
lea rcx, [0x14009e540]
call sub.MSVCP140.dll__Mtx_unlock
mov r9d, 8
mov r8, rsi
lea rdx, [rbp]
lea rcx, [rbp + 0x61]
call fcn.140071370
test al, al
jne 0x14006ad95
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.140014570
lea rdx, [rbp + 0x168]
cmp qword [rbp + 0x180], 0xf
cmova rdx, qword [rbp + 0x168]
mov rcx, rax
call fcn.140014570
mov rcx, rax
lea rdx, str._._Large_page__
call fcn.140014570
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, [0x140084ca4]
call fcn.140014570
lea rdx, [0x140059ca0]
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 0x14006ae2f
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp], rax
lea r8, [rbp]
jmp 0x14006af65
mov eax, dword [r14]
cmp dword [0x1400a0280], eax
jle 0x14006ae7f
lea rcx, [0x1400a0280]
call fcn.1400734a0
cmp dword [0x1400a0280], 0xffffffff
jne 0x14006ae7f
lea rcx, [0x14007cef0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a0278], rax
lea rcx, [0x1400a0280]
call fcn.140073434
lea rcx, [0x14009e540]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14006b4f5
cmp dword [0x14009e58c], 0x7fffffff
je 0x14006b4e0
mov dword [rbp + 0x98], 0x25ff
mov word [rbp + 0x9c], ax
mov qword [rbp + 0x9e], r13
mov rcx, qword [0x1400a0208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x70]
call fcn.14006bf40
mov rcx, qword [0x1400a0208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x98]
call fcn.14006e3e0
mov rax, qword [0x1400a0278]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x1400a0208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x70]
call fcn.14006e3e0
lea rcx, [0x14009e540]
call sub.MSVCP140.dll__Mtx_unlock
mov r9d, 8
mov r8, rsi
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x61]
call fcn.140071370
test al, al
jne 0x14006af3f
xor eax, eax
jmp 0x14006af46
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.140071ba0
add rbx, 0x1000
cmp rbx, r15
jb 0x14006ac80
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 [0x14009ed00]
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.140014570
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, [0x140084ca4]
call fcn.140014570
lea rdx, [0x140059ca0]
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 0x14006b0fb
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 [0x14009ed00]
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.140014570
movsxd rcx, edi
lea r8, [rcx + rcx*4]
lea rdx, [r15 + r8*8]
mov rcx, rax
call fcn.140014570
lea rdx, [0x140084df4]
mov rcx, rax
call fcn.140014570
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.140014570
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.140014570
lea rdx, [0x1400690b0]
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, [0x140084ca4]
call fcn.140014570
lea rdx, [0x140059ca0]
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 0x14006b020
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.140014570
lea rdx, [0x1400690b0]
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, [0x140084ca4]
call fcn.140014570
lea rdx, [0x140059ca0]
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.14006fe60
mov rdx, rbx
mov rcx, rax
call fcn.14006ff90
mov rdx, r14
lea rcx, [rbp + 0x70]
call fcn.14006f5e0
mov rcx, rax
call fcn.140070240
test al, al
jne 0x14006b1e5
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.140014570
lea rdx, [0x140059ca0]
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.140014da0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14006b1d8
mov rcx, rbx
call fcn.14006df30
nop
mov rcx, rbx
call fcn.140015020
jmp 0x14006b420
mov r8d, dword [r13 + 0x54]
xor edx, edx
mov rcx, r14
call fcn.140074120
mov r9, rsi
mov r8, r14
mov rdx, r12
lea rcx, [rbp + 0x61]
call fcn.140071ba0
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.140014570
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, [0x140084ca4]
call fcn.140014570
lea rdx, [0x140059ca0]
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 [0x1400a0368]
mov rax, qword gs:[0x58]
mov r8, qword [rax + r8*8]
mov eax, 4
mov eax, dword [rax + r8]
cmp dword [0x1400a0290], eax
jle 0x14006b2b8
lea rcx, [0x1400a0290]
call fcn.1400734a0
cmp dword [0x1400a0290], 0xffffffff
jne 0x14006b2b8
lea rcx, [0x14007cef0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a0288], rax
lea rcx, [0x1400a0290]
call fcn.140073434
lea rcx, [0x14009e590]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14006b520
cmp dword [0x14009e5dc], 0x7fffffff
je 0x14006b496
mov dword [rbp + 0x98], 0x25ff
mov word [rbp + 0x9c], ax
mov qword [rbp + 0x9e], rbx
mov rcx, qword [0x1400a0208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x70]
call fcn.14006bf40
mov rcx, qword [0x1400a0208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x98]
call fcn.14006e3e0
mov rax, qword [0x1400a0288]
mov rdx, rdi
mov rcx, r12
call rax
mov ebx, eax
mov rcx, qword [0x1400a0208]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x70]
call fcn.14006e3e0
lea rcx, [0x14009e590]
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.140014570
lea rdx, [0x1400690b0]
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, [0x140084ca4]
call fcn.140014570
lea rdx, [0x140059ca0]
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.140014da0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14006b3e3
mov rcx, rbx
call fcn.14006df30
test al, al
je 0x14006b3e3
mov dil, 1
jmp 0x14006b3e6
xor dil, dil
mov rcx, rbx
call fcn.140015020
test dil, dil
jne 0x14006b420
lea rdx, str.Unable_to_unload_vulnerable_driver.
jmp 0x14006b403
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.140014570
lea rdx, [0x140059ca0]
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.14005b3f0
jmp 0x14006b45b
lea rdx, str.Failed_to_sig_scan_PTE_functions.
jmp 0x14006b43e
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.140014570
lea rdx, [0x140059ca0]
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.14005b5f0
mov al, 1
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140072fb0
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 [0x14009e5dc], 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.140062800
nop
mov ecx, 0x16
call fcn.1400628d0
int3
shr rsi, 0x20
mov ecx, esi
call fcn.140062910
int3
shr rcx, 0x20
call fcn.140062910
nop
mov dword [0x14009e58c], 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 [0x14009e58c], 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