Function at 0x140020930
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x348
mov qword [rsp + 0x328], 0xfffffffffffffffe
mov rax, qword [0x1400311e8]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov qword [rsp + 0x1e8], 0
mov qword [rsp + 0x1e0], 0
mov dword [rsp + 0x1d8], 0x100
mov rdx, qword [rsp + 0x360]
lea rcx, [rsp + 0x2f0]
call fcn.1400047b0
nop
lea rcx, [rsp + 0x1b0]
call fcn.140004760
nop
xor r8d, r8d
mov dl, 0x5c
lea rcx, [rsp + 0x2f0]
call fcn.140008be0
mov dword [rsp + 0x1a8], eax
mov r8, qword [0x14002b5b8]
mov dl, 0x5c
lea rcx, [rsp + 0x2f0]
call fcn.140008c60
mov r9, rax
mov eax, dword [rsp + 0x1a8]
add eax, 1
mov r8d, eax
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x2f0]
call fcn.140004a60
nop
lea r8, [0x140027ab0]
mov edx, 8
lea rcx, [rsp + 0x150]
call fcn.140008b50
mov rdx, rax
lea rcx, [rsp + 0x1b0]
call fcn.140004880
lea rcx, [rsp + 0x1b0]
call fcn.140004a40
mov rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140020abb
lea rdx, [rsp + 0x1f0]
lea rcx, str.ERR:_Open_REG_key:_s_error...
call fcn.14001a560
mov dword [rsp + 0x318], 0
lea rcx, [rsp + 0x150]
call fcn.140004860
nop
lea rcx, [rsp + 0x1b0]
call fcn.140004860
nop
lea rcx, [rsp + 0x2f0]
call fcn.140004860
mov eax, dword [rsp + 0x318]
jmp 0x140020de5
mov ecx, dword [rsp + 0x1d8]
call fcn.14000b474
mov qword [rsp + 0x1e8], rax
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x368]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x17c], eax
cmp dword [rsp + 0x17c], 0xea
jne 0x140020b39
mov eax, dword [rsp + 0x1d8]
add eax, 1
mov edx, eax
mov rcx, qword [rsp + 0x1e8]
call fcn.14000b860
mov qword [rsp + 0x1e8], rax
jmp 0x140020acf
mov ecx, dword [rsp + 0x1d8]
call fcn.14000b474
mov qword [rsp + 0x1e0], rax
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ExeName
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x178], eax
cmp dword [rsp + 0x178], 0xea
jne 0x140020bb6
mov eax, dword [rsp + 0x1d8]
add eax, 1
mov edx, eax
mov rcx, qword [rsp + 0x1e0]
call fcn.14000b860
mov qword [rsp + 0x1e0], rax
jmp 0x140020b4d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x17c], 0
je 0x140020c49
lea rcx, str.ERR:_Get_client_app_path_failed_
call fcn.14001a560
mov rcx, qword [rsp + 0x1e8]
call fcn.14000b434
mov qword [rsp + 0x1e8], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.14000b434
mov qword [rsp + 0x1e0], 0
mov dword [rsp + 0x31c], 0
lea rcx, [rsp + 0x150]
call fcn.140004860
nop
lea rcx, [rsp + 0x1b0]
call fcn.140004860
nop
lea rcx, [rsp + 0x2f0]
call fcn.140004860
mov eax, dword [rsp + 0x31c]
jmp 0x140020de5
mov rdx, qword [rsp + 0x1e8]
lea rcx, [rsp + 0x40]
call fcn.14000a6f0
cmp qword [rsp + 0x358], 0
je 0x140020c98
cmp dword [rsp + 0x178], 0
je 0x140020c85
mov rdx, qword [rsp + 0x358]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
jmp 0x140020c98
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov rcx, qword [rsp + 0x1e8]
call fcn.14000b434
mov qword [rsp + 0x1e8], 0
mov rcx, qword [rsp + 0x1e0]
call fcn.14000b434
mov qword [rsp + 0x1e0], 0
lea rcx, [rsp + 0x180]
call fcn.140004760
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x180]
call fcn.1400048b0
lea rdx, [rsp + 0x40]
lea rcx, str.INF:_get_client_app__Path:__s...
call fcn.14001a560
lea rcx, [rsp + 0x180]
call fcn.140004a40
mov rdx, rax
lea rcx, [0x140027b38]
call fcn.14001a560
lea rcx, [rsp + 0x180]
call fcn.140004a40
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.14001d220
test eax, eax
jne 0x140020d9c
lea rcx, [rsp + 0x180]
call fcn.140004a40
mov rdx, rax
lea rcx, str.Run_program__s_as_user._error
call fcn.14001a560
mov dword [rsp + 0x320], 0
lea rcx, [rsp + 0x180]
call fcn.140004860
nop
lea rcx, [rsp + 0x150]
call fcn.140004860
nop
lea rcx, [rsp + 0x1b0]
call fcn.140004860
nop
lea rcx, [rsp + 0x2f0]
call fcn.140004860
mov eax, dword [rsp + 0x320]
jmp 0x140020de5
mov dword [rsp + 0x324], 1
lea rcx, [rsp + 0x180]
call fcn.140004860
nop
lea rcx, [rsp + 0x150]
call fcn.140004860
nop
lea rcx, [rsp + 0x1b0]
call fcn.140004860
nop
lea rcx, [rsp + 0x2f0]
call fcn.140004860
mov eax, dword [rsp + 0x324]
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.140009950
add rsp, 0x348
ret