Function at 0x1400ced70
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 [0x14049f3c0]
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 0x1400cee45
mov ecx, 0x98
call fcn.1402baa0c
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.1400d2e30
nop
mov rdx, rax
mov rcx, r13
call fcn.1400d1d50
mov rax, qword [rbp - 0x80]
cmp qword [rdi + 0x10], 0
je 0x1400cff44
cmp qword [rax + 0x10], 0
je 0x1400cff44
cmp qword [rbx + 0x10], 0
je 0x1400cff44
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 0x1400ceeeb
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400cee94
mov rdx, qword [rbx]
mov r8d, 0xf01ff
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x1400ceecb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
je 0x1400ceecb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400ceef3
mov r15b, 1
test rbx, rbx
je 0x1400ceee0
movzx r12d, r15b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400ceef3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test rsi, rsi
je 0x1400ceefa
mov dword [rsi], edi
test r15b, r15b
je 0x1400cef18
test r12b, r12b
je 0x1400cef18
test rsi, rsi
je 0x1400cff4f
mov dword [rsi], 0x431
jmp 0x1400cff4f
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.14001f690
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.1400a31d0
mov rdx, rax
lea rcx, [rbp + 0x320]
call fcn.140031cb0
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.1400d0f00
test al, al
jne 0x1400cf0f2
lea rcx, [rbp + 0x1d0]
call fcn.1400d19d0
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.1400487f0
lea rcx, [rbp + 0x130]
call fcn.1400166f0
lea rcx, [rbp + 0x110]
call fcn.1400166f0
jmp 0x1400cff4f
cmp qword [rbp + 0x1b8], 0
je 0x1400cf2a1
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, [0x140437d90]
lea rcx, [rbp + 0x290]
call fcn.140031b60
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.Description
lea rcx, [rbp + 0x2d0]
call fcn.140031b60
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.140031b60
mov rbx, qword [rbp + 0x1d8]
cmp rbx, qword [rbp + 0x1e0]
je 0x1400cf25a
mov qword [rbp - 0x78], rbx
lea rdx, [rbp + 0x290]
mov rcx, rbx
call fcn.140031cb0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x2b0]
call fcn.140031cb0
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x2d0]
call fcn.140031cb0
nop
mov eax, dword [rbp + 0x2f0]
mov dword [rbx + 0x60], eax
lea rcx, [rbx + 0x68]
lea rdx, [rbp + 0x2f8]
call fcn.140031cb0
nop
add qword [rbp + 0x1d8], 0x88
jmp 0x1400cf271
lea r8, [rbp + 0x290]
mov rdx, rbx
lea rcx, [rbp + 0x1d0]
call fcn.1400d1f10
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.14001f690
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.1400a31d0
mov rdx, rax
lea rcx, [rbp + 0x450]
call fcn.140031cb0
nop
lea rcx, [rbp + 0x3f0]
call fcn.1400166f0
nop
mov rax, qword [rbp + 0x120]
test rax, rax
je 0x1400cf745
cmp rax, 0xf8
jb 0x1400cf4c4
lea rax, [rbp + 0x110]
cmp qword [rbp + 0x128], 7
cmova rax, qword [rbp + 0x110]
cmp word [rax], 0x5c
je 0x1400cf4c4
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x210]
call fcn.140031cb0
nop
lea rdx, [0x140428268]
lea rcx, [rbp + 0x78]
call fcn.140031ed0
nop
lea rdx, [0x140427b08]
lea rcx, [rbp + 0x98]
call fcn.140031ed0
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.1400a4500
mov rdx, qword [rbp + 0x228]
cmp rdx, 7
jbe 0x1400cf412
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cf40d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cffaf
call fcn.1402ba9fc
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, [0x14042aa98]
xor edx, edx
lea rcx, [rbp + 0x210]
call fcn.140021030
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 0x1400cf4d4
lea rdx, [rbp + 0x110]
lea rcx, [rbp]
call fcn.140031cb0
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 0x1400cf506
lea rcx, [rbp + 0x110]
call fcn.1400c0fb0
jmp 0x1400cf51c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x1400cf51c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x1400cf52d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x110]
call fcn.1400ba850
mov rax, qword [rbp + 0x120]
test rax, rax
je 0x1400cf745
cmp rax, 0xf8
jb 0x1400cf6e2
lea rax, [rbp + 0x110]
cmp qword [rbp + 0x128], 7
cmova rax, qword [rbp + 0x110]
cmp word [rax], 0x5c
je 0x1400cf6e2
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x1f0]
call fcn.140031cb0
nop
lea rdx, [0x140428268]
lea rcx, [rbp + 0xb8]
call fcn.140031ed0
nop
lea rdx, [0x140427b08]
lea rcx, [rbp + 0x58]
call fcn.140031ed0
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.1400a4500
mov rdx, qword [rbp + 0x208]
cmp rdx, 7
jbe 0x1400cf630
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cf62b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cffb5
call fcn.1402ba9fc
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, [0x14042aa98]
xor edx, edx
lea rcx, [rbp + 0x1f0]
call fcn.140021030
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 0x1400cf6f2
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x20]
call fcn.140031cb0
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 0x1400cf727
lea rcx, [rbp + 0x110]
call fcn.1400c0fb0
jmp 0x1400cff26
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x1400cff26
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x1400cff26
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x450]
call fcn.1400ba610
test al, al
je 0x1400cff26
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 0x1400cff19
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 0x1400cf7dd
lea rax, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova rax, qword [rbp + 0x130]
jmp 0x1400cf7e0
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 0x1400cf820
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 0x1400cfc76
mov r12, qword [rbp + 0x1d8]
mov r14, qword [rbp + 0x1d0]
cmp r14, r12
je 0x1400cfc63
add r14, 0x40
nop dword [rax]
lea rdx, [r14 - 0x40]
lea rcx, [rbp + 0x340]
call fcn.140031cb0
nop
lea rdx, [r14 - 0x20]
lea rcx, [rbp + 0x360]
call fcn.140031cb0
nop
mov rdx, r14
lea rcx, [rbp + 0x380]
call fcn.140031cb0
nop
mov eax, dword [r14 + 0x20]
mov dword [rbp + 0x3a0], eax
lea rdx, [r14 + 0x28]
lea rcx, [rbp + 0x3a8]
call fcn.140031cb0
nop
lea r8, [rbp + 0x340]
cmp qword [rbp + 0x358], 7
cmova r8, qword [rbp + 0x340]
cmp qword [rbp + 0x350], 3
jne 0x1400cfb79
mov edx, 3
lea rax, [0x140437d90]
mov rcx, rax
sub r8, rax
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x1400cfb79
add rcx, 2
sub rdx, 1
jne 0x1400cf930
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, [0x1404b6250]
call fcn.1400a31d0
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.140031cb0
nop
lea rcx, [rbp + 0x410]
call fcn.1400166f0
nop
cmp qword [rbp + 0x370], 0
je 0x1400cfa7b
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.1400a31d0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140031cb0
nop
lea rcx, [rbp + 0x430]
call fcn.1400166f0
nop
mov rdx, qword [rbp + 0x288]
cmp rdx, 7
jbe 0x1400cfa4b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cfa46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cffa9
call fcn.1402ba9fc
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 0x1400cfa90
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 0x1400cfbd5
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 0x1400cfb29
mov edx, ebx
lock xadd dword [rdi + 8], edx
cmp edx, 1
jne 0x1400cfb29
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400cfb29
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r15b, r15b
je 0x1400cfc05
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 0x1400cfba9
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 0x1400cf8a0
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x78]
jmp 0x1400cfc83
test rdi, rdi
je 0x1400cfc08
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400cfc08
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400cfc08
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400cfc08
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 0x1400cfc83
mov rdi, rax
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x78]
jmp 0x1400cfc83
test rsi, rsi
je 0x1400cfc83
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 0x1400cfccc
test rsi, rsi
je 0x1400cfd69
mov dword [rsi], 0x57
jmp 0x1400cfd69
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r12, rax
test rax, rax
je 0x1400cfd53
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400cfcf1
mov rdx, qword [rdi]
mov r8d, 0xf01ff
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x1400cfd2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
je 0x1400cfd2e
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 0x1400cfd5c
mov r14b, 1
test rdi, rdi
je 0x1400cfd43
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 0x1400cfd5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
test rsi, rsi
je 0x1400cfd64
mov dword [rsi], r15d
mov r12d, dword [rsp + 0x70]
add r12d, 0xffffffff
mov dword [rsp + 0x70], r12d
je 0x1400cfd8c
test r14b, r14b
je 0x1400cfe3c
test r13b, r13b
mov r15d, 0
je 0x1400cfca0
test r14b, r14b
je 0x1400cfe3c
test r13b, r13b
jne 0x1400cfe3c
test rsi, rsi
je 0x1400cfda9
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.1400d19d0
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.1400487f0
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 0x1400cff84
jmp 0x1400cff5d
mov r9, rsi
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x70]
call fcn.1400d0db0
mov rcx, rdi
call fcn.1400d04d0
test al, al
je 0x1400cfe64
mov r9, rsi
mov rcx, rdi
call fcn.1400d0000
nop
lea rcx, [rbp + 0x450]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x470]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x1d0]
call fcn.1400d19d0
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.1400487f0
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 0x1400cff15
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400cff15
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400cff15
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
jmp 0x1400cff86
test rsi, rsi
je 0x1400cff26
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 0x1400cf08b
test rsi, rsi
je 0x1400cff4f
mov dword [rsi], 0x57
mov rdi, qword [r13 + 8]
test rdi, rdi
je 0x1400cff84
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400cff84
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400cff84
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.1402ba9b0
add rsp, 0x5a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1402caabc
nop
call fcn.1402caabc
nop
call fcn.1402caabc
int3