Function at 0x14006b7e0
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 [0x1404953c0]
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 0x14006b87a
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0xf
cmova rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x138]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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, sendto
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 0x14006b95e
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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 0x14006bc18
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 0x14006ba00
lea r8, [rbp + 0x13d]
mov rdx, r9
lea rcx, [rbp + 0x70]
call fcn.14005e8b0
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.14002ecb0
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 0x14006bb28
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bb23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cf45
call fcn.1402b5c4c
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 [0x14043caa0]
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 0x14006bbac
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
jmp 0x14006ceee
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 0x14006bc5b
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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 0x14006bcd2
mov rdx, qword [r15]
mov r8d, 0x20000004
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r12, rax
test rax, rax
jne 0x14006bf25
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 0x14006bd00
lea r8, [rbp + 0x13d]
mov rdx, r9
lea rcx, [rbp + 0x90]
call fcn.14005e8b0
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.14002ecb0
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 0x14006be30
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006be2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cf4b
call fcn.1402b5c4c
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 [0x14043caa0]
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 0x14006beb9
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
jmp 0x14006cee4
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 0x14006bf68
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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 0x14006ccb0
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 0x14006c068
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0xf
cmova rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x138]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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 0x14006ca87
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 0x14006c12c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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 0x14006c497
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
cmp eax, 0x420
je 0x14006c3ea
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 0x14006c1d0
lea r8, [rbp + 0x13d]
mov rdx, r9
lea rcx, [rbp + 0x50]
call fcn.14005e8b0
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.14002ecb0
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 0x14006c2fc
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c2f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cf51
call fcn.1402b5c4c
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 [0x14043caa0]
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 0x14006c383
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x68]
jmp 0x14006ced6
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 0x14006c42d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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 0x14006c4da
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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 0x14006c5a1
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400347d0
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rdi
call fcn.140034620
mov rcx, rdi
call fcn.14002ddd0
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 0x14006c860
mov edx, dword [rbp + 0xb4]
lea rcx, [rbp + 0x108]
call fcn.14005f900
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x118]
sub rax, rcx
cmp rax, 0xf
jb 0x14006cf57
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.1400704d0
or esi, 0x10
mov dword [rsp + 0x40], esi
lea rcx, [rbp + 0x50]
call fcn.14005f4f0
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 0x14006c7b3
call fcn.140016400
cmp r14d, 0x5a
mov edi, 0
jle 0x14006c550
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 0x14006c73f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0xf
cmova rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x138]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
lea rcx, [rbp + 0x128]
jmp 0x14006ced6
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 0x14006c7fb
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x68]
call fcn.140016400
nop
jmp 0x14006cb0d
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 0x14006c870
lea r8, [rbp + 0x13d]
mov rdx, r9
lea rcx, [rbp - 0x70]
call fcn.14005e8b0
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.14002ecb0
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 0x14006c999
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c994
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cf5d
call fcn.1402b5c4c
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 [0x14043caa0]
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 0x14006ca20
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x68]
jmp 0x14006ced6
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 0x14006caad
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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 0x14006cb5a
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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 0x14006cc20
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0xf
cmova rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x138]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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 0x14006cf05
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 0x14006ccc0
lea r8, [rbp + 0x13d]
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.14005e8b0
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.14002ecb0
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 0x14006cdee
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cde9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cf3f
call fcn.1402b5c4c
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 [0x14043caa0]
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 0x14006ce75
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
mov rcx, rax
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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.1402b5c00
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.1402c5d0c
nop
call fcn.1402c5d0c
nop
call fcn.1402c5d0c
nop
call fcn.1402c5d0c
nop
call fcn.140016040
nop
call fcn.1402c5d0c
int3