Function at 0x140002d30
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 - 0x30]
sub rsp, 0x130
mov rax, qword [0x140012080]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x50], r15d
mov qword [rsp + 0x38], r15
mov ecx, 0x30
call fcn.140009c80
mov rcx, rax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x14000d1d0]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [str.SeLoadDriverPrivilege]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14000c968]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x14000c978]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x14000c980]
mov word [rcx + 0x28], ax
mov word [rcx + 0x2a], r15w
mov qword [rbp - 0x50], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x50]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140002de4
mov bl, 1
jmp 0x140002e57
mov qword [rbp - 0x30], r15
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
lea r8, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140002e0d
mov bl, 1
jmp 0x140002e57
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 0x140002e4b
mov bl, 1
jmp 0x140002e57
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140002e9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009efc
test bl, bl
jne 0x14000323e
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140002eb2
mov rdi, qword [rdi]
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rax
call fcn.140009448
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140001d80
mov dword [rbp - 0x50], 3
mov qword [rbp - 0x30], r15
lea rax, [0x1400120f8]
mov qword [rbp - 0x28], rax
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400028c0
mov dword [rbp - 0x50], 7
cmp dword [rbp - 0x30], 0
jne 0x140003268
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x38], rax
call fcn.140009448
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140005f10
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 0x140002ff5
lea rax, [r8 + 4]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x50]
lea rax, [0x14000c8c0]
lea r12, str.___
cmp rax, rbx
jbe 0x140002fb7
lea rax, [rbx + r8]
cmp r12, rax
ja 0x140002fb7
cmp rbx, r12
ja 0x140002faf
mov rdi, r15
jmp 0x140002fba
mov rdi, rbx
sub rdi, r12
jmp 0x140002fba
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 0x140003007
mov qword [rsp + 0x28], rsi
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140006dc0
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.140002b60
movzx ebx, al
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14000308c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003087
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003087
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009efc
movdqa xmm0, xmmword [0x14000d1c0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400030e6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009efc
movdqa xmm0, xmmword [0x14000d1c0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140003136
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003131
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003131
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009efc
movdqa xmm0, xmmword [0x14000d1b0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14000318d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003188
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003188
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009efc
test bl, bl
je 0x14000323e
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp - 0x20]
call fcn.1400065a0
nop
mov rdx, r14
lea rcx, [rbp - 0x20]
call fcn.140005790
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
lea rcx, [rbp]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov ebx, eax
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14000323a
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003235
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003235
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009efc
mov eax, ebx
jmp 0x140003240
xor eax, eax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140009b40
lea r11, [rsp + 0x130]
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]
lea rdx, [rbp - 0x30]
lea rcx, str.absolute
call fcn.140002860
int3