Function at 0x14002e260
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x308
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x3a8]
test eax, eax
je 0x14002e2a7
cmp eax, 3
je 0x14002e4a0
lea rcx, str._async_fn__resumed_after_completion
lea r8, [0x1400bb978]
mov edx, 0x23
call fcn.1400a9e70
ud2
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
mov eax, dword [rsi + 0x3a0]
mov dword [rsi + 0x3a4], eax
movzx eax, byte [0x1400f92c0]
mov rcx, qword [0x1400f91f8]
test rcx, rcx
jne 0x14002e2ee
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14002e707
mov rcx, rax
mov qword [0x1400f91f8], rax
mov r8d, 3
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14002e707
lea rcx, [rsi + 0x20]
lea r14, [rsi + 0x40]
mov byte [rax + 2], 0x67
mov word [rax], 0x6572
mov qword [rsi + 0x70], rax
mov qword [rsi + 0x78], 3
mov qword [rsi + 0x80], 3
mov byte [rsi + 0x88], 0
mov qword [rsi + 0xd0], 8
mov qword [rsi + 0x90], 0
mov qword [rsi + 0xa0], 0
mov word [rsi + 0xa8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0xd8], xmm0
mov byte [rsi + 0xc8], 2
mov dword [rsi + 0x100], 0
mov word [rsi + 0x104], 0
mov dword [rsi + 0x40], 6
mov dword [rsi + 0x50], 6
mov dword [rsi + 0x60], 6
mov qword [rsi + 0xe8], 0
mov qword [rsi + 0xf8], 0
mov byte [rsi + 0x108], 0
mov qword [rsp + 0x38], rcx
lea rax, [0x1400514b0]
mov qword [rsp + 0x40], rax
lea rax, str.HKEY_CURRENT_USER_
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400407c0
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x120], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi + 0x110], xmm0
mov r15, qword [rsi + 0x110]
mov r12, qword [rsi + 0x120]
lea rdx, [0x1400bb972]
mov r8d, 3
mov rcx, r14
call fcn.1400969c0
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.1400969c0
lea rdx, str._fadd
mov r8d, 2
mov rcx, r14
call fcn.1400969c0
mov dword [rsi + 0x100], 0x8000000
lea r15, [rsp + 0x90]
mov rcx, r15
mov rdx, r14
call fcn.14009a530
mov byte [rsp + 0x300], 0
lea rcx, [rsi + 0x128]
mov r8d, 0x278
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
lea r14, [rsi + 0x128]
lea rcx, [rsp + 0x60]
mov rdx, r14
mov r8, rbx
call fcn.140014460
mov ebx, dword [rsp + 0x60]
cmp ebx, 2
jne 0x14002e4cc
mov al, 3
mov ecx, 1
jmp 0x14002e6ed
mov r15, qword [rsp + 0x68]
mov rcx, r14
call fcn.14000bae0
test ebx, ebx
je 0x14002e554
movzx eax, byte [0x1400f92c0]
mov rcx, qword [0x1400f91f8]
test rcx, rcx
jne 0x14002e509
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14002e718
mov rcx, rax
mov qword [0x1400f91f8], rax
mov r8d, 8
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14002e718
mov rbx, rax
mov qword [rax], r15
cmp qword [rsi + 0x118], 0
je 0x14002e546
mov r8, qword [rsi + 0x110]
mov rcx, qword [0x1400f91f8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
lea rcx, [rsi + 0x40]
call fcn.14000aca0
jmp 0x14002e6da
cmp qword [rsi + 0x118], 0
je 0x14002e574
mov r8, qword [rsi + 0x110]
mov rcx, qword [0x1400f91f8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
lea rcx, [rsi + 0x40]
call fcn.14000aca0
mov rax, qword [rsi + 0x20]
mov rcx, qword [rsi + 0x28]
add rcx, rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rcx
mov word [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x90]
call fcn.14000ccf0
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x50]
jne 0x14002e5cf
lea rcx, [rsp + 0x48]
call fcn.140010730
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov word [rbx + rdx*2], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x20006
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x14002e6be
mov rax, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x38]
add rcx, rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rcx
mov word [rsp + 0xa0], 0
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x90]
call fcn.14000ccf0
mov r15, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
cmp rdx, r15
jne 0x14002e667
lea rcx, [rsp + 0x60]
call fcn.140010730
mov r15, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
mov word [r14 + rdx*2], 0
lea rax, [rsi + 0x3a4]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
mov rdx, r14
xor r8d, r8d
mov r9d, 4
call sub.advapi32.dll_RegSetValueExW
mov rcx, qword [rsp + 0x38]
call sub.advapi32.dll_RegCloseKey
test r15, r15
je 0x14002e6be
mov rcx, qword [0x1400f91f8]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x50], 0
je 0x14002e6d8
mov rcx, qword [0x1400f91f8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
xor ebx, ebx
mov qword [rdi + 8], rbx
lea rax, [0x1400b0c00]
mov qword [rdi + 0x10], rax
mov al, 1
xor ecx, ecx
mov qword [rdi], rcx
mov byte [rsi + 0x3a8], al
add rsp, 0x308
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 1
mov edx, 3
call fcn.1400a9bd0
ud2
mov ecx, 8
mov edx, 8
call fcn.1400a9bd0
ud2