Function at 0x1400926f0
Capabilities:
Modify service

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xf8]
sub rsp, 0x1f0
mov qword [rsp + 0x78], 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 + 0xe0], rax
movzx ebx, dl
mov rdi, rcx
call fcn.140092530
mov esi, eax
test eax, eax
js 0x140092985
test bl, bl
je 0x140092985
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14005f2b0
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140092901
cmp qword [rcx], 0
je 0x140092901
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
lea rdx, [rdi + 0x48]
mov r8d, 0xf003f
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14005f2b0
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140092887
mov rcx, qword [rcx]
test rcx, rcx
je 0x140092887
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
or r9d, 0xffffffff
lea r8d, [rbx + 2]
or edx, r9d
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea rcx, [rsp + 0x60]
call fcn.14008ebe0
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140092816
mov rbx, qword [rax]
lea r8, [rbp - 0x50]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
nop
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x140092850
lock dec dword [rbx + 8]
jne 0x140092850
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x140092850
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
nop
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x140092985
lock dec dword [rbx + 8]
jne 0x140092985
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x140092985
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
jmp 0x140092985
movdqa xmm0, xmmword [0x14017a8d0]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x14017a490]
movdqa xmmword [rbp - 0x10], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmmword [rbp + 0x50], xmm1
mov r9b, 0xd0
lea r8, [0x140168898]
mov edx, setsockopt
lea rcx, [rbp - 0x20]
call fcn.1400164b0
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.1400eefd4
lea rdx, [0x1401fe0e0]
lea rcx, [rbp - 0x80]
call fcn.1400ef340
nop
movdqa xmm0, xmmword [0x14017a7d0]
movdqa xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x70], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmmword [rbp + 0xd0], xmm1
mov r9b, 0x27
lea r8, [0x140168880]
mov edx, select
lea rcx, [rbp + 0x60]
call fcn.1400164b0
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x68]
call fcn.1400eefd4
lea rdx, [0x1401fe0e0]
lea rcx, [rbp - 0x68]
call fcn.1400ef340
nop
mov eax, esi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400efba0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret