Function at 0x1400186c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x160]
mov qword [rsp + 0x20], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018743
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018743
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x3f
jne 0x140018743
mov eax, 2
imul rax, rax, 3
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018743
xor eax, eax
jmp 0x140019058
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018857
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018857
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x2e
jne 0x140018857
mov eax, 2
imul rax, rax, 3
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018857
mov eax, 2
imul rax, rax, 4
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x61
jl 0x1400187dd
mov eax, 2
imul rax, rax, 4
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x7a
jle 0x14001880b
mov eax, 2
imul rax, rax, 4
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x41
jl 0x140018857
mov eax, 2
imul rax, rax, 4
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5a
jg 0x140018857
mov eax, 2
imul rax, rax, 5
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x3a
jne 0x140018857
mov eax, 2
imul rax, rax, 6
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018857
mov eax, 2
imul rax, rax, 2
mov ecx, 0x3f
mov rdx, qword [rsp + 0x20]
mov word [rdx + rax], cx
xor eax, eax
jmp 0x140019058
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x61
jl 0x140018885
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x7a
jle 0x1400188bb
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x41
jl 0x1400189dd
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5a
jg 0x1400189dd
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x3a
jne 0x1400189dd
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x1400189dd
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140018913
mov eax, 0xffffffff
jmp 0x140019058
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x140018926
mov rax, qword [rsp + 0x48]
add rax, 5
mov rcx, qword [rsp + 0xb0]
add rcx, 0x168
mov rdx, rax
call fcn.140036c10
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x168]
mov qword [rax + 0x160], rcx
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x170], 0
mov rax, qword [rsp + 0xb0]
add rax, 0x168
mov r8d, 4
lea rdx, [0x140109180]
mov rcx, rax
call fcn.140036cf0
mov rax, qword [rsp + 0xb0]
add rax, 0x168
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.140036dc0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x140019058
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018be1
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018be1
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
je 0x140018be1
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5c
je 0x140018a70
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
test eax, eax
je 0x140018a70
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x140018a47
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x140018bda
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5c
je 0x140018ac2
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
test eax, eax
je 0x140018ac2
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x140018a99
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x140018bda
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x38], rax
je 0x140018bda
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140018b05
mov eax, 0xffffffff
jmp 0x140019058
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
cmp word [rax + rcx*2], 0
jne 0x140018b1b
mov rax, qword [rsp + 0x50]
add rax, 9
mov rcx, qword [rsp + 0xb0]
add rcx, 0x168
mov rdx, rax
call fcn.140036c10
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x168]
mov qword [rax + 0x160], rcx
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x170], 0
mov rax, qword [rsp + 0xb0]
add rax, 0x168
mov r8d, 8
lea rdx, [0x140109190]
mov rcx, rax
call fcn.140036cf0
mov rax, qword [rsp + 0x30]
add rax, 4
mov rcx, qword [rsp + 0xb0]
add rcx, 0x168
mov rdx, rax
call fcn.140036dc0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x140019058
xor eax, eax
jmp 0x140019058
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x140018c00
mov eax, 0xffffffff
jmp 0x140019058
mov eax, dword [rsp + 0x28]
shl rax, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x140018c44
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0xffffffff
jmp 0x140019058
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018d87
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140018c8b
mov eax, 0xffffffff
jmp 0x140019058
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
cmp word [rax + rcx*2], 0
jne 0x140018ca1
mov rax, qword [rsp + 0x58]
add rax, 7
mov rcx, qword [rsp + 0xb0]
add rcx, 0x168
mov rdx, rax
call fcn.140036c10
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x168]
mov qword [rax + 0x160], rcx
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x170], 0
mov rax, qword [rsp + 0xb0]
add rax, 0x168
mov r8d, 4
lea rdx, [0x1401091a8]
mov rcx, rax
call fcn.140036cf0
mov rax, qword [rsp + 0xb0]
add rax, 0x168
mov r8d, 2
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.140036cf0
mov rax, qword [rsp + 0xb0]
add rax, 0x168
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.140036dc0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x140019058
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140018da9
mov eax, 0xffffffff
jmp 0x140019058
mov eax, dword [rsp + 0x28]
add eax, 5
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x60]
cmp word [rcx + rdx*2], 0
jne 0x140018dc8
mov rcx, qword [rsp + 0x60]
lea rax, [rax + rcx + 1]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x168
mov rdx, rax
call fcn.140036c10
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x168]
mov qword [rax + 0x160], rcx
cmp dword [rsp + 0x28], 3
jbe 0x140018ebf
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018ebf
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018ebf
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + rax]
cmp eax, 0x3f
jne 0x140018ebf
mov eax, 2
imul rax, rax, 3
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018ebf
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x170], 0
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x168
mov r8d, eax
mov rdx, qword [rsp + 0x40]
call fcn.140036cf0
jmp 0x140018fe4
cmp dword [rsp + 0x28], 2
jbe 0x140018f8e
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018f8e
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
jne 0x140018f8e
mov eax, 2
imul rax, rax, 2
mov rcx, qword [rsp + 0x40]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
je 0x140018f8e
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x170], 0
mov rax, qword [rsp + 0xb0]
add rax, 0x168
mov r8d, 8
lea rdx, str._UNC_
mov rcx, rax
call fcn.140036cf0
mov eax, dword [rsp + 0x28]
sub eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rcx, 4
mov rdx, qword [rsp + 0xb0]
add rdx, 0x168
mov qword [rsp + 0x98], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x98]
mov rcx, rax
call fcn.140036cf0
jmp 0x140018fe4
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x170], 0
mov rax, qword [rsp + 0xb0]
add rax, 0x168
mov r8d, 4
lea rdx, [0x1401091d0]
mov rcx, rax
call fcn.140036cf0
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x168
mov r8d, eax
mov rdx, qword [rsp + 0x40]
call fcn.140036cf0
mov rax, qword [rsp + 0xb0]
add rax, 0x168
mov r8d, 1
lea rdx, [0x1401091a4]
mov rcx, rax
call fcn.140036cf0
mov rax, qword [rsp + 0xb0]
add rax, 0x168
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.140036dc0
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x168]
mov qword [rax + 0x160], rcx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
add rsp, 0xa8
ret