Function at 0x140007260
Capabilities:
Modify service
Query service configuration
Query service status
Set console window title
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, str.Syncing_Windows_Time
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r14, rax
test rax, rax
jne 0x140007365
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xor ebx, ebx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
lea r8d, [rax + 0x28]
lea rdx, str.__Failed_to_sync_Windows_Time__Error_14_
lea rcx, [rbp - 0x29]
call fcn.140002270
nop
lea rcx, [0x140053cb0]
call fcn.14000b8c0
lea rdx, str._X_
call fcn.140001f90
lea rcx, [0x140053d00]
call fcn.14000b8c0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fbf0
mov rcx, rax
call fcn.14000d570
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14000790f
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000790a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000793e
jmp 0x14000790a
lea rcx, str.w32tm__register
call fcn.14000b7b0
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
xor ebx, ebx
test rax, rax
je 0x140007400
lea r8d, [rbx + 4]
lea rdx, str.W32Time
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
jne 0x1400073b2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140007400
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp - 0x29]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov rcx, rsi
test eax, eax
jne 0x1400073e8
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140007400
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rbp - 0x25], ebx
jne 0x14000782e
mov r8d, 0xf01ff
lea rdx, str.W32Time
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x1400074d3
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
lea r8d, [rax + 0x28]
lea rdx, str.__Failed_to_sync_Windows_Time__Error_15_
lea rcx, [rbp - 0x29]
call fcn.140002270
nop
lea rcx, [0x140053cb0]
call fcn.14000b8c0
lea rdx, str._X_
call fcn.140001f90
lea rcx, [0x140053d00]
call fcn.14000b8c0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fbf0
mov rcx, rax
call fcn.14000d570
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400074c5
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007956
call fcn.140016434
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000790f
lea r9, [rbp - 1]
mov r8d, 0x40
lea rdx, [rbp + 7]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
jne 0x14000759d
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
lea r8d, [rax + 0x28]
lea rdx, str.__Failed_to_sync_Windows_Time__Error_16_
lea rcx, [rbp - 0x29]
call fcn.140002270
nop
lea rcx, [0x140053cb0]
call fcn.14000b8c0
lea rdx, str._X_
call fcn.140001f90
lea rcx, [0x140053d00]
call fcn.14000b8c0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fbf0
mov rcx, rax
call fcn.14000d570
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400077fa
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007944
jmp 0x1400077f5
cmp dword [rbp + 0xb], 4
jne 0x140007654
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov r8d, 0x28
lea rdx, str.__Failed_to_sync_Windows_Time__Error_17_
lea rcx, [rbp - 0x29]
call fcn.140002270
nop
lea rcx, [0x140053cb0]
call fcn.14000b8c0
lea rdx, str._X_
call fcn.140001f90
lea rcx, [0x140053d00]
call fcn.14000b8c0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fbf0
mov rcx, rax
call fcn.14000d570
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400077fa
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000794a
jmp 0x1400077f5
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov edx, 0xffffffff
mov r9d, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x140007741
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
lea r8d, [rax + 0x28]
lea rdx, str.__Failed_to_sync_Windows_Time__Error_18_
lea rcx, [rbp - 0x29]
call fcn.140002270
nop
lea rcx, [0x140053cb0]
call fcn.14000b8c0
lea rdx, str._X_
call fcn.140001f90
lea rcx, [0x140053d00]
call fcn.14000b8c0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fbf0
mov rcx, rax
call fcn.14000d570
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400077fa
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007950
jmp 0x1400077f5
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x140007811
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
lea r8d, [rax + 0x28]
lea rdx, str.__Failed_to_sync_Windows_Time__Error_19_
lea rcx, [rbp - 0x29]
call fcn.140002270
nop
lea rcx, [0x140053cb0]
call fcn.14000b8c0
lea rdx, str._X_
call fcn.140001f90
lea rcx, [0x140053d00]
call fcn.14000b8c0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fbf0
mov rcx, rax
call fcn.14000d570
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400077fa
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000795c
call fcn.140016434
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000790f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.net_stop_w32time
call fcn.14000b7b0
lea rcx, str.w32tm__unregister
call fcn.14000b7b0
lea rcx, str.w32tm__register
call fcn.14000b7b0
lea rcx, str.net_start_w32time
call fcn.14000b7b0
lea rcx, str.w32tm__resync
call fcn.14000b7b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov r8d, 0x22
lea rdx, str.__Successfully_synced_Windows_time
lea rcx, [rbp - 0x29]
call fcn.140002270
nop
lea rcx, [0x140053ca0]
call fcn.14000b8c0
lea rdx, str.__
call fcn.140001f90
lea rcx, [0x140053d00]
call fcn.14000b8c0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fbf0
lea rcx, [0x140054530]
call fcn.14000d570
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14000790f
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000790a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007938
call fcn.140016434
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400163d0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14001d19c
int3
call fcn.14001d19c
int3
call fcn.14001d19c
int3
call fcn.14001d19c
int3
call fcn.14001d19c
int3
call fcn.14001d19c
int3
call fcn.14001d19c
int3