Function at 0x140010a90
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push rbp
push rdi
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14014c228]
xor rax, rsp
mov qword [rbp + 0x180], rax
cmp byte [0x14015b12c], 0
mov r15d, edx
mov rdi, rcx
je 0x140010ace
mov eax, 0xffffffff
jmp 0x140010cf3
mov qword [rsp + 0x2c8], rbx
mov qword [rsp + 0x298], r12
xor r12d, r12d
mov dword [rsp + 0x30], r12d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x30]
mov rcx, rdi
mov rdx, rax
call fcn.14000dfc0
cmp al, 1
jne 0x140010cdd
mov r9d, 0x20019
mov qword [rsp + 0x58], r12
lea r8, str.AppID
mov dword [rsp + 0x60], r12d
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x58]
call fcn.14000da90
mov ebx, eax
test eax, eax
je 0x140010b56
mov rcx, qword [rsp + 0x58]
mov dword [rdi + 0x25c], eax
test rcx, rcx
je 0x140010ce1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140010ce1
mov qword [rsp + 0x2d0], rsi
lea r8, str.2CA75AD3_A844_4DF9_999D_CB82069C55C3
mov rsi, qword [rsp + 0x58]
lea rcx, [rsp + 0x38]
mov rdx, rsi
mov qword [rsp + 0x38], r12
mov r9d, 0x20019
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x48], r12
call fcn.14000da90
mov ebx, eax
test eax, eax
je 0x140010bc7
mov rcx, qword [rsp + 0x38]
mov dword [rdi + 0x25c], eax
test rcx, rcx
je 0x140010ba8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rsi, rsi
je 0x140010cd3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x2d0]
jmp 0x140010ce1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x290], r14
mov r14, qword [rsp + 0x38]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.LocalService
lea rax, [rsp + 0x70]
mov dword [rsp + 0x30], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010c45
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
jbe 0x140010c1e
mov eax, 0xd
jmp 0x140010c45
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140010c3c
test al, 1
jne 0x140010c35
shr rax, 1
cmp word [rsp + rax*2 + 0x6e], r12w
je 0x140010c42
mov eax, 0xd
jmp 0x140010c45
mov word [rsp + 0x70], r12w
mov eax, r12d
mov dword [rdi + 0x26c], r12d
test eax, eax
jne 0x140010c9c
lea rax, [rdi + 0x48]
mov dword [rdi + 0x26c], 1
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
lea rax, [0x140015220]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], r12
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140010c94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x25c], eax
mov ebx, dword [rdi + 0x25c]
jmp 0x140010caf
mov edx, r15d
mov rcx, rdi
call fcn.14000fc70
mov ebx, eax
mov dword [rdi + 0x25c], eax
test r14, r14
je 0x140010cbd
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rsi, rsi
je 0x140010ccb
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x290]
mov rsi, qword [rsp + 0x2d0]
jmp 0x140010ce1
mov ebx, dword [rsp + 0x30]
mov r12, qword [rsp + 0x298]
mov eax, ebx
mov rbx, qword [rsp + 0x2c8]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400a79f0
add rsp, 0x2a0
pop r15
pop rdi
pop rbp
ret