Function at 0x140016d80
Capabilities:
Modify service

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401dd3a0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
mov qword [rsp + 0xe0], rax
test rax, rax
jne 0x140017134
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
lea rcx, str.swifdiag.log
call fcn.140001910
mov rbx, rax
xor esi, esi
lea rbp, str.cannot_open_Service_Control_Manager
lea r14, str._err:
lea r13, str.SwiConfigApp::registerOurselves
lea r15, str....._src_swic_srcSwiConfigApp.cpp
test rax, rax
je 0x140016f72
mov r10, qword [rax]
mov qword [rsp + 0x20], r13
mov r9, r15
lea r8, str.default
lea edx, [rdi + 1]
mov rcx, rax
call qword [r10 + 8]
test al, al
je 0x140016f72
mov byte [rbx + 0xf8], 0x65
mov eax, esi
mov r8b, 0x2e
mov rcx, r15
mov edx, 1
nop dword [rax + rax]
cmp r8b, 0x5c
cmove eax, edx
inc edx
inc rcx
movzx r8d, byte [rcx]
test r8b, r8b
jne 0x140016e60
add rax, r15
mov qword [rbx + 0x100], rax
mov dword [rbx + 0x108], 0x124
mov qword [rbx + 0x110], r13
mov rcx, rbx
call fcn.1400027f0
mov rdi, rax
mov rbx, rsi
nop
inc rbx
cmp byte [rbx + rbp], sil
jne 0x140016ea0
mov ecx, dword [rax + 0x430]
mov dword [rax + 0x430], esi
cmp ebx, ecx
jge 0x140016ef0
movzx eax, byte [rax + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebx
mov ebp, ecx
nop dword [rax + rax]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14002f090
sub rbp, 1
jne 0x140016ed0
lea rbp, str.cannot_open_Service_Control_Manager
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.14002f090
mov rbx, rsi
inc rbx
cmp byte [rbx + r14], sil
jne 0x140016f01
mov ecx, dword [rdi + 0x430]
mov dword [rdi + 0x430], esi
cmp ebx, ecx
jge 0x140016f50
movzx eax, byte [rdi + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebx
mov ebp, ecx
nop dword [rax]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14002f090
sub rbp, 1
jne 0x140016f30
lea rbp, str.cannot_open_Service_Control_Manager
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.14002f090
mov edx, r12d
mov rcx, rdi
call fcn.1400146a0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
lea rcx, [0x14019e670]
call fcn.140030de0
mov rbx, rax
test rax, rax
je 0x1400170e3
mov r10, qword [rax]
mov qword [rsp + 0x20], r13
mov r9, r15
lea r8, str.default
mov edx, 1
mov rcx, rax
call qword [r10 + 8]
test al, al
je 0x1400170e3
mov byte [rbx + 0xf8], 0x65
mov eax, esi
mov r8b, 0x2e
mov rcx, r15
mov edx, 1
nop word [rax + rax]
cmp r8b, 0x5c
cmove eax, edx
inc edx
inc rcx
movzx r8d, byte [rcx]
test r8b, r8b
jne 0x140016fd0
add rax, r15
mov qword [rbx + 0x100], rax
mov dword [rbx + 0x108], 0x124
mov qword [rbx + 0x110], r13
mov rcx, rbx
call fcn.1400027f0
mov rdi, rax
mov rbx, rsi
nop
inc rbx
cmp byte [rbx + rbp], sil
jne 0x140017010
mov ecx, dword [rax + 0x430]
mov dword [rax + 0x430], esi
cmp ebx, ecx
jge 0x140017060
movzx eax, byte [rax + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebx
mov ebp, ecx
nop dword [rax + rax]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14002f090
sub rbp, 1
jne 0x140017040
lea rbp, str.cannot_open_Service_Control_Manager
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.14002f090
mov rbx, rsi
inc rbx
cmp byte [rbx + r14], sil
jne 0x140017071
mov ecx, dword [rdi + 0x430]
mov dword [rdi + 0x430], esi
cmp ebx, ecx
jge 0x1400170c0
movzx eax, byte [rdi + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebx
mov ebp, ecx
nop dword [rax]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14002f090
sub rbp, 1
jne 0x1400170a0
lea rbp, str.cannot_open_Service_Control_Manager
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.14002f090
mov edx, r12d
mov rcx, rdi
call fcn.1400146a0
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 8]
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x40], sil
mov r8d, 0x23
mov rdx, rbp
lea rcx, [rsp + 0x38]
call fcn.1400128b0
nop
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x90]
call fcn.14003e070
lea rdx, [0x1401d8ba0]
lea rcx, [rsp + 0x90]
call fcn.1400e0fa4
nop
mov qword [rsp + 0x190], 7
xor esi, esi
mov qword [rsp + 0x188], rsi
mov word [rsp + 0x178], si
mov qword [rsp + 0x80], 0xf
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x68], sil
lea r8d, [rsi + 0x14]
lea rdx, str.application.baseName
lea rcx, [rsp + 0x60]
call fcn.1400128b0
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
mov rcx, qword [rbx + 0x10]
call fcn.140056550
nop
lea rdx, [rsp + 0x170]
mov rcx, rax
call fcn.140043d00
nop
cmp qword [rsp + 0x58], 0x10
jb 0x1400171b5
mov rcx, qword [rsp + 0x40]
call fcn.1400ddb14
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x40], 0
cmp qword [rsp + 0x80], 0x10
jb 0x1400171dd
mov rcx, qword [rsp + 0x68]
call fcn.1400ddb14
mov qword [rsp + 0x1b8], 7
mov qword [rsp + 0x1b0], rsi
mov word [rsp + 0x1a0], si
lea rcx, [rbx + 0x158]
lea rdx, [rsp + 0x198]
call fcn.140043d00
mov qword [rsp + 0x140], 7
mov qword [rsp + 0x138], rsi
mov word [rsp + 0x128], si
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, 9
test rax, rax
je 0x14001733b
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001733b
lea rcx, [rsp + 0x90]
call rax
cmp bx, word [rsp + 0x90]
sete al
test al, al
je 0x14001733b
lea rcx, [rsp + 0x90]
call fcn.140022520
nop
mov r8, rax
lea rdx, [0x1401a2a08]
lea rcx, [rsp + 0x60]
call fcn.140001150
nop
lea r8, str._swi_update_64.exe_
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140013df0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.1400012a0
nop
cmp qword [rsp + 0x58], 8
jb 0x1400172dc
mov rcx, qword [rsp + 0x40]
call fcn.1400ddb14
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
cmp qword [rsp + 0x80], 8
jb 0x140017304
mov rcx, qword [rsp + 0x68]
call fcn.1400ddb14
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
cmp qword [rsp + 0xb0], 8
jb 0x1400173f3
mov rcx, qword [rsp + 0x98]
call fcn.1400ddb14
jmp 0x1400173f3
lea rcx, [rsp + 0x90]
call fcn.140022520
nop
mov r8, rax
lea rdx, [0x1401a2a08]
lea rcx, [rsp + 0x60]
call fcn.140001150
nop
lea r8, str._swi_update.exe_
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140013df0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.1400012a0
nop
cmp qword [rsp + 0x58], 8
jb 0x14001739d
mov rcx, qword [rsp + 0x40]
call fcn.1400ddb14
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
cmp qword [rsp + 0x80], 8
jb 0x1400173c5
mov rcx, qword [rsp + 0x68]
call fcn.1400ddb14
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
cmp qword [rsp + 0xb0], 8
jb 0x1400173f3
mov rcx, qword [rsp + 0x98]
call fcn.1400ddb14
mov qword [rsp + 0x168], 7
mov qword [rsp + 0x160], rsi
mov word [rsp + 0x150], si
mov r8, rbx
lea rdx, str.Event_Log
lea rcx, [rsp + 0x148]
call fcn.140001520
nop
lea rax, [rsp + 0x148]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x198]
lea rdx, [rsp + 0x170]
mov rcx, rdi
call fcn.140015430
mov rbx, rax
mov qword [rsp + 0xe8], rax
test rax, rax
jne 0x1400177b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
lea rcx, str.swifdiag.log
call fcn.140001910
mov rbx, rax
lea r14, str._err:
lea rbp, str.cannot_register_swic_service
lea r13, str.SwiConfigApp::registerOurselves
lea r15, str....._src_swic_srcSwiConfigApp.cpp
test rax, rax
je 0x1400175f2
mov r10, qword [rax]
mov qword [rsp + 0x20], r13
mov r9, r15
lea r8, str.default
mov edx, 1
mov rcx, rax
call qword [r10 + 8]
test al, al
je 0x1400175f2
mov byte [rbx + 0xf8], 0x65
mov eax, esi
mov r8b, 0x2e
mov rcx, r15
mov edx, 1
nop
cmp r8b, 0x5c
cmove eax, edx
inc edx
inc rcx
movzx r8d, byte [rcx]
test r8b, r8b
jne 0x1400174e0
add rax, r15
mov qword [rbx + 0x100], rax
mov dword [rbx + 0x108], 0x13c
mov qword [rbx + 0x110], r13
mov rcx, rbx
call fcn.1400027f0
mov rdi, rax
mov rbx, rsi
nop
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140017520
mov ecx, dword [rax + 0x430]
mov dword [rax + 0x430], esi
cmp ebx, ecx
jge 0x140017570
movzx eax, byte [rax + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebx
mov ebp, ecx
nop dword [rax + rax]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14002f090
sub rbp, 1
jne 0x140017550
lea rbp, str.cannot_register_swic_service
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.14002f090
mov rbx, rsi
inc rbx
cmp byte [rbx + r14], 0
jne 0x140017581
mov ecx, dword [rdi + 0x430]
mov dword [rdi + 0x430], esi
cmp ebx, ecx
jge 0x1400175d0
movzx eax, byte [rdi + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebx
mov ebp, ecx
nop word [rax + rax]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14002f090
sub rbp, 1
jne 0x1400175b0
lea rbp, str.cannot_register_swic_service
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.14002f090
mov edx, r12d
mov rcx, rdi
call fcn.1400146a0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
lea rcx, [0x14019e670]
call fcn.140030de0
mov rbx, rax
test rax, rax
je 0x140017763
mov r10, qword [rax]
mov qword [rsp + 0x20], r13
mov r9, r15
lea r8, str.default
mov edx, 1
mov rcx, rax
call qword [r10 + 8]
test al, al
je 0x140017763
mov byte [rbx + 0xf8], 0x65
mov eax, esi
mov r8b, 0x2e
mov rcx, r15
mov edx, 1
nop word [rax + rax]
cmp r8b, 0x5c
cmove eax, edx
inc edx
inc rcx
movzx r8d, byte [rcx]
test r8b, r8b
jne 0x140017650
add rax, r15
mov qword [rbx + 0x100], rax
mov dword [rbx + 0x108], 0x13c
mov qword [rbx + 0x110], r13
mov rcx, rbx
call fcn.1400027f0
mov rdi, rax
mov rbx, rsi
nop
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140017690
mov ecx, dword [rax + 0x430]
mov dword [rax + 0x430], esi
cmp ebx, ecx
jge 0x1400176e0
movzx eax, byte [rax + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebx
mov ebp, ecx
nop dword [rax + rax]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14002f090
sub rbp, 1
jne 0x1400176c0
lea rbp, str.cannot_register_swic_service
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.14002f090
mov rbx, rsi
inc rbx
cmp byte [rbx + r14], 0
jne 0x1400176f1
mov ecx, dword [rdi + 0x430]
mov dword [rdi + 0x430], esi
cmp ebx, ecx
jge 0x140017740
movzx eax, byte [rdi + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebx
mov ebp, ecx
nop word [rax + rax]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14002f090
sub rbp, 1
jne 0x140017720
lea rbp, str.cannot_register_swic_service
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.14002f090
mov edx, r12d
mov rcx, rdi
call fcn.1400146a0
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 8]
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x40], 0
mov r8d, 0x1c
mov rdx, rbp
lea rcx, [rsp + 0x38]
call fcn.1400128b0
nop
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x90]
call fcn.14003e070
lea rdx, [0x1401d8ba0]
lea rcx, [rsp + 0x90]
call fcn.1400e0fa4
nop
mov qword [rsp + 0x118], 7
mov qword [rsp + 0x110], rsi
mov word [rsp + 0x100], si
lea rdx, [rsp + 0xf8]
lea rcx, str.Reconfigure_the_Sophos_Web_Intelligence_components.
call fcn.140044090
lea r11, [rsp + 0x100]
cmp qword [rsp + 0x118], 8
cmovae r11, qword [rsp + 0x100]
mov qword [rsp + 0x88], r11
lea r8, [rsp + 0x88]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
lea r12, str.SwiConfigApp::registerOurselves
lea r15, str....._src_swic_srcSwiConfigApp.cpp
test eax, eax
jne 0x140017b24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
lea rcx, str.swifdiag.log
call fcn.140001910
mov rbp, rax
lea r14, str._err:
lea r13, str.Failed_to_set_the_service_description
test rax, rax
je 0x1400179bb
mov r10, qword [rax]
mov qword [rsp + 0x20], r12
mov r9, r15
lea r8, str.default
mov edx, 1
mov rcx, rax
call qword [r10 + 8]
test al, al
je 0x1400179bb
mov byte [rbp + 0xf8], 0x65
mov eax, esi
mov r8b, 0x2e
mov rcx, r15
mov edx, 1
nop dword [rax]
cmp r8b, 0x5c
cmove eax, edx
inc edx
inc rcx
movzx r8d, byte [rcx]
test r8b, r8b
jne 0x1400178a0
add rax, r15
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x108], 0x148
mov qword [rbp + 0x110], r12
mov rcx, rbp
call fcn.1400027f0
mov r12, rax
mov rbp, rsi
nop
inc rbp
cmp byte [r13 + rbp], 0
jne 0x1400178e0
mov ecx, dword [rax + 0x430]
mov dword [rax + 0x430], esi
cmp ebp, ecx
jge 0x140017930
movzx eax, byte [rax + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebp
mov r13d, ecx
nop dword [rax + rax]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.14002f090
sub r13, 1
jne 0x140017910
lea r13, str.Failed_to_set_the_service_description
mov r8, rbp
mov rdx, r13
mov rcx, r12
call fcn.14002f090
mov rbp, rsi
inc rbp
cmp byte [r14 + rbp], 0
jne 0x140017941
mov ecx, dword [r12 + 0x430]
mov dword [r12 + 0x430], esi
cmp ebp, ecx
jge 0x140017991
movzx eax, byte [r12 + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebp
mov r13d, ecx
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.14002f090
sub r13, 1
jne 0x140017971
lea r13, str.Failed_to_set_the_service_description
mov r8, rbp
mov rdx, r14
mov rcx, r12
call fcn.14002f090
mov edx, dword [rsp + 0x34]
mov rcx, r12
call fcn.1400146a0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
lea r12, str.SwiConfigApp::registerOurselves
lea rcx, [0x14019e670]
call fcn.140030de0
mov rbp, rax
test rax, rax
je 0x140017b1d
mov r10, qword [rax]
mov qword [rsp + 0x20], r12
mov r9, r15
lea r8, str.default
mov edx, 1
mov rcx, rax
call qword [r10 + 8]
test al, al
je 0x140017b1d
mov byte [rbp + 0xf8], 0x65
mov eax, esi
mov r8b, 0x2e
mov rcx, r15
mov edx, 1
nop dword [rax]
cmp r8b, 0x5c
cmove eax, edx
inc edx
inc rcx
movzx r8d, byte [rcx]
test r8b, r8b
jne 0x140017a10
add rax, r15
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x108], 0x148
mov qword [rbp + 0x110], r12
mov rcx, rbp
call fcn.1400027f0
mov r12, rax
mov rbp, rsi
nop
inc rbp
cmp byte [r13 + rbp], 0
jne 0x140017a50
mov ecx, dword [rax + 0x430]
mov dword [rax + 0x430], esi
cmp ebp, ecx
jge 0x140017aa0
movzx eax, byte [rax + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebp
mov r13d, ecx
nop dword [rax + rax]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.14002f090
sub r13, 1
jne 0x140017a80
lea r13, str.Failed_to_set_the_service_description
mov r8, rbp
mov rdx, r13
mov rcx, r12
call fcn.14002f090
mov rbp, rsi
inc rbp
cmp byte [r14 + rbp], 0
jne 0x140017ab1
mov ecx, dword [r12 + 0x430]
mov dword [r12 + 0x430], esi
cmp ebp, ecx
jge 0x140017afa
movzx eax, byte [r12 + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebp
mov r13d, ecx
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.14002f090
sub r13, 1
jne 0x140017ae1
mov r8, rbp
mov rdx, r14
mov rcx, r12
call fcn.14002f090
mov edx, dword [rsp + 0x34]
mov rcx, r12
call fcn.1400146a0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
lea r12, str.SwiConfigApp::registerOurselves
lea rcx, str.swifdiag.log
call fcn.140001910
mov rbp, rax
test rax, rax
je 0x140017c23
mov r10, qword [rax]
mov qword [rsp + 0x20], r12
mov r9, r15
lea r8, str.default
mov edx, 2
mov rcx, rax
call qword [r10 + 8]
test al, al
je 0x140017c23
mov byte [rbp + 0xf8], 0x69
mov eax, esi
mov r8b, 0x2e
mov rcx, r15
mov edx, 1
nop word [rax + rax]
cmp r8b, 0x5c
cmove eax, edx
inc edx
inc rcx
movzx r8d, byte [rcx]
test r8b, r8b
jne 0x140017b80
add rax, r15
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x108], 0x14b
mov qword [rbp + 0x110], r12
mov rcx, rbp
call fcn.1400027f0
mov r12, rax
mov rbp, rsi
lea r14, str.swic_service_registered
inc rbp
cmp byte [r14 + rbp], 0
jne 0x140017bc5
mov ecx, dword [rax + 0x430]
mov dword [rax + 0x430], esi
cmp ebp, ecx
jge 0x140017c09
movzx eax, byte [rax + 0x42c]
mov byte [rsp + 0x30], al
sub ecx, ebp
mov r13d, ecx
nop
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.14002f090
sub r13, 1
jne 0x140017bf0
mov r8, rbp
mov rdx, r14
mov rcx, r12
call fcn.14002f090
mov r11, qword [r12]
mov rcx, r12
call qword [r11 + 8]
nop
cmp qword [rsp + 0x118], 8
jb 0x140017c3b
mov rcx, qword [rsp + 0x100]
call fcn.1400ddb14
mov qword [rsp + 0x118], 7
mov qword [rsp + 0x110], rsi
mov word [rsp + 0x100], si
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
cmp qword [rsp + 0x168], 8
jb 0x140017c79
mov rcx, qword [rsp + 0x150]
call fcn.1400ddb14
mov qword [rsp + 0x168], 7
mov qword [rsp + 0x160], rsi
mov word [rsp + 0x150], si
cmp qword [rsp + 0x140], 8
jb 0x140017cad
mov rcx, qword [rsp + 0x128]
call fcn.1400ddb14
mov qword [rsp + 0x140], 7
mov qword [rsp + 0x138], rsi
mov word [rsp + 0x128], si
cmp qword [rsp + 0x1b8], 8
jb 0x140017ce1
mov rcx, qword [rsp + 0x1a0]
call fcn.1400ddb14
mov qword [rsp + 0x1b8], 7
mov qword [rsp + 0x1b0], rsi
mov word [rsp + 0x1a0], si
cmp qword [rsp + 0x190], 8
jb 0x140017d15
mov rcx, qword [rsp + 0x178]
call fcn.1400ddb14
mov qword [rsp + 0x190], 7
mov qword [rsp + 0x188], rsi
mov word [rsp + 0x178], si
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400dd780
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret