Function at 0x140063640
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r15, r8
mov r14, rdx
mov r12d, ecx
xor sil, sil
test rdx, rdx
je 0x140063908
xor ebx, ebx
cmp bx, word [rdx]
je 0x140063908
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x40]
call fcn.14003be10
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
call fcn.140222790
lea rdx, [rbp + 0x180]
mov ecx, r12d
call fcn.14029cb30
mov dword [rsp + 0x60], 0xffffffff
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x180]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140063744
mov dword [rsp + 0x64], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rsp + 0x60]
mov dword [r15], eax
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x140063942
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
mov esi, dword [r15]
mov rdi, 0xffffffffffffffff
test esi, esi
js 0x140063894
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.140222790
lea r8, [rsp + 0x70]
mov edx, esi
mov ecx, r12d
call fcn.14029cd00
lea rcx, [rsp + 0x70]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400637b0
test rax, rax
je 0x140063894
lea rcx, [rsp + 0x48]
call fcn.140064360
nop
mov r9, qword [rax]
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140058330
nop
mov rax, qword [rsp + 0x38]
lea rcx, [rax - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140063849
cmp dword [rbx + 0x10], 0
jl 0x140063833
mov rdx, qword [rbx]
cmp qword [rcx], rdx
jne 0x140063833
call fcn.14003c400
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140063828
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x140063844
mov r8d, dword [rax - 0x10]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14003beb0
mov rax, qword [rsp + 0x38]
lea rdx, [rax - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006386a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006388f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140063937
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
call fcn.1402389bc
test eax, eax
jne 0x1400638b3
mov sil, 1
jmp 0x1400638c4
mov r8, r15
mov rdx, r14
mov ecx, r12d
call fcn.140063230
movzx esi, al
lea rdx, [rbx - 0x18]
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400638e5
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140063908
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
movzx eax, sil
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140039950
nop
mov ecx, 0x80004005
call fcn.140039950
int3