Function at 0x140008160
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1400890d8]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x14007c600]
movdqu xmmword [rbp - 0x30], xmm1
mov word [rbp - 0x40], si
mov edi, esi
lea rdx, [rbp - 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x60], xmm0
movdqu xmmword [rbp - 0x50], xmm1
cmp eax, 0x102
ja 0x1400081ff
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1400081f0
lea rdx, [rbp - 0x20]
jmp 0x140008209
xor r8d, r8d
lea rdx, [0x140079f6d]
lea rcx, [rbp - 0x60]
call fcn.14001fe40
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
add r8, rdx
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.14001d8f0
nop
mov r8d, 4
lea rdx, str..uid
mov rcx, rax
call fcn.140014650
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400082c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400082c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000864e
call fcn.14003c8e0
movdqa xmm0, xmmword [0x14007c600]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
lea r14, vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
lea r12, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
lea r15, vtable.std::ios_base.0
nop dword [rax]
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x20]
call fcn.14003ee30
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.1400178e0
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x20], r14
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x24], edx
cmp qword [rbp + 0x70], 0
jne 0x140008464
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x20], r14
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x10]
call fcn.140011af0
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x20], r12
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x24], edx
mov qword [rbp + 0x90], r15
lea rcx, [rbp + 0x90]
call fcn.14003bac0
nop
cmp edi, 0xa
jl 0x1400082f0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x140079f18]
mov rcx, rbx
call fcn.14001fa30
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140008411
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000840c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008654
call fcn.14003c8e0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], si
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140008614
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000860e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008648
jmp 0x14000860e
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x20]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x38], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x30]
call fcn.140022e00
mov rcx, qword [rax]
mov r8, qword [rcx + 0x60]
mov dl, 0xa
mov rcx, rax
call r8
movzx edi, ax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400084c3
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x1400084c3
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
movzx r8d, di
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.140029280
lea rcx, [rbp - 0x10]
call fcn.1400177a0
test rax, rax
jne 0x140008514
mov rax, qword [rbp - 0x20]
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 - 0x10]
and eax, 0x17
mov dword [rbp + rcx - 0x10], eax
mov edx, dword [rbp + rcx - 0xc]
and edx, eax
jne 0x14000865a
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x14007c600]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], si
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x20], r14
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x10]
call fcn.140011af0
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x20], r12
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x24], edx
mov qword [rbp + 0x90], r15
lea rcx, [rbp + 0x90]
call fcn.14003bac0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400085cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400085c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400086ae
call fcn.14003c8e0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], si
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140008614
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000860e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008642
call fcn.14003c8e0
nop
mov rax, rbx
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14003c8c0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14004dd00
nop
call fcn.14004dd00
nop
call fcn.14004dd00
nop
call fcn.14004dd00
nop
test dl, 4
je 0x140008668
lea rbx, str.ios_base::badbit_set
jmp 0x14000867d
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140002180
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140003860
lea rdx, [0x140086f10]
lea rcx, [rsp + 0x58]
call fcn.14003f1b8
nop
call fcn.14004dd00
int3