Function at 0x140002fb0
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r13, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
lea rax, [rbp + 0x298]
movabs r14, 0x7a5db90d33787107
mov qword [rbp + 0xf8], r14
mov qword [rbp + 0x100], rax
mov r12, qword [rax]
xor r12, r14
mov qword [rbp + 0xf0], r12
mov qword [rax], rdi
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
mov qword [rbp + 0x80], rdi
mov ecx, 0x9e3f
call fcn.14000b9f0
test rax, rax
je 0x140003a8c
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, [0x1400120c0]
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 [0x14001e9ac], eax
jle 0x1400030bd
lea rcx, [0x14001e9ac]
call fcn.14000b978
cmp dword [0x14001e9ac], 0xffffffff
jne 0x1400030bd
lea rcx, [0x14001e9ac]
call fcn.14000b90c
lea rdx, [rbp + 0xd0]
call fcn.140002840
nop
lea rcx, [rbp - 8]
call fcn.1400025a0
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400030e1
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rax
call fcn.14000af74
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x60], xmm0
lea r8, [rbp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x48]
call fcn.1400069c0
mov esi, 0x1c
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x48]
call fcn.140005420
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x98], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 0x20
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14000319c
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003197
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003197
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
movdqa xmm0, xmmword [0x14000de90]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x1400031f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400031eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
movdqa xmm0, xmmword [0x14000de80]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], di
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x150]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0xf
cmova rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0x150]
call fcn.140005130
nop
mov r8, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
sub r8, rdx
lea rcx, [rbp + 0x150]
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 + 0x158]
call fcn.1400058d0
test rax, rax
jne 0x140003284
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
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]
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x78]
call fcn.140005240
mov qword [rbp + 0x18], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x18]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov r15d, 1
test eax, eax
jne 0x1400032c1
movzx ebx, r15b
jmp 0x14000333d
mov qword [rbp + 0xa8], rdi
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rdx, qword [rsp + 0x78]
lea r8, [rbp + 0xa8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1400032f1
movzx ebx, r15b
jmp 0x14000333d
mov dword [rbp + 0x60], r15d
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x64], rax
mov dword [rbp + 0x6c], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x10
lea r8, [rbp + 0x60]
xor edx, edx
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140003331
movzx ebx, r15b
jmp 0x14000333d
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140003381
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000337c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000337c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
movdqa xmm0, xmmword [0x14000de80]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], di
test bl, bl
je 0x14000339e
mov ebx, edi
jmp 0x1400038bc
mov rdi, qword [rbp + 0x98]
lea rbx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0xf
cmova rbx, qword [rbp + 0x88]
call fcn.14000af74
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rdi
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x68]
call fcn.1400019a0
or esi, 0xc0
mov dword [rsp + 0x30], esi
xor edi, edi
mov qword [rbp + 0x30], rdi
lea rax, [0x14001def0]
mov qword [rbp + 0x38], rax
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call fcn.140002450
bts esi, 8
mov dword [rsp + 0x30], esi
cmp dword [rbp + 0x30], edi
jne 0x140003a93
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rax, qword [rsp + 0x58]
mov qword [rbp + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x38], rax
call fcn.14000af74
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.1400069c0
or esi, 0xe00
mov dword [rsp + 0x30], esi
lea r9d, [rdi + 4]
lea r8, str.___
lea rcx, [rbp - 0x28]
call fcn.140006750
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
bts esi, 0xc
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
lea r8d, [rdi + 0x22]
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x40]
call fcn.140002740
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140005420
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
lea r8, [rbp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140003541
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14000353a
inc rdx
mov rcx, qword [rbp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003535
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000365d
call fcn.14000bc74
mov bl, 1
jmp 0x14000366e
mov byte [rbp + 0x20], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034ff
mov byte [rbp + 0x21], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034ff
mov byte [rbp + 0x22], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x22]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034ff
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, r15d
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400034ff
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140003669
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003664
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003664
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
test ebx, ebx
setne bl
movdqa xmm0, xmmword [0x14000de90]
mov byte [rbp + 0x40], 0
movdqu xmmword [rbp + 0x50], xmm0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400036bf
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
movdqa xmm0, xmmword [0x14000de90]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140003710
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000370b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000370b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
movdqa xmm0, xmmword [0x14000de90]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140003766
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003761
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003761
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
movdqa xmm0, xmmword [0x14000de80]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], di
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x1400037b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003899
call fcn.14000bc74
movdqa xmm0, xmmword [0x14000de80]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], di
test bl, bl
je 0x1400037d5
mov ebx, edi
jmp 0x1400038bc
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0xb0]
call fcn.140002740
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xb0]
call fcn.140005420
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rdx, qword [rbp + 0xb0]
lea rcx, [rbp + 0x130]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x140]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x140]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov ebx, eax
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x1400038a5
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
movdqa xmm0, xmmword [0x14000de90]
movdqu xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
mov dword [rbp + 0x108], ebx
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x110]
call fcn.1400055b0
nop
lea rcx, [rbp + 0x150]
call fcn.1400029b0
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x140003927
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003922
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003922
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], 0xf
mov byte [rbp + 0x88], 0
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x140003984
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000397f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000397f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
movdqa xmm0, xmmword [0x14000de90]
movdqu xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xd0], 0
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x1400039ea
mov rdx, qword [rbp + 0x80]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rdi
cmp dword [rbp + 0x108], 0
jl 0x140003a04
lea rdx, [rbp + 0x110]
mov rcx, r13
call fcn.1400054c0
jmp 0x140003a07
mov r15d, edi
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140003a4c
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bc74
nop
xor r14, r12
lea rax, [rbp + 0x298]
mov qword [rax], r14
mov eax, r15d
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14000b8b0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
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]
lea rdx, [rbp + 0x30]
lea rcx, str.absolute
call fcn.1400023f0
int3