Function at 0x1400085e0
Capabilities:
Create service
Enumerate services
Query service configuration
Start service

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 - 0x40]
sub rsp, 0x140
mov rax, qword [0x14001b010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r12, rcx
mov rcx, qword [rcx + 0x10]
mov rax, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140008628
mov rax, qword [r12]
mov qword [rbp], rax
mov qword [rbp + 8], rcx
call fcn.14000a900
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.1400044f0
nop
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea rbx, [rcx + rax*2]
mov r11, rbx
mov rdx, rbx
call fcn.140004650
cmp rax, rbx
je 0x14000869b
nop dword [rax]
nop dword [rax + rax]
lea rcx, [r11 - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x14000869b
cmp dx, 0x2f
je 0x14000869b
mov r11, rcx
cmp rax, rcx
jne 0x140008680
sub rbx, r11
sar rbx, 1
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov r8, rbx
mov rdx, r11
lea rcx, [rsp + 0x70]
call fcn.140005710
nop
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140005890
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000871d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008718
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008718
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b334
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140008771
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000876c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000876c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b334
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], di
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r14, rax
test rax, rax
jne 0x1400087a5
lea rcx, str.____Cant_open_service_manager_n
jmp 0x140008b25
mov dword [rbp - 0x10], edi
mov dword [rbp - 0xc], edi
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0xc]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea edx, [r9 + 0xb]
lea r8d, [r9 + 3]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x140008804
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140008804
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cant_enum_service_list_error_code:__d___n
call fcn.140008580
jmp 0x140008b2a
mov eax, dword [rbp - 0x10]
add eax, 0x30
mov dword [rbp - 0x10], eax
mov ecx, eax
call fcn.14000b368
mov r13, rax
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0xc]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov ecx, dword [rbp - 0x10]
mov dword [rsp + 0x20], ecx
mov r9, r13
mov edx, 0xb
lea r8d, [rdx - 8]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x140008b16
mov ebx, edi
cmp dword [rbp - 0xc], edi
jbe 0x14000891f
nop dword [rax]
mov eax, ebx
lea rcx, [rax + rax*2]
add rcx, rcx
mov r8d, 1
mov r15, qword [r13 + rcx*8]
mov rdx, r15
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x140008914
mov ecx, 0x1fa0
call fcn.14000b368
mov rdi, rax
mov dword [rbp], 0
lea r9, [rbp]
mov r8d, 0x1fa0
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x1400088f3
lea rdx, str.iqvw64e.sys
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14000890b
mov rcx, r13
call fcn.14000b334
mov rdx, qword [rdi + 0x38]
lea rcx, str.____WARNING:_Service_called__s_have_same_file_name___n
call fcn.140008580
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140008927
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, r15
lea rcx, str.____Note:_Error_query_service__s_error_code:__d_n
call fcn.140008580
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc ebx
cmp ebx, dword [rbp - 0xc]
jb 0x140008860
mov rcx, r13
call fcn.14000b334
xor esi, esi
mov dword [rbp - 0x10], esi
mov dword [rbp - 0xc], esi
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0xc]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea edx, [rsi + 0xb]
lea r8d, [rsi + 3]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x140008987
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140008987
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cant_enum_service_list_error_code:__d___n
call fcn.140008580
jmp 0x140008b2a
mov eax, dword [rbp - 0x10]
add eax, 0x30
mov dword [rbp - 0x10], eax
mov ecx, eax
call fcn.14000b368
mov rdi, rax
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0xc]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov ecx, dword [rbp - 0x10]
mov dword [rsp + 0x20], ecx
mov r9, rdi
mov edx, 0xb
lea r8d, [rdx - 8]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x140008b11
mov ebx, esi
cmp dword [rbp - 0xc], esi
jbe 0x140008a1c
nop dword [rax]
mov eax, ebx
lea rcx, [rax + rax*2]
add rcx, rcx
movups xmm0, xmmword [rdi + rcx*8 + 0x10]
movups xmmword [rbp - 0x60], xmm0
lea rdx, [0x140016998]
mov rcx, qword [rdi + rcx*8]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140008a15
mov eax, dword [rbp - 0x5c]
add eax, 0xfffffffe
test eax, 0xfffffffd
je 0x140008a44
inc ebx
cmp ebx, dword [rbp - 0xc]
jb 0x1400089e0
mov rcx, rdi
call fcn.14000b334
cmp qword [r12 + 0x18], 0x10
jb 0x140008a30
mov r12, qword [r12]
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
jb 0x140008a50
mov rdx, qword [rbp + 0x10]
mov r8, rdx
jmp 0x140008a54
lea rcx, str.____Valorant_service_running__kdmapper_stopped_to_prevent_BSOD___n
jmp 0x140008b25
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0x10030
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rdi, rax
test rax, rax
jne 0x140008ad7
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
lea r8d, [rax + 0x10]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x140008ad7
lea rcx, str.____Cant_create_the_vulnerable_service__check_your_AV___n
call fcn.140008580
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140008b2a
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
mov ebx, eax
test eax, eax
setne sil
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
jne 0x140008b2d
lea rcx, str.____Cant_start_the_vulnerable_service__check_your_AV___n
call fcn.140008580
jmp 0x140008b2d
mov rcx, rdi
jmp 0x140008b19
mov rcx, r13
call fcn.14000b334
lea rcx, str.____Cant_enum_service_list___n
call fcn.140008580
xor sil, sil
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140008b6b
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b334
movzx eax, sil
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14000af90
lea r11, [rsp + 0x140]
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