Function at 0x14000b440
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
movaps xmmword [rsp + 0x130], xmm6
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], rdx
xor r13d, r13d
mov rcx, qword [rdx + 0x10]
movabs r14, 0x7ffffffffffffffe
mov rax, r14
sub rax, rcx
cmp rax, 0x22
jb 0x14000bac2
mov rax, rdx
cmp qword [rdx + 0x18], 7
jbe 0x14000b4ae
mov rax, qword [rdx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x22
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x30]
call fcn.14000b300
nop
mov rcx, qword [rsi + 0x10]
mov rax, r14
sub rax, rcx
cmp rax, 3
jb 0x14000bac8
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14000b4f3
mov rax, qword [rsi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 3
lea r9, [0x140018d58]
lea rcx, [rbp - 0x50]
call fcn.14000b300
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rdx, qword [rbp - 0x30]
lea r8, [rbp - 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000b6ab
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.Registry_key_Create_Error_
lea rcx, [rsp + 0x50]
call fcn.140001820
mov rbx, rax
lea rcx, [rsp + 0x70]
lea rdx, [0x1400175a4]
call fcn.140001820
nop
mov rdx, rbx
mov rcx, rax
call fcn.140004750
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14000b5ba
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b5b5
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b97e
call fcn.14000c49c
movdqa xmm6, xmmword [0x140019110]
mov word [rbp - 0x50], r13w
movdqu xmmword [rbp - 0x40], xmm6
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14000b60c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000b607
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b9cb
call fcn.14000c49c
movdqu xmmword [rbp - 0x20], xmm6
mov word [rbp - 0x30], r13w
mov rdx, qword [rsi + 0x18]
cmp rdx, 7
jbe 0x14000b655
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000b650
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000baae
mov rcx, r8
call fcn.14000c49c
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x14000b6a4
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x14000b69f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bab5
mov rcx, r8
call fcn.14000c49c
xor al, al
jmp 0x14000ba6f
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
mov eax, dword [rbp - 0x40]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x14000b70c
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, str.Registry_Key_ImagePath_Setup_Error_
lea rcx, [rsp + 0x70]
call fcn.140001820
mov rbx, rax
lea rcx, [rsp + 0x50]
jmp 0x14000b561
mov dword [rsp + 0x28], 4
lea rax, [0x140019108]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
xor edx, edx
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x14000b765
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, str.Registry_Key_Type_Setup_Error_
lea rcx, [rsp + 0x70]
call fcn.140001820
mov rbx, rax
lea rcx, [rsp + 0x50]
jmp 0x14000b561
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x140018e58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r15, rax
test rax, rax
jne 0x14000b7ac
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, str.Get_ntdll.dll_Error_
lea rcx, [rsp + 0x70]
call fcn.140001820
mov rbx, rax
lea rcx, [rsp + 0x50]
jmp 0x14000b561
lea rdx, str.RtlAdjustPrivilege
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.NtLoadDriver
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov byte [rbp - 0x58], 0
lea r9, [rbp - 0x58]
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call rbx
test eax, eax
jns 0x14000b812
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, str.Privilege_Adjust_fail_
lea rcx, [rsp + 0x70]
call fcn.140001820
mov rbx, rax
lea rcx, [rsp + 0x50]
jmp 0x14000b561
mov rcx, qword [rdi + 0x10]
sub r14, rcx
cmp r14, 0x34
jb 0x14000babc
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14000b830
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp - 0x10]
call fcn.14000b300
nop
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rdx, qword [rbp - 0x10]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x10]
call r12
mov r14d, eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, str.NtLoadDriver_fnuc___called._status_:_0x
lea rcx, [rsp + 0x70]
call fcn.140001820
mov rbx, rax
lea rdx, [0x1400175d8]
lea rcx, [rsp + 0x50]
call fcn.140001820
nop
mov rdx, rbx
mov rcx, rax
call fcn.140004750
lea rdx, [0x1400012c0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, r14d
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__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140003560]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
shr r14d, 0x1f
xor r14b, 1
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14000b935
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b930
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b930
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c49c
movdqa xmm6, xmmword [0x140019110]
movdqu xmmword [rbp], xmm6
mov word [rbp - 0x10], r13w
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14000b98a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b985
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b985
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c49c
movdqu xmmword [rbp - 0x40], xmm6
mov word [rbp - 0x50], r13w
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14000b9d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b9d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b9d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c49c
movdqu xmmword [rbp - 0x20], xmm6
mov word [rbp - 0x30], r13w
mov rdx, qword [rsi + 0x18]
cmp rdx, 7
jbe 0x14000ba20
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000ba1b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000baae
mov rcx, r8
call fcn.14000c49c
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x14000ba6b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000ba66
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bab5
mov rcx, r8
call fcn.14000c49c
movzx eax, r14b
mov word [rdi], r13w
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r13
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14000c200
mov rbx, qword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400012a0
nop
call fcn.1400012a0
nop
call fcn.1400012a0
int3