Function at 0x140048c90
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r13, r9
mov r14, r8
mov r15, rdx
mov dword [rbp - 0x40], 0x1fffff
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x38], rbx
mov r12, qword [rbp + 0x50]
mov rax, qword [r12]
or rsi, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
je 0x140048d73
lea r8, [0x14014ffb0]
mov rdx, r12
lea rcx, [rbp - 0x10]
call fcn.14001a720
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140048d5b
cmp dword [rbx + 0x10], 0
jl 0x140048d4d
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140048d4d
call fcn.140002400
mov rdi, rax
lock add dword [rbx + 0x10], esi
jg 0x140048d43
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rbp - 0x38], rax
jmp 0x140048d5b
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x38]
call fcn.1400022b0
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048d73
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x28], rbx
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x18]
call fcn.140048210
nop
mov r8, rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.14000f690
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140048dff
cmp dword [rbx + 0x10], 0
jl 0x140048df1
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140048df1
call fcn.140002400
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140048de7
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rbp - 0x28], rax
jmp 0x140048dff
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x28]
call fcn.1400022b0
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048e18
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048e30
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rbx, qword [rbp - 0x28]
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140048eee
call fcn.1400469b0
test al, al
jne 0x140048e9d
mov ecx, 0x28
call fcn.1400cd918
mov r14, rax
xor edi, edi
call fcn.1400cebc4
add eax, dword [0x1401c4d60]
mov dword [r14 + rdi*4], eax
inc rdi
cmp rdi, 0xa
jl 0x140048e72
mov eax, dword [r14 + 0x24]
mov dword [0x1401c4d60], eax
mov rcx, r14
call fcn.1400cf37c
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048eb2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140048ecf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r12]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048ee7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x14004901e
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x3c]
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140048f1b
mov ecx, dword [rbp - 0x40]
jmp 0x140048f25
mov eax, dword [rbp - 0x40]
inc eax
mov dword [rbp - 0x40], eax
mov ecx, eax
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400cd918
mov r14, rax
mov r8d, dword [rbp - 0x40]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.1400d3710
mov eax, dword [rbp - 0x40]
add eax, eax
mov dword [rbp - 0x40], eax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x3c]
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test eax, eax
jne 0x140048faa
mov ecx, dword [rbp - 0x40]
mov word [r14 + rcx*2], di
test r14, r14
je 0x140048f9b
mov rdi, rsi
nop
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x140048f90
mov r8d, edi
mov rdx, r14
mov rcx, qword [rbp + 0x30]
call fcn.1400022b0
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r14
call fcn.1400cf37c
test r15d, r15d
jne 0x140048fcc
cmp dword [rbp - 0x3c], 1
jne 0x140048fcc
mov dil, 1
jmp 0x140048fcf
xor dil, dil
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048fe4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140049001
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r12]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004901a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret