Function at 0x1400075f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x140389910]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
call fcn.1400066f0
cmp eax, 1
jne 0x14000767f
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140007675
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140007670
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400079cf
mov rcx, r8
call fcn.140003b50
xor esi, esi
lea eax, [rsi + 1]
jmp 0x14000798e
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1400076d7
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400076cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400076c8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400079cf
mov rcx, r8
call fcn.140003b50
xor esi, esi
lea eax, [rsi + 2]
jmp 0x14000798e
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1401aed10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x90]
call fcn.1401aed10
lea rdx, [rbp + 0x2a0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x90]
xor r8d, r8d
lea rdx, [0x14033c1d0]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
lea rax, [rbp + 0x90]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140007760
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.14000ad00
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x80]
call fcn.1401aed10
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140009890
nop
mov rax, qword [0x14039d400]
movsxd rcx, dword [rax + 4]
lea r15, [0x14039d400]
mov rbx, qword [rcx + r15 + 0x48]
add rcx, r15
lea rax, [rbp - 0x78]
mov qword [rcx + 0x48], rax
xor r8d, r8d
xor edx, edx
call fcn.1400064a0
call fcn.140007ee0
mov r14d, eax
mov rcx, qword [0x14039d400]
movsxd rcx, dword [rcx + 4]
add rcx, r15
mov qword [rcx + 0x48], rbx
mov edx, 4
test rbx, rbx
cmovne edx, esi
xor r8d, r8d
call fcn.1400064a0
lea rcx, [rbp - 0x78]
call fcn.14000a810
test rax, rax
jne 0x140007830
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea r9, [rbp - 0x80]
add rcx, r9
mov edx, 6
mov eax, 2
cmp qword [rcx + 0x48], 0
cmovne edx, eax
or edx, dword [rcx + 0x10]
xor r8d, r8d
call fcn.1400064a0
test r14d, r14d
jne 0x140007895
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140004fa0
mov rbx, rax
mov rdx, qword [rax + 0x18]
cmp rdx, 8
jb 0x140007886
mov rcx, qword [rax]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140007881
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400079c9
mov rcx, r8
call fcn.140003b50
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.140009600
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x7c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
call fcn.1401e783c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14000793e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007939
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400079d5
call fcn.140003b50
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000798c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140007987
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400079cf
mov rcx, r8
call fcn.140003b50
xor eax, eax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1401ac180
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1401bad9c
nop
call fcn.1401bad9c
nop
call fcn.1401bad9c
int3