Function at 0x1400074f0
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 [0x140055040]
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 0x1400075f5
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.140002420
nop
lea rcx, [0x140055cb0]
call fcn.14000bb90
lea rdx, str._X_
call fcn.140002140
lea rcx, [0x140055d00]
call fcn.14000bb90
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fec0
mov rcx, rax
call fcn.14000d840
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140007b9f
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007b9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007bce
jmp 0x140007b9a
lea rcx, str.w32tm__register
call fcn.14000ba80
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 0x140007690
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 0x140007642
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140007690
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 0x140007678
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140007690
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rbp - 0x25], ebx
jne 0x140007abe
mov r8d, 0xf01ff
lea rdx, str.W32Time
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x140007763
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.140002420
nop
lea rcx, [0x140055cb0]
call fcn.14000bb90
lea rdx, str._X_
call fcn.140002140
lea rcx, [0x140055d00]
call fcn.14000bb90
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fec0
mov rcx, rax
call fcn.14000d840
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140007755
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007750
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007be6
call fcn.1400169d4
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140007b9f
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 0x14000782d
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.140002420
nop
lea rcx, [0x140055cb0]
call fcn.14000bb90
lea rdx, str._X_
call fcn.140002140
lea rcx, [0x140055d00]
call fcn.14000bb90
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fec0
mov rcx, rax
call fcn.14000d840
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140007a8a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007bd4
jmp 0x140007a85
cmp dword [rbp + 0xb], 4
jne 0x1400078e4
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.140002420
nop
lea rcx, [0x140055cb0]
call fcn.14000bb90
lea rdx, str._X_
call fcn.140002140
lea rcx, [0x140055d00]
call fcn.14000bb90
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fec0
mov rcx, rax
call fcn.14000d840
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140007a8a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007bda
jmp 0x140007a85
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 0x1400079d1
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.140002420
nop
lea rcx, [0x140055cb0]
call fcn.14000bb90
lea rdx, str._X_
call fcn.140002140
lea rcx, [0x140055d00]
call fcn.14000bb90
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fec0
mov rcx, rax
call fcn.14000d840
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140007a8a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007be0
jmp 0x140007a85
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x140007aa1
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.140002420
nop
lea rcx, [0x140055cb0]
call fcn.14000bb90
lea rdx, str._X_
call fcn.140002140
lea rcx, [0x140055d00]
call fcn.14000bb90
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fec0
mov rcx, rax
call fcn.14000d840
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140007a8a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007bec
call fcn.1400169d4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140007b9f
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.14000ba80
lea rcx, str.w32tm__unregister
call fcn.14000ba80
lea rcx, str.w32tm__register
call fcn.14000ba80
lea rcx, str.net_start_w32time
call fcn.14000ba80
lea rcx, str.w32tm__resync
call fcn.14000ba80
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.140002420
nop
lea rcx, [0x140055ca0]
call fcn.14000bb90
lea rdx, str.__
call fcn.140002140
lea rcx, [0x140055d00]
call fcn.14000bb90
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fec0
lea rcx, [0x140056530]
call fcn.14000d840
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140007b9f
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007b9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007bc8
call fcn.1400169d4
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140016970
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.14001d988
int3
call fcn.14001d988
int3
call fcn.14001d988
int3
call fcn.14001d988
int3
call fcn.14001d988
int3
call fcn.14001d988
int3
call fcn.14001d988
int3