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

Disassembly:
mov rax, rsp
push rbp
push r12
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140001640]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r15d, edx
mov rbx, rcx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x48], r12
mov r9d, 0x20019
lea r8, str.AppID
mov rdx, 0xffffffff80000000
lea rcx, [rsp + 0x38]
call fcn.140069950
mov edi, eax
test eax, eax
je 0x1400939c0
mov dword [rbx + 0x25c], eax
jmp 0x140093b03
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x30]
call fcn.14008fa30
mov r9d, 0x20019
mov r8, rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140069950
mov edi, eax
test eax, eax
jne 0x140093ae0
mov dword [rsp + 0x70], 0x208
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x74]
xor r8d, r8d
lea rdx, str.LocalService
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test eax, eax
jne 0x140093a7d
mov eax, dword [rsp + 0x74]
dec eax
cmp eax, 1
jbe 0x140093a57
lea ecx, [rdi + 0xd]
jmp 0x140093a7d
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140093a75
test al, 1
jne 0x140093a6e
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
je 0x140093a7a
mov ecx, 0xd
jmp 0x140093a7d
mov word [rbp - 0x60], r12w
mov ecx, r12d
mov eax, r12d
mov edx, 1
test ecx, ecx
cmove eax, edx
mov dword [rbx + 0x26c], eax
test eax, eax
je 0x140093ad3
lea rax, [rbx + 0x48]
mov qword [rsp + 0x78], rax
lea rax, [0x140095850]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
lea rcx, [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140093acb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x25c], eax
mov edi, dword [rbx + 0x25c]
jmp 0x140093ae6
mov edx, r15d
mov rcx, rbx
call fcn.1400929b0
mov edi, eax
mov dword [rbx + 0x25c], eax
cmp qword [rsp + 0x50], 0
je 0x140093afe
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], r12d
cmp qword [rsp + 0x38], 0
je 0x140093b1b
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], r12
mov eax, edi
mov dword [rsp + 0x40], r12d
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400efba0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r12
pop rbp
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x1401708b8], 0
mov edi, edx
mov rbx, rcx
je 0x1400940b6
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, rbx
call fcn.140092290
cmp al, 1
jne 0x1400940ec
mov edx, edi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140093930
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret