Function at 0x140072790
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 - 0x6d0]
sub rsp, 0x7d0
mov rax, qword [0x140151740]
xor rax, rsp
mov qword [rbp + 0x6c0], rax
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x4c], r12d
xor ecx, ecx
call fcn.1400bb9c0
mov qword [rbp + 0x4e8], rax
lea rcx, [rbp + 0x4e8]
call fcn.1400bb780
mov rcx, qword [0x140152cf8]
call fcn.14007a3c0
mov r14, rax
mov qword [rsp + 0x50], rax
mov ebx, r12d
mov dword [rbp + 0x2a8], r12d
lea r9, [rbp + 0x2a8]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140072880
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x2a8]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x2a8]
mov r8d, dword [rbp + 0x2a8]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x140072830
lea r13, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
test eax, eax
jns 0x1400728a1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140072b04
mov edi, r12d
cmp dword [rbx], r12d
jbe 0x14007288b
nop dword [rax]
mov eax, edi
imul rcx, rax, 0x128
lea rsi, [rcx + rbx]
movzx edx, word [rsi + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
mov qword [rbp + 0x398], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0x3a0], xmm0
mov qword [rbp + 0x3b0], r12
mov qword [rbp + 0x3b8], r12
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x1400728f1
lea rcx, [rbp + 0x398]
call fcn.140014d70
lea rcx, [rbp + 0x3a0]
cmp qword [rbp + 0x3b8], 0xf
cmova rcx, qword [rbp + 0x3a0]
lea rdx, str.mlx4_bus.sys
call fcn.1400b8fa0
test eax, eax
je 0x140072a05
lea rcx, [rbp + 0x398]
call fcn.140015fd0
mov rax, qword [rbp + 0x3b8]
cmp rax, 0xf
jbe 0x1400729c0
mov r14, qword [rbp + 0x3a0]
lea rsi, [rax + 1]
test r14, r14
jne 0x1400729b5
test rsi, rsi
je 0x1400729b5
mov qword [rsp + 0x28], r13
lea rax, [0x14010398c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3b3
lea rdx, [0x140103990]
mov ecx, 2
call fcn.140092c20
cmp eax, 1
jne 0x140072990
int3
mov qword [rsp + 0x20], r12
mov r9d, 0x3b3
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
lea rdx, [0x140103ac4]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.14008d060
mov rdx, rsi
mov rcx, r14
call fcn.140014e60
mov qword [rbp + 0x3b0], r12
mov qword [rbp + 0x3b8], 0xf
mov byte [rbp + 0x3a0], r12b
mov rcx, qword [rbp + 0x398]
mov qword [rbp + 0x398], r12
mov edx, 0x10
call fcn.140014e60
inc edi
cmp edi, dword [rbx]
jb 0x1400728b0
mov r14, qword [rsp + 0x50]
jmp 0x14007288b
mov rsi, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rbp + 0x398]
call fcn.140015fd0
mov rax, qword [rbp + 0x3b8]
cmp rax, 0xf
jbe 0x140072aa9
mov rdi, qword [rbp + 0x3a0]
lea rbx, [rax + 1]
test rdi, rdi
jne 0x140072a9e
test rbx, rbx
je 0x140072a9e
mov qword [rsp + 0x28], r13
lea rax, [0x14010398c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3b3
lea rdx, [0x140103990]
mov ecx, 2
call fcn.140092c20
cmp eax, 1
jne 0x140072a79
int3
mov qword [rsp + 0x20], r12
mov r9d, 0x3b3
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
lea rdx, [0x140103ac4]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.14008d060
mov rdx, rbx
mov rcx, rdi
call fcn.140014e60
mov qword [rbp + 0x3b0], r12
mov qword [rbp + 0x3b8], 0xf
mov byte [rbp + 0x3a0], r12b
mov rcx, qword [rbp + 0x398]
mov qword [rbp + 0x398], r12
mov edx, 0x10
call fcn.140014e60
test rsi, rsi
je 0x140072aff
lea rdx, str.Driver_already_loaded__press_enter_to_start_when_in_game.
lea rcx, [0x140154530]
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
jmp 0x1400749ce
mov r14, qword [rsp + 0x50]
cmp dword [r14], 0x4550
je 0x140072b2d
lea rdx, str.Invalid_NT_signature_in_target_driver
lea rcx, [0x140154530]
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
jmp 0x1400749ce
mov r13d, dword [r14 + 0x50]
mov dword [rbp - 0x78], r13d
mov eax, dword [0x140112478]
mov dword [rbp - 0x74], eax
movzx eax, word [0x14011247c]
mov word [rbp - 0x70], ax
mov qword [rbp + 0x50], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], r12
mov r8d, 0xc
lea rdx, str.mlx4_bus.sys
lea rcx, [rbp + 0x50]
call fcn.140014d70
mov r9d, r13d
lea r8, [rbp - 0x74]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x2d0]
call fcn.1400700a0
nop
cmp dword [rbp + 0x328], 0
jne 0x140072b9f
lea rdx, str.Failed_to_get_info_for_potential_signed_driver.
jmp 0x14007496e
mov qword [rbp], r12
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp]
call fcn.140059d10
mov qword [rbp + 0x2c8], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x2c8]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140072bf5
mov bl, 1
jmp 0x140072c80
mov qword [rbp + 0x420], r12
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
lea r8, [rbp + 0x420]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140072c21
mov bl, 1
jmp 0x140072c80
mov dword [rbp + 0x4d8], 1
mov rax, qword [rbp + 0x420]
mov qword [rbp + 0x4dc], rax
mov dword [rbp + 0x4e4], 2
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, 0x10
lea r8, [rbp + 0x4d8]
xor edx, edx
mov rcx, qword [rbp + 0x2c8]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140072c71
mov bl, 1
jmp 0x140072c80
mov rcx, qword [rbp + 0x2c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
lea rcx, [rbp]
call fcn.140015fd0
mov rax, qword [rbp + 0x20]
cmp rax, 7
jbe 0x140072d0e
mov rsi, qword [rbp + 8]
lea rdi, [rax + 1]
test rsi, rsi
jne 0x140072d02
test rdi, rdi
je 0x140072d02
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x14010398c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3b3
lea rdx, [0x140103990]
mov ecx, 2
call fcn.140092c20
cmp eax, 1
jne 0x140072cdd
int3
mov qword [rsp + 0x20], r12
mov r9d, 0x3b3
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
lea rdx, [0x140103ac4]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.14008d060
lea rdx, [rdi + rdi]
mov rcx, rsi
call fcn.140014e60
movdqa xmm0, xmmword [0x140113a10]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r12w
mov rcx, qword [rbp]
mov qword [rbp], r12
mov edx, 0x10
call fcn.140014e60
lea r14, [0x140112344]
test bl, bl
je 0x140072d45
mov r15d, r12d
jmp 0x140073469
xor r8d, r8d
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x78]
call fcn.140059e40
nop
mov qword [rbp - 0x10], r12
lea rax, [0x140151528]
mov qword [rbp - 8], rax
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0xf8]
call fcn.140068ab0
or r15d, 1
mov dword [rsp + 0x4c], r15d
cmp dword [rbp - 0x10], 0
jne 0x140074a15
lea rdx, [rbp + 0x1e8]
lea rcx, [rbp + 0xf8]
call fcn.140076c60
mov rbx, rax
mov r8, qword [rax + 0x18]
mov rcx, qword [rax + 0x20]
mov rax, rcx
sub rax, r8
cmp rax, 4
jb 0x140072e32
lea rax, [r8 + 4]
mov qword [rbx + 0x18], rax
lea rdi, [rbx + 8]
cmp rcx, 0xf
jbe 0x140072dce
mov rdi, qword [rdi]
lea rax, [0x140112348]
cmp rax, rdi
jbe 0x140072df5
lea rax, [rdi + r8]
cmp r14, rax
ja 0x140072df5
cmp rdi, r14
ja 0x140072ded
mov rsi, r12
jmp 0x140072dfa
mov rsi, rdi
sub rsi, r14
jmp 0x140072dfa
mov esi, 4
inc r8
lea rcx, [rdi + 4]
mov rdx, rdi
call fcn.1400ff5e0
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.1400ff5e0
mov r8d, 4
sub r8, rsi
lea rdx, [r14 + 4]
add rdx, rsi
lea rcx, [rdi + rsi]
call fcn.1400ff5e0
jmp 0x140072e5b
mov qword [rsp + 0x28], 4
mov qword [rsp + 0x20], r14
xor r9d, r9d
movzx r8d, byte [rbp + 0x331]
mov edx, 4
mov rcx, rbx
call fcn.14005b620
mov rbx, rax
mov qword [rbp - 0x68], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov ecx, 0x10
call fcn.140081840
mov qword [rax + 8], r12
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x68]
mov qword [rax], rcx
cmp qword [rbx + 0x20], 0xf
jbe 0x140072e9c
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140068310
jmp 0x140072ea4
mov rcx, rbx
call fcn.140015fd0
movups xmm0, xmmword [rbx + 8]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rbx + 0x18]
movups xmmword [rbp - 0x50], xmm1
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], 0
mov r14d, dword [rsp + 0x4c]
or r14d, 2
mov dword [rsp + 0x4c], r14d
mov qword [rbp + 0x338], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0x340], xmm0
mov qword [rbp + 0x350], r12
mov qword [rbp + 0x358], r12
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x338]
call fcn.140014d70
nop
mov rdi, qword [rbp + 0x310]
lea r9, [rbp + 0x300]
cmp qword [rbp + 0x318], 0xf
cmova r9, qword [rbp + 0x300]
mov rsi, qword [rbp + 0x350]
mov rcx, qword [rbp + 0x358]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x140072f79
lea rax, [rsi + rdi]
mov qword [rbp + 0x350], rax
lea rbx, [rbp + 0x340]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x340]
lea rcx, [rbx + rsi]
mov r8, rdi
mov rdx, r9
call fcn.1400ff5e0
lea rax, [rdi + rbx]
mov byte [rax + rsi], 0
jmp 0x140072f95
mov qword [rsp + 0x20], rdi
movzx r8d, byte [rbp + 0x331]
mov rdx, rdi
lea rcx, [rbp + 0x338]
call fcn.140014f90
lea rdx, [rbp + 0x340]
cmp qword [rbp + 0x358], 0xf
cmova rdx, qword [rbp + 0x340]
lea r8, [rbp + 0x2b0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140073065
lea rcx, [rbp + 0x338]
call fcn.140015fd0
mov rax, qword [rbp + 0x358]
cmp rax, 0xf
jbe 0x14007305e
mov rdi, qword [rbp + 0x340]
test rdi, rdi
lea rbx, [rax + 1]
jne 0x140073053
test rbx, rbx
je 0x140073053
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x14010398c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3b3
lea rdx, [0x140103990]
mov ecx, 2
call fcn.140092c20
cmp eax, 1
jne 0x14007302e
int3
mov qword [rsp + 0x20], r12
mov r9d, 0x3b3
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
lea rdx, [0x140103ac4]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.14008d060
mov rdx, rbx
mov rcx, rdi
call fcn.140014e60
mov bl, 1
jmp 0x14007320e
mov byte [rbp + 0x332], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x332]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x2b0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140072fc8
mov byte [rbp + 0x333], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x333]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x2b0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140072fc8
mov byte [rbp + 0x334], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x334]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x2b0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140072fc8
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rcx, qword [rbp - 0x60]
mov eax, dword [rbp - 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x2b0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140072fc8
mov rcx, qword [rbp + 0x2b0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
lea rcx, [rbp + 0x338]
call fcn.140015fd0
mov rcx, qword [rbp + 0x358]
cmp rcx, 0xf
jbe 0x140073209
mov rdi, qword [rbp + 0x340]
lea rbx, [rcx + 1]
test rdi, rdi
jne 0x1400731fe
test rbx, rbx
je 0x1400731fe
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x14010398c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3b3
lea rdx, [0x140103990]
mov ecx, 2
call fcn.140092c20
cmp eax, 1
jne 0x1400731d9
int3
mov qword [rsp + 0x20], r12
mov r9d, 0x3b3
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
lea rdx, [0x140103ac4]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.14008d060
mov rdx, rbx
mov rcx, rdi
call fcn.140014e60
test esi, esi
setne bl
mov rcx, qword [rbp + 0x338]
mov qword [rbp + 0x338], r12
mov byte [rbp + 0x340], 0
mov qword [rbp + 0x358], 0xf
mov qword [rbp + 0x350], r12
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp - 0x68]
call fcn.140015fd0
mov r8, qword [rbp - 0x48]
cmp r8, 0xf
jbe 0x140073260
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x68]
call fcn.140066400
movdqa xmm0, xmmword [0x140113a20]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x68], r12
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp + 0x1e8]
call fcn.140068500
mov rcx, qword [rbp + 0x1e8]
mov qword [rbp + 0x1e8], r12
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp + 0xf8]
call fcn.1400685e0
mov rcx, qword [rbp + 0xf8]
mov qword [rbp + 0xf8], r12
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp + 0x78]
call fcn.1400685e0
mov rcx, qword [rbp + 0x78]
mov qword [rbp + 0x78], r12
mov edx, 0x10
call fcn.140014e60
test bl, bl
je 0x1400732f5
mov r15d, r12d
jmp 0x140073469
mov qword [rbp + 0x428], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0x430], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x440], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x428]
call fcn.140014d70
nop
lea rdx, [rbp + 0x300]
cmp qword [rbp + 0x318], 0xf
cmova rdx, qword [rbp + 0x300]
mov r8, qword [rbp + 0x310]
lea rcx, [rbp + 0x428]
call fcn.140016160
lea rdx, [rbp + 0x430]
cmp qword [rbp + 0x448], 0xf
cmova rdx, qword [rbp + 0x430]
lea rcx, [rbp + 0x588]
call sub.ntdll.dll_RtlInitAnsiString
mov r8b, 1
lea rdx, [rbp + 0x588]
lea rcx, [rbp + 0x598]
call sub.ntdll.dll_RtlAnsiStringToUnicodeString
lea rcx, [rbp + 0x598]
call sub.ntdll.dll_NtLoadDriver
mov esi, eax
lea rcx, [rbp + 0x428]
call fcn.140015fd0
mov rbx, qword [rbp + 0x448]
cmp rbx, 0xf
jbe 0x140073431
mov rdi, qword [rbp + 0x430]
inc rbx
test rdi, rdi
jne 0x140073426
test rbx, rbx
je 0x140073426
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x14010398c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3b3
lea rdx, [0x140103990]
mov ecx, 2
call fcn.140092c20
cmp eax, 1
jne 0x140073401
int3
mov qword [rsp + 0x20], r12
mov r9d, 0x3b3
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
lea rdx, [0x140103ac4]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.14008d060
mov rdx, rbx
mov rcx, rdi
call fcn.140014e60
movdqa xmm0, xmmword [0x140113a20]
movdqu xmmword [rbp + 0x440], xmm0
mov byte [rbp + 0x430], 0
mov rcx, qword [rbp + 0x428]
mov qword [rbp + 0x428], r12
mov edx, 0x10
call fcn.140014e60
mov r15d, r12d
test esi, esi
sete r15b
lea r14, [rbp + 0x300]
cmp qword [rbp + 0x318], 0xf
cmova r14, qword [rbp + 0x300]
mov rbx, r12
mov dword [rbp + 0x2a4], r12d
lea r9, [rbp + 0x2a4]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140073500
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x2a4]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x2a4]
mov r8d, dword [rbp + 0x2a4]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x1400734b0
test eax, eax
js 0x1400735cc
mov edi, r12d
cmp dword [rbx], r12d
jbe 0x1400735cc
nop dword [rax]
nop dword [rax + rax]
mov eax, edi
imul rcx, rax, 0x128
lea rsi, [rbx + rcx]
movzx eax, word [rsi + 0x2e]
add rax, rbx
lea rdx, [rcx + 0x30]
add rdx, rax
mov qword [rbp + 0x478], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0x480], xmm0
mov qword [rbp + 0x490], r12
mov qword [rbp + 0x498], r12
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140073561
lea rcx, [rbp + 0x478]
call fcn.140014d70
lea rcx, [rbp + 0x480]
cmp qword [rbp + 0x498], 0xf
cmova rcx, qword [rbp + 0x480]
mov rdx, r14
call fcn.1400b8fa0
test eax, eax
je 0x140073b1b
lea rcx, [rbp + 0x478]
call fcn.140068500
mov rcx, qword [rbp + 0x478]
mov qword [rbp + 0x478], r12
mov edx, 0x10
call fcn.140014e60
inc edi
cmp edi, dword [rbx]
jb 0x140073520
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, r12
cmp r15d, 1
ja 0x140074967
test rsi, rsi
je 0x140074967
lea rdx, str.Loaded_signed_driver
lea rdi, [0x140154530]
mov rcx, rdi
call fcn.1400149e0
mov rcx, rax
lea rdx, str.at__0x
call fcn.1400149e0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov rdx, rsi
mov rcx, rax
call fcn.14005f1b0
mov rcx, rax
lea rdx, str.__with_result__0x
call fcn.1400149e0
mov rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov ecx, dword [r8 + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [r8 + rax + 0x18], ecx
mov edx, r15d
mov rcx, rax
call fcn.14005edb0
mov rcx, rax
lea rdx, [0x1401124ec]
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
mov r14d, dword [rbp + 0x320]
add r14, rsi
mov qword [rbp - 0x18], r14
lea rdx, str.Target_section__.data__offset__0x
mov rcx, rdi
call fcn.1400149e0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, dword [rbp + 0x320]
mov rcx, rax
call fcn.14005ebb0
mov rcx, rax
lea rdx, str.__size__0x
call fcn.1400149e0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, dword [rbp + 0x324]
mov rcx, rax
call fcn.14005ebb0
mov rcx, rax
lea rdx, str.__map_start__0x
call fcn.1400149e0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov rdx, r14
mov rcx, rax
call fcn.14005f1b0
mov rcx, rax
lea rdx, [0x1401124ec]
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
mov rbx, r12
mov dword [rbp + 0x2a0], r12d
lea r9, [rbp + 0x2a0]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400737c3
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x2a0]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x2a0]
mov r8d, dword [rbp + 0x2a0]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x140073773
test eax, eax
js 0x14007388f
mov esi, r12d
cmp dword [rbx], r12d
jbe 0x14007388f
nop word [rax + rax]
mov eax, esi
imul rcx, rax, 0x128
movzx eax, word [rbx + rcx + 0x2e]
add rax, rbx
lea rdx, [rcx + 0x30]
add rdx, rax
mov qword [rbp + 0x450], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0x458], xmm0
mov qword [rbp + 0x468], r12
mov qword [rbp + 0x470], r12
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140073820
lea rcx, [rbp + 0x450]
call fcn.140014d70
lea rcx, [rbp + 0x458]
cmp qword [rbp + 0x470], 0xf
cmova rcx, qword [rbp + 0x458]
lea rdx, [0x140112158]
call fcn.1400b8fa0
test eax, eax
je 0x140073b59
lea rcx, [rbp + 0x450]
call fcn.140068500
mov rcx, qword [rbp + 0x450]
mov qword [rbp + 0x450], r12
mov edx, 0x10
call fcn.140014e60
inc esi
cmp esi, dword [rbx]
jb 0x1400737e0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.140071360
mov rbx, rax
mov qword [rsp + 0x40], rax
call fcn.140070cb0
mov r12, rax
test rbx, rbx
je 0x14007494b
test rax, rax
je 0x14007494b
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x548], xmm0
movups xmmword [rbp + 0x558], xmm0
lea r9, [rsp + 0x48]
lea r8, str.Unknown
lea rdx, [0x14010a670]
lea rcx, [rbp + 0x548]
call fcn.1400595b0
nop
mov r8d, 0x10
lea rdx, [rbp + 0x3c8]
lea rcx, [0x14015422c]
call fcn.14005f6f0
nop
lea rcx, [rbp + 0x120]
call fcn.140076ec0
nop
lea rdx, [rbp + 0x198]
mov rcx, rax
call fcn.140076c60
nop
lea rdx, [rbp + 0x3d0]
cmp qword [rbp + 0x3e8], 0xf
cmova rdx, qword [rbp + 0x3d0]
mov r8, qword [rbp + 0x3e0]
mov rcx, rax
call fcn.140016160
mov rdx, rax
lea rcx, [rbp + 0x520]
call fcn.14005d400
nop
lea rcx, [rbp + 0x198]
call fcn.140068500
mov rcx, qword [rbp + 0x198]
xor esi, esi
mov qword [rbp + 0x198], rsi
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp + 0x120]
call fcn.1400685e0
mov rcx, qword [rbp + 0x120]
mov qword [rbp + 0x120], rsi
mov edx, 0x10
call fcn.140014e60
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x5b0]
call fcn.1400ffc80
lea rdx, [rbp + 0x528]
cmp qword [rbp + 0x540], 0xf
cmova rdx, qword [rbp + 0x528]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rcx, [rbp + 0x5b0]
call fcn.14005d1e0
nop
mov r8, qword [rbp + 0x558]
mov rdx, qword [rbp + 0x550]
sub r8, rdx
lea rcx, [rbp + 0x5b0]
call fcn.140077d00
lea rcx, [rbp + 0x5b0]
call fcn.1400693e0
mov qword [rbp - 0x40], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp - 0x40]
call fcn.140059d10
mov qword [rbp + 0x2c0], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x2c0]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140073af9
mov qword [rbp + 0x360], rsi
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rdx, qword [rbp - 0x38]
lea r8, [rbp + 0x360]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140073af9
mov dword [rbp + 0x4c8], 1
mov rax, qword [rbp + 0x360]
mov qword [rbp + 0x4cc], rax
mov dword [rbp + 0x4d4], 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rbp + 0x4c8]
xor edx, edx
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140073b93
lea rcx, [rbp - 0x40]
call fcn.1400685e0
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x40], rsi
mov edx, 0x10
call fcn.140014e60
xor bl, bl
jmp 0x140073f68
mov rsi, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rbp + 0x478]
call fcn.140068500
mov rcx, qword [rbp + 0x478]
mov qword [rbp + 0x478], r12
mov edx, 0x10
call fcn.140014e60
jmp 0x1400735e0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rbp + 0x450]
call fcn.140068500
mov rcx, qword [rbp + 0x450]
mov qword [rbp + 0x450], r12
mov edx, 0x10
call fcn.140014e60
jmp 0x1400738a0
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x40]
call fcn.1400685e0
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x40], rsi
mov edx, 0x10
call fcn.140014e60
xor r8d, r8d
lea rdx, [rbp + 0x520]
lea rcx, [rbp + 0xd0]
call fcn.140059e40
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x170]
call fcn.140068a40
nop
lea rdx, [rbp + 0x148]
mov rcx, rax
call fcn.140076c60
nop
mov r8, rax
lea rdx, [0x140112344]
lea rcx, [rbp + 0x1c0]
call fcn.140059890
mov rbx, rax
mov qword [rbp + 0x370], rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x378], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x388], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x370]
call fcn.140014d70
nop
lea rdx, [rbp + 0x3d0]
cmp qword [rbp + 0x3e8], 0xf
cmova rdx, qword [rbp + 0x3d0]
mov r8, qword [rbp + 0x3e0]
lea rcx, [rbp + 0x370]
call fcn.140016160
lea rdx, [rbp + 0x378]
cmp qword [rbp + 0x390], 0xf
cmova rdx, qword [rbp + 0x378]
lea r8, [rbp + 0x2b8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140073cc9
lea rcx, [rbp + 0x370]
call fcn.140068500
mov rcx, qword [rbp + 0x370]
mov qword [rbp + 0x370], rsi
mov edx, 0x10
call fcn.140014e60
mov bl, 1
jmp 0x140073dfc
mov byte [rbp + 0x336], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x336]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x2b8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140073c9e
mov byte [rbp + 0x335], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x335]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x2b8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140073c9e
mov byte [rbp + 0x331], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x331]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x2b8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140073c9e
mov ecx, dword [rbx + 0x18]
lea rax, [rbx + 8]
cmp qword [rbx + 0x20], 0xf
jbe 0x140073d96
mov rax, qword [rax]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x2b8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140073c9e
mov rcx, qword [rbp + 0x2b8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
lea rcx, [rbp + 0x370]
call fcn.140068500
mov rcx, qword [rbp + 0x370]
mov qword [rbp + 0x370], rsi
mov edx, 0x10
call fcn.140014e60
test ebx, ebx
setne bl
lea rcx, [rbp + 0x1c0]
call fcn.140068500
mov rcx, qword [rbp + 0x1c0]
mov qword [rbp + 0x1c0], rsi
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp + 0x148]
call fcn.140068500
mov rcx, qword [rbp + 0x148]
mov qword [rbp + 0x148], rsi
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp + 0x170]
call fcn.1400685e0
mov rcx, qword [rbp + 0x170]
mov qword [rbp + 0x170], rsi
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp + 0xd0]
call fcn.1400685e0
mov rcx, qword [rbp + 0xd0]
mov qword [rbp + 0xd0], rsi
mov edx, 0x10
call fcn.140014e60
test bl, bl
je 0x140073e9a
xor bl, bl
jmp 0x140073f68
mov qword [rbp + 0x4a0], rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x4a8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x4b8], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x4a0]
call fcn.140014d70
nop
lea rdx, [rbp + 0x3d0]
cmp qword [rbp + 0x3e8], 0xf
cmova rdx, qword [rbp + 0x3d0]
mov r8, qword [rbp + 0x3e0]
lea rcx, [rbp + 0x4a0]
call fcn.140016160
lea rdx, [rbp + 0x4a8]
cmp qword [rbp + 0x4c0], 0xf
cmova rdx, qword [rbp + 0x4a8]
lea rcx, [rbp + 0x568]
call sub.ntdll.dll_RtlInitAnsiString
mov r8b, 1
lea rdx, [rbp + 0x568]
lea rcx, [rbp + 0x578]
call sub.ntdll.dll_RtlAnsiStringToUnicodeString
lea rcx, [rbp + 0x578]
call sub.ntdll.dll_NtLoadDriver
test eax, eax
sete bl
lea rcx, [rbp + 0x4a0]
call fcn.140068500
mov rcx, qword [rbp + 0x4a0]
mov qword [rbp + 0x4a0], rsi
mov edx, 0x10
call fcn.140014e60
lea rdx, [rbp + 0x3c8]
lea rcx, [rbp + 0x4f0]
call fcn.14005d490
mov byte [rbp + 0x518], bl
lea rcx, [rbp + 0x5b0]
call fcn.14005ff50
nop
lea rcx, [rbp + 0x520]
call fcn.140068500
mov rcx, qword [rbp + 0x520]
mov qword [rbp + 0x520], rsi
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp + 0x3c8]
call fcn.140068500
mov rcx, qword [rbp + 0x3c8]
mov qword [rbp + 0x3c8], rsi
mov edx, 0x10
call fcn.140014e60
nop
lea rcx, [rbp + 0x548]
call fcn.14005e810
nop
cmp byte [rbp + 0x518], 0
jne 0x140074060
mov qword [rbp + 0x28], rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov ecx, 0x10
call fcn.140014c90
mov qword [rax + 8], rsi
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
mov qword [rax], rcx
movdqa xmm0, xmmword [0x140113a20]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov qword [rbp + 0x3f0], rsi
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x3f8]
call fcn.14005d490
nop
lea rcx, [rbp + 0x28]
call fcn.140068500
mov rcx, qword [rbp + 0x28]
mov qword [rbp + 0x28], rsi
mov edx, 0x10
call fcn.140014e60
jmp 0x1400740af
mov qword [rsp + 0x30], rsi
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 [0x140154230], rax
mov qword [rbp + 0x3f0], rax
lea rdx, [rbp + 0x4f0]
lea rcx, [rbp + 0x3f8]
call fcn.14005d490
nop
lea rcx, [rbp + 0x4f0]
call fcn.140068500
mov rcx, qword [rbp + 0x4f0]
mov qword [rbp + 0x4f0], rsi
mov edx, 0x10
call fcn.140014e60
nop
cmp qword [rbp + 0x3f0], 0
je 0x14007490b
cmp qword [rbp + 0x410], 0
je 0x14007490b
lea rdx, str.Vulnerable_driver_loaded__
mov rcx, rdi
call fcn.1400149e0
lea rdx, [rbp + 0x400]
cmp qword [rbp + 0x418], 0xf
cmova rdx, qword [rbp + 0x400]
mov rcx, rax
call fcn.1400149e0
mov rcx, rax
lea rdx, [0x1401124ec]
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
lea rcx, [rbp + 0x330]
call fcn.14007af30
mov rbx, r14
mov rsi, r13
mov qword [rbp + 0x360], r13
lea r15, [r14 + r13]
mov r13d, 4
cmp r14, r15
jae 0x140074477
mov ecx, dword [0x140154d20]
mov rax, qword gs:[0x58]
mov r14, qword [rax + rcx*8]
mov eax, dword [r14 + r13]
cmp dword [0x1401542c8], eax
jle 0x1400741c5
lea rcx, [0x1401542c8]
call fcn.140082380
cmp dword [0x1401542c8], 0xffffffff
jne 0x1400741c5
lea rcx, [0x14010a270]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401542c0], rax
lea rcx, [0x1401542c8]
call fcn.140082320
lea rcx, [0x140151540]
call fcn.14007ec40
test eax, eax
jne 0x140074a3f
cmp dword [0x14015158c], 0x7fffffff
je 0x140074a2a
mov dword [rsp + 0x68], 0x25ff
mov word [rsp + 0x6c], ax
mov qword [rsp + 0x6e], r12
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xc0]
call fcn.140075540
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x68]
call fcn.140077ea0
mov rax, qword [0x1401542c0]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xc0]
call fcn.140077ea0
lea rcx, [0x140151540]
call fcn.14007ec60
mov r9d, 8
mov r8, rsi
lea rdx, [rbp + 0x368]
lea rcx, [rbp + 0x330]
call fcn.14007bb30
test al, al
jne 0x14007428b
xor eax, eax
mov qword [rbp + 0x368], rax
lea rdx, str.Manipulating_page_table__
mov rcx, rdi
call fcn.1400149e0
lea rdx, [rbp + 0x400]
cmp qword [rbp + 0x418], 0xf
cmova rdx, qword [rbp + 0x400]
mov rcx, rax
call fcn.1400149e0
mov rcx, rax
lea rdx, str._._Large_page__
call fcn.1400149e0
mov rdx, qword [rbp + 0x368]
shr rdx, 7
and edx, 1
mov rcx, rax
call fcn.14005f1b0
mov rcx, rax
lea rdx, [0x1401124ec]
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
mov rax, qword [rbp + 0x368]
test al, al
jns 0x140074324
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0x368], rax
lea r8, [rbp + 0x368]
jmp 0x14007444b
mov eax, dword [r14 + r13]
cmp dword [0x1401542c8], eax
jle 0x140074375
lea rcx, [0x1401542c8]
call fcn.140082380
cmp dword [0x1401542c8], 0xffffffff
jne 0x140074375
lea rcx, [0x14010a270]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401542c0], rax
lea rcx, [0x1401542c8]
call fcn.140082320
lea rcx, [0x140151540]
call fcn.140074a60
mov dword [rsp + 0x58], 0x25ff
mov word [rsp + 0x5c], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x5e], rax
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xb0]
call fcn.140075540
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x58]
call fcn.140077ea0
mov rax, qword [0x1401542c0]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xb0]
call fcn.140077ea0
lea rcx, [0x140151540]
call fcn.14007ec60
mov r9d, 8
mov r8, rsi
lea rdx, [rbp + 0x3c0]
lea rcx, [rbp + 0x330]
call fcn.14007bb30
test al, al
jne 0x140074425
xor eax, eax
jmp 0x14007442c
mov rax, qword [rbp + 0x3c0]
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0x3c0], rax
lea r8, [rbp + 0x3c0]
mov r9d, 8
mov rdx, rsi
lea rcx, [rbp + 0x330]
call fcn.14007c240
add rbx, 0x1000
cmp rbx, r15
jb 0x140074174
mov rsi, qword [rbp + 0x360]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
mov rbx, qword [rsp + 0x50]
mov r8d, dword [rbx + 0x54]
mov rdx, qword [0x140152cf8]
mov rcx, rax
call fcn.1400ff5e0
lea rdx, str.Local_mapped_image_base__
mov rcx, rdi
call fcn.1400149e0
mov rdx, r15
mov rcx, rax
call fcn.14005efb0
mov rcx, rax
lea rdx, [0x1401124ec]
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
movzx eax, word [rbx + 0x14]
lea r12, [rbx + 0x18]
add r12, rax
xor eax, eax
mov r14d, eax
cmp ax, word [rbx + 6]
jae 0x1400745e3
lea rsi, [r12 + 0xc]
mov r13, qword [rbp - 0x18]
nop dword [rax]
mov ebx, dword [rsi]
add rbx, r15
mov r8d, dword [rsi + 4]
mov edx, dword [rsi + 8]
add rdx, qword [0x140152cf8]
mov rcx, rbx
call fcn.1400ff5e0
lea rdx, str.Mapping_section__
mov rcx, rdi
call fcn.1400149e0
movsxd rcx, r14d
lea r8, [rcx + rcx*4]
lea rdx, [r12 + r8*8]
mov rcx, rax
call fcn.1400149e0
lea rdx, [0x14011263c]
mov rcx, rax
call fcn.1400149e0
mov rdx, rbx
mov rcx, rax
call fcn.14005efb0
mov rcx, rax
lea rdx, str._____
call fcn.1400149e0
mov edx, dword [rsi]
add rdx, r13
mov rcx, rax
call fcn.14005f1b0
mov rcx, rax
lea rdx, str.___0x
call fcn.1400149e0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, dword [rsi + 4]
mov rcx, rax
call fcn.14005ebb0
mov rcx, rax
lea rdx, [0x1401124ec]
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
inc r14d
lea rsi, [rsi + 0x28]
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
cmp r14d, eax
jl 0x140074500
mov r13d, 4
mov rsi, qword [rbp + 0x360]
lea rdx, str.Mapping_driver___signed_driver_in_section__.data__with_size__0x
mov rcx, rdi
call fcn.1400149e0
mov rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov ecx, dword [r8 + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [r8 + rax + 0x18], ecx
mov edx, dword [rbp - 0x78]
mov rcx, rax
call fcn.14005ebb0
mov rcx, rax
lea rdx, [0x1401124ec]
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
mov r14, qword [rbp - 0x18]
mov rbx, r14
mov r12, qword [rsp + 0x50]
sub rbx, qword [r12 + 0x30]
mov rdx, r15
lea rcx, [rbp + 0x230]
call fcn.14007a3f0
mov rdx, rbx
mov rcx, rax
call fcn.14007a650
mov rdx, r15
lea rcx, [rbp + 0x210]
call fcn.140079610
mov rcx, rax
call fcn.14007a8f0
test al, al
jne 0x1400746e1
lea rdx, str.Failed_to_resolve_imports.
mov rcx, rdi
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
lea rdx, [rbp + 0x3f8]
lea rcx, [rbp + 0x250]
call fcn.14005d490
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400746c1
mov rcx, rbx
call fcn.140077700
nop
mov rcx, rbx
call fcn.140068500
mov rcx, qword [rbx]
xor r12d, r12d
mov qword [rbx], r12
mov edx, 0x10
call fcn.140014e60
jmp 0x140074925
mov r8d, dword [r12 + 0x54]
xor edx, edx
mov rcx, r15
call fcn.1400ffc80
mov r9, rsi
mov r8, r15
mov rdx, r14
lea rcx, [rbp + 0x330]
call fcn.14007c240
mov ebx, dword [r12 + 0x28]
add rbx, r14
lea rdx, str.Mapped_entry_point__
mov rcx, rdi
call fcn.1400149e0
mov rdx, rbx
mov rcx, rax
call fcn.14005f1b0
mov rcx, rax
lea rdx, [0x1401124ec]
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
mov esi, dword [r12 + 0x50]
mov r8d, dword [0x140154d20]
mov rax, qword gs:[0x58]
mov r8, qword [rax + r8*8]
mov eax, dword [r8 + r13]
cmp dword [0x1401542d8], eax
jle 0x1400747a8
lea rcx, [0x1401542d8]
call fcn.140082380
cmp dword [0x1401542d8], 0xffffffff
jne 0x1400747a8
lea rcx, [0x14010a270]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401542d0], rax
lea rcx, [0x1401542d8]
call fcn.140082320
lea rcx, [0x140151590]
call fcn.14007ec40
test eax, eax
jne 0x140074a4a
cmp dword [0x1401515dc], 0x7fffffff
je 0x140074a00
mov dword [rsp + 0x78], 0x25ff
mov word [rsp + 0x7c], ax
mov qword [rsp + 0x7e], rbx
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xa0]
call fcn.140075540
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rsp + 0x78]
call fcn.140077ea0
mov rax, qword [0x1401542d0]
mov rdx, rsi
mov rcx, r14
call rax
mov ebx, eax
mov rcx, qword [0x140154238]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xa0]
call fcn.140077ea0
lea rcx, [0x140151590]
call fcn.14007ec60
lea rdx, str.Driver_entry_returned__0x
mov rcx, rdi
call fcn.1400149e0
mov rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov ecx, dword [r8 + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [r8 + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.14005edb0
mov rcx, rax
lea rdx, [0x1401124ec]
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
lea rdx, [rbp + 0x3f8]
lea rcx, [rbp + 0x278]
call fcn.14005d490
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400748cf
mov rcx, rbx
call fcn.140077700
test al, al
je 0x1400748cf
mov sil, 1
jmp 0x1400748d2
xor sil, sil
mov rcx, rbx
call fcn.140068500
mov rcx, qword [rbx]
xor r12d, r12d
mov qword [rbx], r12
mov edx, 0x10
call fcn.140014e60
test sil, sil
jne 0x140074925
lea rdx, str.Unable_to_unload_vulnerable_driver.
mov rcx, rdi
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
jmp 0x140074925
lea rdx, str.Unable_to_load_vulnerable_driver.
mov rcx, rdi
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
xor r12d, r12d
lea rcx, [rbp + 0x3f8]
call fcn.140068500
mov rcx, qword [rbp + 0x3f8]
mov qword [rbp + 0x3f8], r12
mov edx, 0x10
call fcn.140014e60
jmp 0x140074986
lea rdx, str.Failed_to_sig_scan_PTE_functions.
mov rcx, rdi
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
xor r12d, r12d
jmp 0x140074986
lea rdx, str.Failed_to_load_signed_driver__please_restart_your_computer
lea rdi, [0x140154530]
mov rcx, rdi
call fcn.1400149e0
mov rcx, rax
call fcn.140015130
nop
lea rcx, [rbp + 0x2f8]
call fcn.140068500
mov rcx, qword [rbp + 0x2f8]
mov qword [rbp + 0x2f8], r12
mov edx, 0x10
call fcn.140014e60
lea rcx, [rbp + 0x2d0]
call fcn.140068500
mov rcx, qword [rbp + 0x2d0]
mov qword [rbp + 0x2d0], r12
mov edx, 0x10
call fcn.140014e60
mov al, 1
mov rcx, qword [rbp + 0x6c0]
xor rcx, rsp
call fcn.140081ae0
lea r11, [rsp + 0x7d0]
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 [0x1401515dc], 0x7ffffffe
mov ecx, 6
call fcn.14007f050
nop
lea r8, [rbp + 0x78]
lea rdx, [rbp - 0x10]
lea rcx, str.absolute
call fcn.140068390
nop
mov dword [0x14015158c], 0x7ffffffe
mov ecx, 6
call fcn.14007f050
int3
mov ecx, 5
call fcn.14007f050
int3
mov ecx, 5
call fcn.14007f050
int3