Function at 0x1400a2570
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x590
mov rax, qword [0x1401c8c00]
xor rax, rsp
mov qword [rsp + 0x580], rax
xor esi, esi
mov dword [rsp + 0x60], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x2d0], xmm0
movdqa xmm1, xmmword [0x1401a6e30]
movdqu xmmword [rsp + 0x2e0], xmm1
mov byte [rsp + 0x2d0], sil
lea ecx, [rsi + 3]
call fcn.1400d4110
call fcn.1400d3eb0
mov rdi, rax
test rax, rax
je 0x1400a2e26
lea rdx, [rsp + 0x370]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1400a2e26
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], rsi
lea r8d, [rsi + 0xc]
lea rdx, str.UnixxVPN.exe
lea rcx, [rsp + 0x98]
call fcn.1400298e0
nop
lea rdx, [rsp + 0x370]
lea rax, [rsp + 0x370]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a2642
xorps xmm0, xmm0
movups xmmword [rsp + 0x350], xmm0
mov qword [rsp + 0x360], rsi
mov qword [rsp + 0x368], rsi
lea rcx, [rsp + 0x350]
call fcn.1400298e0
mov dword [rsp + 0x60], reloc.WS2_32.dll_ntohs
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x2b0]
call fcn.140003ff0
mov dword [rsp + 0x60], Ordinal_33
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x2b0]
call fcn.1400249d0
nop
mov rdx, qword [rsp + 0x368]
cmp rdx, 7
jbe 0x1400a26fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x350]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a26f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a26f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
nop
mov rdx, qword [rsp + 0xb0]
cmp rdx, 7
jbe 0x1400a2747
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2742
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2742
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e20]
movdqu xmmword [rsp + 0xa8], xmm0
mov word [rsp + 0x98], si
lea rdx, [rsp + 0x2b0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400a2ed0
nop
mov r8d, 3
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x68]
call fcn.140002970
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x350], ecx
lea rax, [0x1401c8c88]
mov qword [rsp + 0x358], rax
movaps xmm0, xmmword [rsp + 0x350]
movdqa xmmword [rsp + 0x350], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
jne 0x1400a27d6
test ecx, ecx
jne 0x1400a2e97
jmp 0x1400a2dc7
cmp eax, 1
je 0x1400a2dc7
lea rcx, [rsp + 0x2b0]
cmp qword [rsp + 0x2c8], 7
cmova rcx, qword [rsp + 0x2b0]
mov r9d, 0xffffffff
mov r8d, 9
lea rdx, [rsp + 0x330]
call fcn.140131334
test eax, eax
jne 0x1400a2eb3
mov r8, qword [rsp + 0x338]
lea r9, [rsp + 0x365]
movabs r10, 0xcccccccccccccccd
nop dword [rax]
nop dword [rax + rax]
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x1400a2840
lea r8, [rsp + 0x365]
mov rdx, r9
lea rcx, [rsp + 0x310]
call fcn.14000cf70
mov dword [rsp + 0x60], 0x7f
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rsp + 0x320]
sub rax, rcx
cmp rax, 0x39
jb 0x1400a2ead
lea rax, [rsp + 0x310]
cmp qword [rsp + 0x328], 0xf
cmova rax, qword [rsp + 0x310]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_gethostname
lea r9, str.https:__unixx.shop_create_unixxvpn_auto_update_file_size
lea r8, [rsp + 0x310]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x2f0]
call fcn.140005120
mov dword [rsp + 0x60], 0xff
lea r8, [rsp + 0x2f0]
cmp qword [rsp + 0x308], 0xf
cmova r8, qword [rsp + 0x2f0]
mov edx, 0x2712
mov rcx, rdi
call fcn.1400d8270
lea r8, [0x14009c700]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.1400d8270
lea r8, [rsp + 0x2d0]
mov edx, 0x2711
mov rcx, rdi
call fcn.1400d8270
mov edx, reloc.WLDAP32.dll_Ordinal_41
lea r8d, [rdx - 0x28]
mov rcx, rdi
call fcn.1400d8270
mov rcx, rdi
call fcn.1400d3f20
mov ebx, eax
mov rcx, rdi
call fcn.1400d3e50
test ebx, ebx
je 0x1400a2999
lea rdx, str.CURL_error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400122d0
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
jmp 0x1400a2d20
mov qword [rsp + 0x178], rsi
lea rax, [rsp + 0x140]
mov qword [rsp + 0x68], rax
xor edx, edx
lea rcx, [rsp + 0x350]
call fcn.14000ccd0
nop
mov dword [rsp + 0x60], 0x1ff
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x130], rsi
mov rcx, qword [rsp + 0x178]
test rcx, rcx
je 0x1400a29fd
mov rax, qword [rcx]
lea rdx, [rsp + 0xf8]
call qword [rax]
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x2d0]
cmp qword [rsp + 0x2e8], 0xf
cmova rcx, qword [rsp + 0x2d0]
add rcx, qword [rsp + 0x2e0]
lea rax, [rsp + 0x2d0]
cmp qword [rsp + 0x2e8], 0xf
cmova rax, qword [rsp + 0x2d0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1c0]
call fcn.140093040
nop
lea r8, [rsp + 0x350]
mov rcx, rax
call fcn.14008ff90
nop
lea rcx, [rsp + 0x208]
call fcn.14008fed0
mov rcx, qword [rsp + 0x1f8]
test rcx, rcx
je 0x1400a2ab0
mov rax, qword [rcx]
lea rdx, [rsp + 0x1c0]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rsp + 0x1f8], rsi
mov rcx, qword [rsp + 0x178]
test rcx, rcx
je 0x1400a2ad9
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rsp + 0x178], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rsi
mov r8d, 3
lea rdx, [0x1401a5c30]
lea rcx, [rsp + 0x78]
call fcn.140004860
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x350]
call fcn.14000c830
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsp + 0x58], rax
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14000bd50
mov byte [rsp + 0x50], 5
mov qword [rsp + 0x58], 1
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400a3050
movzx ebx, al
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14000bd50
nop
test bl, bl
je 0x1400a2d02
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rsi
mov r8d, reloc.WLDAP32.dll_Ordinal_27
lea rdx, str.UnixxVPN___Update_Available
lea rcx, [rsp + 0x78]
call fcn.140004860
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rsi
mov r8d, 0x40
lea rdx, str.There_is_an_update_avaliable__would_you_like_to_download_it_now_
lea rcx, [rsp + 0xb8]
call fcn.140004860
nop
lea r9, [rsp + 0x78]
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x40]
call fcn.14009b250
mov rbx, rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__void___cdecl_Server::doAutoUpdate_struct_GLFWwindow____ptr64_::_20::_lambda_1___void___.0
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x5a0]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x130], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], rsi
mov r8d, 3
lea rdx, [0x1401a1f98]
lea rcx, [rsp + 0xd8]
call fcn.140004860
nop
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call fcn.14009b410
mov rbx, rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__void___cdecl_Server::doAutoUpdate_struct_GLFWwindow____ptr64_::_20::_lambda_2___void___.0
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x1b8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x330], xmm0
mov qword [rsp + 0x340], rsi
mov qword [rsp + 0x348], rsi
mov r8d, 2
lea rdx, [0x1401a1f9c]
lea rcx, [rsp + 0x330]
call fcn.140004860
nop
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x330]
mov rcx, rbx
call fcn.14009b410
mov dword [rsp + 0x60], 0xff
movzx edx, byte [rsp + 0x350]
lea rcx, [rsp + 0x358]
call fcn.14000bd50
nop
mov rdx, qword [rsp + 0x308]
cmp rdx, 0xf
jbe 0x1400a2d66
inc rdx
mov rcx, qword [rsp + 0x2f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2d61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2d61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e30]
movdqu xmmword [rsp + 0x300], xmm0
mov byte [rsp + 0x2f0], 0
mov rdx, qword [rsp + 0x328]
cmp rdx, 0xf
jbe 0x1400a2ddb
inc rdx
mov rcx, qword [rsp + 0x310]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2dc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2dc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
jmp 0x1400a2ddb
lea rdx, str.File_not_found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400122d0
nop
mov rdx, qword [rsp + 0x2c8]
cmp rdx, 7
jbe 0x1400a2e26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2e21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2e21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
call fcn.1400d40b0
nop
mov rdx, qword [rsp + 0x2e8]
cmp rdx, 0xf
jbe 0x1400a2e72
inc rdx
mov rcx, qword [rsp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2e6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2e6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.140131b90
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea r8, [rsp + 0x2b0]
lea rdx, [rsp + 0x350]
call fcn.140002880
nop
call fcn.140001810
nop
lea r8, [rsp + 0x2b0]
mov edx, eax
lea rcx, str.file_size
call fcn.140002810
int3