Function at 0x140007200
Capabilities:
Modify service
Query service configuration
Query service status
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 [0x140053018]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
test rax, rax
jne 0x1400072f8
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.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1400078a2
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000789d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078d1
jmp 0x14000789d
lea rcx, str.w32tm__register
call fcn.14000bfc0
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 0x140007393
lea r8d, [rbx + 4]
lea rdx, str.W32Time
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov r14, rax
test rax, rax
jne 0x140007345
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140007393
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp - 0x29]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov rcx, r14
test eax, eax
jne 0x14000737b
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140007393
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rbp - 0x25], ebx
jne 0x1400077c1
mov r8d, 0xf01ff
lea rdx, str.W32Time
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x140007466
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.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140007458
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007453
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078e9
call fcn.140016d84
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400078a2
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 0x140007530
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.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14000778d
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007788
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078d7
jmp 0x140007788
cmp dword [rbp + 0xb], 4
jne 0x1400075e7
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.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14000778d
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007788
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078dd
jmp 0x140007788
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 0x1400076d4
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.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14000778d
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007788
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078e3
jmp 0x140007788
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x1400077a4
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.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14000778d
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007788
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078ef
call fcn.140016d84
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400078a2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
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.14000bfc0
lea rcx, str.w32tm__unregister
call fcn.14000bfc0
lea rcx, str.w32tm__register
call fcn.14000bfc0
lea rcx, str.net_start_w32time
call fcn.14000bfc0
lea rcx, str.w32tm__resync
call fcn.14000bfc0
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.1400023d0
nop
lea rcx, [0x140053c40]
call fcn.14000c0d0
lea rdx, str.__
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.1400101d0
lea rcx, [0x1400544d0]
call fcn.14000db50
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1400078a2
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000789d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400078cb
call fcn.140016d84
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140016d20
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.14001d9d8
int3
call fcn.14001d9d8
int3
call fcn.14001d9d8
int3
call fcn.14001d9d8
int3
call fcn.14001d9d8
int3
call fcn.14001d9d8
int3
call fcn.14001d9d8
int3