Function at 0x1400828e0
Capabilities:
Encrypt data using dpapi
Get session user name
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfff0]
mov eax, 0x100f0
call fcn.140089690
sub rsp, rax
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp + 0xffe0], rax
mov r15, rcx
mov qword [rsp + 0x50], rcx
mov rax, qword [rcx + 8]
sub rax, qword [rcx]
sar rax, 3
test rax, rax
jne 0x14008293d
mov al, 1
jmp 0x140082f1e
mov r13, qword [0x14049e010]
mov qword [rsp + 0x58], r13
test r13, r13
jne 0x140082955
xor al, al
jmp 0x140082f1e
xor esi, esi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
lea rdi, [section..data]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdi, qword [section..data]
movabs rbx, 0x7ffffffffffffffe
cmp r13, 8
jae 0x14008299b
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x50], 7
lea r14d, [rsi + 7]
jmp 0x1400829d1
mov r14, r13
or r14, 7
cmp r14, rbx
cmova r14, rbx
lea rdx, [r14 + 1]
lea rcx, [rbp - 0x68]
call fcn.14008a18c
mov qword [rbp - 0x68], rax
lea r8, [r13*2 + 2]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r13
mov r12d, 8
cmp r13, r12
jae 0x1400829fb
lea rcx, [rbp - 0x68]
cmp r14, r12
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
mov dword [rsp + 0x40], eax
jmp 0x140082b16
lea rcx, [r13 - 9]
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], si
cmp r13, rcx
jb 0x140082f54
mov rax, r13
sub rax, rcx
mov rdi, r12
cmp rax, r12
cmovb rdi, rax
lea rax, [rbp - 0x68]
cmp r14, r12
cmovae rax, qword [rbp - 0x68]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x48], rax
cmp rdi, 7
ja 0x140082a65
mov qword [rbp - 0x38], rdi
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x48]
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx - 0x48], si
mov r14, qword [rbp - 0x48]
jmp 0x140082abe
cmp rdi, rbx
ja 0x140082f4e
mov rax, rdi
or rax, 7
cmp rax, rbx
ja 0x140082a89
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x48]
call fcn.14008a18c
mov r14, rax
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rbx
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + r14], si
mov qword [rbp - 0x48], r14
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], r12
cmovae rcx, r14
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
mov dword [rsp + 0x40], eax
mov rdx, qword [rbp - 0x30]
cmp rdx, r12
jb 0x140082b16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, reloc.mfc140u.dll_COleChangeIconDialog::DoModal
jb 0x140082b11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082b11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088c70
mov edi, esi
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
cmp rax, rcx
je 0x140082b40
mov rdx, qword [rax]
add r12d, 0x20c
add r12d, dword [rdx + reloc.mfc140u.dll_CHandleMap::CHandleMap]
inc edi
add rax, 8
cmp rax, rcx
jne 0x140082b24
mov ecx, r12d
call sub.mfc140u.dll_operator_1
mov r15, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140082ed6
mov dword [rax], 1
lea rbx, [rax + 4]
mov dword [rbx], edi
add rbx, 4
movsxd rax, edi
test edi, edi
jle 0x140082c40
mov r14, rsi
mov r13, qword [rsp + 0x50]
mov r15, rax
nop
mov rax, qword [r13]
mov rdi, qword [rax + r14*8]
mov rdx, rbx
mov rax, rdi
mov ecx, 4
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x140082ba0
mov rcx, qword [rax]
mov qword [rdx], rcx
mov eax, dword [rdi + reloc.mfc140u.dll_CHandleMap::CHandleMap]
mov dword [rbx + 0x208], eax
add rbx, 0x20c
mov r8d, dword [rdi + reloc.mfc140u.dll_CHandleMap::CHandleMap]
mov rdx, qword [rdi + 0x208]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rdi + reloc.mfc140u.dll_CHandleMap::CHandleMap]
add rbx, rax
inc r14
cmp r14, r15
jl 0x140082b80
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
mov dword [rsp + 0x44], 0x7fff
xor edx, edx
mov r8d, 0x7fff
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x44]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [rsp + 0x44]
add rax, r13
lea rax, [rax*2 + 0xc4]
mov qword [rsp + 0x58], rax
mov rcx, rax
call sub.mfc140u.dll_operator_1
mov r14, rax
test rax, rax
je 0x140082ece
mov r8d, dword [rsp + 0x44]
add r8, r8
lea rdx, [rbp - 0x20]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x44]
lea rdi, [r14 + rax*2]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
lea rbx, [r13*2]
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
add rdi, rbx
lea rax, str.CF33904517D8D3B868D0E8945FA3C844723F8B8ABC68721BA73ABA6CDE4574D7BCB5227A8B992354B491C29A452BB665C003EE305EE31FE3368B5A552ECC095666689F67B2BB997E069710FEEDBE0CFB9FE7693413A3EF48AA1F541003B2C299
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdi + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdi + 0x60], xmm0
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdi + 0x70], xmm1
movups xmm0, xmmword [rax + 0x80]
movups xmmword [rdi + 0x80], xmm0
movups xmm1, xmmword [rax + 0x90]
movups xmmword [rdi + 0x90], xmm1
movups xmm0, xmmword [rax + 0xa0]
movups xmmword [rdi + 0xa0], xmm0
movups xmm1, xmmword [rax + 0xb0]
movups xmmword [rdi + 0xb0], xmm1
mov eax, dword [rsp + 0x40]
mov dword [rdi + 0xc0], eax
mov qword [rsp + 0x48], rsi
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rdx, r14
mov rcx, qword [rsp + 0x50]
call fcn.140082f60
mov ebx, eax
mov rcx, r14
call sub.mfc140u.dll_operator
test ebx, ebx
jle 0x140082ece
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x40], esi
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
call fcn.140081ad0
mov rcx, qword [rsp + 0x48]
call sub.mfc140u.dll_operator
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x78], eax
mov rbx, qword [rsp + 0x50]
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x78], r12d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, str.TAPP_Description
lea rcx, [rbp - 0x78]
call qword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x140082e0b
mov rcx, r15
call sub.mfc140u.dll_operator
mov rcx, rbx
jmp 0x140082ed1
lea rdx, [0x14049e020]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14049e020]
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140082eac
mov rsi, qword [rsp + 0x48]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.USERTAPS
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140082eac
test rsi, rsi
je 0x140082e8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r15
call sub.mfc140u.dll_operator
mov rcx, rbx
call sub.mfc140u.dll_operator
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov bl, 1
jmp 0x140082ed8
mov rcx, r15
call sub.mfc140u.dll_operator
mov rcx, rbx
call sub.mfc140u.dll_operator
xor bl, bl
test rsi, rsi
je 0x140082ed8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140082ed8
mov rcx, r15
call sub.mfc140u.dll_operator
xor bl, bl
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140082f1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, reloc.mfc140u.dll_COleChangeIconDialog::DoModal
jb 0x140082f16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082f16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140088c70
movzx eax, bl
mov rcx, qword [rbp + 0xffe0]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0x100f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400b5d14
nop
call fcn.1401de4b8
int3