Function at 0x140014840
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rbp - 0x10], rsi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareClassesdota2ShellOpenCommand
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test eax, eax
je 0x140014a86
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rax, [rsp + 0x60]
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8d, 2
lea rdx, [0x14008d024]
lea rcx, [rsp + 0x60]
call fcn.140008080
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov r8d, Ordinal_50
lea rdx, str.____Registry_Read_Failed_at_RegOpenKey__Error:_0x
lea rcx, [rbp - 0x80]
call fcn.140008080
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x38]
call fcn.140004d20
nop
lea rax, [rbp - 0x38]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140004bb0
mov dword [rsp + 0x30], 1
lea r9, [fcn.140004b50]
mov edx, Ordinal_41
mov r8d, 1
lea rcx, [rbp - 0x38]
call fcn.14007a998
mov r8, qword [rsp + 0x38]
mov rcx, qword [r8]
cmp rcx, r8
je 0x1400149b5
mov eax, dword [rcx + 0x30]
cmp eax, 0xff
ja 0x1400149a5
cdq
and edx, 0xf
add eax, edx
mov r9d, eax
and eax, 0xf
sub eax, edx
sar r9d, 4
shl eax, 4
add eax, r9d
jmp 0x1400149aa
mov eax, 0xffffff00
mov dword [rcx + 0x30], eax
mov rcx, qword [rcx]
cmp rcx, r8
jne 0x140014981
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140004900
mov rbx, rax
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140016410
mov r10, rax
mov r8, qword [rax]
mov rcx, qword [r8]
cmp rcx, r8
je 0x140014a14
nop
mov eax, dword [rcx + 0x14]
cmp eax, 0xff
ja 0x140014a04
cdq
and edx, 0xf
add eax, edx
mov r9d, eax
and eax, 0xf
sub eax, edx
sar r9d, 4
shl eax, 4
add eax, r9d
jmp 0x140014a09
mov eax, 0xffffff00
mov dword [rcx + 0x14], eax
mov rcx, qword [rcx]
cmp rcx, r8
jne 0x1400149e0
mov rdx, r10
mov rcx, rbx
call fcn.1400165c0
lea rdx, [0x1400049b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + 8]
mov qword [rax], rsi
mov rcx, qword [rcx]
test rcx, rcx
je 0x140014a65
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rcx]
mov edx, Ordinal_26
call fcn.14007a988
mov rcx, rbx
test rbx, rbx
jne 0x140014a50
mov edx, Ordinal_26
mov rcx, qword [rsp + 0x50]
call fcn.14007a988
nop
lea rcx, [rsp + 0x38]
call fcn.140004840
xor al, al
jmp 0x140014cca
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 1]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp], Ordinal_35
mov dword [rbp - 8], 0x103
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 1]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x10]
test eax, eax
je 0x140014ca2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rax, [rbp - 0x80]
mov qword [rbp - 0x60], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov r8d, 2
lea rdx, [0x14008d024]
lea rcx, [rbp - 0x80]
call fcn.140008080
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8d, gethostname
lea rdx, str.____Registry_Read_Failed_at_RegQueryValue__Error:_0x
lea rcx, [rsp + 0x60]
call fcn.140008080
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
call fcn.140004d20
nop
lea rax, [rbp - 0x38]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140004bb0
mov dword [rsp + 0x30], 2
lea r9, [fcn.140004b50]
mov edx, Ordinal_41
mov r8d, 1
lea rcx, [rbp - 0x38]
call fcn.14007a998
mov r8, qword [rsp + 0x38]
mov rcx, qword [r8]
cmp rcx, r8
je 0x140014bda
mov eax, dword [rcx + 0x30]
cmp eax, 0xff
ja 0x140014bca
cdq
and edx, 0xf
add eax, edx
mov r9d, eax
and eax, 0xf
sub eax, edx
sar r9d, 4
shl eax, 4
add eax, r9d
jmp 0x140014bcf
mov eax, 0xffffff00
mov dword [rcx + 0x30], eax
mov rcx, qword [rcx]
cmp rcx, r8
jne 0x140014ba6
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140004900
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140016410
mov r10, rax
mov r8, qword [rax]
mov rcx, qword [r8]
cmp rcx, r8
je 0x140014c37
mov eax, dword [rcx + 0x14]
cmp eax, 0xff
ja 0x140014c27
cdq
and edx, 0xf
add eax, edx
mov r9d, eax
and eax, 0xf
sub eax, edx
sar r9d, 4
shl eax, 4
add eax, r9d
jmp 0x140014c2c
mov eax, 0xffffff00
mov dword [rcx + 0x14], eax
mov rcx, qword [rcx]
cmp rcx, r8
jne 0x140014c03
mov rdx, r10
mov rcx, rbx
call fcn.1400165c0
lea rdx, [0x1400049b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx + 8]
mov qword [rax], rsi
mov rcx, qword [rcx]
test rcx, rcx
je 0x140014c85
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, Ordinal_26
call fcn.14007a988
mov rcx, rbx
test rbx, rbx
jne 0x140014c70
mov edx, Ordinal_26
mov rcx, qword [rbp - 0x50]
call fcn.14007a988
nop
lea rcx, [rsp + 0x38]
call fcn.140004840
xor al, al
jmp 0x140014cca
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x140014cb3
lea rdx, [rbp]
mov rcx, rbx
call fcn.14000de80
mov al, 1
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14007a6c0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret