Function at 0x100061870
Capabilities:
Create service
Modify service

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x140]
mov qword [rbp - 0xc8], rbx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rdx
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x58], 0
mov qword [rbp - 0xc0], 0
mov qword [rbp - 0xa0], 0
nop
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0xe8]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0xa8]
mov qword [rbp - 0x60], rax
xor edx, edx
lea rcx, [rbp - 0xa0]
call fcn.1000173d0
mov rdx, qword [rbp - 0xa0]
lea rcx, [rbp - 0x40]
call fcn.100017c70
mov rdx, qword [rbp - 0x40]
mov r8d, 1
mov ecx, 0x20
call fcn.10000a010
test rax, rax
je 0x100061974
lea rax, [0x100107f00]
mov qword [rbp - 0xb8], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0xb0], rax
lea rax, [0x100107f00]
mov qword [rbp - 0xa8], rax
lea rdx, [rbp - 0xb8]
lea rcx, [rbp - 0x40]
xor r9d, r9d
mov r8d, 2
call fcn.100009010
nop
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
xor r9d, r9d
lea r8, str.___run
call fcn.100008d40
mov rax, qword [rbp - 0x60]
cmp qword [rax + 0x90], 0
je 0x1000619f0
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0xb8], rax
lea rax, [0x100107f40]
mov qword [rbp - 0xb0], rax
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax + 0x90]
lea rcx, [rbp - 0xc0]
call fcn.100017c70
mov rax, qword [rbp - 0xc0]
mov qword [rbp - 0xa8], rax
lea rdx, [rbp - 0xb8]
lea rcx, [rbp - 0x40]
xor r9d, r9d
mov r8d, 2
call fcn.100009010
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax + 0x60]
lea rcx, [rbp - 0x30]
call fcn.100008c20
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax + 0x40]
lea rcx, [rbp - 0x38]
call fcn.100008c20
mov rax, qword [rbp - 0x60]
mov rbx, qword [rax + 0x88]
lea rcx, [rbp - 0x48]
mov rdx, qword [rbx + 0x28]
call fcn.100008c20
lea rcx, [rbp - 0x50]
mov rdx, qword [rbx + 0x48]
call fcn.100008c20
cmp qword [rbp - 0x50], 0
jne 0x100061a4b
mov qword [rbp - 0x88], 0
jmp 0x100061a62
mov rax, qword [rbp - 0x50]
test rax, rax
jne 0x100061a5b
lea rax, [0x100164470]
mov qword [rbp - 0x88], rax
lea rcx, [rbp - 0x58]
mov rdx, qword [rbx + 0x30]
call fcn.100008c20
cmp qword [rbp - 0x58], 0
jne 0x100061a83
mov qword [rbp - 0x90], 0
jmp 0x100061a9a
mov rax, qword [rbp - 0x58]
test rax, rax
jne 0x100061a93
lea rax, [0x100164470]
mov qword [rbp - 0x90], rax
mov eax, dword [rbx + 0x38]
lea rdx, [0x1000e3bf0]
mov eax, dword [rdx + rax*4]
mov dword [rbp - 0x64], eax
mov rax, qword [rbp - 0x60]
test dword [rax + 0x78], 4
je 0x100061ac4
cmp dword [rbx + 0x38], 0
jne 0x100061ac4
or dword [rbp - 0x64], 0x100
cmp dword [rbx + 0x38], 0
jne 0x100061af0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0xc8]
mov rcx, qword [rax + 0x60]
call fcn.100030c40
cmp eax, 1
jle 0x100061af0
mov eax, dword [rbp - 0x64]
xor eax, 0x10
or eax, 0x20
mov dword [rbp - 0x64], eax
nop
mov eax, dword [rbx + 0x3c]
lea rdx, [0x1000e3c00]
mov eax, dword [rdx + rax*4]
mov dword [rbp - 0x68], eax
mov eax, dword [rbx + 0x3c]
cmp eax, 2
jae 0x100061b18
cmp dword [rbx + 0x38], 1
je 0x100061b18
mov dword [rbp - 0x68], 2
nop dword [rax]
mov eax, dword [rbx + 0x40]
cmp dword [rbx + 0x40], 0
je 0x100061b2b
lea rax, [rbx + 0x40]
mov qword [rbp - 0x78], rax
jmp 0x100061b33
mov qword [rbp - 0x78], 0
mov eax, dword [rbx + 0x24]
lea rdx, [0x1000e3c20]
mov eax, dword [rdx + rax*4]
mov dword [rbp - 0x6c], eax
mov rcx, qword [rbx + 0x18]
call fcn.100061670
mov qword [rbp - 0x80], rax
nop
mov rax, qword [rbp - 0x90]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x88]
mov qword [rsp + 0x58], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x48], rax
mov eax, dword [rbp - 0x6c]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x64]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp - 0x48]
test rax, rax
jne 0x100061ba0
lea rax, [0x100164470]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x40]
test rax, rax
jne 0x100061bb5
lea rax, [0x100164470]
mov qword [rsp + 0x38], rax
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x100061bca
lea r8, [0x100164470]
mov rdx, qword [rbp - 0x30]
test rdx, rdx
jne 0x100061bda
lea rdx, [0x100164470]
mov rcx, qword [rbp - 0x18]
mov r9d, 0xf01ff
call fcn.10009cdc0
mov qword [rbp - 0x20], rax
test rax, rax
jne 0x100061bf8
call fcn.10002bf10
nop
nop
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax + 0x38]
lea rcx, [rbp - 0x28]
call fcn.100008c20
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x100061c1a
lea rax, [0x100164470]
mov qword [rbp - 0x98], rax
lea r8, [rbp - 0x98]
mov rcx, qword [rbp - 0x20]
mov edx, 1
call fcn.10009cda0
cmp qword [rbp - 0x78], 0
je 0x100061c50
mov rax, qword [rbp - 0x60]
mov rax, qword [rax + 0x88]
mov edx, dword [rbp - 0x70]
mov dword [rax + 0x40], edx
nop
nop
mov rcx, rbp
call fcn.1000617b0
nop
mov rcx, rbp
call fcn.1000617d0
nop
mov rcx, rbp
call fcn.100061800
mov rbx, qword [rbp - 0xc8]
lea rsp, [rbp]
pop rbp
ret