Function at 0x180026dc0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x1198]
mov eax, 0x1298
call fcn.1800b6b70
sub rsp, rax
mov rax, qword [0x1802045c8]
xor rax, rsp
mov qword [rbp + 0x1180], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.1800b8660
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x18002711a
lea rbx, [rbp + 0x11c8]
call fcn.180007470
mov rcx, qword [rax]
or rcx, 2
mov qword [rsp + 0x28], rbx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov r9, qword [rbp + 0x11c0]
mov r8d, 0x1000
lea rdx, [rbp + 0x180]
call fcn.1800c0ea0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x70]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], bl
jne 0x180026e85
movabs rsi, 0x7fffffffffffffff
cmp rdi, rsi
ja 0x18002713b
mov qword [rsp + 0x58], 0xf
cmp rdi, 0x10
jae 0x180026ec7
mov qword [rsp + 0x50], rdi
mov r8, rdi
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1800b7fb0
jmp 0x180026f15
mov rax, rdi
or rax, 0xf
cmp rax, rsi
ja 0x180026ee2
mov rsi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rsi, rcx
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x40]
call fcn.180002610
mov rbx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
mov r8, rdi
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.1800b7fb0
mov byte [rbx + rdi], 0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 0xf
jb 0x180026f61
lea rax, [rcx + 0xf]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8d, 0xf
lea rdx, str.debug_logs.txt
mov rcx, rbx
call fcn.1800b7fb0
mov byte [rbx + 0xf], 0
jmp 0x180026f82
mov qword [rsp + 0x20], 0xf
lea r9, str.debug_logs.txt
xor r8d, r8d
lea edx, [r8 + 0xf]
lea rcx, [rsp + 0x40]
call fcn.180001c60
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x60]
call fcn.1800b8660
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x36]
lea rcx, [rsp + 0x60]
call fcn.1800269b0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rsi
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x5c], edx
cmp qword [rbp - 0x18], 0
je 0x18002707c
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x60]
call fcn.1800266f0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rcx + rax + 0x40]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x38], rcx
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rcx, [rsp + 0x30]
call fcn.18000bff0
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
mov dl, 0xa
mov rcx, rax
call r8
movzx edi, al
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180027067
mov r8, qword [rcx]
call qword [r8 + 0x10]
test rax, rax
je 0x180027067
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
movzx edx, dil
mov rcx, rbx
call fcn.1800276a0
mov rcx, rbx
call fcn.180010050
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], rsi
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.18000c8e0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.1800b57f0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18002711a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180027115
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180027135
call fcn.1800b6a4c
mov rcx, qword [rbp + 0x1180]
xor rcx, rsp
call fcn.1800b6bd0
add rsp, 0x1298
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800bdb00
int3
call fcn.1800025f0
int3