Function at 0x14000e860
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 - 0x140]
sub rsp, 0x240
mov rax, qword [0x140084080]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rbp + 8], rsi
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, str.SoftwareClassesdota2ShellOpenCommand
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x14000ea96
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rax, [rbp - 0x70]
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
lea r8d, [rsi + 2]
lea rdx, [0x140077f74]
lea rcx, [rbp - 0x70]
call fcn.140007cd0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
lea r8d, [rsi + 0x31]
lea rdx, str.____Registry_Read_Failed_at_RegOpenKey__Error:_0x
lea rcx, [rsp + 0x60]
call fcn.140007cd0
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x48]
call fcn.140004ab0
nop
lea rax, [rbp - 0x48]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.140004940
mov dword [rsp + 0x30], 1
lea r9, [fcn.1400048e0]
lea edx, [rsi + 0x28]
lea r8d, [rsi + 1]
lea rcx, [rbp - 0x48]
call fcn.140067028
mov r9, qword [rsp + 0x38]
mov rcx, qword [r9]
cmp rcx, r9
je 0x14000e9c7
nop dword [rax]
mov eax, dword [rcx + 0x30]
cmp eax, 0xff
ja 0x14000e9b4
cdq
and edx, 0xf
add eax, edx
mov r8d, eax
and eax, 0xf
sub eax, edx
sar r8d, 4
shl eax, 4
add eax, r8d
jmp 0x14000e9b9
mov eax, 0xffffff00
mov dword [rcx + 0x30], eax
mov rax, qword [rcx]
mov rcx, rax
cmp rax, r9
jne 0x14000e990
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1400046a0
mov rdi, rax
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140010690
mov r10, rax
mov r9, qword [rax]
mov rcx, qword [r9]
cmp rcx, r9
je 0x14000ea28
mov eax, dword [rcx + 0x14]
cmp eax, 0xff
ja 0x14000ea15
cdq
and edx, 0xf
add eax, edx
mov r8d, eax
and eax, 0xf
sub eax, edx
sar r8d, 4
shl eax, 4
add eax, r8d
jmp 0x14000ea1a
mov eax, 0xffffff00
mov dword [rcx + 0x14], eax
mov rax, qword [rcx]
mov rcx, rax
cmp rax, r9
jne 0x14000e9f1
mov rdx, r10
mov rcx, rdi
call fcn.1400107e0
lea rdx, [0x140004750]
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 0x14000ea75
nop dword [rax + rax]
mov rbx, qword [rcx]
mov edx, Ordinal_27
call fcn.140067018
mov rcx, rbx
test rbx, rbx
jne 0x14000ea60
mov edx, Ordinal_27
mov rcx, qword [rsp + 0x50]
call fcn.140067018
nop
lea rcx, [rsp + 0x38]
call fcn.1400045e0
xor al, al
jmp 0x14000ed0b
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x21]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x20], Ordinal_35
mov dword [rbp + 0x10], 0x103
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x21]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 8]
test eax, eax
je 0x14000ecb2
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 - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8d, 2
lea rdx, [0x140077f74]
lea rcx, [rsp + 0x60]
call fcn.140007cd0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov r8d, gethostname
lea rdx, str.____Registry_Read_Failed_at_RegQueryValue__Error:_0x
lea rcx, [rbp - 0x48]
call fcn.140007cd0
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x20]
call fcn.140004ab0
nop
lea rax, [rbp - 0x20]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140004940
mov dword [rsp + 0x30], 2
lea r9, [fcn.1400048e0]
mov edx, Ordinal_41
lea r8d, [rdx - 0x27]
lea rcx, [rbp - 0x20]
call fcn.140067028
mov r9, qword [rsp + 0x38]
mov rcx, qword [r9]
cmp rcx, r9
je 0x14000ebe7
nop word [rax + rax]
mov eax, dword [rcx + 0x30]
cmp eax, 0xff
ja 0x14000ebd4
cdq
and edx, 0xf
add eax, edx
mov r8d, eax
and eax, 0xf
sub eax, edx
sar r8d, 4
shl eax, 4
add eax, r8d
jmp 0x14000ebd9
mov eax, 0xffffff00
mov dword [rcx + 0x30], eax
mov rax, qword [rcx]
mov rcx, rax
cmp rax, r9
jne 0x14000ebb0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400046a0
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140010690
mov r10, rax
mov r9, qword [rax]
mov rcx, qword [r9]
cmp rcx, r9
je 0x14000ec47
mov eax, dword [rcx + 0x14]
cmp eax, 0xff
ja 0x14000ec34
cdq
and edx, 0xf
add eax, edx
mov r8d, eax
and eax, 0xf
sub eax, edx
sar r8d, 4
shl eax, 4
add eax, r8d
jmp 0x14000ec39
mov eax, 0xffffff00
mov dword [rcx + 0x14], eax
mov rax, qword [rcx]
mov rcx, rax
cmp rax, r9
jne 0x14000ec10
mov rdx, r10
mov rcx, rbx
call fcn.1400107e0
lea rdx, [0x140004750]
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 - 0x70]
mov rax, qword [rcx + 8]
mov qword [rax], rsi
mov rcx, qword [rcx]
test rcx, rcx
je 0x14000ec95
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, Ordinal_27
call fcn.140067018
mov rcx, rbx
test rbx, rbx
jne 0x14000ec80
mov edx, Ordinal_27
mov rcx, qword [rbp - 0x70]
call fcn.140067018
nop
lea rcx, [rsp + 0x38]
call fcn.1400045e0
xor al, al
jmp 0x14000ed0b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0x20]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], sil
jne 0x14000ecc3
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x14000ecfa
mov rsi, rdi
cmp rax, 0xf
jbe 0x14000ece1
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rbp + 0x20]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x14000ed09
lea r9, [rbp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.140010bc0
mov al, 1
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140066d50
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret