Function at 0x140002f90
Capabilities:
Install driver
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
mov qword [rbp + 0x80], r15
mov ecx, 0x9e3f
call fcn.14000b718
test rax, rax
je 0x140003a58
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rbp + 0x70], rcx
lea rbx, [rcx + 0x9e18]
mov qword [rbp + 0x80], rbx
mov r8d, 0x9e18
lea rdx, [0x140013050]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x78], rbx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14001d96c], eax
jle 0x140003062
lea rcx, [0x14001d96c]
call fcn.14000b608
cmp dword [0x14001d96c], 0xffffffff
jne 0x140003062
lea rcx, [0x14001d96c]
call fcn.14000b5a8
lea rdx, [rbp + 0xd0]
call fcn.140002810
nop
lea rcx, [rbp - 8]
call fcn.140002510
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140003087
mov rax, qword [rax]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rcx
call fcn.14000acd0
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x60], xmm0
lea r8, [rbp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x48]
call fcn.1400069b0
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x48]
call fcn.1400051e0
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x98], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140003134
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000312f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000312f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x140003187
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003182
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003182
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
movdqa xmm0, xmmword [0x14000e100]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], r15w
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0x140]
call fcn.1400050c0
nop
mov r8, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
sub r8, rdx
lea rcx, [rbp + 0x140]
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 + 0x148]
call fcn.140005630
test rax, rax
jne 0x14000321c
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x140]
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 + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x58]
call fcn.140005820
mov qword [rbp + 0x30], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x30]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, 1
test eax, eax
jne 0x140003271
movzx ebx, sil
jmp 0x1400032ed
mov qword [rbp + 0xc8], r15
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea r8, [rbp + 0xc8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1400032a2
movzx ebx, sil
jmp 0x1400032ed
mov dword [rbp + 0x60], esi
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x64], rax
mov dword [rbp + 0x6c], 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9d, 0x10
lea r8, [rbp + 0x60]
xor edx, edx
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1400032e1
movzx ebx, sil
jmp 0x1400032ed
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140003332
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000332d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000332d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
test bl, bl
je 0x140003352
mov ebx, r15d
jmp 0x140003876
mov rdi, qword [rbp + 0x98]
lea rbx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae rbx, qword [rbp + 0x88]
call fcn.14000acd0
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rdi
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x68]
call fcn.140001980
nop
mov qword [rsp + 0x78], r15
movdqa xmm0, xmmword [0x14000e100]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r15w
mov dword [rsp + 0x30], 0x1fc
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.140002380
test eax, eax
jne 0x140003a5f
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rax, qword [rsp + 0x78]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x28], rax
call fcn.14000acd0
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.1400069b0
mov dword [rsp + 0x30], 0xffc
mov r9d, 4
lea r8, str.___
lea rcx, [rbp - 0x28]
call fcn.140006730
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x30], 0x1ffc
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x40]
call fcn.1400026b0
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.1400051e0
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rdx, qword [rbp + 0x40]
lea r8, [rbp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1400034f1
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1400034ea
inc rdx
mov rcx, qword [rbp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400034e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003610
call fcn.14000b9ac
xor bl, bl
jmp 0x14000361c
mov byte [rbp + 0x38], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034af
mov byte [rbp + 0x39], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x39]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034af
mov byte [rbp + 0x3a], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x3a]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034af
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, esi
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034af
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x14000361c
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003617
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003617
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov byte [rbp + 0x40], 0
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], r15
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000366c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003667
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003667
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400036bd
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140003711
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000370c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000370c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
movdqa xmm0, xmmword [0x14000e100]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r15w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140003764
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000375f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003851
call fcn.14000b9ac
movdqa xmm0, xmmword [0x14000e100]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r15w
test bl, bl
jne 0x140003782
mov ebx, r15d
jmp 0x140003876
mov qword [rbp + 0xa8], r15
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], 0
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0xa8]
call fcn.1400026b0
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xa8]
call fcn.1400051e0
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rdx, qword [rbp + 0xa8]
lea rcx, [rbp + 0x118]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0x128]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x128]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov ebx, eax
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x14000385d
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003858
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003858
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], 0
mov dword [rbp + 0xf0], ebx
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xf8]
call fcn.140005310
nop
lea rcx, [rbp + 0x140]
call fcn.1400029a0
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x1400038e1
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], 0xf
mov byte [rbp + 0x88], 0
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x14000393e
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003939
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003939
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x1400039a6
mov rdx, qword [rbp + 0x80]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003992
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003992
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r15
cmp dword [rbp + 0xf0], 0
jl 0x1400039e3
lea rax, [rbp + 0xf8]
cmp r14, rax
je 0x1400039e6
lea rdx, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0x10
cmovae rdx, qword [rbp + 0xf8]
mov r8, qword [rbp + 0x108]
mov rcx, r14
call fcn.1400026b0
jmp 0x1400039e6
mov esi, r15d
mov rdx, qword [rbp + 0x110]
cmp rdx, 0x10
jb 0x140003a2a
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov eax, esi
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14000b460
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp - 0x68]
mov edx, eax
lea rcx, str.absolute
call fcn.1400022b0
int3