Function at 0x14006d7a0
Capabilities:
Query service status
Start service

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov r15, rcx
mov qword [rbp + 0xd8], rcx
xor edi, edi
mov esi, edi
mov dword [rsp + 0x40], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], rdi
mov qword [rbp + 0x140], rdi
lea r8d, [rdi + 0x14]
lea rdx, str.Enter_StartMBService
lea rcx, [rbp + 0x128]
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006d83a
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0xf
cmova rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x138]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rbp + 0x128]
call fcn.140016400
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0xf8], rdi
mov qword [rbp + 0xf0], rdi
mov qword [rbp + reloc.WS2_32.dll_ntohs8], 0xf
mov byte [rbp + 0xe0], 0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r8d, socket
lea rdx, str.getting_SCM_handle
lea rcx, [rsp + 0x48]
call fcn.140015370
nop
lea rcx, [rbp - 0x70]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006d91e
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rbp - 0x70]
call fcn.140016400
nop
lea rcx, [rsp + 0x48]
call fcn.140016400
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r13, rax
test rax, rax
jne 0x14006dbd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0x13d]
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14006d9c0
lea r8, [rbp + 0x13d]
mov rdx, r9
lea rcx, [rbp + 0x70]
call fcn.140060870
mov ebx, 2
mov dword [rsp + 0x40], ebx
and ebx, 0xfffffffd
mov dword [rsp + 0x40], ebx
or ebx, 1
mov dword [rsp + 0x40], ebx
mov r9d, 6
lea r8, str.Error
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.140015db0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 4
mov dword [rsp + 0x40], ebx
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str._calling_OpenSCManager
lea rcx, [rbp - 0x50]
call fcn.14002fed0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x48], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rsp + 0x58], xmm7
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 8
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x14006dae8
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006dae3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ef05
call fcn.1402ba9fc
mov qword [rbp + 0xf0], rdi
mov qword [rbp + reloc.WS2_32.dll_ntohs8], 0xf
mov byte [rbp + 0xe0], 0
movups xmmword [rbp + 0xe0], xmm6
movups xmmword [rbp + 0xf0], xmm7
movdqa xmm0, xmmword [0x1404459a0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
and ebx, 0xfffffff7
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x48]
call fcn.140016400
and ebx, 0xfffffffb
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x50]
call fcn.140016400
and ebx, 0xfffffffe
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x70]
call fcn.140016400
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006db6c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
jmp 0x14006eeae
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r8d, 0x26
lea rdx, str.got_SCM_handle__getting_service_handle
lea rcx, [rsp + 0x48]
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006dc1b
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rsp + 0x48]
call fcn.140016400
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x14006dc92
mov rdx, qword [r15]
mov r8d, 0x20000004
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r12, rax
test rax, rax
jne 0x14006dee5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0x13d]
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14006dcc0
lea r8, [rbp + 0x13d]
mov rdx, r9
lea rcx, [rbp + 0x90]
call fcn.140060870
mov ebx, 0x40
mov dword [rsp + 0x40], ebx
and ebx, 0xffffffbf
mov dword [rsp + 0x40], ebx
or ebx, 0x20
mov dword [rsp + 0x40], ebx
mov r9d, 6
lea r8, str.Error
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.140015db0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 7
mov dword [rsp + 0x40], ebx
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str._calling_OpenService
lea rcx, [rbp - 0x30]
call fcn.14002fed0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x48], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rsp + 0x58], xmm7
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 8
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x14006ddf0
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ddeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ef0b
call fcn.1402ba9fc
mov qword [rbp + 0xf0], rdi
mov qword [rbp + reloc.WS2_32.dll_ntohs8], 0xf
mov byte [rbp + 0xe0], 0
movups xmmword [rbp + 0xe0], xmm6
movups xmmword [rbp + 0xf0], xmm7
movdqa xmm0, xmmword [0x1404459a0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
btr ebx, 8
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x48]
call fcn.140016400
btr ebx, 7
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x30]
call fcn.140016400
and ebx, 0xffffffdf
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x90]
call fcn.140016400
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006de79
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
jmp 0x14006eea4
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r8d, 0x28
lea rdx, str.got_service_handle__query_service_status
lea rcx, [rsp + 0x48]
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006df28
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rsp + 0x48]
call fcn.140016400
mov dword [rbp + 0x100], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
mov dword [rbp + 0xd0], eax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp + 0xb0]
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14006ec70
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], rdi
mov qword [rbp + 0x140], rdi
mov r8d, 0x1f
lea rdx, str.successful_query_service_status
lea rcx, [rbp + 0x128]
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006e028
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0xf
cmova rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x138]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rbp + 0x128]
call fcn.140016400
xorps xmm0, xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r8d, reloc.WS2_32.dll_socket
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
cmp dword [rbp + 0xb4], 4
je 0x14006ea47
lea rdx, str.Starting_the_service...
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006e0ec
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rsp + 0x48]
call fcn.140016400
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14006e457
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
cmp eax, 0x420
je 0x14006e3aa
lea r9, [rbp + 0x13d]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14006e190
lea r8, [rbp + 0x13d]
mov rdx, r9
lea rcx, [rbp + 0x50]
call fcn.140060870
mov ebx, 0x10000
mov dword [rsp + 0x40], ebx
btr ebx, 0x10
mov dword [rsp + 0x40], ebx
bts ebx, 0xf
mov dword [rsp + 0x40], ebx
mov r9d, 6
lea r8, str.Error
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.140015db0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 0xe
mov dword [rsp + 0x40], ebx
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str._calling_StartService
lea rcx, [rbp - 0x10]
call fcn.14002fed0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x48], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rsp + 0x58], xmm7
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 0xd
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x14006e2bc
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e2b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ef11
call fcn.1402ba9fc
mov qword [rbp + 0xf0], rdi
mov qword [rbp + reloc.WS2_32.dll_ntohs8], 0xf
mov byte [rbp + 0xe0], 0
movups xmmword [rbp + 0xe0], xmm6
movups xmmword [rbp + 0xf0], xmm7
movdqa xmm0, xmmword [0x1404459a0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
btr ebx, 0xd
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x48]
call fcn.140016400
btr ebx, 0xe
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x10]
call fcn.140016400
btr ebx, 0xf
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x50]
call fcn.140016400
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006e343
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
jmp 0x14006ee96
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r8d, 0x33
lea rdx, str.StartService_returned_ERROR_SERVICE_ALREADY_RUNNING
lea rcx, [rsp + 0x48]
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006e3ed
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rsp + 0x48]
call fcn.140016400
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r8d, 0x3c
lea rdx, str.StartService_call_succeeded__waiting_for_service_to_start...
lea rcx, [rsp + 0x48]
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006e49a
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rsp + 0x48]
call fcn.140016400
mov r14d, edi
movzx ebx, byte [rbp - 0x78]
nop dword [rax + rax]
inc r14d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.query_service_status
lea rcx, [rsp + 0x48]
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006e561
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140035a10
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rdi
call fcn.140035860
mov rcx, rdi
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rsp + 0x48]
call fcn.140016400
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp + 0xb0]
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14006e820
mov edx, dword [rbp + 0xb4]
lea rcx, [rbp + 0x108]
call fcn.1400618c0
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x118]
sub rax, rcx
cmp rax, 0xf
jb 0x14006ef17
lea rax, [rbp + 0x108]
cmp qword [rbp + 0x120], 0xf
cmova rax, qword [rbp + 0x108]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_ntohs
lea r9, str.service_state:
lea r8, [rbp + 0x108]
movzx edx, bl
lea rcx, [rbp + 0x50]
call fcn.140072490
or esi, 0x10
mov dword [rsp + 0x40], esi
lea rcx, [rbp + 0x50]
call fcn.1400614b0
and esi, 0xffffffef
mov dword [rsp + 0x40], esi
lea rcx, [rbp + 0x50]
call fcn.140016400
cmp dword [rbp + 0xb4], 4
lea rcx, [rbp + 0x108]
je 0x14006e773
call fcn.140016400
cmp r14d, 0x5a
mov edi, 0
jle 0x14006e510
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
xor ebx, ebx
mov qword [rbp + 0x138], rbx
mov qword [rbp + 0x140], rbx
lea r8d, [rdi + 0x27]
lea rdx, str.timed_out_waiting_for_service_to_start.
lea rcx, [rbp + 0x128]
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006e6ff
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0xf
cmova rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x138]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rbp + 0x128]
jmp 0x14006ee96
call fcn.140016400
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
lea r8d, [rdi + 0xf]
lea rdx, str.service_started
lea rcx, [rsp + 0x48]
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006e7bb
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
jmp 0x14006eacd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0x13d]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14006e830
lea r8, [rbp + 0x13d]
mov rdx, r9
lea rcx, [rbp - 0x70]
call fcn.140060870
bts esi, 0x13
mov dword [rsp + 0x40], esi
btr esi, 0x13
mov dword [rsp + 0x40], esi
bts esi, 0x12
mov dword [rsp + 0x40], esi
mov r9d, 6
lea r8, str.Error
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140015db0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
bts esi, 0x14
mov dword [rsp + 0x40], esi
lea r8d, [rbx + 0x20]
lea rdx, str._calling_QueryServiceStatusEx_2_
lea rcx, [rbp + 0x10]
call fcn.14002fed0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x48], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rsp + 0x58], xmm7
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
bts esi, 0x11
mov dword [rsp + 0x40], esi
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x14006e959
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e954
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ef1d
call fcn.1402ba9fc
mov qword [rbp + 0xf0], rbx
mov qword [rbp + reloc.WS2_32.dll_ntohs8], 0xf
mov byte [rbp + 0xe0], 0
movups xmmword [rbp + 0xe0], xmm6
movups xmmword [rbp + 0xf0], xmm7
movdqa xmm0, xmmword [0x1404459a0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
btr esi, 0x11
mov dword [rsp + 0x40], esi
lea rcx, [rsp + 0x48]
call fcn.140016400
btr esi, 0x14
mov dword [rsp + 0x40], esi
lea rcx, [rbp + 0x10]
call fcn.140016400
btr esi, 0x12
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x70]
call fcn.140016400
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006e9e0
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
jmp 0x14006ee96
lea rdx, str.service_already_running
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006ea6d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rsp + 0x48]
call fcn.140016400
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r8d, 0x1f
lea rdx, str.closing_SCM_and_service_handles
lea rcx, [rsp + 0x48]
call fcn.140015370
nop
lea rcx, [rsp + 0x68]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006eb1a
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rsp + 0x48]
call fcn.140016400
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], rdi
mov qword [rbp + 0x140], rdi
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.exit_StartMBService
lea rcx, [rbp + 0x128]
call fcn.140015370
nop
lea rcx, [rbp - 0x70]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006ebe0
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0xf
cmova rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x138]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rbp - 0x70]
call fcn.140016400
nop
lea rcx, [rbp + 0x128]
call fcn.140016400
nop
lea rcx, [rbp + 0xe0]
call fcn.140016400
nop
mov rcx, r15
call fcn.1400166f0
mov al, 1
jmp 0x14006eec5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0x13d]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14006ec80
lea r8, [rbp + 0x13d]
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.140060870
mov ebx, 0x400
mov dword [rsp + 0x40], ebx
btr ebx, 0xa
mov dword [rsp + 0x40], ebx
bts ebx, 9
mov dword [rsp + 0x40], ebx
mov r9d, 6
lea r8, str.Error
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140015db0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 0xb
mov dword [rsp + 0x40], ebx
mov r8d, 0x20
lea rdx, str._calling_QueryServiceStatusEx_1_
lea rcx, [rbp + 0x30]
call fcn.14002fed0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x48], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rsp + 0x58], xmm7
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 0xc
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x14006edae
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006eda9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006eeff
call fcn.1402ba9fc
mov qword [rbp + 0xf0], rdi
mov qword [rbp + reloc.WS2_32.dll_ntohs8], 0xf
mov byte [rbp + 0xe0], 0
movups xmmword [rbp + 0xe0], xmm6
movups xmmword [rbp + 0xf0], xmm7
movdqa xmm0, xmmword [0x1404459a0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
btr ebx, 0xc
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x48]
call fcn.140016400
btr ebx, 0xb
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x30]
call fcn.140016400
btr ebx, 9
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x68]
call fcn.140016400
lea rcx, [rbp - 0x70]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006ee35
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rbp - 0x70]
call fcn.140016400
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rbp + 0xe0]
call fcn.140016400
nop
mov rcx, r15
call fcn.1400166f0
xor al, al
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.1402ba9b0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1402caabc
nop
call fcn.1402caabc
nop
call fcn.1402caabc
nop
call fcn.1402caabc
nop
call fcn.140016040
nop
call fcn.1402caabc
int3