Function at 0x140024010
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x7c8]
sub rsp, 0x8b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140248210]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r12, rcx
mov qword [rsp + 0x58], rcx
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 0x1400244bd
mov dword [rsp + 0x38], 0x104
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x380]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
xor esi, esi
mov ecx, esi
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x380]
mov word [rsp + rcx + 0x70], ax
add rcx, 2
test ax, ax
jne 0x1400240b0
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 [0x140203ad8]
mov qword [rdi + 6], rax
mov rax, qword [0x140203ae0]
mov qword [rdi + 0xe], rax
mov rax, qword [0x140203ae8]
mov qword [rdi + 0x16], rax
mov rax, qword [0x140203af0]
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 0x1400244bd
mov dword [rsp + 0x3c], 0x104
lea r9, [rsp + 0x3c]
lea r8, [rbp + 0x590]
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 [rbp + rdx + 0x590]
mov word [rsp + rdx + 0x70], ax
add rdx, 2
test ax, ax
jne 0x140024170
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.__1_
lea rcx, [rsp + 0x70]
call fcn.14017da30
mov r11, rax
test rax, rax
jne 0x1400241bf
mov rcx, rbx
lea rdi, [rsp + 0x70]
repne scasw ax, word [rdi]
not rcx
lea r11, [rsp + rcx*2 + 0x6c]
jmp 0x1400241c2
mov word [rax], si
mov rdi, r11
xor eax, eax
mov rcx, rbx
repne scasw ax, word [rdi]
mov eax, dword [0x140203b04]
mov dword [rdi - 2], eax
mov rdx, qword [r12]
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 0x1400241f0
mov rdi, qword [rsp + 0x58]
cmp edi, 0x20
jg 0x14002449a
call fcn.140025ea4
mov rcx, rax
test rax, rax
setne sil
test esi, esi
jne 0x14002422e
mov ecx, 0x80004005
call fcn.140001600
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
cmp edi, 0x20
ja case.0x140024262.1
movsxd rax, edi
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x2453c]
mov ecx, dword [rdx + rax*4 + 0x24504]
add rcx, rdx
jmp rcx
mov r8d, 0x33
lea rdx, str.The_operating_system_is_out_nof_memory_or_resources.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x21
lea rdx, str.The_specified_path_was_not_found.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x21
lea rdx, str.The_specified_file_was_not_found.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x41
lea rdx, str.The_.EXE_file_is_invalid_n_non_Win32_.EXE_or_error_in_.EXE_image_.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x39
lea rdx, str.The_operating_system_denied_naccess_to_the_specified_file.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x32
lea rdx, str.The_filename_association_is_nincomplete_or_invalid.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x5f
lea rdx, str.The_DDE_transaction_could_not_nbe_completed_because_other_DDE_transactions_nwere_being_processed.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x1b
lea rdx, str.The_DDE_transaction_failed.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x49
lea rdx, str.The_DDE_transaction_could_not_nbe_completed_because_the_request_timed_out.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x31
lea rdx, str.The_specified_dynamic_link_library_was_not_found.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x45
lea rdx, str.There_is_no_application_associated_nwith_the_given_filename_extension.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x36
lea rdx, str.There_was_not_enough_memory_to_complete_the_operation.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, 0x1d
lea rdx, str.A_sharing_violation_occurred.
lea rcx, [rsp + 0x30]
call fcn.1400026e0
jmp 0x1400243d5
mov r8d, edi
lea rdx, str.Unknown_Error___d__occurred.
lea rcx, [rsp + 0x30]
call fcn.140010f00
lea r8, [rsp + 0x30]
lea rdx, str.Unable_to_open_hyperlink:_n_n
lea rcx, [rsp + 0x50]
call fcn.1400249a0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x30]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14002444a
cmp dword [rdi + 0x10], 0
jl 0x14002443b
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14002443b
call fcn.140002860
mov rsi, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140024430
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 0x14002444a
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400026e0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140024469
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.14003fabc
nop
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400244bd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400244bd
mov rdx, qword [r12]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400244b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
jmp 0x1400244db
mov rdx, qword [r12]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400244d9
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.14017cd40
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret