Function at 0x140052078
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
push r15
mov rax, 0x13
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140052090
sub rsp, 0x28
call fcn.1400ac690
mov rcx, qword [rsp + 0xf0]
call fcn.14005a378
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400ac730
add rsp, 0x10
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.1400ac730
add rsp, 0x10
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x38]
sub rsp, 0x10
call fcn.1400ac730
add rsp, 0x10
push qword [rsp + 0x28]
pop rcx
call fcn.140054734
push qword [rsp + 0x38]
movabs rcx, 0x14017c37c
pop rdx
call fcn.1400ac550
or rax, rax
je 0x1400521a3
cmp dword [0x14067cecc], 0
je 0x14005217b
sub rsp, 8
lea rax, [rsp + 0x50]
mov rax, rax
push rax
movsxd r15, dword [0x14067ced4]
or r15, 0xf003f
mov rax, r15
push rax
push 0
push qword [0x14067cdf8]
push qword [0x14067ce20]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_RegOpenKeyExW
add rsp, 0x30
mov qword [rsp + 0x40], rax
jmp 0x14005219e
lea rax, [rsp + 0x48]
mov rax, rax
push rax
push qword [0x14067cdf8]
push qword [0x14067ce20]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_RegOpenKeyW
mov qword [rsp + 0x40], rax
jmp 0x14005223c
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push qword [0x14067ce20]
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_RegConnectRegistryW
movsxd rax, eax
mov qword [rsp + 0x50], rax
cmp dword [0x14067cecc], 0
je 0x14005221b
sub rsp, 8
lea rax, [rsp + 0x50]
mov rax, rax
push rax
movsxd r15, dword [0x14067ced4]
or r15, 0xf003f
mov rax, r15
push rax
push 0
push qword [0x14067cdf8]
push qword [rsp + 0x80]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_RegOpenKeyExW
add rsp, 0x30
mov qword [rsp + 0x40], rax
jmp 0x14005223c
lea rax, [rsp + 0x48]
mov rax, rax
push rax
push qword [0x14067cdf8]
push qword [rsp + 0x68]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_RegOpenKeyW
mov qword [rsp + 0x40], rax
mov r15, qword [rsp + 0x40]
and r15, r15
jne 0x1400527a7
mov qword [rsp + 0x60], 0x400
push rcx
sub rsp, 0x28
call fcn.1400ac3b0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400ac3b0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x78]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400a90f0
add rsp, 0x28
lea rcx, [rsp + 0x70]
pop rdx
call fcn.1400ac470
lea rax, [rsp + 0x60]
mov rax, rax
push rax
mov rax, qword [rsp + 0x70]
mov rax, rax
push rax
lea rax, [rsp + 0x80]
mov rax, rax
push rax
push 0
push qword [rsp + 0x50]
push qword [rsp + 0x70]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_RegQueryValueExW
add rsp, 0x30
mov qword [rsp + 0x40], rax
mov r15, qword [rsp + 0x40]
and r15, r15
jne 0x1400527a7
push qword [rsp + 0x70]
mov r15, 1
cmp r15, qword [rsp]
jne 0x1400523d2
sub rsp, 8
lea rax, [rsp + 0x70]
mov rax, rax
push rax
mov rax, qword [rsp + 0x80]
mov rax, rax
push rax
lea rax, [rsp + 0x90]
mov rax, rax
push rax
push 0
push qword [rsp + 0x60]
push qword [rsp + 0x80]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_RegQueryValueExW
add rsp, 0x38
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x1400523ae
push rcx
sub rsp, 0x20
call fcn.1400ac3b0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400ac3b0
add rsp, 0x28
pop rcx
push rax
mov r15, qword [rsp + 0x78]
dec r15
mov rax, r15
push rax
push qword [rsp + 0x88]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400aa3b0
add rsp, 0x20
lea rcx, [rsp + 0x88]
pop rdx
sub rsp, 0x28
call fcn.1400ac470
add rsp, 0x28
jmp 0x1400523cd
movabs rdx, 0x14017b098
lea rcx, [rsp + 0x80]
sub rsp, 0x28
call fcn.1400ac2c0
add rsp, 0x28
jmp 0x1400527a6
mov r15, 2
cmp r15, qword [rsp]
jne 0x1400524ba
sub rsp, 8
lea rax, [rsp + 0x70]
mov rax, rax
push rax
mov rax, qword [rsp + 0x80]
mov rax, rax
push rax
lea rax, [rsp + 0x90]
mov rax, rax
push rax
push 0
push qword [rsp + 0x60]
push qword [rsp + 0x80]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_RegQueryValueExW
add rsp, 0x38
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x140052496
push rcx
sub rsp, 0x20
call fcn.1400ac3b0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400ac3b0
add rsp, 0x28
pop rcx
push rax
mov r15, qword [rsp + 0x78]
dec r15
mov rax, r15
push rax
push qword [rsp + 0x88]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400aa3b0
add rsp, 0x20
lea rcx, [rsp + 0x88]
pop rdx
sub rsp, 0x28
call fcn.1400ac470
add rsp, 0x28
jmp 0x1400524b5
movabs rdx, 0x14017b098
lea rcx, [rsp + 0x80]
sub rsp, 0x28
call fcn.1400ac2c0
add rsp, 0x28
jmp 0x1400527a6
mov r15, 4
cmp r15, qword [rsp]
jne 0x140052594
sub rsp, 8
lea rax, [rsp + 0x70]
mov rax, rax
push rax
lea rax, [rsp + 0xa0]
mov rax, rax
push rax
lea rax, [rsp + 0xa0]
mov rax, rax
push rax
push 0
push qword [rsp + 0x60]
push qword [rsp + 0x80]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_RegQueryValueExW
add rsp, 0x38
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x140052570
push rcx
sub rsp, 0x20
call fcn.1400ac3b0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400ac3b0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0xa0]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400a95c0
add rsp, 0x20
lea rcx, [rsp + 0x88]
pop rdx
sub rsp, 0x28
call fcn.1400ac470
add rsp, 0x28
jmp 0x14005258f
movabs rdx, 0x14017c440
lea rcx, [rsp + 0x80]
sub rsp, 0x28
call fcn.1400ac2c0
add rsp, 0x28
jmp 0x1400527a6
mov r15, 3
cmp r15, qword [rsp]
jne 0x1400527a6
mov qword [rsp + 0x98], 0x400
sub rsp, 8
push qword [rsp + 0xa0]
pop rcx
sub rsp, 0x20
call fcn.1400aabe0
add rsp, 0x28
mov qword [rsp + 0xa0], rax
sub rsp, 8
lea rax, [rsp + 0xa0]
mov rax, rax
push rax
push qword [rsp + 0xb0]
lea rax, [rsp + 0xc0]
mov rax, rax
push rax
push 0
push qword [rsp + 0x60]
push qword [rsp + 0x80]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_RegQueryValueExW
add rsp, 0x38
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x1400527a6
movabs rdx, 0x14017b098
lea rcx, [rsp + 0x80]
sub rsp, 0x28
call fcn.1400ac2c0
add rsp, 0x28
mov qword [rsp + 0xb0], 0
jmp 0x140052658
mov r15, qword [rsp + 0x98]
dec r15
cmp r15, qword [rsp + 0xb0]
jl 0x14005278d
sub rsp, 8
mov r15, qword [rsp + 0xa8]
add r15, qword [rsp + 0xb8]
mov rax, r15
push rax
pop rcx
sub rsp, 0x20
call fcn.1400aafc0
add rsp, 0x28
mov r15, rax
and r15, 0xff
mov qword [rsp + 0xb8], r15
mov r15, qword [rsp + 0xb8]
cmp r15, 0x10
jge 0x140052709
mov rcx, qword [rsp + 0x80]
push rcx
sub rsp, 0x20
call fcn.1400ac3b0
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400ac400
add rsp, 0x20
movabs rcx, 0x14017c440
sub rsp, 0x20
call fcn.1400ac400
add rsp, 0x20
lea rcx, [rsp + 0x88]
pop rdx
sub rsp, 0x28
call fcn.1400ac470
add rsp, 0x28
mov rcx, qword [rsp + 0x80]
push rcx
sub rsp, 0x20
call fcn.1400ac3b0
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400ac400
add rsp, 0x20
push rcx
sub rsp, 0x28
call fcn.1400ac3b0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400ac3b0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0xd8]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400a98e0
add rsp, 0x28
pop rax
lea rcx, [rsp + 0x88]
pop rdx
sub rsp, 0x28
call fcn.1400ac470
add rsp, 0x28
inc qword [rsp + 0xb0]
jno 0x140052658
sub rsp, 8
push qword [rsp + 0xa8]
pop rcx
sub rsp, 0x20
call fcn.1400aac30
add rsp, 0x28
pop rax
push qword [rsp + 0x48]
pop rcx
call sub.ADVAPI32.DLL_RegCloseKey
mov rcx, qword [rsp + 0x78]
push rcx
sub rsp, 0x28
call fcn.1400ac3b0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400ac400
add rsp, 0x28
pop rax
push rax
call fcn.1400ac5b0
pop rdx
add rax, rdx
jmp 0x1400527ea
push rax
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400ac700
add rsp, 0x28
mov rcx, qword [rsp + 0x70]
sub rsp, 0x28
call fcn.1400ac700
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400ac700
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400ac700
add rsp, 0x28
mov rcx, qword [rsp + 0x80]
sub rsp, 0x28
call fcn.1400ac700
add rsp, 0x28
pop rax
add rsp, 0xc0
pop r15
ret