Function at 0x14002e2b0
Capabilities:
Check if file exists
Create service
Delete service
Get file attributes
Modify service
Persist via windows service

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x900
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rsp + 0x8d0], rax
mov r12d, dword [r11 + 8]
mov r14, rdx
xor r13d, r13d
lea rcx, [0x14023d384]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetDefaultDllDirectories
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002e333
mov ecx, 0x800
call qword [case.0x1400617cf.0]
call fcn.1400455d0
mov ecx, dword [rax + 0x20]
mov dword [0x1403281b0], ecx
call fcn.1400455d0
mov ecx, dword [rax + 0x24]
cmp ecx, 6
je 0x14002f8bc
cmp ecx, 0xe
jne 0x14002e38e
xor edx, edx
lea rcx, [rsp + 0x228]
call fcn.14003f090
nop
lea r8, str.Logs
mov rdx, rax
lea rcx, [rsp + 0x7f0]
call fcn.14003c400
nop
lea rcx, [rsp + 0x228]
call fcn.14002adf0
jmp 0x14002e3a4
call fcn.14003bb90
mov rdx, rax
lea rcx, [rsp + 0x7f0]
call fcn.14003c5f0
nop
lea rcx, [rsp + 0x7f0]
cmp qword [rsp + 0x808], 7
cmova rcx, qword [rsp + 0x7f0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002e3d1
test al, 0x10
je 0x14002e3d1
mov al, 1
jmp 0x14002e3d3
xor al, al
test al, al
je 0x14002e566
lea rdx, [rsp + 0x7f0]
lea rcx, [rsp + 0x890]
call fcn.140031380
nop
lea rdi, [rsp + 0x890]
cmp qword [rsp + 0x8a8], 7
cmova rdi, qword [rsp + 0x890]
xorps xmm0, xmm0
movups xmmword [rsp + 0x860], xmm0
lea rcx, [rsp + 0x860]
call fcn.140026d50
nop
mov rcx, qword [rsp + 0x860]
test rcx, rcx
je 0x14002e44e
mov rax, qword [rcx]
mov r9d, 2
mov r8d, 0x400000
mov rdx, rdi
mov rax, qword [rax + 0x58]
call qword [case.0x1400617cf.0]
nop
mov rbx, qword [rsp + 0x868]
mov edi, 0xffffffff
test rbx, rbx
je 0x14002e497
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002e497
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002e497
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.0]
mov ecx, 2
call fcn.1401af720
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x850], xmm0
lea rcx, [rsp + 0x850]
call fcn.140026d50
nop
mov r9, qword [rsp + 0x850]
test r9, r9
je 0x14002e4e4
mov rcx, qword [r9]
mov rax, qword [rcx + 0x60]
mov r8d, 2
mov rdx, rbx
mov rcx, r9
call qword [case.0x1400617cf.0]
nop
mov rbx, qword [rsp + 0x858]
test rbx, rbx
je 0x14002e528
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002e528
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002e528
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.0]
lea rdx, [rsp + 0x7f0]
cmp qword [rsp + 0x808], 7
cmova rdx, qword [rsp + 0x7f0]
mov r8, qword [rsp + 0x800]
lea rcx, [0x1402bfed8]
call fcn.14002a5c0
nop
lea rcx, [rsp + 0x890]
call fcn.14002adf0
jmp 0x14002e56b
mov edi, 0xffffffff
call fcn.1400455d0
lea r9, [rax + 0x70]
mov rcx, qword [r9 + 0x10]
movabs r15, 0x7ffffffffffffffe
mov rax, r15
sub rax, rcx
cmp rax, 8
jb 0x14002f8ea
cmp qword [r9 + 0x18], 7
jbe 0x14002e59c
mov r9, qword [r9]
mov qword [rsp + 0x30], 8
lea rax, str.AvDumper
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x1a8]
call fcn.1400230c0
nop
mov r8d, 2
lea rdx, [0x14023c9b8]
lea rcx, [rsp + 0x1a8]
call fcn.140023d10
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x128], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x138], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rdx, [rsp + 0x128]
lea rsi, [0x1402bff18]
mov rcx, rsi
call fcn.140024750
lea rcx, [rsp + 0x128]
call fcn.14002adf0
nop
lea rcx, [rsp + 0x1a8]
call fcn.14002adf0
mov rcx, qword [0x1402bff28]
mov rax, r15
sub rax, rcx
cmp rax, 1
jb 0x14002f8f0
mov rax, rsi
cmp qword [0x1402bff30], 7
cmova rax, qword [0x1402bff18]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x14023c9d8]
lea rcx, [rsp + 0x188]
call fcn.1400230c0
nop
mov r8d, 1
lea rdx, [0x14023c9d4]
lea rcx, [rsp + 0x188]
call fcn.140023d10
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x108], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x118], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rdx, [rsp + 0x108]
lea rcx, [0x1402bfef8]
call fcn.140024750
lea rcx, [rsp + 0x108]
call fcn.14002adf0
nop
lea rcx, [rsp + 0x188]
call fcn.14002adf0
cmp r12d, 1
jle 0x14002f869
lea rdx, str._runassvc
mov rcx, qword [r14 + 8]
call fcn.1401a9e50
test eax, eax
jne 0x14002eb4c
mov dword [rsp + 0x7a0], 0x39354243
mov dword [rsp + 0x7a4], 0x46414344
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x7a0]
mov qword [rsp + 0x7c], rax
mov dword [rsp + 0x84], 0x184
lea r8, str.Debugger_service_is_starting.
lea rdx, [rsp + 0x70]
mov ecx, 2
call fcn.14000c230
call fcn.14003a020
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x1400617cf.0]
test al, al
jne 0x14002e855
call fcn.14003a020
mov rdi, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 8]
mov r9d, 3
mov r8d, 0xcf
lea rdx, [rsp + 0x7f0]
mov rcx, rdi
call qword [case.0x1400617cf.0]
call fcn.14003a020
mov rdi, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x48]
lea rcx, vtable.std::_Func_impl_no_alloc_class__int___cdecl_wmain_int__wchar_t____ptr64__const___ptr64_::_11::_lambda_1___void___.0
mov qword [rsp + 0x810], rcx
lea rcx, [rsp + 0x810]
mov qword [rsp + 0x848], rcx
lea r8, [rsp + 0x810]
lea rdx, [rsp + 0x7d0]
mov rcx, rdi
call qword [case.0x1400617cf.0]
mov rcx, qword [rax]
mov qword [rax], r13
mov rdi, qword [0x14032a268]
mov qword [0x14032a268], rcx
test rdi, rdi
je 0x14002e837
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
mov rcx, qword [rsp + 0x7d0]
test rcx, rcx
je 0x14002e855
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
mov rax, rsi
cmp qword [0x1402bff30], 7
cmova rax, qword [0x1402bff18]
mov qword [rsp + 0x8b0], rax
lea rax, [0x14002e000]
mov qword [rsp + 0x8b8], rax
mov qword [rsp + 0x8c0], r13
mov qword [rsp + 0x8c8], r13
lea rcx, [rsp + 0x8b0]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x14002e92d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x780], eax
mov dword [rsp + 0x7a0], 0x39354243
mov dword [rsp + 0x7a4], 0x46414344
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x7a0]
mov qword [rsp + 0x7c], rax
mov dword [rsp + 0x84], 0x192
lea rax, str.StartServiceCtrlDispatcher_failure:_gle
mov qword [rsp + 0x7e0], rax
mov qword [rsp + 0x7e8], 0x2a
lea r8, [rsp + 0x780]
lea rdx, [rsp + 0x7e0]
lea rcx, [rsp + 0x70]
call fcn.140031230
cmp byte [0x140329928], 0
je 0x14002eb38
mov r8d, 1
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
mov qword [rsp + 0x7d0], rax
test rax, rax
je 0x14002eaa0
cmp qword [0x1402bff30], 7
cmova rsi, qword [0x1402bff18]
mov r8d, 0x10004
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x7e0], rax
test rax, rax
je 0x14002ea00
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14002ea89
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x780], eax
mov dword [rsp + 0x7a0], 0x39354243
mov dword [rsp + 0x7a4], 0x46414344
mov eax, dword [0x14023c298]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x7a0]
mov qword [rsp + 0x7c], rax
mov dword [rsp + 0x84], 0x19e
lea rax, str.DeleteService_self__failure:_gle
mov qword [rsp + 0x98], 0x23
jmp 0x14002ea58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x780], eax
mov dword [rsp + 0x7a0], 0x39354243
mov dword [rsp + 0x7a4], 0x46414344
mov eax, dword [0x14023c298]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x7a0]
mov qword [rsp + 0x7c], rax
mov dword [rsp + 0x84], 0x1a1
lea rax, str.OpenService_failure:_gle
mov qword [rsp + 0x98], 0x1b
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x70], xmm0
mov qword [rsp + 0x90], rax
lea r8, [rsp + 0x780]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140031230
nop
test rbx, rbx
je 0x14002eb29
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14002eb29
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x780], eax
mov dword [rsp + 0x7a0], 0x39354243
mov dword [rsp + 0x7a4], 0x46414344
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x7a0]
mov qword [rsp + 0x7c], rax
mov dword [rsp + 0x84], 0x1a4
lea rax, str.OpenSCManager_failure:_gle
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0x1d
lea r8, [rsp + 0x780]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140031230
nop
test rdi, rdi
je 0x14002eb38
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rsp + 0x7f0]
call fcn.14002adf0
xor eax, eax
jmp 0x14002f885
lea rdx, str._runasapp
mov rcx, qword [r14 + 8]
call fcn.1401a9e50
test eax, eax
jne 0x14002ed70
mov dword [rsp + 0x790], 0x39354243
mov dword [rsp + 0x794], 0x46414344
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0xa0], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0xac], rax
mov dword [rsp + 0xb4], 0x1ab
xorps xmm0, xmm0
movups xmmword [rsp + 0x790], xmm0
lea rcx, [rsp + 0x790]
call fcn.140026d50
nop
mov rcx, qword [rsp + 0x790]
test rcx, rcx
je 0x14002ec17
mov rax, qword [rcx]
lea rdx, str.Debugger_app_is_starting.
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0xe8], 0x19
lea r9, [rsp + 0xe0]
lea r8, [rsp + 0xa0]
mov edx, 2
mov rax, qword [rax + 0x10]
call qword [case.0x1400617cf.0]
nop
mov rbx, qword [rsp + 0x798]
test rbx, rbx
je 0x14002ec59
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002ec59
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002ec59
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.0]
mov edx, 1
lea rcx, [0x14002e1d0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
call fcn.14003abf0
mov dword [rsp + 0x780], eax
test eax, eax
jne 0x14002ecdb
mov edx, 0xffffffff
mov rcx, qword [0x140329588]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14023d680]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14023df50]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14023dd70]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
nop
lea rcx, [rsp + 0x7f0]
call fcn.14002adf0
xor eax, eax
jmp 0x14002f885
mov dword [rsp + 0x790], 0x39354243
mov dword [rsp + 0x794], 0x46414344
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x7c], rax
mov dword [rsp + 0x84], 0x1bb
lea rax, str.StartServer_failure:_retval
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0x1e
lea r8, [rsp + 0x780]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1400310e0
nop
lea rcx, [rsp + 0x7f0]
call fcn.14002adf0
mov eax, dword [rsp + 0x780]
jmp 0x14002f885
lea rdx, str._register
mov rcx, qword [r14 + 8]
call fcn.1401a9e50
test eax, eax
jne 0x14002f464
xor edx, edx
lea ecx, [rax + 0xa]
call fcn.140039f40
movzx r14d, al
mov r8d, 3
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
mov qword [rsp + 0x7a0], rax
test rax, rax
je 0x14002f8f6
xorps xmm0, xmm0
movups xmmword [rsp + 0x7b0], xmm0
mov qword [rsp + 0x7c0], r13
mov qword [rsp + 0x7c8], 7
mov word [rsp + 0x7b0], r13w
mov word [rsp + 0x20], r13w
mov r9d, 0x104
movzx r8d, byte [rsp + 0x780]
mov edx, r9d
lea rcx, [rsp + 0x7b0]
call fcn.14002a180
lea rdx, [rsp + 0x7b0]
cmp qword [rsp + 0x7c8], 7
cmova rdx, qword [rsp + 0x7b0]
mov r8d, dword [rsp + 0x7c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
mov r8, qword [rsp + 0x7c0]
cmp rcx, r8
ja 0x14002ee6e
lea rax, [rsp + 0x7b0]
cmp qword [rsp + 0x7c8], 7
cmova rax, qword [rsp + 0x7b0]
mov qword [rsp + 0x7c0], rcx
mov word [rax + rcx*2], r13w
jmp 0x14002eee1
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rsp + 0x7c8]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x14002eec2
mov qword [rsp + 0x7c0], rcx
lea r9, [rsp + 0x7b0]
cmp rdi, 7
cmova r9, qword [rsp + 0x7b0]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x14002eeb7
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r13w
jmp 0x14002eee1
mov word [rsp + 0x20], r13w
mov r9, rdx
movzx r8d, byte [rsp + 0x780]
lea rcx, [rsp + 0x7b0]
call fcn.14002a180
mov rcx, qword [rsp + 0x7c0]
test rcx, rcx
je 0x14002f927
mov eax, 0x22
mov word [rsp + 0x780], ax
cmp rcx, r15
je 0x14002f957
lea rax, [rsp + 0x7b0]
cmp qword [rsp + 0x7c8], 7
cmova rax, qword [rsp + 0x7b0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [rsp + 0x780]
lea rcx, [rsp + 0x168]
call fcn.1400230c0
nop
mov r8d, 0xb
lea rdx, str.___runassvc
lea rcx, [rsp + 0x168]
call fcn.140023d10
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x810], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rsp + 0x7c8]
cmp rdx, 7
jbe 0x14002efcc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x7b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002efc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f95d
call fcn.14019af20
movups xmmword [rsp + 0x7b0], xmm6
movups xmmword [rsp + 0x7c0], xmm7
movdqa xmm0, xmmword [0x140269150]
movdqu xmmword [rsp + 0x820], xmm0
mov word [rsp + 0x810], r13w
lea rcx, [rsp + 0x810]
call fcn.14002adf0
nop
lea rcx, [rsp + 0x168]
call fcn.14002adf0
mov rcx, rsi
call fcn.140049330
mov rdx, rsi
test al, al
jne 0x14002f0e0
lea rax, [rsp + 0x7b0]
cmp qword [rsp + 0x7c8], 7
cmova rax, qword [rsp + 0x7b0]
cmp qword [0x1402bff30], 7
cmova rdx, qword [0x1402bff18]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
lea rcx, str.RpcSS
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r13
lea rcx, str.ProfSvc_Group
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
mov r9d, 0xf01ff
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rsp + 0x7e0], rax
test rax, rax
je 0x14002f963
test r14b, r14b
je 0x14002f0cf
lea rcx, [rsp + 0x7e0]
call fcn.14002e200
mov rax, qword [rsp + 0x7e0]
test rax, rax
je 0x14002f3ba
mov rcx, rax
jmp 0x14002f3b4
cmp qword [0x1402bff30], 7
cmova rdx, qword [0x1402bff18]
mov r8d, 3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
mov qword [rsp + 0x7d0], rax
test rax, rax
je 0x14002f9b3
mov dword [rsp + 0x780], r13d
lea rax, [rsp + 0x7e0]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x780]
lea edx, [r9 + 8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfig2W]
test eax, eax
je 0x14002f155
cmp dword [rsp + 0x780], 3
jne 0x14002f155
mov al, 1
jmp 0x14002f157
xor al, al
test al, al
je 0x14002f3f5
mov qword [rsp + 0x778], r13
call fcn.1400455d0
add rax, 0x70
mov rcx, qword [rax + 0x10]
sub r15, rcx
cmp r15, 1
jb 0x14002fa02
cmp qword [rax + 0x18], 7
jbe 0x14002f18b
mov rax, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x14023c9d8]
lea rcx, [rsp + 0x148]
call fcn.1400230c0
nop
mov r8d, 8
lea rdx, str.AvDumper
lea rcx, [rsp + 0x148]
call fcn.140023d10
xorps xmm0, xmm0
movups xmmword [rsp + 0x8b0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x8c0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x8b0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x8c0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov r8d, 2
lea rdx, [0x14023c9b8]
lea rcx, [rsp + 0x8b0]
call fcn.140023d10
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xc8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xc8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov r8d, 1
lea rdx, [0x14023c9d4]
lea rcx, [rsp + 0xb8]
call fcn.140023d10
xorps xmm0, xmm0
movups xmmword [rsp + 0x870], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x880], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x870], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x880], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rcx, [rsp + 0xb8]
call fcn.14002adf0
nop
lea rcx, [rsp + 0x8b0]
call fcn.14002adf0
nop
lea rcx, [rsp + 0x148]
call fcn.14002adf0
lea r9, [rsp + 0x870]
cmp qword [rsp + 0x888], 7
cmova r9, qword [rsp + 0x870]
lea rax, [rsp + 0x778]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r8d, r8d
lea rdx, str.ncalrpc
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcStringBindingComposeW]
mov esi, eax
test eax, eax
jne 0x14002f33f
lea rdx, [0x14032a978]
mov rcx, qword [rsp + 0x778]
call qword [sym.imp.RPCRT4.dll_RpcBindingFromStringBindingW]
mov esi, eax
cmp qword [rsp + 0x778], 0
je 0x14002f358
lea rcx, [rsp + 0x778]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
test esi, esi
jne 0x14002fa08
lea rax, [rsp + 0x7b0]
mov qword [rsp + 0x7e0], rax
lea rcx, [rsp + 0x7e0]
call fcn.14002fa90
test eax, eax
jne 0x14002fa32
lea rcx, [rsp + 0x870]
call fcn.14002adf0
test r14b, r14b
je 0x14002f3ac
lea rcx, [rsp + 0x7d0]
call fcn.14002e200
mov rdi, qword [rsp + 0x7d0]
test rdi, rdi
je 0x14002f3ba
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.140039f10
nop
lea rcx, [rsp + 0x7b0]
call fcn.14002adf0
nop
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14002f858
lea rax, [rsp + 0x7b0]
cmp qword [rsp + 0x7c8], 7
cmova rax, qword [rsp + 0x7b0]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
lea rcx, str.RpcSs
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rcx, str.ProfSvc_Group
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov edx, 0xffffffff
mov r9d, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x14002fa5d
jmp 0x14002f392
lea rdx, str._unregister
mov rcx, qword [r14 + 8]
call fcn.1401a9e50
test eax, eax
jne 0x14002f869
mov rcx, rsi
call fcn.140049330
test al, al
je 0x14002f858
mov r8d, 1
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
mov qword [rsp + 0x7d0], rax
test rax, rax
je 0x14002f636
mov rdx, rsi
cmp qword [0x1402bff30], 7
cmova rdx, qword [0x1402bff18]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x7a0], rax
test rax, rax
je 0x14002f596
lea r8, [rsp + 0x810]
mov edx, 0xfd
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14002f61f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x780], eax
mov dword [rsp + 0x790], 0x39354243
mov dword [rsp + 0x794], 0x46414344
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x7c], rax
mov dword [rsp + 0x84], 0x22e
lea rax, str.ControlService_SERVICE_CONTROL_UNREGISTER__failure:_gle
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0x3a
lea r8, [rsp + 0x780]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140031230
jmp 0x14002f61f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x780], eax
mov dword [rsp + 0x790], 0x39354243
mov dword [rsp + 0x794], 0x46414344
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x7c], rax
mov dword [rsp + 0x84], 0x231
lea rax, str.OpenService_failure:_gle
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0x1b
lea r8, [rsp + 0x780]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140031230
nop
test rbx, rbx
je 0x14002f6bf
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14002f6bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x780], eax
mov dword [rsp + 0x790], 0x39354243
mov dword [rsp + 0x794], 0x46414344
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x7c], rax
mov dword [rsp + 0x84], 0x234
lea rax, str.OpenSCManager_failure:_gle
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0x1d
lea r8, [rsp + 0x780]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140031230
nop
call fcn.140039ee0
call fcn.140048090
cmp qword [0x1402bff30], 7
cmova rsi, qword [0x1402bff18]
mov r14, qword [0x1402bff28]
xor r8d, r8d
lea rdx, [r14 + 0x22]
lea rcx, [rsp + 0x810]
call fcn.140028660
lea rbx, [rsp + 0x810]
cmp qword [rsp + 0x828], 7
cmova rbx, qword [rsp + 0x810]
mov r8d, 0x44
lea rdx, str.SYSTEMCurrentControlSetServices_
mov rcx, rbx
call fcn.1401d7a40
lea rcx, [rbx + 0x44]
lea r8, [rsi + r14*2]
sub r8, rsi
mov rdx, rsi
call fcn.1401d7a40
nop
lea rax, [rsp + 0x810]
cmp qword [rsp + 0x828], 7
cmova rax, qword [rsp + 0x810]
mov qword [rsp + 0x7e0], rax
mov rax, qword [rsp + 0x820]
mov qword [rsp + 0x7e8], rax
mov qword [rsp + 0x2f0], 0xffffffff80000002
movaps xmm0, xmmword [rsp + 0x7e0]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x2f8]
call fcn.14003db70
mov qword [rsp + 0x528], r13
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x530], rax
lea rdx, [rsp + 0x2f8]
lea rcx, [rsp + 0x538]
call fcn.14003dde0
mov eax, dword [rsp + 0x528]
mov dword [rsp + 0x768], eax
mov eax, dword [rsp + 0x52c]
mov dword [rsp + 0x76c], eax
mov byte [rsp + 0x770], 1
mov edx, 1
lea rcx, [rsp + 0x530]
call fcn.14005b300
nop
lea rcx, [rsp + 0x530]
call fcn.14003da50
nop
mov r8, qword [rsp + 0x520]
cmp r8, 7
jbe 0x14002f831
mov rdx, qword [rsp + 0x508]
lea rcx, [rsp + 0x500]
call fcn.14003df00
nop
lea rcx, [rsp + 0x810]
call fcn.14002adf0
nop
jmp 0x14002f849
test rdi, rdi
je 0x14002f858
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rsp + 0x7f0]
call fcn.14002adf0
xor eax, eax
jmp 0x14002f885
mov rdx, r14
mov ecx, r12d
call fcn.14002d220
mov edi, eax
lea rcx, [rsp + 0x7f0]
call fcn.14002adf0
mov eax, edi
mov rcx, qword [rsp + 0x8d0]
xor rcx, rsp
call fcn.14019acb0
lea r11, [rsp + 0x900]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea r8, str.Unable_to_determine_legacy_product_enumeration_from_product_identifier_
mov edx, 0xc0
lea rcx, [rsp + 0x248]
call fcn.140002660
lea rdx, [0x1402ba3c0]
lea rcx, [rsp + 0x248]
call fcn.14019cd80
nop
call fcn.14002a900
nop
call fcn.14002a900
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_open_the_service_control_manager_
lea rcx, [rsp + 0x208]
call fcn.14002d030
lea rdx, [0x1402b9f88]
lea rcx, [rsp + 0x208]
call fcn.14019cd80
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_query_own_process_module_path_
lea rcx, [rsp + 0x1e8]
call fcn.14002d030
lea rdx, [0x1402b9f88]
lea rcx, [rsp + 0x1e8]
call fcn.14019cd80
call fcn.14002a900
nop
call fcn.1401a9cd0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Unable_to_create_service__
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0x1e
mov r9, rsi
lea r8, [rsp + 0x90]
mov edx, eax
lea rcx, [rsp + 0x1c8]
call fcn.140031570
lea rdx, [0x1402b9f88]
lea rcx, [rsp + 0x1c8]
call fcn.14019cd80
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Unable_to_open_service__
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0x1c
mov r9, rsi
lea r8, [rsp + 0x90]
mov edx, eax
lea rcx, [rsp + 0x268]
call fcn.140031570
lea rdx, [0x1402b9f88]
lea rcx, [rsp + 0x268]
call fcn.14019cd80
call fcn.14002a900
nop
lea r8, str.Unable_to_create_debugger_rpc_endpoint_
mov edx, esi
lea rcx, [rsp + 0x288]
call fcn.14002d030
lea rdx, [0x1402b9f88]
lea rcx, [rsp + 0x288]
call fcn.14019cd80
lea r8, str.Unable_to_modify_debugger_service_configuration_using_c_ChangeConfig_
mov edx, eax
lea rcx, [rsp + 0x2a8]
call fcn.14002d030
lea rdx, [0x1402b9f88]
lea rcx, [rsp + 0x2a8]
call fcn.14019cd80
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_modify_debugger_service_binary_path_
lea rcx, [rsp + 0x2c8]
call fcn.14002d030
lea rdx, [0x1402b9f88]
lea rcx, [rsp + 0x2c8]
call fcn.14019cd80
int3