Function at 0x14004b080
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8210]
mov eax, 0x8310
call fcn.1400d2b70
sub rsp, rax
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x8360], rbx
mov rax, qword [0x1401bbe90]
xor rax, rsp
mov qword [rbp + 0x8200], rax
mov r14, rdx
mov rbx, rcx
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], r13d
mov qword [rsp + 0x60], r13
call fcn.140046e20
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1400488e0
nop
mov qword [rsp + 0x70], r13
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [0x1401bed48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test eax, eax
jne 0x14004b12f
mov dword [rsp + 0x58], r13d
mov ecx, r13d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
test ecx, ecx
setne bl
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14004b151
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x14004b162
xor dil, dil
mov rbx, qword [rsp + 0x50]
jmp 0x14004b5e9
mov dword [rsp + 0x4c], 0x4000
mov word [rbp + 0x200], r13w
xor edx, edx
mov r8d, 0x7ffe
lea rcx, [rbp + 0x202]
call fcn.1400d2f00
mov edi, r13d
mov rbx, qword [rsp + 0x50]
mov r9d, dword [0x1401c3d80]
nop word [rax + rax]
imul r9d, r9d
mov eax, 0x2aaaaaab
imul r9d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r9d, eax
cmp r9d, 0x16
jne 0x14004b1cb
dec dword [0x1401c4f80]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x200]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r12d, eax
mov dword [rsp + 0x68], eax
inc edi
mov dword [rsp + 0x48], edi
mov r9d, dword [0x1401c3d80]
mov r8d, r9d
imul r8d, r9d
imul r8d, r9d
mov eax, 0x6bca1af3
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x13
sub r8d, edx
cmp r8d, 6
jne 0x14004b262
mov r8d, r13d
lea r10, [rbp - 0x60]
mov r11d, r9d
nop dword [rax]
lea ecx, [r9 + r8]
mov eax, r11d
cdq
idiv ecx
mov dword [r10], edx
inc r8d
dec r11d
lea r10, [r10 + 4]
movsxd rax, r8d
cmp rax, 0x87
jb 0x14004b240
test r12d, r12d
je 0x14004b274
cmp r12d, 0x103
jne 0x14004b5b6
lea ecx, [r9 + 2]
lea eax, [r9 + 1]
imul ecx, eax
imul ecx, r9d
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub ecx, eax
cmp ecx, 7
jne 0x14004b2a8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileType]
lea rcx, [0x1401bb9a8]
mov rax, qword [0x1401bb9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rcx, [rbp + 0x200]
lea rax, [rbp + 0x200]
test rax, 0xffffffffffff0000
jne 0x14004b305
movzx edi, cx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14004b3ec
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400025b0
mov rbx, qword [rsp + 0x40]
jmp 0x14004b3ec
lea rax, [rbp + 0x200]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004b310
test edi, edi
jne 0x14004b370
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004b3ec
cmp dword [rdx + 0x10], 0
jge 0x14004b34c
cmp dword [rbx - 0xc], 0
jl 0x14004b5c0
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x14004b3ec
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004b35c
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 0x14004b3ec
mov r15d, dword [rbx - 0x10]
lea rsi, [rbp + 0x200]
sub rsi, rbx
sar rsi, 1
test edi, edi
js 0x14004b612
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14004b3ab
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, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x14004b3cf
lea r8, [rbx + rsi*2]
call fcn.1400ce2e4
jmp 0x14004b3db
lea r8, [rbp + 0x200]
call fcn.1400ce4a4
cmp edi, dword [rbx - 0xc]
jg 0x14004b607
mov dword [rbx - 0x10], edi
mov word [r15 + rbx], r13w
cmp dword [rbx - 0x10], 0
je 0x14004b48e
mov rax, qword [r14 + 8]
lea rcx, [rsp + 0x40]
cmp rcx, rax
jae 0x14004b459
mov rcx, qword [r14]
lea rdx, [rsp + 0x40]
cmp rcx, rdx
ja 0x14004b459
lea rdi, [rsp + 0x40]
sub rdi, rcx
sar rdi, 3
cmp rax, qword [r14 + 0x10]
jne 0x14004b42b
mov rcx, r14
call fcn.14001d150
mov rax, qword [r14]
lea rcx, [rax + rdi*8]
mov rdi, qword [r14 + 8]
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x78], rdi
test rdi, rdi
je 0x14004b457
mov rcx, qword [rcx]
sub rcx, 0x18
call fcn.140002410
add rax, 0x18
mov qword [rdi], rax
jmp 0x14004b489
cmp rax, qword [r14 + 0x10]
jne 0x14004b467
mov rcx, r14
call fcn.14001d150
mov rdi, qword [r14 + 8]
mov qword [rbp - 0x78], rdi
mov qword [rsp + 0x78], rdi
test rdi, rdi
je 0x14004b489
lea rcx, [rbx - 0x18]
call fcn.140002410
add rax, 0x18
mov qword [rdi], rax
add qword [r14 + 8], 8
mov dword [rsp + 0x4c], 0x4000
xor edx, edx
mov r8d, 0x8000
lea rcx, [rbp + 0x200]
call fcn.1400d2f00
mov r11d, dword [0x1401c3d80]
mov ecx, r11d
imul ecx, r11d
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
cmp ecx, 2
jne 0x14004b58d
mov r10d, r13d
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
mov eax, 0x55555556
imul r11d
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
mov eax, r11d
cdq
and edx, 3
lea r13d, [rdx + rax]
sar r13d, 2
lea r9, [rbp + 0x1c1]
nop
movzx r8d, r11b
sub r8b, r10b
mov edi, 1
lea esi, [rdi + 2]
nop
mov eax, r11d
cdq
idiv edi
movzx eax, r8b
imul dl
movzx ecx, al
movzx eax, r11b
imul cl
mov byte [r9 - 1], al
movzx eax, dl
imul r12b
movzx ecx, al
movzx eax, r8b
imul cl
mov byte [r9], al
movzx eax, dl
imul r15b
movzx ecx, al
movzx eax, r8b
imul cl
mov byte [r9 + 1], al
movzx eax, r8b
imul dl
movzx ecx, al
movzx eax, r13b
imul cl
mov byte [r9 + 2], al
inc edi
add r9, 4
dec rsi
jne 0x14004b520
inc r10d
cmp r10d, 5
jl 0x14004b510
mov r12d, dword [rsp + 0x68]
xor r13d, r13d
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14004b5a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rsp + 0x48]
mov r9d, dword [0x1401c3d80]
mov rbx, qword [rsp + 0x50]
test r12d, r12d
jne 0x14004b5cb
jmp 0x14004b1a0
mov ecx, 0x80070057
call fcn.140001920
nop
test rbx, rbx
je 0x14004b5e1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r13
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], r13d
mov dil, 1
test rbx, rbx
je 0x14004b5fc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], r13d
movzx eax, dil
jmp 0x14004b61d
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
nop
mov rcx, qword [rbp + 0x8200]
xor rcx, rsp
call fcn.1400cdac0
mov rbx, qword [rsp + 0x8360]
add rsp, 0x8310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret