Function at 0x14002acf0
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400aa008]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, rdx
mov r14, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.140052580
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
or rbx, 0xffffffffffffffff
xor r12d, r12d
cmp word [rsp + 0x70], r12w
jne 0x14002ad67
mov r8d, r12d
jmp 0x14002ad7a
lea rax, [rsp + 0x70]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], r12w
jne 0x14002ad70
lea rdx, [rsp + 0x70]
lea rcx, [r14 + 0x48]
call fcn.140011d80
mov edx, 0x5c
mov rcx, rdi
call fcn.140051344
test rax, rax
je 0x14002adbc
lea rdx, [rax + 2]
cmp word [rdx], r12w
jne 0x14002adb0
mov rbx, r12
jmp 0x14002addd
inc rbx
cmp word [rdx + rbx*2], r12w
jne 0x14002adb0
jmp 0x14002addd
cmp word [rdi], r12w
jne 0x14002add0
mov rbx, r12
jmp 0x14002adda
inc rbx
cmp word [rdi + rbx*2], r12w
jne 0x14002add0
mov rdx, rdi
lea rsi, [r14 + 8]
mov r8, rbx
mov rcx, rsi
call fcn.140011d80
mov r8, rsi
lea rdx, [r14 + 0x48]
lea rcx, [rsp + 0x48]
call fcn.14002bad0
mov rsi, rax
lea rbx, [r14 + 0x28]
cmp rbx, rax
je 0x14002ae4c
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14002ae21
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140009050
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
cmp qword [rbx + 0x18], 8
jb 0x14002ae39
mov rax, qword [rbx]
jmp 0x14002ae3c
mov rax, rbx
mov word [rax], r12w
mov rdx, rsi
mov rcx, rbx
call fcn.1400124b0
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x14002ae69
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140009050
lea rsi, vtable.CCrypt.0
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
lea rdx, str.86AF787C_D4E8_4E95_B2A1_E9956D29A241
lea rcx, [rsp + 0x20]
call fcn.14000f640
test eax, eax
je 0x14002aeb3
cmp qword [rbx + 0x18], 8
jb 0x14002aea3
mov rbx, qword [rbx]
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000f8b0
lea r8, str.DeployTable.ini
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.14002b530
mov rdi, rax
lea rbx, [r14 + 0x68]
cmp rbx, rax
je 0x14002af16
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14002aeeb
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140009050
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
cmp qword [rbx + 0x18], 8
jb 0x14002af03
mov rax, qword [rbx]
jmp 0x14002af06
mov rax, rbx
mov word [rax], r12w
mov rdx, rdi
mov rcx, rbx
call fcn.1400124b0
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x14002af33
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140009050
cmp qword [rbx + 0x18], 8
jb 0x14002af3d
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
mov qword [rsp + 0x20], rsi
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002af65
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov qword [rsp + 0x30], r12
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14002af7a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov qword [rsp + 0x28], r12
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002af8c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
movzx eax, bl
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140030090
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret