Function at 0x1400385d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rdi, rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x60]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x140038676
lea rcx, [rbp - 0x60]
mov r8, 0xffffffffffffffff
mov rax, r8
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140038630
xor ebx, ebx
cmp word [rbp + rax*2 - 0x62], 0x5c
jne 0x14003864a
mov word [rbp + rax*2 - 0x62], bx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], bx
lea rax, [rbp - 0x60]
inc r8
cmp word [rax + r8*2], bx
jne 0x140038666
lea rdx, [rbp - 0x60]
jmp 0x14003869a
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], bx
xor r8d, r8d
lea rdx, [0x1400ca884]
lea rcx, [rsp + 0x40]
call fcn.14003cb30
nop
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jne 0x140038720
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
xor r8d, r8d
lea rdx, [0x1400ca884]
mov rcx, rdi
call fcn.14003cb30
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14003886a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038865
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038865
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x60]
call fcn.140038470
mov r14, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rsi
cmp rcx, 1
jb 0x14003888a
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], 1
lea rax, [0x1400ca888]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea rcx, [rbp - 0x80]
call fcn.14003e000
nop
mov r9, r14
lea r8, [rbp - 0x80]
mov rcx, rdi
call fcn.14003dde0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400387cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400387c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400387c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400539ec
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140038812
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003880d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003880d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400539ec
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], bx
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14003886a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038865
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038865
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400539ec
mov rax, rdi
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140003950
nop