Function at 0x140057fa0
Capabilities:
Modify 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 - 0x438]
sub rsp, 0x510
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14010b010]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov r14, rcx
mov r8d, 4
lea rdx, str.Service_in_OnStart
call fcn.140058f60
call fcn.140017420
mov rcx, rax
call fcn.1400192c0
call fcn.140001760
xor dil, dil
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.14008d8a0
mov r8d, 0x104
lea rdx, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call fcn.14008d8a0
lea r9, [rbp - 0x30]
lea r8, str.__s__103
mov edx, 0x104
lea rcx, [rbp + 0x1e0]
call fcn.1400103a0
lea rax, [rbp + 0x1e0]
mov qword [rbp - 0x50], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1400580b8
mov r8d, 0xf003f
lea rdx, [0x1400e3218]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x1400580af
lea r8, [rbp - 0x50]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov dil, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rax, [rbp - 0x60]
mov qword [rbp - 0x40], rax
mov edx, 0x5c
lea rbx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceUtility.cpp
mov rcx, rbx
call fcn.14008d398
test rax, rax
je 0x1400580ea
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d398
lea rbx, [rax + 1]
lea rcx, [0x1400dbe28]
lea rax, [0x1400dbe38]
test dil, dil
cmovne rax, rcx
mov qword [rsp + 0x20], rax
lea r9, str.UpdateServiceDescription___s
lea r8, str.UpdateServiceDescription
mov edx, 0x314
mov rcx, rbx
call fcn.140015b90
nop
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, 4
mov rax, qword gs:[0x58]
add rsi, qword [rax]
mov eax, dword [rsi]
cmp dword [0x140111be8], eax
jle 0x140058172
lea rcx, [0x140111be8]
call fcn.1400614b0
cmp dword [0x140111be8], 0xffffffff
jne 0x140058172
lea rcx, [0x1400c7ec0]
call fcn.140061834
lea rcx, [0x140111be8]
call fcn.140061450
mov ecx, 0x10
call fcn.1400615c0
lea rcx, [0x140111bec]
mov qword [rax], rcx
lea rcx, [0x14005f220]
mov qword [rax + 8], rcx
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14003cb80]
xor edx, edx
xor ecx, ecx
call fcn.14009fd4c
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400585d0
cmp dword [rbp - 0x48], r15d
je 0x1400585df
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call fcn.14006b55c
test eax, eax
jne 0x1400585ea
mov eax, dword [rsi]
cmp dword [0x140111bc8], eax
jle 0x14005823a
lea rcx, [0x140111bc8]
call fcn.1400614b0
cmp dword [0x140111bc8], 0xffffffff
jne 0x14005823a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140111bd0], xmm0
mov qword [0x140111be0], rax
call fcn.140057d60
lea rcx, [0x1400c7eb0]
call fcn.140061834
nop
lea rcx, [0x140111bc8]
call fcn.140061450
mov edi, r15d
mov rax, qword [0x140111bd8]
mov rdx, qword [0x140111bd0]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x140058295
mov rbx, r15
nop word [rax + rax]
add rdx, rbx
cmp qword [rdx + 0x18], 8
jb 0x14005826d
mov rdx, qword [rdx]
call fcn.14005a5e0
inc edi
add rbx, 0x20
mov rcx, qword [0x140111bd8]
mov rdx, qword [0x140111bd0]
sub rcx, rdx
sar rcx, 5
movsxd rax, edi
cmp rax, rcx
jb 0x140058260
lea r12, [0x140111bf0]
mov eax, dword [rsi]
cmp dword [0x140111c00], eax
jle 0x140058403
lea rcx, [0x140111c00]
call fcn.1400614b0
cmp dword [0x140111c00], 0xffffffff
jne 0x140058403
mov dword [rsp + 0x30], 0x65
lea rax, str.PRODUCT_CORE
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 0x63
lea rax, str.PRODUCT_CORE_COUNTRYSPECIFIC
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x62
lea rax, str.PRODUCT_CORE_N
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0x64
lea rax, str.PRODUCT_CORE_SINGLELANGUAGE
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x40], r12
mov qword [0x140111bf0], r15
mov qword [0x140111bf8], r15
mov ecx, 0x30
call fcn.1400615c0
mov rdi, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov rsi, rax
mov qword [0x140111bf0], rax
lea rbx, [rsp + 0x30]
movabs r13, 0x555555555555555
nop dword [rax]
mov r9, rbx
mov r8, rdi
lea rdx, [rbp - 0x78]
call fcn.1400587e0
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm0
cmp byte [rbp - 0x80], 0
jne 0x1400583d8
cmp qword [0x140111bf8], r13
je 0x1400585f2
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r15
mov ecx, 0x30
call fcn.1400615c0
nop
movups xmm0, xmmword [rbx]
movups xmmword [rax + 0x20], xmm0
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], 0
mov qword [rbp - 0x48], r15
movaps xmmword [rbp - 0x60], xmm6
mov r8, rax
lea rdx, [rbp - 0x60]
mov rcx, r12
call fcn.1400145c0
mov rsi, qword [0x140111bf0]
add rbx, 0x10
lea rax, [rsp + 0x70]
cmp rbx, rax
jne 0x140058360
lea rcx, [0x1400c7e40]
call fcn.140061834
nop
lea rcx, [0x140111c00]
call fcn.140061450
mov rcx, r12
call fcn.14005dc40
call fcn.1400417f0
mov rdi, rax
lea rcx, [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_OOBEComplete]
lea r8, [rdi + 0x70]
xor edx, edx
lea rcx, [0x140042ac0]
call qword [sym.imp.KERNEL32.dll_RegisterWaitUntilOOBECompleted]
lea rbx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceOOBECheckFlow.cpp
test eax, eax
jne 0x14005847b
lea edx, [rax + 0x5c]
mov rcx, rbx
call fcn.14008d398
test rax, rax
je 0x14005845d
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d398
inc rax
jmp 0x140058460
mov rax, rbx
lea r9, str.RegisterWaitUntilOOBECompleted_fail
lea r8, [0x1400e05d8]
mov edx, 0x23
mov rcx, rax
call fcn.140015b90
cmp dword [rdi + 0x78], 0
je 0x140058531
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d398
test rax, rax
je 0x1400584a8
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d398
lea rbx, [rax + 1]
lea r9, str.isOOBEComplete
lea r8, [0x1400e05d8]
mov edx, 0x28
mov rcx, rbx
call fcn.140015b90
mov ecx, 0x10
call fcn.1400615c0
mov qword [rax], rdi
lea rcx, [0x140042be0]
mov qword [rax + 8], rcx
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14003cb80]
xor edx, edx
xor ecx, ecx
call fcn.14009fd4c
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14005860b
cmp dword [rbp - 0x48], 0
je 0x1400585f8
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call fcn.14006b55c
test eax, eax
jne 0x140058603
call fcn.1400174b0
mov rcx, rax
call fcn.1400201a0
mov ecx, 0x10
call fcn.1400615c0
lea rcx, [0x140058620]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x40], rax
mov r8d, 0x10
mov rdx, rax
lea rcx, [0x140058740]
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
test eax, eax
je 0x1400585b5
mov edx, 0x10
xor ecx, ecx
call fcn.140061310
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400612f0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov dword [rbp - 0x60], eax
lea rdx, [0x1400f9348]
lea rcx, [rbp - 0x60]
call fcn.14008da30
nop
mov dword [rbp - 0x48], r15d
mov ecx, 6
call fcn.14006b100
nop
mov ecx, 1
call fcn.14006b100
int3
mov ecx, eax
call fcn.14006b0c4
nop
call fcn.140012240
nop
mov ecx, 1
call fcn.14006b100
int3
mov ecx, eax
call fcn.14006b0c4
nop
mov dword [rbp - 0x48], r15d
mov ecx, 6
call fcn.14006b100
int3