Function at 0x140057c90
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 [0x14010a010]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov r14, rcx
mov r8d, 4
lea rdx, str.Service_in_OnStart
call fcn.140058c50
call fcn.1400172c0
mov rcx, rax
call fcn.140018fa0
call fcn.140001760
xor dil, dil
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.14008d590
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.14008d590
lea r9, [rbp - 0x30]
lea r8, str.__s__103
mov edx, 0x104
lea rcx, [rbp + 0x1e0]
call fcn.140010240
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 0x140057da8
mov r8d, 0xf003f
lea rdx, [0x1400e21d8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x140057d9f
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.14008d088
test rax, rax
je 0x140057dda
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d088
lea rbx, [rax + 1]
lea rcx, [0x1400dade8]
lea rax, [0x1400dadf8]
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.140015a30
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 [0x140110be8], eax
jle 0x140057e62
lea rcx, [0x140110be8]
call fcn.1400611a0
cmp dword [0x140110be8], 0xffffffff
jne 0x140057e62
lea rcx, [0x1400c7b90]
call fcn.140061524
lea rcx, [0x140110be8]
call fcn.140061140
mov ecx, 0x10
call fcn.1400612b0
lea rcx, [0x140110bec]
mov qword [rax], rcx
lea rcx, [0x14005ef10]
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, [0x14003c880]
xor edx, edx
xor ecx, ecx
call fcn.14009fa3c
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400582c0
cmp dword [rbp - 0x48], r15d
je 0x1400582cf
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call fcn.14006b24c
test eax, eax
jne 0x1400582da
mov eax, dword [rsi]
cmp dword [0x140110bc8], eax
jle 0x140057f2a
lea rcx, [0x140110bc8]
call fcn.1400611a0
cmp dword [0x140110bc8], 0xffffffff
jne 0x140057f2a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140110bd0], xmm0
mov qword [0x140110be0], rax
call fcn.140057a50
lea rcx, [0x1400c7b80]
call fcn.140061524
nop
lea rcx, [0x140110bc8]
call fcn.140061140
mov edi, r15d
mov rax, qword [0x140110bd8]
mov rdx, qword [0x140110bd0]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x140057f85
mov rbx, r15
nop word [rax + rax]
add rdx, rbx
cmp qword [rdx + 0x18], 8
jb 0x140057f5d
mov rdx, qword [rdx]
call fcn.14005a2c0
inc edi
add rbx, 0x20
mov rcx, qword [0x140110bd8]
mov rdx, qword [0x140110bd0]
sub rcx, rdx
sar rcx, 5
movsxd rax, edi
cmp rax, rcx
jb 0x140057f50
lea r12, [0x140110bf0]
mov eax, dword [rsi]
cmp dword [0x140110c00], eax
jle 0x1400580f3
lea rcx, [0x140110c00]
call fcn.1400611a0
cmp dword [0x140110c00], 0xffffffff
jne 0x1400580f3
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 [0x140110bf0], r15
mov qword [0x140110bf8], r15
mov ecx, 0x30
call fcn.1400612b0
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 [0x140110bf0], rax
lea rbx, [rsp + 0x30]
movabs r13, 0x555555555555555
nop dword [rax]
mov r9, rbx
mov r8, rdi
lea rdx, [rbp - 0x78]
call fcn.1400584d0
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm0
cmp byte [rbp - 0x80], 0
jne 0x1400580c8
cmp qword [0x140110bf8], r13
je 0x1400582e2
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r15
mov ecx, 0x30
call fcn.1400612b0
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.140014460
mov rsi, qword [0x140110bf0]
add rbx, 0x10
lea rax, [rsp + 0x70]
cmp rbx, rax
jne 0x140058050
lea rcx, [0x1400c7b10]
call fcn.140061524
nop
lea rcx, [0x140110c00]
call fcn.140061140
mov rcx, r12
call fcn.14005d930
call fcn.1400414f0
mov rdi, rax
lea rcx, [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_OOBEComplete]
lea r8, [rdi + 0x70]
xor edx, edx
lea rcx, [0x1400427c0]
call qword [sym.imp.KERNEL32.dll_RegisterWaitUntilOOBECompleted]
lea rbx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceOOBECheckFlow.cpp
test eax, eax
jne 0x14005816b
lea edx, [rax + 0x5c]
mov rcx, rbx
call fcn.14008d088
test rax, rax
je 0x14005814d
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d088
inc rax
jmp 0x140058150
mov rax, rbx
lea r9, str.RegisterWaitUntilOOBECompleted_fail
lea r8, [0x1400df598]
mov edx, 0x23
mov rcx, rax
call fcn.140015a30
cmp dword [rdi + 0x78], 0
je 0x140058221
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d088
test rax, rax
je 0x140058198
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d088
lea rbx, [rax + 1]
lea r9, str.isOOBEComplete
lea r8, [0x1400df598]
mov edx, 0x28
mov rcx, rbx
call fcn.140015a30
mov ecx, 0x10
call fcn.1400612b0
mov qword [rax], rdi
lea rcx, [0x1400428e0]
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, [0x14003c880]
xor edx, edx
xor ecx, ecx
call fcn.14009fa3c
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400582fb
cmp dword [rbp - 0x48], 0
je 0x1400582e8
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call fcn.14006b24c
test eax, eax
jne 0x1400582f3
call fcn.140017350
mov rcx, rax
call fcn.14001fea0
mov ecx, 0x10
call fcn.1400612b0
lea rcx, [0x140058310]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x40], rax
mov r8d, 0x10
mov rdx, rax
lea rcx, [0x140058430]
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
test eax, eax
je 0x1400582a5
mov edx, 0x10
xor ecx, ecx
call fcn.140061000
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140060fe0
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, [0x1400f82b8]
lea rcx, [rbp - 0x60]
call fcn.14008d720
nop
mov dword [rbp - 0x48], r15d
mov ecx, 6
call fcn.14006adf0
nop
mov ecx, 1
call fcn.14006adf0
int3
mov ecx, eax
call fcn.14006adb4
nop
call fcn.1400120e0
nop
mov ecx, 1
call fcn.14006adf0
int3
mov ecx, eax
call fcn.14006adb4
nop
mov dword [rbp - 0x48], r15d
mov ecx, 6
call fcn.14006adf0
int3