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

Disassembly:
sub rsp, 0x28
cmp byte [0x14017f6e0], 0
mov qword [0x14017e470], rcx
je 0x1400762f5
lea r8, [0x14000190c]
lea rcx, [0x1400019a8]
mov edx, 0xe1f
call fcn.1400a8be8
or eax, reloc.ADVAPI32.dll_TraceEvent
jmp 0x14007631e
and dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140076628
cmp al, 1
jne 0x14007631a
add rsp, 0x28
jmp 0x1400763f8
mov eax, dword [rsp + 0x30]
add rsp, 0x28
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor r14d, r14d
mov edi, 0x20019
lea r8, [0x140001aa8]
lea rcx, [rsp + 0x58]
mov rdx, 0xffffffff80000000
mov r9d, edi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
call fcn.14001b008
mov ebx, eax
test eax, eax
je 0x140076480
mov rcx, qword [rsp + 0x58]
mov dword [0x14017e8dc], eax
test rcx, rcx
je 0x140076479
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400765f5
mov rbx, qword [rsp + 0x58]
lea r8, [0x140006df0]
lea rcx, [rsp + 0x38]
mov r9d, edi
mov rdx, rbx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
call fcn.14001b008
mov edi, eax
test eax, eax
je 0x1400764dc
mov rcx, qword [rsp + 0x38]
mov dword [0x14017e8dc], eax
test rcx, rcx
je 0x1400764c7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x1400764d5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1400765f5
mov rdi, qword [rsp + 0x38]
test rdi, rdi
jne 0x1400764fe
lea r8, [0x1400019c8]
lea rcx, [0x1400019a8]
mov edx, 0x15cb
call fcn.1400a8be8
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
lea rdx, [0x140006f88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], reloc.ADVAPI32.dll_TraceEvent
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14007656d
cmp dword [rsp + 0x34], 1
je 0x14007654b
cmp dword [rsp + 0x34], 2
je 0x14007654b
mov eax, reloc.ADVAPI32.dll_GetTraceEnableLevel
jmp 0x14007656d
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140076564
test al, 1
jne 0x140076544
shr rax, 1
cmp word [rsp + rax*2 + 0x6e], r14w
je 0x14007656a
jmp 0x140076544
mov word [rsp + 0x70], r14w
mov eax, r14d
mov dword [0x14017e8ec], r14d
test eax, eax
jne 0x1400765c3
lea rax, [0x14017e6c8]
lea rcx, [rsp + 0x38]
mov dword [0x14017e8ec], 1
mov qword [rsp + 0x38], rax
lea rax, [0x140076c60]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], r14
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x1400765bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400765cf
mov esi, dword [0x14017e8dc]
jmp 0x1400765d7
lea rcx, [0x14017e660]
call fcn.140075dbc
mov dword [0x14017e8dc], eax
mov esi, eax
test rdi, rdi
je 0x1400765e5
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x1400765f3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140168920
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret