Function at 0x140058a08
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov rax, qword [0x1400cd220]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r15d, r15d
mov edi, r15d
lea rsi, [0x1400afa60]
or r12, 0xffffffffffffffff
mov rax, qword [0x1400cce40]
movabs r10, 0xb1a8ae8f5a5da170
lea rcx, [0x1400cce40]
mov rax, qword [rax + 0x18]
call qword [case.0x140071786.0]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
mov rdx, qword [rdi + rsi + 8]
lea rcx, [0x1400cd4c0]
call fcn.14005a604
cmp al, 1
jne 0x140058aa4
mov edx, 0x2c
lea rcx, [rsp + 0x40]
call fcn.14001eda0
mov rdx, qword [rdi + rsi]
test rdx, rdx
jne 0x140058ab2
mov eax, r15d
jmp 0x140058abf
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x140058ab5
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14000543c
mov rbx, qword [rsp + 0x40]
mov r8, rbx
mov rdx, qword [rdi + rsi + 8]
lea rcx, [0x1400cd4c0]
call fcn.140031be0
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140058b13
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
add rdi, 0x10
cmp rdi, 0x100
jb 0x140058a50
mov rbx, r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x60]
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]
nop dword [rax + rax]
test eax, eax
jne 0x140058dad
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
mov esi, r15d
mov dword [rsp + 0x58], 0x104
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x40]
mov edx, esi
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140058d9f
lea r14, [rbp - 0x3e]
lea rcx, [rbp - 0x40]
lea eax, [rdi + 0x2e]
cmp ax, word [rbp - 0x40]
cmovne r14, rcx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x74]
mov rdx, r14
lea rcx, [0x1400cd4c0]
call fcn.14000fe5c
test rax, rax
jne 0x140058d9f
mov rbx, r15
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x68], r15
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]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140058c4a
mov edi, r15d
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x70], rbx
test edi, edi
jne 0x140058d8b
mov rax, qword [0x1400cce40]
movabs r10, 0xb1a8ae8f5a5da170
lea rcx, [0x1400cce40]
mov rax, qword [rax + 0x18]
call qword [case.0x140071786.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rdx, str.Content_Type
lea rcx, [rsp + 0x70]
call fcn.140091bc8
mov edi, eax
test eax, eax
jne 0x140058d54
mov rax, qword [0x1400cce40]
movabs r10, 0xb1a8ae8f5a5da170
lea rcx, [0x1400cce40]
mov rax, qword [rax + 0x18]
call qword [case.0x140071786.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
lea rcx, [0x1400cd4c0]
call fcn.14005a604
cmp al, 1
jne 0x140058cef
lea edx, [rdi + 0x2c]
lea rcx, [rsp + 0x48]
call fcn.14001eda0
mov rax, r12
inc rax
cmp word [r14 + rax*2], r15w
jne 0x140058cf2
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.14000543c
mov rbx, qword [rsp + 0x48]
mov r8, rbx
mov rdx, qword [rsp + 0x50]
lea rcx, [0x1400cd4c0]
call fcn.140031be0
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140058d54
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140058d86
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x140058d9f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
inc esi
test edi, edi
je 0x140058b75
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140058dc1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140003680
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret