Function at 0x140054dc0
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 0x140054e71
lea rcx, [rbp - 0x60]
mov r8, 0xffffffffffffffff
mov rax, r8
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140054e20
xor ebx, ebx
cmp word [rbp + rax*2 - 0x62], 0x5c
jne 0x140054e3a
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]
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140054e60
lea rdx, [rbp - 0x60]
jmp 0x140054e95
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, [0x1401b35b4]
lea rcx, [rsp + 0x40]
call fcn.140058f20
nop
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jne 0x140054f1b
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
xor r8d, r8d
lea rdx, [0x1401b35b4]
mov rcx, rdi
call fcn.140058f20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140055065
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055060
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x60]
call fcn.140054c60
mov r14, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rsi
cmp rcx, 1
jb 0x140055085
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], 1
lea rax, [0x1401b35b8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea rcx, [rbp - 0x80]
call fcn.14005b0a0
nop
mov r9, r14
lea r8, [rbp - 0x80]
mov rcx, rdi
call fcn.14005ae80
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140054fc8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054fc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054fc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016c298
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14005500d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055008
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055008
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016c298
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], bx
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140055065
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055060
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016c298
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.14003ba30
nop
int3