Function at 0x140007120
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 0x140007225
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.140002430
nop
lea rcx, [0x140053cb0]
call fcn.14000b710
lea rdx, str._X_
call fcn.140002150
lea rcx, [0x140053d00]
call fcn.14000b710
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fa40
mov rcx, rax
call fcn.14000d3c0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400077cf
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400077fe
jmp 0x1400077ca
lea rcx, str.w32tm__register
call fcn.14000b600
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 0x1400072c0
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 0x140007272
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400072c0
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 0x1400072a8
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400072c0
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rbp - 0x25], ebx
jne 0x1400076ee
mov r8d, 0xf01ff
lea rdx, str.W32Time
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x140007393
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.140002430
nop
lea rcx, [0x140053cb0]
call fcn.14000b710
lea rdx, str._X_
call fcn.140002150
lea rcx, [0x140053d00]
call fcn.14000b710
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fa40
mov rcx, rax
call fcn.14000d3c0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140007385
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007380
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007816
call fcn.140016554
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400077cf
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 0x14000745d
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.140002430
nop
lea rcx, [0x140053cb0]
call fcn.14000b710
lea rdx, str._X_
call fcn.140002150
lea rcx, [0x140053d00]
call fcn.14000b710
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fa40
mov rcx, rax
call fcn.14000d3c0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400076ba
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400076b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007804
jmp 0x1400076b5
cmp dword [rbp + 0xb], 4
jne 0x140007514
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.140002430
nop
lea rcx, [0x140053cb0]
call fcn.14000b710
lea rdx, str._X_
call fcn.140002150
lea rcx, [0x140053d00]
call fcn.14000b710
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fa40
mov rcx, rax
call fcn.14000d3c0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400076ba
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400076b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000780a
jmp 0x1400076b5
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 0x140007601
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.140002430
nop
lea rcx, [0x140053cb0]
call fcn.14000b710
lea rdx, str._X_
call fcn.140002150
lea rcx, [0x140053d00]
call fcn.14000b710
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fa40
mov rcx, rax
call fcn.14000d3c0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400076ba
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400076b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007810
jmp 0x1400076b5
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x1400076d1
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.140002430
nop
lea rcx, [0x140053cb0]
call fcn.14000b710
lea rdx, str._X_
call fcn.140002150
lea rcx, [0x140053d00]
call fcn.14000b710
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fa40
mov rcx, rax
call fcn.14000d3c0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400076ba
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400076b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000781c
call fcn.140016554
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400077cf
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.14000b600
lea rcx, str.w32tm__unregister
call fcn.14000b600
lea rcx, str.w32tm__register
call fcn.14000b600
lea rcx, str.net_start_w32time
call fcn.14000b600
lea rcx, str.w32tm__resync
call fcn.14000b600
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.140002430
nop
lea rcx, [0x140053ca0]
call fcn.14000b710
lea rdx, str.__
call fcn.140002150
lea rcx, [0x140053d00]
call fcn.14000b710
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14000fa40
lea rcx, [0x140054530]
call fcn.14000d3c0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400077cf
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400077f8
call fcn.140016554
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400164f0
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.14001d508
int3
call fcn.14001d508
int3
call fcn.14001d508
int3
call fcn.14001d508
int3
call fcn.14001d508
int3
call fcn.14001d508
int3
call fcn.14001d508
int3