Function at 0x140002b00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
movaps xmmword [rsp + 0x2e0], xmm6
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x68], rdx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
lea rdx, [rbp + 0xc0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rbp + 0xc0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140002b80
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x48]
call fcn.1400069f0
nop
mov r8d, 8
lea rdx, str.temp.buf
lea rcx, [rsp + 0x48]
call fcn.140005c60
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140002c20
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007a90
movdqa xmm0, xmmword [0x140009d60]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov r15, qword [rdi + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 3
jb 0x14000315a
mov r13, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140002c5e
mov r13, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r12, [r15 + 3]
mov ebx, recv
lea rsi, [rsp + 0x70]
cmp r12, rbx
jbe 0x140002cfb
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140002c92
mov rbx, rcx
jmp 0x140002c9e
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140002ce5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003154
mov rcx, rax
call fcn.140007a98
test rax, rax
je 0x140002e19
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002cf6
test rcx, rcx
je 0x140002cf4
call fcn.140007a98
mov rsi, rax
jmp 0x140002cf6
xor esi, esi
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rbx
mov r8, r15
mov rdx, r13
mov rcx, rsi
call fcn.14000893a
mov eax, dword [0x14000996c]
mov word [rsi + r15], ax
movzx eax, byte [0x14000996e]
mov byte [rsi + r15 + 2], al
mov byte [rsi + r12], 0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.140005c60
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], recv
mov byte [rax], sil
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140002dd3
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002dce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007a90
movdqa xmm0, xmmword [0x140009d60]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], sil
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140002e25
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007a90
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rbx, qword [rbp - 0x70]
lea rax, [0x140009d38]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 0x1e
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], r15
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r12, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x40], r12
mov byte [rbp + 0x3c], 0
mov byte [rbp + 0x31], 0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x40], rsi
mov rax, qword [0x14000eab0]
mov qword [rbp + 0x34], rax
mov qword [rbp + 0x28], rsi
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140006280
test rax, rax
jne 0x140002f0b
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r15
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x28], 1
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx - 8]
mov qword [rsp + 0x70], rcx
test rcx, rcx
sete byte [rsp + 0x78]
mov byte [rsp + 0x79], 0
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rsi
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm6, xmmword [rsp + 0x20]
test rcx, rcx
je 0x140002fac
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140002f98
mov byte [rsp + 0x79], al
mov rax, qword [rsp + 0x70]
mov byte [rsp + 0x78], 1
movaps xmm0, xmmword [rsp + 0x70]
jmp 0x140002fb1
mov rax, rsi
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 1
movaps xmm0, xmmword [rsp + 0x70]
jmp 0x140002fb1
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x1400030a0
test rax, rax
je 0x1400030a9
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400070b0
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r15
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
mov qword [rbp - 0x40], r12
cmp qword [rbp + 0x40], 0
je 0x140003038
mov rax, qword [rbp - 0x28]
lea rcx, [rbp + 0x30]
cmp qword [rax], rcx
jne 0x140003038
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x48]
mov qword [rax], rcx
mov rax, qword [rbp - 8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x10]
mov dword [rax], edx
cmp byte [rbp + 0x3c], 0
je 0x140003047
lea rcx, [rbp - 0x40]
call fcn.140006060
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400030c3
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rax, rax
je 0x140002fc8
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], recv
mov byte [r14], 0
jmp 0x140002fe7
call fcn.140007a90
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], recv
mov byte [rbp - 0x70], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140003109
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003104
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000314d
mov rcx, r8
call fcn.140007a90
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rax, r14
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140007a70
mov rbx, qword [rsp + 0x340]
movaps xmm6, xmmword [rsp + 0x2e0]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001110
nop
call fcn.1400011b0
int3