Function at 0x100061470
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.1000173c0
mov rdx, qword [rbp - 0xa0]
lea rcx, [rbp - 0x40]
call fcn.100017c60
mov rdx, qword [rbp - 0x40]
mov r8d, 1
mov ecx, 0x20
call fcn.10000a190
test rax, rax
je 0x100061574
lea rax, [0x1000fdb10]
mov qword [rbp - 0xb8], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0xb0], rax
lea rax, [0x1000fdb10]
mov qword [rbp - 0xa8], rax
lea rdx, [rbp - 0xb8]
lea rcx, [rbp - 0x40]
xor r9d, r9d
mov r8d, 2
call fcn.100009190
nop
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
xor r9d, r9d
lea r8, str.___run
call fcn.100008ec0
mov rax, qword [rbp - 0x60]
cmp qword [rax + 0x90], 0
je 0x1000615f0
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0xb8], rax
lea rax, [0x1000fdb50]
mov qword [rbp - 0xb0], rax
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax + 0x90]
lea rcx, [rbp - 0xc0]
call fcn.100017c60
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.100009190
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax + 0x60]
lea rcx, [rbp - 0x30]
call fcn.100008da0
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax + 0x40]
lea rcx, [rbp - 0x38]
call fcn.100008da0
mov rax, qword [rbp - 0x60]
mov rbx, qword [rax + 0x88]
lea rcx, [rbp - 0x48]
mov rdx, qword [rbx + 0x28]
call fcn.100008da0
lea rcx, [rbp - 0x50]
mov rdx, qword [rbx + 0x48]
call fcn.100008da0
cmp qword [rbp - 0x50], 0
jne 0x10006164b
mov qword [rbp - 0x88], 0
jmp 0x100061662
mov rax, qword [rbp - 0x50]
test rax, rax
jne 0x10006165b
lea rax, [0x100155470]
mov qword [rbp - 0x88], rax
lea rcx, [rbp - 0x58]
mov rdx, qword [rbx + 0x30]
call fcn.100008da0
cmp qword [rbp - 0x58], 0
jne 0x100061683
mov qword [rbp - 0x90], 0
jmp 0x10006169a
mov rax, qword [rbp - 0x58]
test rax, rax
jne 0x100061693
lea rax, [0x100155470]
mov qword [rbp - 0x90], rax
mov eax, dword [rbx + 0x38]
lea rdx, [0x1000d9ba0]
mov eax, dword [rdx + rax*4]
mov dword [rbp - 0x64], eax
mov rax, qword [rbp - 0x60]
test dword [rax + 0x78], 4
je 0x1000616c4
cmp dword [rbx + 0x38], 0
jne 0x1000616c4
or dword [rbp - 0x64], 0x100
cmp dword [rbx + 0x38], 0
jne 0x1000616f0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0xc8]
mov rcx, qword [rax + 0x60]
call fcn.100030a30
cmp eax, 1
jle 0x1000616f0
mov eax, dword [rbp - 0x64]
xor eax, 0x10
or eax, 0x20
mov dword [rbp - 0x64], eax
nop
mov eax, dword [rbx + 0x3c]
lea rdx, [0x1000d9bb0]
mov eax, dword [rdx + rax*4]
mov dword [rbp - 0x68], eax
mov eax, dword [rbx + 0x3c]
cmp eax, 2
jae 0x100061718
cmp dword [rbx + 0x38], 1
je 0x100061718
mov dword [rbp - 0x68], 2
nop dword [rax]
mov eax, dword [rbx + 0x40]
cmp dword [rbx + 0x40], 0
je 0x10006172b
lea rax, [rbx + 0x40]
mov qword [rbp - 0x78], rax
jmp 0x100061733
mov qword [rbp - 0x78], 0
mov eax, dword [rbx + 0x24]
lea rdx, [0x1000d9bd0]
mov eax, dword [rdx + rax*4]
mov dword [rbp - 0x6c], eax
mov rcx, qword [rbx + 0x18]
call fcn.100061270
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 0x1000617a0
lea rax, [0x100155470]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x40]
test rax, rax
jne 0x1000617b5
lea rax, [0x100155470]
mov qword [rsp + 0x38], rax
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x1000617ca
lea r8, [0x100155470]
mov rdx, qword [rbp - 0x30]
test rdx, rdx
jne 0x1000617da
lea rdx, [0x100155470]
mov rcx, qword [rbp - 0x18]
mov r9d, 0xf01ff
call fcn.1000927b0
mov qword [rbp - 0x20], rax
test rax, rax
jne 0x1000617f8
call fcn.10002bdd0
nop
nop
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax + 0x38]
lea rcx, [rbp - 0x28]
call fcn.100008da0
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x10006181a
lea rax, [0x100155470]
mov qword [rbp - 0x98], rax
lea r8, [rbp - 0x98]
mov rcx, qword [rbp - 0x20]
mov edx, 1
call fcn.100092790
cmp qword [rbp - 0x78], 0
je 0x100061850
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.1000613b0
nop
mov rcx, rbp
call fcn.1000613d0
nop
mov rcx, rbp
call fcn.100061400
mov rbx, qword [rbp - 0xc8]
lea rsp, [rbp]
pop rbp
ret