Function at 0x14002a0bc
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rdi, rcx
xor r14b, r14b
and qword [rbp + 0x50], 0
and dword [rbp + 0x40], 0
and dword [rbp + 0x38], 0
and qword [rbp + 0x48], 0
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea r8, [rbp + 0x50]
mov rdx, qword [rcx + 0x28]
call fcn.140029fc8
lea rsi, [rdi + 0x38]
mov rax, qword [rbp + 0x50]
cmp rax, qword [rsi]
jle 0x14002a2e4
mov qword [rsi], rax
test byte [0x140050ac0], 1
je 0x14002a137
lea r8, [0x14003d388]
lea rdx, [0x14003d3e8]
call fcn.140006400
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, str.AS
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140040e70]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14002a2e4
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140035c78
mov qword [rbp - 0x38], rax
test rax, rax
je 0x14002a182
mov rcx, rax
call fcn.140025070
mov rbx, rax
jmp 0x14002a184
xor ebx, ebx
test rbx, rbx
je 0x14002a280
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x40]
mov edx, 2
mov rax, qword [rax + 0x40]
call qword [case.0x140024a15.0]
mov r15d, eax
test eax, eax
js 0x14002a22d
mov dword [rsp + 0x20], 0xa
mov r9, qword [rbp + 0x50]
lea r8, [rbp - 0x28]
mov rdx, rbx
call fcn.140025d78
or r14b, al
cmp byte [rdi + 8], 0
jne 0x14002a280
test r15d, r15d
je 0x14002a213
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x40]
mov edx, 2
mov rax, qword [rax + 0x40]
call qword [case.0x140024a15.0]
mov r15d, eax
test eax, eax
jns 0x14002a1bb
test r14b, r14b
je 0x14002a22d
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140024a15.0]
xor ebx, ebx
cmp qword [rdi + 0x30], 0
je 0x14002a280
lea rcx, [rbp - 0x38]
call fcn.14002d690
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov ecx, eax
imul rax, rcx, 0x2710
add rax, qword [rbp + 0x50]
cmp rax, qword [rbp - 0x38]
jle 0x14002a259
dec qword [rsi]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rsi
mov r9d, SafeArrayGetDim
xor r8d, r8d
lea rdx, str.App_Lexicon_Timestamp
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14002a28f
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rbx, rbx
je 0x14002a2a4
mov rcx, rbx
call fcn.1400250a4
mov rcx, rbx
call fcn.140035cb4
mov rdx, qword [rbp + 0x48]
test rdx, rdx
je 0x14002a2c6
and qword [rbp + 0x48], 0
mov rax, qword [rdx]
mov rcx, rdx
mov rax, qword [rax + 0x10]
call qword [case.0x140024a15.0]
mov rdx, qword [rbp + 0x48]
test byte [0x140050ac0], 1
je 0x14002a2eb
lea r8, [0x14003d388]
lea rdx, [0x14003cfc8]
call fcn.140006400
jmp 0x14002a2e7
xor r14b, r14b
mov rdx, qword [rbp + 0x48]
test rdx, rdx
je 0x14002a300
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
mov rcx, rdx
call qword [case.0x140024a15.0]
mov al, r14b
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret