Function at 0x140020ea0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x141d1d8e8]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rdi, rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rdx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r13d, 1
mov r9d, r13d
xor r8d, r8d
lea rdx, str..htm
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rsi, [rbx - 1]
test eax, eax
jne 0x14002146f
mov dword [rsp + 0x38], 0x104
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x380]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, ebx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbp + rcx + 0x380]
mov word [rsp + rcx + 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140020f50
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x70]
sub rax, 2
nop word [rax + rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x140020f80
movups xmm0, xmmword [str._shellopencommand]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1401fec40]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1401fec50]
movsd qword [rax + 0x20], xmm0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002146f
mov dword [rsp + 0x3c], 0x104
lea r9, [rsp + 0x3c]
lea r8, [rbp + 0x590]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, rbx
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x590]
mov word [rsp + rcx + 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140021000
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.__1_
lea rcx, [rsp + 0x70]
call fcn.1401c6788
mov rcx, rax
test rax, rax
jne 0x140021054
lea rcx, [rsp + 0x70]
mov rax, rsi
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140021042
lea rcx, [rsp + rax*2 + 0x6e]
jmp 0x140021057
mov word [rax], bx
lea rdx, [rcx - 2]
nop dword [rax + rax]
lea rdx, [rdx + 2]
cmp word [rdx], 0
jne 0x140021060
mov eax, dword [0x1401fec64]
mov dword [rdx], eax
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140021076
mov r8, qword [rdi]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140021090
movsxd rbx, dword [rsp + 0x68]
cmp ebx, 0x20
jg 0x1400214bb
call fcn.140025a68
mov rcx, rax
test rax, rax
je 0x1400214e6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
cmp ebx, 0x20
ja case.0x1400210f2.1
lea rdx, [0x140000000]
movzx eax, byte [rdx + rbx + 0x21534]
mov ecx, dword [rdx + rax*4 + 0x214fc]
add rcx, rdx
jmp rcx
lea rdx, str.The_operating_system_is_out_nof_memory_or_resources.
mov rax, rsi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x140021100
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.The_specified_path_was_not_found.
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140021126
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.The_specified_file_was_not_found.
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140021150
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.The_.EXE_file_is_invalid_n_non_Win32_.EXE_or_error_in_.EXE_image_.
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140021176
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.The_operating_system_denied_naccess_to_the_specified_file.
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400211a0
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.The_filename_association_is_nincomplete_or_invalid.
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400211c6
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.The_DDE_transaction_could_not_nbe_completed_because_other_DDE_transactions_nwere_being_processed.
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400211f0
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.The_DDE_transaction_failed.
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140021216
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.The_DDE_transaction_could_not_nbe_completed_because_the_request_timed_out.
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140021240
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.The_specified_dynamic_link_library_was_not_found.
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140021266
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.There_is_no_application_associated_nwith_the_given_filename_extension.
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140021290
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.There_was_not_enough_memory_to_complete_the_operation.
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400212b3
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
lea rdx, str.A_sharing_violation_occurred.
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400212d6
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140006a40
jmp 0x140021304
mov r8d, ebx
lea rdx, str.Unknown_Error___d__occurred.
lea rcx, [rsp + 0x30]
call fcn.14000c6d0
nop
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rdi - 0x18]
test rcx, rcx
je 0x140021320
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14002133a
call fcn.140025a68
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
je 0x1400214f1
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], r13d
movsxd r12, dword [rdi - 0x10]
lea rcx, str.Unable_to_open_hyperlink:_n_n
mov r14, rsi
nop dword [rax]
inc r14
cmp word [rcx + r14*2], 0
jne 0x140021360
lea r15d, [r14 + r12]
test r15d, r15d
js 0x1400214db
sub r13d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r15d
or eax, r13d
jge 0x1400213a0
mov edx, r15d
lea rcx, [rsp + 0x48]
call fcn.140002c20
mov rbx, qword [rsp + 0x48]
lea rcx, str.Unable_to_open_hyperlink:_n_n
movsxd rax, r14d
lea r14, [rax + rax]
test r14, r14
je 0x1400213d1
test rbx, rbx
jne 0x1400213c3
call fcn.1401c9794
mov dword [rax], 0x16
call fcn.1401c9674
jmp 0x1400213d1
mov r8, r14
mov rdx, rcx
mov rcx, rbx
call fcn.1401c5d40
lea rcx, [r14 + rbx]
mov r8, r12
add r8, r8
je 0x1400213fc
test rcx, rcx
jne 0x1400213f4
call fcn.1401c9794
mov dword [rax], 0x16
call fcn.1401c9674
jmp 0x1400213fc
mov rdx, rdi
call fcn.1401c5d40
cmp r15d, dword [rbx - 0xc]
jg 0x1400214db
mov dword [rbx - 0x10], r15d
movsxd rax, r15d
xor ecx, ecx
mov word [rbx + rax*2], cx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140004290
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002143c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
lea edx, [r8 + 0x30]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.14003b5b8
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002146a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x60]
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140021489
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1401c45c0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400214d6
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r13d
jmp 0x14002148b
mov ecx, 0x80070057
call fcn.140002970
nop
mov ecx, 0x80004005
call fcn.140002970
nop
mov ecx, 0x80004005
call fcn.140002970
int3