Function at 0x1400ffa30
Capabilities:
Check if file exists
Encrypt or decrypt via wincrypt
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2f0], rbx
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rdx
mov r15, rcx
xor r13d, r13d
mov dword [rsp + 0x38], r13d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1401659c0
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rax, [rbp - 0x80]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x1400ffab0
lea r14, [r15 + 0x48]
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140016750
mov edx, 0x5c
mov rcx, rsi
call fcn.1401645c8
test rax, rax
je 0x1400ffaf0
lea rdx, [rax + 2]
inc rbx
cmp word [rdx + rbx*2], r13w
jne 0x1400ffae0
jmp 0x1400ffafd
inc rbx
cmp word [rsi + rbx*2], r13w
jne 0x1400ffaf0
mov rdx, rsi
lea rdi, [r15 + 8]
mov r8, rbx
mov rcx, rdi
call fcn.140016750
nop
movdqa xmm0, xmmword [0x140289df0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r13w
mov dword [rsp + 0x38], 1
lea rbx, [r14 + 0x10]
lea r12, [rdi + 0x10]
mov rdx, qword [r12]
add rdx, qword [rbx]
lea rcx, [rsp + 0x40]
call fcn.1400b89e0
cmp qword [r14 + 0x18], 8
jb 0x1400ffb4c
mov r14, qword [r14]
mov r8, qword [rbx]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140019760
cmp qword [rdi + 0x18], 8
jb 0x1400ffb66
mov rdi, qword [rdi]
mov r8, qword [r12]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140019760
lea rbx, [r15 + 0x28]
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x1400ffbb2
mov rcx, rbx
call fcn.1400166e0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x140289df0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r13w
lea rcx, [rsp + 0x40]
call fcn.1400166e0
lea r14, vtable.CCrypt.0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
lea rdx, str.86AF787C_D4E8_4E95_B2A1_E9956D29A241
lea rcx, [rsp + 0x60]
call fcn.140101bb0
test eax, eax
je 0x1400ffca6
cmp qword [rbx + 0x18], 8
jb 0x1400ffbfa
mov rbx, qword [rbx]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400fa270
test al, al
je 0x1400ffc6a
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
sub rax, rdi
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptDecrypt]
test eax, eax
je 0x1400ffc6a
mov r8, qword [rsp + 0x48]
sub r8, qword [rsp + 0x40]
xor r9d, r9d
mov rdx, rdi
mov rcx, rbx
call fcn.1400fa350
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400ffca6
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ffca1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ffd7c
call fcn.140146bac
lea r8, str.DeployTable.ini
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1401000b0
mov rdi, rax
lea rbx, [r15 + 0x68]
cmp rbx, rax
je 0x1400ffcec
mov rcx, rbx
call fcn.1400166e0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
lea rcx, [rsp + 0x40]
call fcn.1400166e0
cmp qword [rbx + 0x18], 8
jb 0x1400ffd00
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
mov qword [rsp + 0x60], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400ffd28
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptDestroyHash]
mov qword [rsp + 0x70], r13
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400ffd3d
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptDestroyKey]
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400ffd4f
xor edx, edx
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptReleaseContext]
movzx eax, bl
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14016e380
nop
int3