Function at 0x1400210a0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401ce1d0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r12d, r12d
mov dword [rsp + 0x48], r12d
mov ebx, 0x208
mov qword [rsp + 0x40], rbx
cmp edx, 2
jne 0x140021118
cmp qword [0x1401cf268], r12
je 0x1400214fd
lea rdx, [0x1401cf258]
call fcn.140015680
jmp 0x14002179c
cmp edx, 3
jne 0x1400212ff
lea r8, [rsp + 0x40]
call fcn.1400ec290
lea r14, [0x1401dd620]
cmp eax, 0xfffff026
jne 0x1400211e3
lea rcx, [rsp + 0x78]
call fcn.1400ec120
test eax, eax
jne 0x1400211e5
mov r15, qword [rbp - 0x70]
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp byte [r15 + rsi], r12b
jne 0x140021160
cmp rsi, qword [rsp + 0x40]
jb 0x1400211a2
call fcn.14014f0c0
mov ebx, dword [rax]
mov rcx, qword [rsp + 0x78]
call qword [fcn.14014f0f4]
call fcn.14014f0c0
mov dword [rax], ebx
call fcn.14014f0c0
mov ebx, dword [rax]
mov rcx, r15
call qword [fcn.14014f0f4]
call fcn.14014f0c0
mov dword [rax], ebx
jmp 0x1400211e7
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, r14
call fcn.140147a90
call fcn.14014f0c0
mov ebx, dword [rax]
mov rcx, qword [rsp + 0x78]
call qword [fcn.14014f0f4]
call fcn.14014f0c0
mov dword [rax], ebx
call fcn.14014f0c0
mov ebx, dword [rax]
mov rcx, r15
call qword [fcn.14014f0f4]
call fcn.14014f0c0
mov dword [rax], ebx
jmp 0x14002121e
test eax, eax
jns 0x140021219
movdqa xmm0, xmmword [0x1401a5200]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], r12b
xor r8d, r8d
lea rdx, [0x1401941d5]
lea rcx, [rsp + 0x78]
call fcn.140003cd0
lea rax, [rsp + 0x78]
mov ebx, 2
jmp 0x14002124b
mov rsi, qword [rsp + 0x40]
movdqa xmm0, xmmword [0x1401a5200]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r12b
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140003cd0
lea rax, [rsp + 0x58]
mov ebx, 4
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 1
test bl, 4
je 0x1400212b1
and ebx, 0xfffffffb
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400212b1
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400212ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400217e8
call fcn.140128fb0
nop
test bl, 2
je 0x14002179c
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14002179c
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400212f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400217ee
call fcn.140128fb0
jmp 0x14002179c
cmp edx, 4
jne 0x1400214f5
lea rdx, [rbp - 0x60]
mov ecx, 0x106
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, eax
lea r14, [0x1401dd620]
test rax, rax
je 0x1400213c8
cmp rax, 0x106
ja 0x1400213dd
cmp word [rbp + rax*2 - 0x62], 0x5c
jne 0x140021362
cmp rax, 3
jne 0x14002134a
cmp word [rbp - 0x5e], 0x3a
je 0x140021362
dec rax
add rax, rax
cmp rax, 0x20c
jae 0x1400217fa
mov word [rbp + rax - 0x60], r12w
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov rsi, 0xffffffffffffffff
mov r9d, esi
lea r8, [rbp - 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1400213c8
cmp eax, ebx
ja 0x1400213dd
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
mov r9d, esi
lea r8, [rbp - 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400214c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400f8400
test eax, eax
jns 0x1400214c4
movdqa xmm0, xmmword [0x1401a5200]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r12b
xor r8d, r8d
lea rdx, [0x1401941d5]
lea rcx, [rsp + 0x58]
call fcn.140003cd0
lea rax, [rsp + 0x58]
mov ebx, 8
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 1
test bl, 0x10
je 0x140021473
and ebx, 0xffffffef
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140021473
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002146d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400217f4
call fcn.140128fb0
nop
test bl, 8
je 0x14002179c
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14002179c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400212f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400217d0
jmp 0x1400212f5
lea ebx, [rax - 1]
movdqa xmm0, xmmword [0x1401a5200]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], r12b
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.140003cd0
lea rax, [rsp + 0x78]
mov ebx, select
jmp 0x14002140e
test edx, edx
jne 0x14002166c
lea rdx, [rsp + 0x40]
lea r14, [0x1401dd620]
mov rcx, r14
call fcn.1400eb540
test eax, eax
jns 0x140021529
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], r12b
jmp 0x14002179c
movdqa xmm0, xmmword [0x1401a5200]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r12b
mov r8, qword [rsp + 0x40]
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140003cd0
nop
lea rcx, [rsp + 0x58]
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x70]
cmp r10, 0x10
cmovae rcx, r9
mov rsi, 0xffffffffffffffff
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x1400215a3
lea rax, [rdx - 1]
mov r8, rsi
cmp rax, rsi
cmovb r8, rax
add r8, rcx
cmp byte [r8], 0x5c
je 0x14002159e
nop
cmp r8, rcx
je 0x1400215a3
dec r8
cmp byte [r8], 0x5c
jne 0x140021590
sub r8, rcx
jmp 0x1400215a6
mov r8, rsi
mov rcx, rdi
cmp r8, rsi
je 0x14002161c
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rsp + 0x58]
cmp r10, 0x10
cmovae rdx, r9
call fcn.140003cd0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14002179c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400212f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400217d6
jmp 0x1400212f5
lea rdx, [rsp + 0x58]
call fcn.140015680
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14002179c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400212f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400217dc
jmp 0x1400212f5
cmp edx, 1
jne 0x14002178d
lea rdx, [rsp + 0x40]
lea r14, [0x1401dd620]
mov rcx, r14
call fcn.1400eb650
movdqa xmm0, xmmword [0x1401a5200]
test eax, eax
jns 0x1400216c0
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r12b
xor r8d, r8d
lea rdx, [0x1401941d5]
lea rcx, [rsp + 0x58]
call fcn.140003cd0
lea rax, [rsp + 0x58]
mov ebx, 0x20
jmp 0x1400216e6
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], r12b
mov r8, qword [rsp + 0x40]
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.140003cd0
lea rax, [rsp + 0x78]
mov ebx, 0x40
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 1
test bl, 0x40
je 0x14002174b
and ebx, 0xffffffbf
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14002174b
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021745
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400217ca
call fcn.140128fb0
nop
test bl, 0x20
je 0x14002179c
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14002179c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400212f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400217e2
jmp 0x1400212f5
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r12b
mov rax, rdi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140128f50
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
call fcn.14014f3e4
nop
call fcn.14014f3e4
int3
call fcn.14014f3e4
int3
call fcn.14014f3e4
int3
call fcn.14014f3e4
nop
call fcn.14014f3e4
nop
call fcn.14014f3e4
nop
call fcn.14014f3e4
nop
call fcn.140129800
int3