Function at 0x140001cc0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x1400cf070]
xor rax, rsp
mov qword [rbp + 0x150], rax
call fcn.140001a00
mov rcx, rax
test rax, rax
je 0x140002232
mov rax, qword [rax]
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x58], rbx
lea rcx, [0x140084428]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [0x140084408]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d42e8], rax
test rax, rax
jne 0x140001d59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Get_NtQuerySystemInformation_Addr_Failed_err_u_n
call fcn.140001590
jmp 0x140001e17
xor r9d, r9d
lea r8d, [r9 + 0x20]
lea rdx, [rbp + 0x30]
lea ecx, [r9 + 3]
call rax
test eax, eax
je 0x140001d7f
lea rcx, str.NtQuerySystemInformation_Failed_n
call fcn.140001590
jmp 0x140001e17
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x20], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x140001daf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.FileTimeToLocalFileTime_Failed_err_u_nn
call fcn.140001590
jmp 0x140001e17
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x140001dd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.FileTimeToSystemTimeFailed_err_u_nn
call fcn.140001590
jmp 0x140001e17
movzx eax, word [rbp - 0x24]
movzx ecx, word [rbp - 0x26]
movzx edx, word [rbp - 0x28]
movzx r10d, word [rbp - 0x2a]
movzx r9d, word [rbp - 0x2e]
movzx r8d, word [rbp - 0x30]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._04d__02d__02d__02d:_02d:_02d
lea rcx, [rbp - 0x58]
call fcn.140002730
mov rbx, qword [rbp - 0x58]
xor r12d, r12d
mov qword [rbp - 0x20], r12
mov esi, r12d
mov qword [rbp - 0x10], r12
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 8], r13
mov byte [rbp - 0x20], sil
mov r8, rbx
lea rdx, str.360vad_s
lea rcx, [rsp + 0x68]
call fcn.14001c5a0
lea rcx, [rbp - 0x20]
cmp rcx, rax
je 0x140001e72
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r13
mov byte [rax], r12b
mov r13, qword [rbp - 8]
mov rsi, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140001eb1
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001eac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001eac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073b54
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
lea r15, [rbp - 0x20]
mov r14, qword [rbp - 0x20]
cmp r13, 0x10
cmovae r15, r14
cmp rsi, 0x10
jae 0x140001ee6
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x40], xmm0
mov edi, reloc.WS2_32.dll_ntohs
jmp 0x140001f60
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140001f3d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000222c
mov rcx, rax
call fcn.1400738c8
mov rcx, rax
test rax, rax
je 0x140001f36
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140001f4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001f49
call fcn.1400738c8
jmp 0x140001f4c
mov rax, r12
mov qword [rsp + 0x40], rax
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
lea rdx, [rsp + 0x40]
lea rcx, [rbp]
call fcn.14001ca40
nop
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x50]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
lea r9, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae r9, qword [rbp]
lea r8, [rbp + 0x50]
lea rdx, str._s_s.vd
lea rcx, [rbp - 0x78]
call fcn.14001c5a0
mov rdi, rax
lea rax, [rbp - 0x50]
cmp rax, rdi
je 0x140002040
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140002012
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000200d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002072
call fcn.140073b54
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14000207e
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002079
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002079
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073b54
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
cmp eax, 0xffffffff
je 0x1400020b8
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
lea rcx, [0x140084570]
call fcn.14001d3c0
xor dil, dil
jmp 0x140002104
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x1400020f8
xor dil, dil
jmp 0x140002104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140002142
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000213d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000213d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073b54
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140002190
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000218b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000218b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073b54
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
cmp r13, 0x10
jb 0x1400021db
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400021d2
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140073b54
nop
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400021f8
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
movzx eax, dil
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140073640
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400017a0
nop
mov ecx, 0x80004005
call fcn.140001860
int3