Function at 0x1400546e0
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 [0x1400b8100]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r13, rcx
xor r15d, r15d
mov dword [rbp - 0x1c], r15d
mov rcx, qword [rcx + 0x10]
mov rax, r13
cmp qword [r13 + 0x18], 0xf
jbe 0x140054731
mov rax, qword [r13]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rcx
call fcn.14005a650
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1400543e0
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
mov rax, qword [rbp - 0x80]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.140054560
cmp rax, rdi
je 0x1400547bb
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14005478f
cmp cx, 0x2f
jne 0x140054798
add rax, 2
cmp rax, rdi
jne 0x140054780
cmp rax, rdi
je 0x1400547bb
nop dword [rax]
lea rcx, [rbx - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x1400547bb
cmp dx, 0x2f
je 0x1400547bb
mov rbx, rcx
cmp rax, rcx
jne 0x1400547a0
mov qword [rbp - 0x10], rbx
sub rdi, rbx
sar rdi, 1
mov qword [rbp - 8], rdi
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140054f40
nop
lea rsi, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rsi, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x60]
call fcn.14005a650
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov dword [rbp - 0x1c], 0x47
test rdi, rdi
je 0x140054883
cmp rdi, 0x7fffffff
ja 0x140054d5e
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.14005a6c0
mov rbx, rax
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x140054d64
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rbp]
call fcn.14004f7e0
lea r9, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r9, qword [rbp]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, r14d
call fcn.14005a6c0
shr rax, 0x20
test eax, eax
jne 0x140054d6a
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x1400548c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400548be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054d72
call fcn.14005b6d4
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140054915
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054910
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054d78
call fcn.14005b6d4
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
test rax, rax
jne 0x14005494b
lea rcx, str.cant_open_service_manager_n
jmp 0x140054ce3
mov dword [rbp - 0x20], r15d
mov dword [rbp - 0x1c], r15d
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov edx, 0xb
mov r8d, 3
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
test eax, eax
jne 0x1400549b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1400549b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.cant_enumerate_service_list__error_code:__d_n
call fcn.1400106f0
jmp 0x140054ce8
mov eax, dword [rbp - 0x20]
add eax, 0x30
mov dword [rbp - 0x20], eax
mov ecx, eax
call fcn.14005b9e4
mov r12, rax
mov qword [rsp + 0x38], r15
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, r12
mov edx, 0xb
mov r8d, 3
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x140054cd4
mov ebx, r15d
cmp dword [rbp - 0x1c], r15d
jbe 0x140054acd
nop dword [rax]
mov eax, ebx
lea rcx, [rax + rax*2]
add rcx, rcx
mov r8d, 1
mov r15, qword [r12 + rcx*8]
mov rdx, r15
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x140054ac2
mov ecx, 0x1fa0
call fcn.14005b9e4
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 0x140054aa1
lea rdx, str.iqvw64e.sys
mov rcx, qword [rdi + 0x10]
call fcn.14005d250
test rax, rax
je 0x140054ab9
mov rcx, r12
call fcn.14005b6d4
mov rdx, qword [rdi + 0x38]
lea rcx, str.warning:_Service_called__s_has_same_file_name_n
call fcn.1400106f0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140054ad5
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.1400106f0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc ebx
cmp ebx, dword [rbp - 0x1c]
jb 0x140054a10
mov rcx, r12
call fcn.14005b6d4
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
mov edx, 0xb
mov r8d, 3
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
test eax, eax
jne 0x140054b39
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140054b39
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.cant_enum_service_list__error_code:__d_n
call fcn.1400106f0
jmp 0x140054ce8
mov eax, dword [rbp - 0x20]
add eax, 0x30
mov dword [rbp - 0x20], eax
mov ecx, eax
call fcn.14005b9e4
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, 0xb
mov r8d, 3
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x140054cc3
mov ebx, esi
cmp dword [rbp - 0x1c], esi
jbe 0x140054bd1
mov eax, ebx
lea rcx, [rax + rax*2]
add rcx, rcx
movups xmm6, xmmword [rdi + rcx*8 + 0x10]
lea rdx, [0x1400a6ed0]
mov rcx, qword [rdi + rcx*8]
call fcn.14005d250
test rax, rax
je 0x140054bca
psrldq xmm6, 4
movd eax, xmm6
add eax, 0xfffffffe
test eax, 0xfffffffd
je 0x140054c80
inc ebx
cmp ebx, dword [rbp - 0x1c]
jb 0x140054b90
mov rcx, rdi
call fcn.14005b6d4
cmp qword [r13 + 0x18], 0xf
jbe 0x140054be4
mov r13, qword [r13]
lea r8, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r8, qword [rbp]
lea rdx, [rbp]
cmova rdx, qword [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], r13
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 0x140054c89
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rdx, qword [rbp]
mov r8d, 0x10
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x140054c89
lea rcx, str.cant_create_the_vulnerable_service__check_your_antivirus_n
call fcn.1400106f0
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140054ce8
lea rcx, str.Valorant_service_running__mapper_stopped_to_prevent_BSOD_n
jmp 0x140054ce3
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
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 0x140054ceb
lea rcx, str.cant_start_the_vulnerable_service__check_your_antivirus_n
call fcn.1400106f0
jmp 0x140054ceb
mov rcx, rdi
call fcn.14005b6d4
lea rcx, str.cant_enumurate_service_list_n
jmp 0x140054ce3
mov rcx, r12
call fcn.14005b6d4
lea rcx, str.cant_enumerate_service_list_n
call fcn.1400106f0
xor sil, sil
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140054d22
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054d1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054d58
call fcn.14005b6d4
movzx eax, sil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14005b390
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
call fcn.14006cb58
nop
call fcn.140054190
nop
call fcn.1400543a0
int3
mov ecx, eax
call fcn.1400543a0
nop
call fcn.14006cb58
nop
call fcn.14006cb58
int3