Function at 0x14005c684
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14014d030]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r12d, r12d
mov esi, r12d
lea r15, [0x14011e740]
or r13, 0xffffffffffffffff
mov rax, qword [0x14014e920]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140009050]
lea rcx, [0x14014e920]
call rbx
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
mov rdx, qword [rsi + r15 + 8]
lea rcx, [0x14014e760]
call fcn.1400671b8
cmp al, 1
jne 0x14005c723
mov edx, 0x2c
lea rcx, [rsp + 0x40]
call fcn.1400256c4
mov rdx, qword [rsi + r15]
test rdx, rdx
jne 0x14005c731
mov eax, r12d
jmp 0x14005c73e
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14005c734
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.1400046e8
mov rbx, qword [rsp + 0x40]
mov r8, rbx
mov rdx, qword [rsi + r15 + 8]
lea rcx, [0x14014e760]
call fcn.140036390
nop
lea r14, [rbx - 0x18]
mov eax, r13d
lock xadd dword [r14 + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14005c794
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
mov rdx, r14
mov rcx, rdi
call rbx
add rsi, 0x10
cmp rsi, 0x100
jb 0x14005c6d4
mov rbx, r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMultimediaWMPlayerExtensions_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005ca15
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x70], rax
mov r15d, r12d
mov dword [rsp + 0x60], 0x104
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x40]
mov edx, r15d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test eax, eax
jne 0x14005ca06
lea rdi, [rbp - 0x3e]
lea rcx, [rbp - 0x40]
lea eax, [rsi + 0x2e]
cmp ax, word [rbp - 0x40]
cmovne rdi, rcx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x74]
mov rdx, rdi
lea r14, [0x14014e760]
mov rcx, r14
call fcn.14001b098
test rax, rax
jne 0x14005ca06
mov rbx, r12
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x14005c8bd
mov esi, r12d
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x70], rbx
test esi, esi
jne 0x14005c9f8
mov rax, qword [0x14014e920]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140009050]
lea rcx, [0x14014e920]
call rbx
add rax, 0x18
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
lea rdx, str.Content_Type
lea rcx, [rsp + 0x70]
call fcn.1400bdba4
mov esi, eax
test eax, eax
jne 0x14005c9c1
mov rax, qword [0x14014e920]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140009050]
lea rcx, [0x14014e920]
call rbx
add rax, 0x18
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.1400671b8
cmp al, 1
jne 0x14005c954
lea edx, [rsi + 0x2c]
lea rcx, [rsp + 0x50]
call fcn.1400256c4
test rdi, rdi
jne 0x14005c95e
mov eax, r12d
jmp 0x14005c96b
mov rax, r13
inc rax
cmp word [rdi + rax*2], r12w
jne 0x14005c961
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400046e8
mov rbx, qword [rsp + 0x50]
mov r8, rbx
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.140036390
nop
lea r14, [rbx - 0x18]
mov eax, r13d
lock xadd dword [r14 + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14005c9c1
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
mov rdx, r14
mov rcx, rdi
call rbx
nop
mov r14, qword [rsp + 0x48]
mov eax, r13d
lock xadd dword [r14 - 8], eax
add eax, r13d
test eax, eax
jg 0x14005c9f3
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14005ca06
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r15d
test esi, esi
je 0x14005c7f0
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14005ca23
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140106ed0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret