Function at 0x14001ef30
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 - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1401310c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rdx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x14001ef7f
mov rdx, qword [rcx]
mov r8, qword [rcx + 0x10]
lea rcx, [0x1401330a0]
call fcn.140027c50
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 + 0x30], rcx
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rsp + 0x28]
call fcn.14000b3b0
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
mov dl, 0xa
mov rcx, rax
call r8
movzx edi, al
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001eff0
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14001eff0
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
movzx edx, dil
mov rcx, rbx
call fcn.140024bc0
mov rcx, rbx
call fcn.14000b130
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov r8d, recv
lea rdx, str.C:_token.bin
lea rcx, [rsp + 0x68]
call fcn.14000d600
nop
lea rdx, [rbp + 0xa0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x14001f0bf
lea rax, [rbp + 0xa0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x14001f056
mov rax, qword [rbp - 0x80]
cmp rdi, rax
ja 0x14001f094
lea rbx, [rsp + 0x68]
cmp rax, 0xf
cmova rbx, qword [rsp + 0x68]
mov qword [rsp + 0x78], rdi
mov r8, rdi
lea rdx, [rbp + 0xa0]
mov rcx, rbx
call fcn.1400d6bb0
mov byte [rbx + rdi], 0
jmp 0x14001f0a8
lea r9, [rbp + 0xa0]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14000d700
mov r8d, 9
lea rdx, str.token.bin
lea rcx, [rsp + 0x68]
call fcn.14000a8f0
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x70]
call fcn.1400d7250
lea rax, [0x140119598]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
mov dword [rbp + 0x50], r14d
mov qword [rbp + 0x58], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x90], 0
mov dword [rsp + 0x20], 1
lea r12, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x38], r12
mov dword [rbp + 0x34], 0x98
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x38]
call fcn.14000afd0
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], r15
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.14000a430
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov edi, 2
mov r8d, edi
lea rcx, [rbp - 0x68]
call fcn.14000a320
lea ebx, [rdi + 4]
test rax, rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
je 0x14001f1b5
mov eax, 4
cmp qword [rbp + rcx - 0x28], 0
cmovne eax, r14d
mov dword [rbp + rcx - 0x60], eax
test dword [rbp + rcx - 0x5c], eax
jne 0x14001f313
jmp 0x14001f1d7
mov eax, ebx
cmp qword [rbp + rcx - 0x28], 0
cmovne eax, edi
or eax, dword [rbp + rcx - 0x60]
and eax, 0x17
mov dword [rbp + rcx - 0x60], eax
mov edx, dword [rbp + rcx - 0x5c]
and edx, eax
jne 0x14001f348
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14001f1e4
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x70]
call fcn.140027c50
lea rcx, [rbp - 0x68]
call fcn.14000a220
test rax, rax
jne 0x14001f227
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x28], 0
cmovne ebx, edi
or ebx, dword [rbp + rcx - 0x60]
and ebx, 0x17
mov dword [rbp + rcx - 0x60], ebx
mov eax, dword [rbp + rcx - 0x5c]
and eax, ebx
jne 0x14001f2c0
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r15
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.140008ac0
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r12
mov rax, qword [rbp - 0x70]
movsxd rdx, dword [rax + 4]
lea r8d, [rdx - 0x10]
mov dword [rbp + rdx - 0x74], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.1400aa474
nop
lea rcx, [rsp + 0x68]
call fcn.14000a890
nop
mov rcx, rsi
call fcn.14000a890
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400ab310
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
test al, 4
je 0x14001f2cd
lea rbx, str.ios_base::badbit_set
jmp 0x14001f2e2
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 + 0x28]
call fcn.140003bd0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400045c0
lea rdx, [0x14012f680]
lea rcx, [rsp + 0x38]
call fcn.1400ad72c
int3
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140003bd0
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rsp + 0x38]
call fcn.1400045c0
lea rdx, [0x14012f680]
lea rcx, [rsp + 0x38]
call fcn.1400ad72c
int3
test dl, 4
je 0x14001f356
lea rbx, str.ios_base::badbit_set
jmp 0x14001f36b
test dil, dl
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140003bd0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400045c0
lea rdx, [0x14012f680]
lea rcx, [rsp + 0x38]
call fcn.1400ad72c
int3