Function at 0x140015cd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x658]
sub rsp, 0x740
mov rax, qword [0x140043008]
xor rax, rsp
mov qword [rbp + 0x630], rax
mov r14, rcx
mov esi, 0x208
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rbp + 0x190]
mov r8d, 0x104
lea rdx, [rbp + 0x190]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
dec eax
xor r15d, r15d
cmp eax, 0x102
ja 0x140015d95
lea rcx, [rbp + 0x190]
lea rcx, [rcx + rax*2]
jmp 0x140015d7b
cmp word [rcx], 0x5c
je 0x140015d87
sub rcx, 2
lea rax, [rbp + 0x190]
cmp rcx, rax
ja 0x140015d71
lea rdi, [rcx + 2]
cmp word [rcx], 0x5c
cmovne rdi, rcx
jmp 0x140015d9d
mov word [rbp + 0x190], r15w
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov ebx, 0x20019
mov r9d, ebx
xor r8d, r8d
lea rdx, str.CLSID
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140015e87
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140015e77
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.InprocServer32
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140015e67
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400354e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140015e62
mov word [rbp + 0x186], r15w
jmp 0x140015e67
mov word [rbp - 0x80], r15w
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140015e77
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140015e87
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbp - 0x80], r15w
je 0x140015f88
call fcn.14001608c
mov rsi, rax
lea rdx, str.GetFileVersionInfoSizeW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call qword [case.0x140007cca.0]
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x140015ecc
mov word [rsp + 0x50], r15w
jmp 0x140015f88
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140015f88
lea rdx, str.GetFileVersionInfoW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rbx
mov r8d, dword [rsp + 0x30]
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [case.0x140007cca.0]
test eax, eax
je 0x140015f74
lea rdx, str.VerQueryValueW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rdx, [0x140037180]
mov rcx, rbx
call qword [case.0x140007cca.0]
test eax, eax
je 0x140015f74
mov rdx, qword [rsp + 0x38]
movzx eax, word [rdx + 0xc]
movzx ecx, word [rdx + 0xe]
movzx r9d, word [rdx + 8]
movzx r8d, word [rdx + 0xa]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x50]
call fcn.140015c60
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
mov r8d, 0x288
lea rcx, [rbp + 0x3a0]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x80]
lea rdx, str._s__s__s
lea rcx, [rbp + 0x3a0]
call fcn.140015c08
lea r9, [rbp + 0x3a0]
mov rcx, rdi
call fcn.14001600c
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140015fdd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x630]
xor rcx, rsp
call fcn.14000ac50
lea r11, [rsp + 0x740]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret