Function at 0x14001bfa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x8b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1419d0c58]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
mov rbp, rdx
mov qword [rsp + 0x58], rdx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str..htm
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or rbx, 0xffffffffffffffff
test eax, eax
jne 0x14001c523
mov dword [rsp + 0x38], 0x104
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x480]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
xor esi, esi
mov rcx, rsi
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0x480]
mov word [rsp + rcx + 0x70], ax
add rcx, 2
test ax, ax
jne 0x14001c040
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdi, [rsp + 0x70]
xor eax, eax
mov rcx, rbx
repne scasw ax, word [rdi]
mov rax, qword [str._shellopencommand]
mov qword [rdi - 2], rax
mov rax, qword [0x140090628]
mov qword [rdi + 6], rax
mov rax, qword [0x140090630]
mov qword [rdi + 0xe], rax
mov rax, qword [0x140090638]
mov qword [rdi + 0x16], rax
mov rax, qword [0x140090640]
mov qword [rdi + 0x1e], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c523
mov dword [rsp + 0x3c], 0x104
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x690]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rdx, rsi
nop word [rax + rax]
movzx eax, word [rsp + rdx + 0x690]
mov word [rsp + rdx + 0x70], ax
add rdx, 2
test ax, ax
jne 0x14001c100
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.__1_
lea rcx, [rsp + 0x70]
call fcn.140068fcc
mov r11, rax
test rax, rax
jne 0x14001c14f
mov rcx, rbx
lea rdi, [rsp + 0x70]
repne scasw ax, word [rdi]
not rcx
lea r11, [rsp + rcx*2 + 0x6c]
jmp 0x14001c152
mov word [rax], si
mov rdi, r11
xor eax, eax
mov rcx, rbx
repne scasw ax, word [rdi]
mov eax, dword [0x140090608]
mov dword [rdi - 2], eax
mov rdx, qword [rbp]
mov rdi, r11
xor eax, eax
mov rcx, rbx
repne scasw ax, word [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rdx + rcx]
mov word [rdi + rcx - 2], ax
add rcx, 2
test ax, ax
jne 0x14001c180
mov rdi, qword [rsp + 0x58]
cmp edi, 0x20
jg 0x14001c500
call fcn.140024aa4
mov rcx, rax
test rax, rax
setne sil
test esi, esi
jne 0x14001c1be
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
cmp edi, 0x20
ja case.0x14001c1f2.1
movsxd rax, edi
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x1c5a4]
mov ecx, dword [rdx + rax*4 + 0x1c56c]
add rcx, rdx
jmp rcx
xor eax, eax
mov rcx, rbx
lea rdi, str.The_operating_system_is_out_nof_memory_or_resources.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.The_operating_system_is_out_nof_memory_or_resources.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.The_specified_path_was_not_found.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.The_specified_path_was_not_found.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.The_specified_file_was_not_found.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.The_specified_file_was_not_found.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.The_.EXE_file_is_invalid_n_non_Win32_.EXE_or_error_in_.EXE_image_.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.The_.EXE_file_is_invalid_n_non_Win32_.EXE_or_error_in_.EXE_image_.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.The_operating_system_denied_naccess_to_the_specified_file.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.The_operating_system_denied_naccess_to_the_specified_file.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.The_filename_association_is_nincomplete_or_invalid.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.The_filename_association_is_nincomplete_or_invalid.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.The_DDE_transaction_could_not_nbe_completed_because_other_DDE_transactions_nwere_being_processed.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.The_DDE_transaction_could_not_nbe_completed_because_other_DDE_transactions_nwere_being_processed.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.The_DDE_transaction_failed.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.The_DDE_transaction_failed.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.The_DDE_transaction_could_not_nbe_completed_because_the_request_timed_out.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.The_DDE_transaction_could_not_nbe_completed_because_the_request_timed_out.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.The_specified_dynamic_link_library_was_not_found.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.The_specified_dynamic_link_library_was_not_found.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.There_is_no_application_associated_nwith_the_given_filename_extension.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.There_is_no_application_associated_nwith_the_given_filename_extension.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.There_was_not_enough_memory_to_complete_the_operation.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.There_was_not_enough_memory_to_complete_the_operation.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
xor eax, eax
mov rcx, rbx
lea rdi, str.A_sharing_violation_occurred.
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.A_sharing_violation_occurred.
lea rcx, [rsp + 0x30]
call fcn.140001f30
jmp 0x14001c43b
mov r8d, edi
lea rdx, str.Unknown_Error___d__occurred.
lea rcx, [rsp + 0x30]
call fcn.14000b250
lea r8, [rsp + 0x30]
lea rdx, str.Unable_to_open_hyperlink:_n_n
lea rcx, [rsp + 0x50]
call fcn.14001ab80
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x30]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14001c4b0
cmp dword [rdi + 0x10], 0
jl 0x14001c4a1
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14001c4a1
call fcn.140001da0
mov rsi, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14001c496
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x14001c4b0
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140001f30
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001c4cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
lea edx, [r8 + 0x30]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.14003f78c
nop
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001c523
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001c523
mov rdx, qword [rbp]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14001c51c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
jmp 0x14001c541
mov rdx, qword [rbp]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14001c53f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.140068690
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret