Function at 0x140002d10
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 + 0x18], rax
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x50], r15d
mov qword [rsp + 0x38], r15
lea ecx, [r15 + 0x30]
call fcn.140009e58
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x15
mov qword [rsp + 0x48], 0x17
movups xmm0, xmmword [str.SeLoadDriverPrivilege]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14000ca10]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x14000ca20]
movsd qword [rax + 0x20], xmm0
movzx ecx, word [0x14000ca28]
mov word [rax + 0x28], cx
mov word [rax + 0x2a], r15w
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 0x140002dc3
mov bl, 1
jmp 0x140002e36
mov qword [rbp - 0x30], r15
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea r8, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140002dec
mov bl, 1
jmp 0x140002e36
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x30]
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 0x140002e2a
mov bl, 1
jmp 0x140002e36
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140002e7b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a0e4
test bl, bl
jne 0x140003217
mov rbx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140002e91
mov rdi, qword [rdi]
call fcn.140009494
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rbx
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140001d10
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x14000d120]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], r15w
mov dword [rbp - 0x50], 7
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140002860
test eax, eax
jne 0x140003241
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x38], rax
call fcn.140009494
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140006000
mov dword [rbp - 0x50], 0x3f
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r8
mov esi, 4
cmp rax, rsi
jb 0x140002fcc
lea rax, [r8 + 4]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x50]
lea rax, [0x14000c968]
lea r12, str.___
cmp rax, rbx
jbe 0x140002f8e
lea rax, [rbx + r8]
cmp r12, rax
ja 0x140002f8e
cmp rbx, r12
ja 0x140002f86
mov rdi, r15
jmp 0x140002f91
mov rdi, rbx
sub rdi, r12
jmp 0x140002f91
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 0x140002fde
mov qword [rsp + 0x28], rsi
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140006de0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rbp - 0x50], 0x7f
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140002b40
test al, al
sete bl
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140003065
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003060
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a0e4
movdqa xmm0, xmmword [0x14000d130]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400030b7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a0e4
movdqa xmm0, xmmword [0x14000d130]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000310f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000310a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000310a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a0e4
movdqa xmm0, xmmword [0x14000d120]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140003166
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003161
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003161
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a0e4
test bl, bl
jne 0x140003217
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp - 0x28]
call fcn.1400065b0
nop
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.1400057b0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rbp - 8]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp - 8]
lea rcx, [rbp + 8]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 8]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov ebx, eax
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140003213
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000320e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000320e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a0e4
mov eax, ebx
jmp 0x140003219
xor eax, eax
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140009ba0
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.140002790
int3