Function at 0x1800339c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18005b0d0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rdx
mov r12, rcx
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x71]
call sub.MSVCR100.dll_memset
xor esi, esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x58], rsi
mov r9d, 0x20119
lea r8, [0x18004b880]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.18000a900
test eax, eax
jne 0x180033b3d
mov dword [rsp + 0x30], 0x100
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.InstallDir
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180033aa1
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x180033a90
cmp eax, 2
jne 0x180033aa1
movzx eax, byte [rsp + 0x70]
cmp dword [rsp + 0x30], 0
cmove eax, esi
mov byte [rsp + 0x70], al
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.mfc100.dll_Ordinal_1294]
mov dword [rsp + 0x30], 0x100
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.Version
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180033b06
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x180033af5
cmp eax, 2
jne 0x180033b06
movzx eax, byte [rsp + 0x70]
cmp dword [rsp + 0x30], 0
cmove eax, esi
mov byte [rsp + 0x70], al
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.mfc100.dll_Ordinal_1294]
test rbx, rbx
je 0x180033b25
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
test rbx, rbx
je 0x180033b33
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x180033d66
mov r9d, 0x20119
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_vlc.exe
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.18000a900
test eax, eax
jne 0x180033bed
mov dword [rsp + 0x30], 0x100
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.Path
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180033bbf
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x180033bae
cmp eax, 2
jne 0x180033bbf
movzx eax, byte [rsp + 0x70]
cmp dword [rsp + 0x30], 0
cmove eax, esi
mov byte [rsp + 0x70], al
test rbx, rbx
je 0x180033bd5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], esi
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.mfc100.dll_Ordinal_1294]
nop
jmp 0x180033b25
mov r9d, 0x20119
lea r8, str.SOFTWAREClassesDirectory_shellAddToPlaylistVLCcommand
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.18000a900
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x180033d56
mov dword [rsp + 0x30], 0x100
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180033c6a
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x180033c59
cmp eax, 2
jne 0x180033c6a
movzx eax, byte [rsp + 0x70]
cmp dword [rsp + 0x30], 0
cmove eax, esi
mov byte [rsp + 0x70], al
test rbx, rbx
je 0x180033c80
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], esi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_310]
nop
xor r8d, r8d
mov dl, 0x22
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_3990]
mov edi, eax
lea r8d, [rax + 1]
mov dl, 0x22
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_3990]
test edi, edi
js 0x180033d4a
cmp eax, edi
jle 0x180033d4a
sub eax, edi
lea r9d, [rax - 1]
lea r8d, [rdi + 1]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_7576]
nop
mov dl, 0x5c
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc100.dll_Ordinal_11428]
test eax, eax
jle 0x180033d3e
mov r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc100.dll_Ordinal_7190]
nop
mov rdx, rax
mov rcx, r12
call qword [sym.imp.mfc100.dll_Ordinal_1291]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
jmp 0x180033b25
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
test rbx, rbx
je 0x180033d64
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18003c580
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret