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

Disassembly:
jmp 0x140012840
jmp 0x140011c00
push rbp
push rdi
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14009c028]
xor rax, rsp
mov qword [rbp + 0x180], rax
cmp byte [0x14009d730], 0
mov r15d, edx
mov rdi, rcx
je 0x140011c3e
mov eax, 0xffffffff
jmp 0x140011e63
mov qword [rsp + 0x2c8], rbx
mov qword [rsp + 0x298], r12
xor r12d, r12d
mov dword [rsp + 0x30], r12d
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
lea r8, [rsp + 0x30]
mov rcx, rdi
mov rdx, rax
call fcn.140001b95
cmp al, 1
jne 0x140011e4d
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.140002545
mov ebx, eax
test eax, eax
je 0x140011cc6
mov rcx, qword [rsp + 0x58]
mov dword [rdi + 0x25c], eax
test rcx, rcx
je 0x140011e51
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140011e51
mov qword [rsp + 0x2d0], rsi
lea r8, str.D5D53ADA_EAFD_4AA8_BD6B_DA32F20171C4
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.140002545
mov ebx, eax
test eax, eax
je 0x140011d37
mov rcx, qword [rsp + 0x38]
mov dword [rdi + 0x25c], eax
test rcx, rcx
je 0x140011d18
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test rsi, rsi
je 0x140011e43
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rsi, qword [rsp + 0x2d0]
jmp 0x140011e51
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.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140011db5
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
jbe 0x140011d8e
mov eax, 0xd
jmp 0x140011db5
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140011dac
test al, 1
jne 0x140011da5
shr rax, 1
cmp word [rsp + rax*2 + 0x6e], r12w
je 0x140011db2
mov eax, 0xd
jmp 0x140011db5
mov word [rsp + 0x70], r12w
mov eax, r12d
mov dword [rdi + 0x26c], r12d
test eax, eax
jne 0x140011e0c
lea rax, [rdi + 0x48]
mov dword [rdi + 0x26c], 1
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
lea rax, [0x140002978]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], r12
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140011e04
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rdi + 0x25c], eax
mov ebx, dword [rdi + 0x25c]
jmp 0x140011e1f
mov edx, r15d
mov rcx, rdi
call fcn.140003896
mov ebx, eax
mov dword [rdi + 0x25c], eax
test r14, r14
je 0x140011e2d
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test rsi, rsi
je 0x140011e3b
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r14, qword [rsp + 0x290]
mov rsi, qword [rsp + 0x2d0]
jmp 0x140011e51
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.140001d61
add rsp, 0x2a0
pop r15
pop rdi
pop rbp
ret
mov edx, r9d
lea rcx, [0x14009da80]
jmp 0x1400018b6