Function at 0x140003ac0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xdd0]
sub rsp, 0xed0
mov rax, qword [0x14000e028]
xor rax, rsp
mov qword [rbp + 0xdc0], rax
mov r8d, 0x104
lea rdx, [0x14000eea0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140003fad
mov qword [rsp + 0x40], 0x100
lea rax, [rbp + 0x9c0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x100
lea rax, [rbp + 0xbc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x100
lea r9, [rbp + 0x7c0]
mov r8d, 3
lea rdx, [rbp - 0x68]
lea rcx, [0x14000eea0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
nop
test eax, eax
jne 0x140003fad
lea rax, [0x1400098d0]
mov qword [rsp + 0x28], rax
lea rax, str.ContextMenu64.dll
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x7c0]
lea r8, [rbp - 0x68]
mov edx, 0x104
lea rcx, [0x14000f0b0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmakepath_s]
test eax, eax
jne 0x140003fad
lea rcx, [0x14000f0b0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140003bcb
lea rcx, [0x14000f0b0]
call fcn.140005720
jmp 0x140003faf
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
xor esi, esi
mov ebx, esi
mov qword [rbp - 0x80], rbx
mov dword [rbp - 0x78], esi
mov qword [rbp - 0x70], rsi
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareWow6432NodeAdobeAcrobat_ElementsDCInstallPath
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003c29
mov eax, esi
mov rbx, qword [rsp + 0x68]
mov qword [rbp - 0x80], rbx
mov dword [rbp - 0x78], esi
test eax, eax
jne 0x140003d10
mov dword [rsp + 0x50], 0x820
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140003c99
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
jbe 0x140003c75
mov eax, 0xd
jmp 0x140003c99
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140003c93
test al, 1
jne 0x140003c8c
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
je 0x140003c97
mov eax, 0xd
jmp 0x140003c99
mov word [rbp - 0x60], si
mov eax, esi
test eax, eax
jne 0x140003d10
lea rcx, [rbp - 0x60]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140003ca5
mov eax, dword [0x140009a48]
mov dword [rcx], eax
lea rcx, [rbp - 0x60]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140003cc0
movups xmm0, xmmword [str.ContextMenu64.dll]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x14000a3a8]
movups xmmword [rcx + 0x10], xmm1
mov eax, dword [0x14000a3b8]
mov dword [rcx + 0x20], eax
lea rcx, [rbp - 0x60]
call fcn.140005720
mov rdi, rax
test rax, rax
je 0x140003d10
test rbx, rbx
je 0x140003d08
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
mov rax, rdi
jmp 0x140003faf
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x3b0]
call sub.VCRUNTIME140.dll_memset
nop
mov qword [rsp + 0x70], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareWow6432NodeAdobeAcrobat_ElementsDCInstallPath
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003d72
mov eax, esi
test rbx, rbx
je 0x140003d66
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
mov rbx, qword [rsp + 0x70]
mov qword [rbp - 0x80], rbx
mov dword [rbp - 0x78], esi
test eax, eax
jne 0x140003f9e
mov dword [rsp + 0x54], 0x820
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140003deb
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, 1
jbe 0x140003dc1
mov eax, 0xd
jmp 0x140003deb
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x140003de2
test al, 1
jne 0x140003ddb
shr rax, 1
cmp word [rbp + rax*2 + 0x3ae], 0
je 0x140003de9
mov eax, 0xd
jmp 0x140003deb
mov word [rbp + 0x3b0], si
mov eax, esi
test eax, eax
jne 0x140003f9e
lea rcx, [rbp + 0x3b0]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140003e00
mov eax, dword [0x140009a48]
mov dword [rcx], eax
lea rcx, [rbp + 0x3b0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140003e20
movups xmm0, xmmword [str.ContextMenuShim64.dll]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x14000a588]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x14000a598]
movsd qword [rcx + 0x20], xmm0
mov eax, dword [0x14000a5a0]
mov dword [rcx + 0x28], eax
lea rcx, [rbp + 0x3b0]
call fcn.140005720
mov rcx, rax
call fcn.1400034b0
mov r14, rax
call fcn.140003320
mov rcx, rax
test rax, rax
je 0x140003fe6
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140004543.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
call fcn.140003320
mov rcx, rax
test rax, rax
je 0x140003fdb
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140004543.0]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x78], rdi
mov esi, 1
mov ecx, esi
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x140003ee4
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400041f0
mov rbx, qword [rsp + 0x60]
mov r9d, 0x104
mov r8, rbx
mov edx, 0x439
mov rcx, r14
call qword [sym.imp.USER32.dll_LoadStringW]
sub esi, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, 0x104
or eax, esi
jge 0x140003f1e
mov edx, 0x104
lea rcx, [rsp + 0x78]
call fcn.1400041f0
mov rdi, qword [rsp + 0x78]
mov r9d, 0x104
mov r8, rdi
mov edx, 0x438
mov rcx, r14
call qword [sym.imp.USER32.dll_LoadStringW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r9d, 0x30
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rdx, [rdi - 0x18]
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140003f77
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140004543.0]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140003f9a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140004543.0]
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x140003fad
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
xor eax, eax
mov rcx, qword [rbp + 0xdc0]
xor rcx, rsp
call fcn.140007360
lea r11, [rsp + 0xed0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002bc0
nop
mov ecx, 0x80004005
call fcn.140002bc0
int3