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

Disassembly:
jmp 0x14034a720
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xce
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x508]
mov rax, qword [0x140711040]
xor rax, rbp
mov qword [rbp + 0x4a0], rax
lea rcx, [0x1407580dd]
call fcn.1401d9db4
lea rcx, [rbp + 8]
call fcn.1401d5705
nop
lea r8, [rbp + 8]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0x48]
call fcn.1401daedf
nop
mov r8, qword [rbp + 0x4d0]
lea rdx, [0x1405db058]
lea rcx, [rbp + 0x88]
call fcn.1401daedf
nop
lea rcx, [rbp + 0x48]
call fcn.1401d157e
lea r8, [rbp + 0xc8]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0
je 0x14034a833
lea rdx, str.____Cant_create_service_key
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1401d3ec3
mov qword [rbp + 0x488], rax
lea rdx, [0x1401d3437]
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov byte [rbp + 0x3b4], 0
lea rcx, [rbp + 0x88]
call fcn.1401d7f00
nop
lea rcx, [rbp + 0x48]
call fcn.1401d7f00
nop
lea rcx, [rbp + 8]
call fcn.1401d7f00
movzx eax, byte [rbp + 0x3b4]
jmp 0x14034ac93
lea rcx, [rbp + 0x88]
call fcn.1401cf19d
shl rax, 1
mov dword [rbp + 0x484], eax
lea rcx, [rbp + 0x88]
call fcn.1401d157e
mov qword [rbp + 0x488], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x490], rax
mov eax, dword [rbp + 0x484]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x488]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp + 0x490]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0
je 0x14034a918
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Cant_create_ImagePath_registry_value
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1401d3ec3
mov qword [rbp + 0x488], rax
lea rdx, [0x1401d3437]
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov byte [rbp + 0x3d4], 0
lea rcx, [rbp + 0x88]
call fcn.1401d7f00
nop
lea rcx, [rbp + 0x48]
call fcn.1401d7f00
nop
lea rcx, [rbp + 8]
call fcn.1401d7f00
movzx eax, byte [rbp + 0x3d4]
jmp 0x14034ac93
mov dword [rsp + 0x28], 4
lea rax, [0x1405dab74]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [0x1405db0e0]
xor edx, edx
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0
je 0x14034a9c5
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Cant_create_Type_registry_value
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1401d3ec3
mov qword [rbp + 0x488], rax
lea rdx, [0x1401d3437]
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov byte [rbp + 0x3f4], 0
lea rcx, [rbp + 0x88]
call fcn.1401d7f00
nop
lea rcx, [rbp + 0x48]
call fcn.1401d7f00
nop
lea rcx, [rbp + 8]
call fcn.1401d7f00
movzx eax, byte [rbp + 0x3f4]
jmp 0x14034ac93
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x108], rax
cmp qword [rbp + 0x108], 0
jne 0x14034aa23
mov byte [rbp + 0x414], 0
lea rcx, [rbp + 0x88]
call fcn.1401d7f00
nop
lea rcx, [rbp + 0x48]
call fcn.1401d7f00
nop
lea rcx, [rbp + 8]
call fcn.1401d7f00
movzx eax, byte [rbp + 0x414]
jmp 0x14034ac93
lea rdx, str.RtlAdjustPrivilege
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x128], rax
lea rdx, str.NtLoadDriver
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x164], 0xa
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x488], rax
lea r9, [rbp + 0x184]
xor r8d, r8d
mov dl, 1
mov ecx, dword [rbp + 0x164]
call qword [rbp + 0x488]
mov dword [rbp + 0x1a4], eax
cmp dword [rbp + 0x1a4], 0
jge 0x14034aaf9
lea rdx, str.Fatal_error:_failed_to_acquire_SE_LOAD_DRIVER_PRIVILEGE._Make_sure_you_are_running_as_administrator.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1401d3ec3
mov qword [rbp + 0x488], rax
lea rdx, [0x1401d3437]
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov byte [rbp + 0x434], 0
lea rcx, [rbp + 0x88]
call fcn.1401d7f00
nop
lea rcx, [rbp + 0x48]
call fcn.1401d7f00
nop
lea rcx, [rbp + 8]
call fcn.1401d7f00
movzx eax, byte [rbp + 0x434]
jmp 0x14034ac93
lea r8, [rbp + 8]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x1c8]
call fcn.1401daedf
nop
lea rcx, [rbp + 0x1c8]
call fcn.1401d157e
mov rdx, rax
lea rcx, [rbp + 0x208]
call fcn.1401d95df
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x488], rax
lea rcx, [rbp + 0x208]
call qword [rbp + 0x488]
mov dword [rbp + 0x1a4], eax
lea rdx, str._ethereal_:_faatal_drv_status:_0x
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1401d3ec3
mov qword [rbp + 0x488], rax
lea rdx, [0x1401d8bee]
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov qword [rbp + 0x490], rax
mov edx, dword [rbp + 0x1a4]
mov rcx, qword [rbp + 0x490]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
mov qword [rbp + 0x498], rax
lea rdx, [0x1401d3437]
mov rcx, qword [rbp + 0x498]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
cmp dword [rbp + 0x1a4], 0xc0000603
jne 0x14034abea
lea rdx, str._ethereal_:_vuln_drv_error__check_fixes
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1401d3ec3
mov qword [rbp + 0x488], rax
lea rdx, [0x1401d3437]
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
cmp dword [rbp + 0x1a4], 0xc000010e
jne 0x14034ac33
mov byte [rbp + 0x454], 1
lea rcx, [rbp + 0x1c8]
call fcn.1401d7f00
nop
lea rcx, [rbp + 0x88]
call fcn.1401d7f00
nop
lea rcx, [rbp + 0x48]
call fcn.1401d7f00
nop
lea rcx, [rbp + 8]
call fcn.1401d7f00
movzx eax, byte [rbp + 0x454]
jmp 0x14034ac93
cmp dword [rbp + 0x1a4], 0
jl 0x14034ac48
mov dword [rbp + 0x484], 1
jmp 0x14034ac52
mov dword [rbp + 0x484], 0
movzx eax, byte [rbp + 0x484]
mov byte [rbp + 0x474], al
lea rcx, [rbp + 0x1c8]
call fcn.1401d7f00
nop
lea rcx, [rbp + 0x88]
call fcn.1401d7f00
nop
lea rcx, [rbp + 0x48]
call fcn.1401d7f00
nop
lea rcx, [rbp + 8]
call fcn.1401d7f00
movzx eax, byte [rbp + 0x474]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1405dadc0]
call fcn.1401d7a64
mov rax, rdi
mov rcx, qword [rbp + 0x4a0]
xor rcx, rbp
call fcn.1401d334c
lea rsp, [rbp + 0x4b8]
pop rdi
pop rbp
ret