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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400aa180]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r12, rcx
xor ebx, ebx
mov rcx, qword [rcx + 0x10]
mov rax, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x14002f05d
mov rax, qword [r12]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rcx
call fcn.14007e460
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14002ed10
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
mov rax, qword [rbp - 0x80]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.14002ee80
cmp rax, r11
je 0x14002f0cb
nop dword [rax]
lea rcx, [r10 - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x14002f0cb
cmp dx, 0x2f
je 0x14002f0cb
mov r10, rcx
cmp rax, rcx
jne 0x14002f0b0
mov qword [rbp - 0x10], r10
sub r11, r10
sar r11, 1
mov qword [rbp - 8], r11
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.14002fb60
nop
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rax, qword [rbp - 0x70]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x60]
mov qword [rbp - 8], rax
call fcn.14007e460
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp]
call fcn.14002f690
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14002f162
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f15d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eb6c
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], bx
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14002f1b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f1b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f1b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eb6c
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], bx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r14, rax
test rax, rax
jne 0x14002f1eb
lea rcx, str.____Cant_open_service_manager_n
jmp 0x14002f577
mov dword [rbp - 0x20], ebx
mov dword [rbp - 0x1c], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
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 0x14002f24a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x14002f24a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cant_enum_service_list_error_code:__d___n
call fcn.14002e760
jmp 0x14002f57c
mov eax, dword [rbp - 0x20]
add eax, 0x30
mov dword [rbp - 0x20], eax
mov ecx, eax
call fcn.14007eba0
mov r13, rax
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rbp - 0x20]
mov dword [rsp + 0x20], ecx
mov r9, r13
mov edx, ntohs
lea r8d, [rdx - 8]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x14002f568
cmp dword [rbp - 0x1c], 0
jbe 0x14002f36f
nop dword [rax]
nop word [rax + 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 0x14002f364
mov ecx, 0x1fa0
call fcn.14007eba0
mov rdi, rax
mov dword [rbp - 0x10], 0
lea r9, [rbp - 0x10]
mov r8d, 0x1fa0
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x14002f343
lea rdx, str.iqvw64e.sys
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14002f35b
mov rcx, r13
call fcn.14007eb6c
mov rdx, qword [rdi + 0x38]
lea rcx, str.____WARNING:_Service_called__s_have_same_file_name___n
call fcn.14002e760
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14002f377
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.14002e760
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc ebx
cmp ebx, dword [rbp - 0x1c]
jb 0x14002f2b0
mov rcx, r13
call fcn.14007eb6c
xor esi, esi
mov dword [rbp - 0x20], esi
mov dword [rbp - 0x1c], esi
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
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 0x14002f3d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x14002f3d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cant_enum_service_list_error_code:__d___n
call fcn.14002e760
jmp 0x14002f57c
mov eax, dword [rbp - 0x20]
add eax, 0x30
mov dword [rbp - 0x20], eax
mov ecx, eax
call fcn.14007eba0
mov rdi, rax
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rbp - 0x20]
mov dword [rsp + 0x20], ecx
mov r9, rdi
mov edx, ntohs
lea r8d, [rdx - 8]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x14002f563
mov ebx, esi
cmp dword [rbp - 0x1c], esi
jbe 0x14002f46e
nop dword [rax]
mov eax, ebx
lea rcx, [rax + rax*2]
add rcx, rcx
movups xmm6, xmmword [rdi + rcx*8 + 0x10]
lea rdx, [0x140095710]
mov rcx, qword [rdi + rcx*8]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14002f467
psrldq xmm6, 4
movd eax, xmm6
add eax, 0xfffffffe
test eax, 0xfffffffd
je 0x14002f496
inc ebx
cmp ebx, dword [rbp - 0x1c]
jb 0x14002f430
mov rcx, rdi
call fcn.14007eb6c
cmp qword [r12 + 0x18], 0xf
jbe 0x14002f482
mov r12, qword [r12]
lea r8, [rbp]
cmp qword [rbp + 0x18], 0xf
jbe 0x14002f4a2
mov r8, qword [rbp]
mov rdx, r8
jmp 0x14002f4a6
lea rcx, str.____Valorant_service_running__kdmapper_stopped_to_prevent_BSOD___n
jmp 0x14002f577
lea rdx, [rbp]
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 0x14002f529
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rdx, qword [rbp]
lea r8d, [rax + 0x10]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x14002f529
lea rcx, str.____Cant_create_the_vulnerable_service__check_your_AV___n
call fcn.14002e760
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14002f57c
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 0x14002f57f
lea rcx, str.____Cant_start_the_vulnerable_service__check_your_AV___n
call fcn.14002e760
jmp 0x14002f57f
mov rcx, rdi
jmp 0x14002f56b
mov rcx, r13
call fcn.14007eb6c
lea rcx, str.____Cant_enum_service_list___n
call fcn.14002e760
xor sil, sil
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14002f5bd
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f5b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f5b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eb6c
movzx eax, sil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14007e7b0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret