Function at 0x140002cc0
Capabilities:
Install driver

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140012050]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x50], r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
lea r8d, [r15 + 0x15]
lea rcx, [rsp + 0x30]
call fcn.140005a70
mov qword [rbp - 0x50], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x50]
lea edx, [r15 + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140002d3d
mov bl, 1
jmp 0x140002db0
mov qword [rbp - 0x48], r15
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea r8, [rbp - 0x48]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140002d66
mov bl, 1
jmp 0x140002db0
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x3c], rax
mov dword [rbp - 0x34], 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9d, 0x10
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140002da4
mov bl, 1
jmp 0x140002db0
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140002df5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002df0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002df0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009eb4
test bl, bl
jne 0x140003164
mov rbx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140002e0b
mov rdi, qword [rdi]
call fcn.140009398
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rbx
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140001d60
nop
mov qword [rsp + 0x70], r15
movdqa xmm0, xmmword [0x14000d230]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r15w
mov dword [rbp - 0x50], 7
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140002800
test eax, eax
jne 0x14000318e
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140005d80
mov dword [rbp - 0x50], 0xf
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r8
mov esi, 4
cmp rax, rsi
jb 0x140002f15
lea rax, [r8 + 4]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x50]
lea rax, [0x14000c920]
lea r12, str.___
cmp rax, rbx
jbe 0x140002ed7
lea rax, [rbx + r8]
cmp r12, rax
ja 0x140002ed7
cmp rbx, r12
ja 0x140002ecf
mov rdi, r15
jmp 0x140002eda
mov rdi, rbx
sub rdi, r12
jmp 0x140002eda
mov rdi, rsi
lea rcx, [rbx + 4]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub rsi, rdi
lea rdx, [r12 + 4]
add rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
jmp 0x140002f27
mov qword [rsp + 0x28], rsi
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140006a50
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rbp - 0x50], 0x1f
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140002ae0
test al, al
sete bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140002faf
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002faa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002faa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009eb4
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140003002
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ffd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ffd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009eb4
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140003059
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003054
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003054
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009eb4
movdqa xmm0, xmmword [0x14000d230]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400030af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009eb4
test bl, bl
jne 0x140003164
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], bl
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp - 0x30]
call fcn.140005c00
nop
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.140005300
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp - 0x10]
lea rcx, [rbp]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov ebx, eax
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140003160
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000315b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000315b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009eb4
mov eax, ebx
jmp 0x140003166
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140009970
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, str.absolute
call fcn.140002730
int3