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

Disassembly:
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1402f61c0]
xor rax, rsp
mov qword [rbp + 0x30], rax
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SystemCurrentControlSet
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400122aa
mov rdx, qword [0x141e537a8]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400122aa
lea edx, [rax + 1]
mov qword [rsp + 0x160], rdi
mov ecx, 0x400
call fcn.140127248
mov rdi, rax
test rax, rax
je 0x1400121cc
mov rdx, qword [0x141e537b0]
mov qword [rsp + 0x150], rbx
or rbx, 0xffffffffffffffff
mov r8, rbx
mov dword [rax], 0x5c3f3f5c
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140012040
lea rcx, [rax + 4]
call fcn.1401256c0
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140012053
mov rcx, qword [rsp + 0x40]
lea rdx, str.ImagePath
inc ebx
mov r9d, 2
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140012099
lea rcx, str.Step1_Error_n
call fcn.140011f30
xor eax, eax
jmp 0x1400121c4
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.Type
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1400120e5
lea rcx, str.Step2_Error_n
call fcn.140011f30
xor eax, eax
jmp 0x1400121c4
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SystemCurrentControlSet_services
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140012297
mov rdx, qword [0x141e537a8]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1402c14a8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x14001215b
lea rcx, str.Step4_Error_n
call fcn.140011f30
xor eax, eax
jmp 0x1400121c4
lea rdx, str.RtlInitUnicodeString
mov qword [rsp + 0x158], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtLoadDriver
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RtlAdjustPrivilege
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
lea r9, [rsp + 0x48]
lea edx, [r8 + 1]
lea ecx, [rdx + 9]
call rax
test eax, eax
jns 0x1400121e9
lea rcx, str.Step5_Error_n
call fcn.140011f30
xor eax, eax
mov rsi, qword [rsp + 0x158]
mov rbx, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x160]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140122ce0
add rsp, 0x140
pop rbp
ret
movaps xmm0, xmmword [str.RegistryMachineSystemCurrentControlSet_]
lea rcx, [rbp - 0x48]
movaps xmm1, xmmword [0x1402c1530]
xor edx, edx
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [0x1402c1540]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [0x1402c1550]
lea r8d, [rdx + 0x70]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [0x1402c1560]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm1, qword [0x1402c1570]
movaps xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x50], xmm1
call fcn.1401263b0
mov rdx, qword [0x141e537a8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call rdi
lea rcx, [rsp + 0x50]
call rsi
test eax, eax
js 0x140012271
mov eax, 1
jmp 0x1400121bc
cmp eax, 0xc0000603
jne 0x140012284
lea rcx, str.The_drivers_certificate_has_been_revoked__please_wait_for_the_project_to_be_updated.._n
jmp 0x1400121b5
mov edx, eax
lea rcx, str.Error_Code:___lx._n
call fcn.140011f30
jmp 0x1400121ba
lea rcx, str.Step3_Error_n
call fcn.140011f30
xor eax, eax
jmp 0x1400121c4
lea rcx, str.Reg_Add_Error__The_program_needs_to_be_run_with_administrator_privileges__n
call fcn.140011f30
xor eax, eax
jmp 0x1400121d4