Function at 0x14020167c
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x510], rax
mov dil, dl
mov ebx, ecx
xor r14d, r14d
mov byte [rsp + 0x40], r14b
mov esi, r14d
mov r9d, ecx
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAppKey_d
mov edx, DAD_DragLeave
lea rcx, [rbp - 0x10]
call fcn.14002d868
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x44], 0x208
mov word [rbp + 0xf0], r14w
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r14 + 2]
lea rdx, str.ShellExecute
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_1.dll_SHRegGetValueFromHKCUHKLM]
nop dword [rax + rax]
test eax, eax
je 0x14020184b
mov dword [rsp + 0x44], 0x104
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x300]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r14 + 2]
lea rdx, str.Association
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_1.dll_SHRegGetValueFromHKCUHKLM]
nop dword [rax + rax]
test eax, eax
jne 0x14020178d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xf0]
lea r8, [rsp + 0x40]
mov dl, dil
lea rcx, [rbp + 0x300]
call fcn.140202c34
jmp 0x140201820
mov dword [rsp + 0x44], 0x104
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x300]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, str.RegisteredApp
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_1.dll_SHRegGetValueFromHKCUHKLM]
nop dword [rax + rax]
test eax, eax
jne 0x1402017f4
lea rdx, [rbp + 0x300]
xor ecx, ecx
call qword [sym.imp.SHLWAPI.dll_SHRunIndirectRegClientCommand]
nop dword [rax + rax]
movzx eax, r14w
mov word [rbp + 0xf0], ax
mov esi, 1
jmp 0x140201852
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x300]
lea r8, [rsp + 0x40]
mov dl, dil
mov ecx, ebx
call fcn.14020426c
cmp byte [rsp + 0x40], r14b
je 0x14020184b
lea rcx, [rbp + 0x300]
call fcn.140204084
test eax, eax
js 0x1402019d5
mov dl, 1
mov ecx, ebx
call fcn.14020167c
mov esi, eax
jmp 0x1402019d5
movzx eax, word [rbp + 0xf0]
mov rbx, qword [rsp + 0x48]
test rbx, rbx
jne 0x140201865
test ax, ax
je 0x1402019da
mov edi, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x58], r14
mov dword [rbp - 0x80], Ordinal_113
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp - 0x7c]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rbp - 0x50], 1
mov dword [rbp - 0x7c], 0x400
test rbx, rbx
je 0x1402018cd
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_SHGetIDListFromObject]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x14020199d
or dword [rbp - 0x7c], 0xc
mov rcx, qword [rsp + 0x58]
mov qword [rbp - 0x40], rcx
jmp 0x140201933
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.SHELL32.dll_SHEvaluateSystemCommandTemplate]
nop dword [rax + rax]
test eax, eax
jns 0x140201921
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], r14
jmp 0x140201937
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x68], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x60], rax
test edi, edi
js 0x14020199d
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x68], 2
lea rcx, [rsp + 0x50]
call fcn.14000a6a4
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140200ee4
test eax, eax
js 0x14020198e
bts dword [rbp - 0x7c], 0x1b
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14020197a
add rax, 0x28
mov qword [rbp - 0x48], rax
jmp 0x14020197e
mov qword [rbp - 0x48], r14
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop dword [rax + rax]
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.14000a6a4
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], r14
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1402019f0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
nop
mov eax, esi
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret