Function at 0x1800025f0
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 - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x180033280]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
xor r14d, r14d
lea rdx, [rbp + 0xd0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
lea rax, [rbp + 0xd0]
mov r15, 0xffffffffffffffff
mov rbx, r15
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x180002660
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x180002acb
cmp rbx, 7
ja 0x1800026b3
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x30]
call fcn.180022810
mov word [rsp + rbx + 0x30], r14w
jmp 0x180002763
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x180002702
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x180002732
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180002ac5
mov rcx, rax
call fcn.180007f50
test rax, rax
je 0x180002ad1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18000273a
mov ecx, 0xa
cmp rax, rcx
cmovb rax, rcx
mov rsi, rax
lea rcx, [rax + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x180002ac5
add rcx, rcx
jne 0x1800026cd
mov rdi, r14
jmp 0x18000273a
call fcn.180007f50
mov rdi, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.180022810
mov word [rdi + rbx], r14w
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, rdi
cmp rax, 0x10
jb 0x1800027b4
lea rax, [rdi + 0x10]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 7
cmova rbx, qword [rsp + 0x30]
lea rcx, [rbx + rdi*2]
mov r8d, 0x20
lea rdx, str.LInjector_bridge
call fcn.180022810
mov word [rbx + rdi*2 + 0x20], r14w
lea rax, [rsp + 0x30]
jmp 0x1800027d3
mov qword [rsp + 0x20], 0x10
lea r9, str.LInjector_bridge
mov edx, 0x10
lea rcx, [rsp + 0x30]
call fcn.180004fd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x180002843
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000283e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002ad7
call fcn.180007f8c
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x40]
call fcn.180022eb0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.180004040
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx - 0x40], rsi
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], edx
cmp qword [rbp + 0x50], 0
je 0x1800029f7
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx]
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.180004a90
mov r8, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [r8 + 0x60]
movzx ebx, ax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180002921
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x180002921
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
movzx r8d, bx
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.180004bf0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov edi, 2
test byte [rdx + rax + 0x10], 6
jne 0x18000297d
mov rbx, qword [rbp - 0x70]
inc rbx
mov eax, edi
mul rbx
cmovb rax, r15
mov rcx, rax
call fcn.180007f94
mov qword [0x180035ae0], rax
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r8, qword [rbp - 0x80]
mov rdx, rbx
mov rcx, rax
call fcn.18000e6ec
lea rcx, [rbp - 0x30]
call fcn.180003f40
test rax, rax
jne 0x1800029b6
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx + 8], 0
cmovne eax, edi
or eax, dword [rbp + rcx - 0x30]
and eax, 0x17
mov dword [rbp + rcx - 0x30], eax
and eax, dword [rbp + rcx - 0x2c]
jne 0x180002add
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x1800029f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800029f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002b30
call fcn.180007f8c
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], rsi
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x30]
call fcn.1800037c0
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x44], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x70]
call fcn.180007934
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x180002a93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002a8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002abf
call fcn.180007f8c
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.180007f30
lea r11, [rsp + 0x3f0]
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.18000fc34
int3
call fcn.180001170
int3
call fcn.180001210
int3
call fcn.18000fc34
nop
call fcn.18000fc34
nop
test al, 4
je 0x180002aea
lea rbx, str.ios_base::badbit_set
jmp 0x180002aff
test dil, al
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.1800012e0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1800023e0
lea rdx, [0x180032370]
lea rcx, [rsp + 0x58]
call fcn.180009f38
nop
call fcn.18000fc34
int3