Function at 0x140001da0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x141f3c080]
xor rax, rsp
mov qword [rbp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x140001dea
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x141f3eac0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r8, [0x141f3eac0]
lea rdx, [0x140038160]
lea r14, [0x141f3e8b0]
mov rcx, r14
call fcn.1400041a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x140001e35
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x14000212c
mov qword [rsp + 0x48], 7
cmp rbx, 8
jae 0x140001e84
mov qword [rsp + 0x40], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.1400076f0
mov word [rsp + rbx + 0x30], r15w
jmp 0x140001f35
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x140001ea0
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140001ed2
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140002126
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001efe
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002126
mov rcx, rax
call fcn.140005868
test rax, rax
je 0x140002120
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001f10
test rcx, rcx
je 0x140001f0d
call fcn.140005868
mov rdi, rax
jmp 0x140001f10
mov rdi, r15
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.1400076f0
mov word [rbx + rdi], r15w
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call fcn.140007dc0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.140003910
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rbx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x60], 6
je 0x140001ff2
mov qword [rbp + rcx - 0x70], rbx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.140002df0
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x74], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.140004fbc
nop
jmp 0x14000209b
lea rcx, [rbp - 0x70]
call fcn.1400030b0
lea rcx, [rbp - 0x68]
call fcn.1400037d0
test rax, rax
jne 0x14000203b
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx - 0x28], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x60]
and eax, 0x17
mov dword [rbp + rcx - 0x60], eax
mov edx, dword [rbp + rcx - 0x5c]
and edx, eax
jne 0x140002132
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], rbx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.140002df0
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x74], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.140004fbc
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400020d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002120
call fcn.140005860
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.14000ec88
xor eax, eax
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140005840
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140010184
int3
call fcn.140001180
int3
call fcn.140001220
nop
test dl, 4
je 0x140002140
lea rbx, [0x140038118]
jmp 0x140002155
test dl, 2
lea rbx, [0x140038130]
lea rax, [0x140038148]
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.1400012f0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140001ba0
lea rdx, [0x141f3aaa8]
lea rcx, [rsp + 0x60]
call fcn.140007614
int3