Function at 0x140003140
Capabilities:
Create thread
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140014010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rdx
mov qword [rsp + 0x58], rdx
lea rcx, [rbp - 0x80]
call fcn.140004690
lea r9, [rbp - 0x80]
mov r11, qword [rbp - 0x68]
cmp r11, 8
setae dil
mov r10, qword [rbp - 0x80]
cmovae r9, r10
cmp qword [rbp - 0x70], 9
jb 0x1400031df
mov edx, 9
lea rax, str.actionCS
movzx ecx, word [r9]
mov r8d, 0x61
cmp cx, r8w
jb 0x1400031df
sub r9, rax
cmp cx, r8w
ja 0x1400031df
cmp rdx, 1
je 0x140003216
dec rdx
add rax, 2
movzx ecx, word [r9 + rax]
movzx r8d, word [rax]
cmp cx, r8w
jae 0x1400031c1
xor bl, bl
test dil, dil
je 0x140003222
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x14000321a
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000321a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov bl, 1
jmp 0x1400031e1
mov rcx, r10
call fcn.14000bc78
movzx edi, bl
lea rbx, [fcn.14000af40]
lea rax, [fcn.14000b0b0]
test edi, edi
cmovne rbx, rax
mov ecx, 0x10
call fcn.14000b9d8
mov dword [rax], 0x7d2
mov qword [rax + 8], rbx
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140005480]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400034d3
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov r8d, edi
call fcn.14000b2e0
mov ebx, eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jne 0x140003425
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea r8, str.SOFTWAREAdobeAdobe_ARM1.0ARM
mov edx, 0x104
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov ecx, 0x208
call fcn.14000be28
mov rbx, rax
xor edx, edx
mov r8d, 0x208
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x68], 4
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000335e
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.iOwnershipNotificationCount
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmovne ecx, r14d
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.14000bc78
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140003425
dec eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003425
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.iOwnershipNotificationCount
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 1
mov ecx, edi
call fcn.14000a8b0
test eax, eax
je 0x14000344a
mov ecx, 0x7df
test edi, edi
je 0x140003445
call fcn.14000b0b0
jmp 0x14000344a
call fcn.14000af40
cmp dword [rsp + 0x78], 0
jne 0x14000345d
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x78], eax
jne 0x140003475
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x80], xmm0
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14000349b
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov rcx, rsi
call fcn.1400034f0
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14000b8b0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov dword [rsp + 0x78], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3