Function at 0x1400c7900
Capabilities:
Check if file exists
Create service
Delete service
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4a8]
sub rsp, 0x5a8
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov rbx, r9
mov qword [rsp + 0x78], rbx
mov rax, r8
mov qword [rbp - 0x80], rax
mov rdi, rdx
mov qword [rbp - 0x70], rdx
mov r13, rcx
mov qword [rbp - 0x68], rcx
mov qword [rbp + 0x50], rcx
mov rsi, qword [rbp + 0x520]
xor r14d, r14d
cmp qword [rcx], r14
jne 0x1400c79d5
mov ecx, 0x98
call fcn.1402b5c5c
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
movups xmmword [rax + 0x80], xmm0
mov qword [rax + 0x90], rcx
movdqu xmmword [rbp + 0x20], xmm0
movdqu xmmword [rbp + 0x30], xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x20]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.1400cb9c0
nop
mov rdx, rax
mov rcx, r13
call fcn.1400ca8e0
mov rax, qword [rbp - 0x80]
cmp qword [rdi + 0x10], 0
je 0x1400c8ad4
cmp qword [rax + 0x10], 0
je 0x1400c8ad4
cmp qword [rbx + 0x10], 0
je 0x1400c8ad4
xor r15b, r15b
mov edi, r14d
xor r12b, r12b
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
test rax, rax
je 0x1400c7a7b
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400c7a24
mov rdx, qword [rbx]
mov r8d, 0xf01ff
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x1400c7a5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
je 0x1400c7a5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400c7a83
mov r15b, 1
test rbx, rbx
je 0x1400c7a70
movzx r12d, r15b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400c7a83
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test rsi, rsi
je 0x1400c7a8a
mov dword [rsi], edi
test r15b, r15b
je 0x1400c7aa8
test r12b, r12b
je 0x1400c7aa8
test rsi, rsi
je 0x1400c8adf
mov dword [rsi], 0x431
jmp 0x1400c8adf
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
xor r15d, r15d
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], 7
mov word [rbp + 0x110], r15w
movups xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x140], r15
mov qword [rbp + 0x148], 7
mov word [rbp + 0x130], r15w
movdqa xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], r15
xorps xmm1, xmm1
movups xmmword [rbp + 0x168], xmm1
mov qword [rbp + 0x178], r15
mov qword [rbp + 0x180], 7
mov word [rbp + 0x168], r15w
movups xmmword [rbp + 0x188], xmm0
mov qword [rbp + 0x198], r15
mov qword [rbp + 0x1a0], 7
mov word [rbp + 0x188], r15w
movups xmmword [rbp + 0x1a8], xmm0
mov qword [rbp + 0x1b8], r15
mov qword [rbp + 0x1c0], 7
mov word [rbp + 0x1a8], r15w
lea r8, str..inf
mov r14, qword [rbp - 0x80]
mov rdx, r14
lea rcx, [rbp + 0xd8]
call fcn.14001e470
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov qword [rbp + 0x3e0], r15
mov qword [rbp + 0x3e8], 7
mov word [rbp + 0x3d0], r15w
lea r8, [rbp + 0x3d0]
mov rdx, rax
mov rdi, qword [rbp - 0x70]
mov rcx, rdi
call fcn.14009b7d0
mov rdx, rax
lea rcx, [rbp + 0x320]
call fcn.140030a90
nop
lea rcx, [rbp + 0x3d0]
call fcn.1400166f0
nop
lea rcx, [rbp + 0xd8]
call fcn.1400166f0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1d0], xmm1
mov qword [rbp + 0x1e0], r15
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp + 0x1d0]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x320]
call fcn.1400c9a90
test al, al
jne 0x1400c7c82
lea rcx, [rbp + 0x1d0]
call fcn.1400ca560
nop
lea rcx, [rbp + 0x320]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x1a8]
call fcn.1400166f0
lea rcx, [rbp + 0x188]
call fcn.1400166f0
lea rcx, [rbp + 0x168]
call fcn.1400166f0
lea rcx, [rbp + 0x150]
call fcn.140046830
lea rcx, [rbp + 0x130]
call fcn.1400166f0
lea rcx, [rbp + 0x110]
call fcn.1400166f0
jmp 0x1400c8adf
cmp qword [rbp + 0x1b8], 0
je 0x1400c7e31
xorps xmm0, xmm0
movups xmmword [rbp + 0x290], xmm0
mov qword [rbp + 0x2a0], r15
mov qword [rbp + 0x2a8], 7
mov word [rbp + 0x290], r15w
movups xmmword [rbp + 0x2b0], xmm0
mov qword [rbp + 0x2c0], r15
mov qword [rbp + 0x2c8], 7
mov word [rbp + 0x2b0], r15w
movups xmmword [rbp + 0x2d0], xmm0
mov qword [rbp + 0x2e0], r15
mov qword [rbp + 0x2e8], 7
mov word [rbp + 0x2d0], r15w
movups xmmword [rbp + 0x2f8], xmm0
mov qword [rbp + 0x308], r15
mov qword [rbp + 0x310], 7
mov word [rbp + 0x2f8], r15w
mov r8d, 3
lea rdx, [0x14042e838]
lea rcx, [rbp + 0x290]
call fcn.140030940
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.Description
lea rcx, [rbp + 0x2d0]
call fcn.140030940
mov dword [rbp + 0x2f0], 1
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 7
cmova rdx, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x1b8]
lea rcx, [rbp + 0x2f8]
call fcn.140030940
mov rbx, qword [rbp + 0x1d8]
cmp rbx, qword [rbp + 0x1e0]
je 0x1400c7dea
mov qword [rbp - 0x78], rbx
lea rdx, [rbp + 0x290]
mov rcx, rbx
call fcn.140030a90
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x2b0]
call fcn.140030a90
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x2d0]
call fcn.140030a90
nop
mov eax, dword [rbp + 0x2f0]
mov dword [rbx + 0x60], eax
lea rcx, [rbx + 0x68]
lea rdx, [rbp + 0x2f8]
call fcn.140030a90
nop
add qword [rbp + 0x1d8], 0x88
jmp 0x1400c7e01
lea r8, [rbp + 0x290]
mov rdx, rbx
lea rcx, [rbp + 0x1d0]
call fcn.1400caaa0
nop
lea rcx, [rbp + 0x2f8]
call fcn.1400166f0
lea rcx, [rbp + 0x2d0]
call fcn.1400166f0
lea rcx, [rbp + 0x2b0]
call fcn.1400166f0
lea rcx, [rbp + 0x290]
call fcn.1400166f0
lea r8, str..sys
mov rdx, r14
lea rcx, [rbp + 0x470]
call fcn.14001e470
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
mov qword [rbp + 0x400], r15
mov qword [rbp + 0x408], 7
mov word [rbp + 0x3f0], r15w
lea r8, [rbp + 0x3f0]
lea rdx, [rbp + 0x470]
mov rcx, rdi
call fcn.14009b7d0
mov rdx, rax
lea rcx, [rbp + 0x450]
call fcn.140030a90
nop
lea rcx, [rbp + 0x3f0]
call fcn.1400166f0
nop
mov rax, qword [rbp + 0x120]
test rax, rax
je 0x1400c82d5
cmp rax, 0xf8
jb 0x1400c8054
lea rax, [rbp + 0x110]
cmp qword [rbp + 0x128], 7
cmova rax, qword [rbp + 0x110]
cmp word [rax], 0x5c
je 0x1400c8054
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x210]
call fcn.140030a90
nop
lea rdx, [0x14041f038]
lea rcx, [rbp + 0x78]
call fcn.140030cb0
nop
lea rdx, [0x14041ef68]
lea rcx, [rbp + 0x98]
call fcn.140030cb0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x250], xmm0
mov qword [rbp + 0x260], r15
mov qword [rbp + 0x268], 7
mov word [rbp + 0x250], r15w
mov byte [rsp + 0x20], 0
lea r9, [rbp + 0x78]
lea r8, [rbp + 0x98]
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x210]
call fcn.14009cd10
mov rdx, qword [rbp + 0x228]
cmp rdx, 7
jbe 0x1400c7fa2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c7f9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c8b3f
call fcn.1402b5c4c
movups xmm0, xmmword [rbp + 0x250]
movups xmmword [rbp + 0x210], xmm0
movups xmm1, xmmword [rbp + 0x260]
movups xmmword [rbp + 0x220], xmm1
mov qword [rbp + 0x260], r15
mov qword [rbp + 0x268], 7
mov word [rbp + 0x250], r15w
lea rcx, [rbp + 0x250]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x98]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x78]
call fcn.1400166f0
mov r9d, 4
lea r8, [0x140421888]
xor edx, edx
lea rcx, [rbp + 0x210]
call fcn.14001fe10
movups xmm0, xmmword [rbp + 0x210]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rbp + 0x220]
movups xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x220], r15
mov qword [rbp + 0x228], 7
mov word [rbp + 0x210], r15w
lea rcx, [rbp + 0x210]
call fcn.1400166f0
jmp 0x1400c8064
lea rdx, [rbp + 0x110]
lea rcx, [rbp]
call fcn.140030a90
lea rcx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rbp]
call fcn.1400166f0
cmp ebx, 0xffffffff
je 0x1400c8096
lea rcx, [rbp + 0x110]
call fcn.1400b9e60
jmp 0x1400c80ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x1400c80ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x1400c80bd
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x110]
call fcn.1400b3640
mov rax, qword [rbp + 0x120]
test rax, rax
je 0x1400c82d5
cmp rax, 0xf8
jb 0x1400c8272
lea rax, [rbp + 0x110]
cmp qword [rbp + 0x128], 7
cmova rax, qword [rbp + 0x110]
cmp word [rax], 0x5c
je 0x1400c8272
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x1f0]
call fcn.140030a90
nop
lea rdx, [0x14041f038]
lea rcx, [rbp + 0xb8]
call fcn.140030cb0
nop
lea rdx, [0x14041ef68]
lea rcx, [rbp + 0x58]
call fcn.140030cb0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x230], xmm0
mov qword [rbp + 0x240], r15
mov qword [rbp + 0x248], 7
mov word [rbp + 0x230], r15w
mov byte [rsp + 0x20], 0
lea r9, [rbp + 0xb8]
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x1f0]
call fcn.14009cd10
mov rdx, qword [rbp + 0x208]
cmp rdx, 7
jbe 0x1400c81c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c81bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c8b45
call fcn.1402b5c4c
movups xmm0, xmmword [rbp + 0x230]
movups xmmword [rbp + 0x1f0], xmm0
movups xmm1, xmmword [rbp + 0x240]
movups xmmword [rbp + 0x200], xmm1
mov qword [rbp + 0x240], r15
mov qword [rbp + 0x248], 7
mov word [rbp + 0x230], r15w
lea rcx, [rbp + 0x230]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x58]
call fcn.1400166f0
nop
lea rcx, [rbp + 0xb8]
call fcn.1400166f0
mov r9d, 4
lea r8, [0x140421888]
xor edx, edx
lea rcx, [rbp + 0x1f0]
call fcn.14001fe10
movups xmm0, xmmword [rbp + 0x1f0]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rbp + 0x200]
movups xmmword [rbp - 0x10], xmm1
mov qword [rbp + 0x200], r15
mov qword [rbp + 0x208], 7
mov word [rbp + 0x1f0], r15w
lea rcx, [rbp + 0x1f0]
call fcn.1400166f0
jmp 0x1400c8282
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x20]
call fcn.140030a90
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rbp - 0x20]
call fcn.1400166f0
cmp ebx, 0xffffffff
je 0x1400c82b7
lea rcx, [rbp + 0x110]
call fcn.1400b9e60
jmp 0x1400c8ab6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x1400c8ab6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x1400c8ab6
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x450]
call fcn.1400b3400
test al, al
je 0x1400c8ab6
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r11, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400c8aa9
mov dword [rbp + 0x1e8], r15d
mov rcx, qword [rbp + 0x158]
sub rcx, qword [rbp + 0x150]
test rcx, 0xfffffffffffffffe
mov rcx, r15
cmovne rcx, qword [rbp + 0x150]
lea rdx, [rbp + 0x1e8]
mov rax, qword [rbp + 0x140]
test rax, rax
cmove rdx, r15
je 0x1400c836d
lea rax, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova rax, qword [rbp + 0x130]
jmp 0x1400c8370
mov rax, r15
lea r9, [rbp + 0x110]
cmp qword [rbp + 0x128], 7
cmova r9, qword [rbp + 0x110]
lea r8, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 7
cmova r8, qword [rbp + 0x188]
mov rdi, qword [rsp + 0x78]
mov r10, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400c83b0
mov r10, qword [rdi]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r9
mov eax, dword [rbp + 0x108]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x104]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x100]
mov dword [rsp + 0x20], eax
mov r9d, 0xf01ff
mov rdx, r10
mov rcx, r11
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rsp + 0x70], rax
mov ebx, 0xffffffff
test rax, rax
je 0x1400c8806
mov r12, qword [rbp + 0x1d8]
mov r14, qword [rbp + 0x1d0]
cmp r14, r12
je 0x1400c87f3
add r14, 0x40
nop dword [rax]
lea rdx, [r14 - 0x40]
lea rcx, [rbp + 0x340]
call fcn.140030a90
nop
lea rdx, [r14 - 0x20]
lea rcx, [rbp + 0x360]
call fcn.140030a90
nop
mov rdx, r14
lea rcx, [rbp + 0x380]
call fcn.140030a90
nop
mov eax, dword [r14 + 0x20]
mov dword [rbp + 0x3a0], eax
lea rdx, [r14 + 0x28]
lea rcx, [rbp + 0x3a8]
call fcn.140030a90
nop
lea r8, [rbp + 0x340]
cmp qword [rbp + 0x358], 7
cmova r8, qword [rbp + 0x340]
cmp qword [rbp + 0x350], 3
jne 0x1400c8709
mov edx, 3
lea rax, [0x14042e838]
mov rcx, rax
sub r8, rax
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x1400c8709
add rcx, 2
sub rdx, 1
jne 0x1400c84c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x410], xmm0
mov qword [rbp + 0x420], r15
mov qword [rbp + 0x428], 7
mov word [rbp + 0x410], r15w
lea r8, [rbp + 0x410]
mov rdx, rdi
lea rcx, [0x1404ac050]
call fcn.14009b7d0
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.140030a90
nop
lea rcx, [rbp + 0x410]
call fcn.1400166f0
nop
cmp qword [rbp + 0x370], 0
je 0x1400c860b
xorps xmm0, xmm0
movups xmmword [rbp + 0x430], xmm0
mov qword [rbp + 0x440], r15
mov qword [rbp + 0x448], 7
mov word [rbp + 0x430], r15w
lea r8, [rbp + 0x430]
lea rdx, [rbp + 0x360]
lea rcx, [rbp + 0x270]
call fcn.14009b7d0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140030a90
nop
lea rcx, [rbp + 0x430]
call fcn.1400166f0
nop
mov rdx, qword [rbp + 0x288]
cmp rdx, 7
jbe 0x1400c85db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c85d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c8b39
call fcn.1402b5c4c
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbp + 0x270], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x280], xmm1
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
lea rcx, [rbp - 0x40]
call fcn.1400166f0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov rax, qword [r13 + 8]
test rax, rax
je 0x1400c8620
lock inc dword [rax + 8]
mov rcx, qword [r13]
mov qword [rbp - 0x60], rcx
mov rdi, qword [r13 + 8]
mov qword [rbp - 0x58], rdi
lea rax, [rbp - 0x60]
mov qword [rbp - 0x48], rax
test rcx, rcx
je 0x1400c8765
mov rax, qword [rcx]
mov r10, qword [rax + 0xe0]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], r15d
mov eax, dword [rbp + 0x3a0]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x3a8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x380]
lea r8, [rbp + 0x270]
mov rdx, 0xffffffff80000002
call r10
movzx r15d, al
mov rdi, qword [rbp - 0x58]
test rdi, rdi
je 0x1400c86b9
mov edx, ebx
lock xadd dword [rdi + 8], edx
cmp edx, 1
jne 0x1400c86b9
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400c86b9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r15b, r15b
je 0x1400c8795
lea rcx, [rbp + 0x270]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x3a8]
call fcn.1400166f0
lea rcx, [rbp + 0x380]
call fcn.1400166f0
lea rcx, [rbp + 0x360]
call fcn.1400166f0
lea rcx, [rbp + 0x340]
call fcn.1400166f0
mov rdi, qword [rsp + 0x78]
xor r15d, r15d
jmp 0x1400c8739
lea rcx, [rbp + 0x3a8]
call fcn.1400166f0
lea rcx, [rbp + 0x380]
call fcn.1400166f0
lea rcx, [rbp + 0x360]
call fcn.1400166f0
lea rcx, [rbp + 0x340]
call fcn.1400166f0
add r14, 0x88
lea rax, [r14 - 0x40]
cmp rax, r12
jne 0x1400c8430
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x78]
jmp 0x1400c8813
test rdi, rdi
je 0x1400c8798
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400c8798
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400c8798
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c8798
xor r15d, r15d
lea rcx, [rbp + 0x270]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x3a8]
call fcn.1400166f0
lea rcx, [rbp + 0x380]
call fcn.1400166f0
lea rcx, [rbp + 0x360]
call fcn.1400166f0
lea rcx, [rbp + 0x340]
call fcn.1400166f0
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x78]
jmp 0x1400c8813
mov rdi, rax
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x78]
jmp 0x1400c8813
test rsi, rsi
je 0x1400c8813
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r12d, 0x64
mov dword [rsp + 0x70], r12d
nop dword [rax + rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r14b, r14b
xor r13b, r13b
cmp qword [rdi + 0x10], 0
jne 0x1400c885c
test rsi, rsi
je 0x1400c88f9
mov dword [rsi], 0x57
jmp 0x1400c88f9
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r12, rax
test rax, rax
je 0x1400c88e3
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400c8881
mov rdx, qword [rdi]
mov r8d, 0xf01ff
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x1400c88be
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
je 0x1400c88be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x78]
jmp 0x1400c88ec
mov r14b, 1
test rdi, rdi
je 0x1400c88d3
movzx r13d, r14b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x78]
jmp 0x1400c88ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
test rsi, rsi
je 0x1400c88f4
mov dword [rsi], r15d
mov r12d, dword [rsp + 0x70]
add r12d, 0xffffffff
mov dword [rsp + 0x70], r12d
je 0x1400c891c
test r14b, r14b
je 0x1400c89cc
test r13b, r13b
mov r15d, 0
je 0x1400c8830
test r14b, r14b
je 0x1400c89cc
test r13b, r13b
jne 0x1400c89cc
test rsi, rsi
je 0x1400c8939
mov dword [rsi], 0x4db
lea rcx, [rbp + 0x450]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x470]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x1d0]
call fcn.1400ca560
nop
lea rcx, [rbp + 0x320]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x1a8]
call fcn.1400166f0
lea rcx, [rbp + 0x188]
call fcn.1400166f0
lea rcx, [rbp + 0x168]
call fcn.1400166f0
lea rcx, [rbp + 0x150]
call fcn.140046830
lea rcx, [rbp + 0x130]
call fcn.1400166f0
lea rcx, [rbp + 0x110]
call fcn.1400166f0
nop
mov rdi, qword [rbp - 0x68]
mov rdi, qword [rdi + 8]
test rdi, rdi
je 0x1400c8b14
jmp 0x1400c8aed
mov r9, rsi
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x70]
call fcn.1400c9940
mov rcx, rdi
call fcn.1400c9060
test al, al
je 0x1400c89f4
mov r9, rsi
mov rcx, rdi
call fcn.1400c8b90
nop
lea rcx, [rbp + 0x450]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x470]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x1d0]
call fcn.1400ca560
nop
lea rcx, [rbp + 0x320]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x1a8]
call fcn.1400166f0
lea rcx, [rbp + 0x188]
call fcn.1400166f0
lea rcx, [rbp + 0x168]
call fcn.1400166f0
lea rcx, [rbp + 0x150]
call fcn.140046830
lea rcx, [rbp + 0x130]
call fcn.1400166f0
lea rcx, [rbp + 0x110]
call fcn.1400166f0
nop
mov rdi, qword [rbp - 0x68]
mov rdi, qword [rdi + 8]
test rdi, rdi
je 0x1400c8aa5
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400c8aa5
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400c8aa5
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
jmp 0x1400c8b16
test rsi, rsi
je 0x1400c8ab6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
lea rcx, [rbp + 0x450]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x470]
call fcn.1400166f0
jmp 0x1400c7c1b
test rsi, rsi
je 0x1400c8adf
mov dword [rsi], 0x57
mov rdi, qword [r13 + 8]
test rdi, rdi
je 0x1400c8b14
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400c8b14
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400c8b14
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.1402b5c00
add rsp, 0x5a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1402c5d0c
nop
call fcn.1402c5d0c
nop
call fcn.1402c5d0c
int3