Function at 0x180001fe0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x180041080]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rcx
xor edi, edi
lea rdx, [rbp + 0xb0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x18000229c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp + 0xb0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x180002050
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x30]
call fcn.180009630
nop
mov r8d, 0xb
lea rdx, str.dll_log.txt
lea rcx, [rsp + 0x30]
call fcn.1800080a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1800020ec
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800020e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800022e1
call fcn.18000c490
movdqa xmm0, xmmword [0x18003aea0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call fcn.18002d450
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8d, 8
lea rcx, [rbp - 0x60]
call fcn.180005e00
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rdi
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
cmp qword [rbp + 0x28], 0
je 0x1800021cd
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180002167
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x60]
call fcn.18000aee0
mov rcx, rax
call fcn.180009070
lea rcx, [rbp - 0x58]
call fcn.180007d00
test rax, rax
jne 0x180002203
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx - 0x18], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x50]
and eax, 0x17
mov dword [rbp + rcx - 0x50], eax
mov edx, dword [rbp + rcx - 0x4c]
and edx, eax
je 0x180002203
test dl, 4
je 0x1800022e7
lea rbx, [0x18003a420]
jmp 0x1800022fc
lea rdx, str.Failed_to_open_log_file:
lea rcx, [0x1800425f0]
call fcn.180009100
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
mov rcx, rax
call fcn.18000aee0
mov rcx, rax
call fcn.180009070
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], rdi
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.180005d50
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x64], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x48]
call fcn.18000bf44
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1800022b7
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002295
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800022db
call fcn.18000c490
jmp 0x1800022b7
lea rdx, str.Failed_to_get_Temp_path.
lea rcx, [0x1800425f0]
call fcn.180009100
mov rcx, rax
call fcn.180009070
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18000c470
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.18001472c
nop
call fcn.18001472c
nop
test dl, 2
lea rbx, [0x18003a438]
lea rax, [0x18003a450]
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180001510
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180001e80
lea rdx, [0x18003fa90]
lea rcx, [rsp + 0x58]
call fcn.18000e448
int3