Function at 0x14004e130
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7fa0]
mov eax, 0x80a0
call fcn.1400d6730
sub rsp, rax
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x80f0], rbx
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp + 0x7f90], rax
mov r15, rdx
xor esi, esi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x60], rsi
xor r8d, r8d
mov rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.14004b3b0
nop
mov qword [rsp + 0x68], rsi
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [0x1401c6d48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test eax, eax
jne 0x14004e1d4
mov dword [rsp + 0x58], esi
mov ecx, esi
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
test ecx, ecx
setne bl
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14004e1f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x14004e207
xor bl, bl
mov rdi, qword [rsp + 0x50]
jmp 0x14004e544
mov dword [rsp + 0x48], 0x4000
mov word [rbp - 0x70], si
xor edx, edx
mov r8d, 0x7ffe
lea rcx, [rbp - 0x6e]
call fcn.1400d6ac0
mov r13d, esi
mov rdi, qword [rsp + 0x50]
nop dword [rax]
mov ecx, dword [0x1401cbd80]
mov r8d, ecx
imul r8d, ecx
mov eax, 0x78787879
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x11
sub r8d, edx
cmp r8d, 6
jne 0x14004e2c6
test ecx, ecx
je 0x14004e2c6
nop
mov eax, ecx
and eax, 0x80000001
jge 0x14004e270
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x14004e285
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [0x1401cbd80], eax
jmp 0x14004e292
lea ecx, [rcx*2 + 1]
mov dword [0x1401cbd80], ecx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
mov edx, ecx
sub edx, eax
je 0x14004e2b4
sub edx, 2
je 0x14004e2b7
dec edx
je 0x14004e2b9
jmp 0x14004e2c2
add ecx, 2
inc ecx
add ecx, 2
mov dword [0x1401cbd80], ecx
test ecx, ecx
jne 0x14004e260
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x70]
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r12d, eax
inc r13d
test eax, eax
je 0x14004e304
cmp eax, 0x103
jne 0x14004e513
lea rcx, [0x1401c39a8]
mov rdx, qword [0x1401c39a8]
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rcx, [rbp - 0x70]
lea rax, [rbp - 0x70]
test rax, 0xffffffffffff0000
jne 0x14004e35b
movzx edi, cx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14004e439
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400025b0
mov rbx, qword [rsp + 0x40]
jmp 0x14004e439
lea rax, [rbp - 0x70]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004e363
test edi, edi
jne 0x14004e3c1
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004e439
cmp dword [rdx + 0x10], 0
jge 0x14004e39d
cmp dword [rbx - 0xc], 0
jl 0x14004e51d
mov dword [rbx - 0x10], esi
mov word [rbx], si
jmp 0x14004e439
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004e3ad
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
jmp 0x14004e439
mov r14d, dword [rbx - 0x10]
lea rsi, [rbp - 0x70]
sub rsi, rbx
sar rsi, 1
test edi, edi
js 0x14004e56b
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14004e3f9
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.1400023b0
mov rbx, qword [rsp + 0x40]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp rsi, r14
lea r14, [rax + rax]
mov r9, r14
ja 0x14004e41d
lea r8, [rbx + rsi*2]
call fcn.1400d1ea4
jmp 0x14004e426
lea r8, [rbp - 0x70]
call fcn.1400d2064
cmp edi, dword [rbx - 0xc]
jg 0x14004e560
mov dword [rbx - 0x10], edi
xor esi, esi
mov word [r14 + rbx], si
cmp dword [rbx - 0x10], 0
je 0x14004e4db
mov rax, qword [r15 + 8]
lea rcx, [rsp + 0x40]
cmp rcx, rax
jae 0x14004e4a6
mov rcx, qword [r15]
lea rdx, [rsp + 0x40]
cmp rcx, rdx
ja 0x14004e4a6
lea rdi, [rsp + 0x40]
sub rdi, rcx
sar rdi, 3
cmp rax, qword [r15 + 0x10]
jne 0x14004e478
mov rcx, r15
call fcn.14001fde0
mov rax, qword [r15]
lea rcx, [rax + rdi*8]
mov rdi, qword [r15 + 8]
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
test rdi, rdi
je 0x14004e4a4
mov rcx, qword [rcx]
sub rcx, 0x18
call fcn.140002410
add rax, 0x18
mov qword [rdi], rax
jmp 0x14004e4d6
cmp rax, qword [r15 + 0x10]
jne 0x14004e4b4
mov rcx, r15
call fcn.14001fde0
mov rdi, qword [r15 + 8]
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x78], rdi
test rdi, rdi
je 0x14004e4d6
lea rcx, [rbx - 0x18]
call fcn.140002410
add rax, 0x18
mov qword [rdi], rax
add qword [r15 + 8], 8
mov dword [rsp + 0x48], 0x4000
xor edx, edx
mov r8d, 0x8000
lea rcx, [rbp - 0x70]
call fcn.1400d6ac0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14004e50e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x50]
test r12d, r12d
jne 0x14004e528
jmp 0x14004e230
mov ecx, 0x80070057
call fcn.140001920
nop
test rdi, rdi
je 0x14004e53e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, rsi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov bl, 1
test rdi, rdi
je 0x14004e557
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
movzx eax, bl
jmp 0x14004e576
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
nop
mov rcx, qword [rbp + 0x7f90]
xor rcx, rsp
call fcn.1400d1680
mov rbx, qword [rsp + 0x80f0]
add rsp, 0x80a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret