Function at 0x1400c0980
Capabilities:
Start service

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x270
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140001640]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rcx
mov qword [rbp + 0xc0], rcx
xor eax, eax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], 7
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
or rdi, 0xffffffffffffffff
mov r9, rdi
xor r8d, r8d
mov rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.14002bf60
nop
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xc8]
call fcn.1400be9d0
nop
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x1400c0c1c
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400c0c1c
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1400c0b94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14002d610
mov rbx, rax
movdqa xmm0, xmmword [0x140181130]
movdqa xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x140181110]
movdqa xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x1401810e0]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x140181040]
movdqa xmmword [rbp + 0x110], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x130], xmm1
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x150], xmm1
mov r9b, 0x39
lea r8, [0x140168f90]
lea edx, [rdi + 0x41]
lea rcx, [rbp + 0xe0]
call fcn.1400164b0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140019c00
nop
mov rdx, rbx
mov rcx, rax
call fcn.14001baf0
mov rbx, rax
cmp byte [rax + 0x44], r15b
je 0x1400c0b14
mov rcx, rax
call fcn.14001c7c0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140030d20
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x1400c0b68
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x1400c0b68
mov r10, qword [rbx + 0x18]
nop dword [rax]
movsxd rcx, r8d
mov rax, rcx
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x1400c0b68
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x1400c0b40
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140019dc0
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14005f1a0
lea rdx, [0x1401fdcb0]
lea rcx, [rsp + 0x68]
call fcn.1400ef340
nop
lea rax, [rsp + 0x28]
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov r8, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xc8]
test r8, r8
je 0x1400c0bbf
lock inc dword [r8 + 8]
lea rcx, [rsp + 0x28]
call fcn.140030570
nop
mov edx, 4
lea rcx, [rsp + 0x28]
call fcn.1400c1f60
movzx r14d, al
mov rsi, qword [rbp + 0xd0]
test rsi, rsi
je 0x1400c0c07
lock dec dword [rsi + 8]
jne 0x1400c0c07
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock dec dword [rsi + 0xc]
jne 0x1400c0c07
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + ioctlsocket]
nop
cmp qword [rbx + 0x18], 8
jb 0x1400c0c16
mov rcx, qword [rbx]
call fcn.1400ed78c
movzx eax, r14b
jmp 0x1400c0c5c
mov rsi, qword [rbp + 0xd0]
test rsi, rsi
je 0x1400c0c4b
mov eax, edi
lock xadd dword [rsi + 8], eax
dec eax
jne 0x1400c0c4b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock dec dword [rsi + 0xc]
jne 0x1400c0c4b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + ioctlsocket]
nop
cmp qword [rbx + 0x18], 8
jb 0x1400c0c5a
mov rcx, qword [rbx]
call fcn.1400ed78c
xor al, al
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400efba0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret