Function at 0x180016fc4
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x318
lea rbp, [rsp + 0x80]
mov r14, rcx
mov eax, 0xd0ae9e1d
lea r13, [rbp + 0x188]
lea rdi, [rbp + 0x250]
lea r15, [0x180001230]
lea r12, [rbp + 0x208]
cmp eax, 0xd0ae9e1c
jle 0x180017054
cmp eax, 0x4a3231bf
jg 0x1800170b9
cmp eax, 0x336f8ab5
jg 0x180017143
cmp eax, 0xd0ae9e1d
je 0x18001721a
cmp eax, 0x1be48873
je 0x18001723b
cmp eax, 0x26d0243c
jne 0x180017003
sub rsp, 0x20
mov rcx, r13
call fcn.180017c5a
add rsp, 0x20
mov eax, 0x87f6aada
jmp 0x180017003
cmp eax, 0xa99ef4d5
jg 0x1800170ef
cmp eax, 0x99ba6211
jg 0x18001718d
cmp eax, 0x81201087
je 0x180017257
cmp eax, 0x82b35828
je 0x180017396
cmp eax, 0x87f6aada
jne 0x180017003
sub rsp, 0x20
mov rcx, r13
call fcn.180017c5a
add rsp, 0x20
mov eax, dword [0x18006e2f4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x26d0243c
mov ecx, 0x62827049
jmp 0x180017550
cmp eax, 0x67a621ca
jg 0x1800171af
cmp eax, 0x4a3231c0
je 0x1800173a7
cmp eax, 0x5cc5f28c
je 0x1800173b1
cmp eax, 0x62827049
jne 0x180017003
mov eax, 0xcf2b19cf
jmp 0x180017003
cmp eax, 0xcc6970ee
jg 0x1800171ea
cmp eax, 0xa99ef4d6
je 0x180017446
cmp eax, 0xb26c2319
je 0x180017464
cmp eax, 0xb712104a
jne 0x180017003
mov rcx, qword [rbp + 0x278]
sub rsp, 0x20
call fcn.18001e65b
add rsp, 0x20
test al, al
mov eax, 0x9c95d79d
mov ecx, 0x3907e041
cmovne eax, ecx
jmp 0x180017003
cmp eax, 0x336f8ab6
je 0x18001739d
cmp eax, 0x36c678f3
je 0x18001748d
cmp eax, 0x3907e041
jne 0x180017003
mov rcx, qword [rbp + 0x278]
sub rsp, 0x20
call fcn.180018008
mov rcx, r14
mov rdx, rax
call fcn.180016bd0
add rsp, 0x20
mov eax, 0x67a621cb
jmp 0x180017003
cmp eax, 0x99ba6212
je 0x180017503
cmp eax, 0x9c95d79d
je 0x18001751c
cmp eax, 0xa95c97ae
je 0x180017210
jmp 0x180017003
cmp eax, 0x67a621cb
je 0x18001752d
cmp eax, 0x6eac4e38
je 0x180017210
cmp eax, 0x7e73151f
jne 0x180017003
mov eax, dword [0x18006e2f4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x4a3231c0
mov ecx, 0x336f8ab6
jmp 0x180017550
cmp eax, 0xcc6970ef
je 0x180017537
cmp eax, 0xcdb5a925
je 0x18001798c
cmp eax, 0xcf2b19cf
jne 0x180017003
jmp 0x180017c3f
mov eax, 0x36c678f3
jmp 0x180017003
mov eax, 0x20
call fcn.180049b60
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x248], rax
mov eax, 0x81201087
jmp 0x180017003
lea rax, [rbp - 0x80]
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x200]
mov eax, 0x5cc5f28c
jmp 0x180017003
mov eax, 0x20
call fcn.180049b60
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x240], rax
mov eax, 0x20
call fcn.180049b60
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x238], rax
mov eax, 0x20
call fcn.180049b60
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x230], rax
mov eax, 0x20
call fcn.180049b60
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x228], rax
mov eax, 0x20
call fcn.180049b60
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x278], rax
mov eax, 0x20
call fcn.180049b60
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x220], rax
mov eax, 0x210
call fcn.180049b60
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x1f0], rax
mov eax, 0x20
call fcn.180049b60
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x218], rax
mov eax, 0x20
call fcn.180049b60
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x1e8], r13
mov rax, qword [rbp + 0x1e8]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, r13
mov edx, eax
call fcn.180021bd8
add rsp, 0x20
mov eax, 0x2af498a0
cmp eax, 0xc9dbedc8
je 0x180017562
cmp eax, 0x2af498a0
jne 0x180017351
sub rsp, 0x20
mov rcx, rdi
call fcn.180019cce
add rsp, 0x20
lea rax, [rbp + 0x270]
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x208]
mov qword [rbp + 0x290], rdi
mov eax, 0xc9dbedc8
jmp 0x180017351
mov rax, qword [rbp + 0x200]
mov eax, 0xa99ef4d6
jmp 0x180017003
mov eax, 0x7e73151f
jmp 0x180017003
mov rcx, qword [rbp + 0x200]
sub rsp, 0x20
mov r8d, 0x208
xor edx, edx
call fcn.18004aad0
mov rcx, r14
lea rdx, [rbp - 0x80]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add rsp, 0x20
lea rax, [rbp + 0x1a8]
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x248]
mov rsi, qword [rbp + 0x248]
mov eax, 0x2af498a0
cmp eax, 0xc9dbedc8
je 0x1800175d5
cmp eax, 0x2af498a0
jne 0x180017408
sub rsp, 0x20
mov rcx, rsi
call fcn.180019cce
add rsp, 0x20
mov qword [rbp + 0x290], r12
mov rax, qword [rbp + 0x290]
mov qword [rbp + 0x280], rsi
mov eax, 0xc9dbedc8
jmp 0x180017408
mov eax, dword [0x18006e2f4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x26d0243c
mov ecx, 0x87f6aada
jmp 0x180017550
mov rcx, qword [rbp + 0x278]
sub rsp, 0x20
call fcn.180018008
mov rcx, r14
mov rdx, rax
call fcn.180016bd0
add rsp, 0x20
mov eax, 0x6eac4e38
jmp 0x180017003
mov rcx, qword [rbp + 0x278]
sub rsp, 0x20
call fcn.180017c5a
add rsp, 0x20
mov rax, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x230]
sub rsp, 0x20
call fcn.180017c5a
add rsp, 0x20
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 0x240]
sub rsp, 0x20
call fcn.180017c5a
add rsp, 0x20
mov rax, qword [rbp + 0x1d8]
sub rsp, 0x20
lea rcx, [rbp + 0x1a8]
call fcn.180017c5a
add rsp, 0x20
mov rax, qword [rbp + 0x1e0]
mov eax, 0x82b35828
jmp 0x180017003
sub rsp, 0x20
xor ecx, ecx
call fcn.18002681a
add rsp, 0x20
mov eax, 0xcc6970ef
jmp 0x180017003
mov rax, qword [rbp + 0x1f8]
mov eax, 0xa95c97ae
jmp 0x180017003
mov eax, 0x9c95d79d
jmp 0x180017003
mov eax, dword [0x18006e2f4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x4a3231c0
mov ecx, 0x7e73151f
cmove eax, ecx
cmp dword [0x18006e2f0], 0xa
cmovl eax, ecx
jmp 0x180017003
mov rax, qword [rbp + 0x290]
sub rsp, 0x20
mov rcx, rdi
call fcn.180019d80
mov rcx, r15
call fcn.18004fe48
add rsp, 0x20
mov qword [rbp + 0x288], rax
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x280], rax
mov eax, 0xe96000ad
cmp eax, 0xa3a1eea2
je 0x180017646
cmp eax, 0xe96000ad
jne 0x18001759b
mov r8, qword [rbp + 0x280]
sub rsp, 0x20
mov rcx, rdi
mov rdx, r15
call fcn.18001a406
add rsp, 0x20
mov qword [rbp + 0x288], rax
mov eax, 0xa3a1eea2
jmp 0x18001759b
mov rax, qword [rbp + 0x280]
sub rsp, 0x20
mov rcx, rsi
call fcn.180019d80
lea rcx, [rbp - 0x80]
call fcn.18004fe48
add rsp, 0x20
mov qword [rbp + 0x250], rax
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x288], rax
mov eax, 0xe96000ad
cmp eax, 0xa3a1eea2
je 0x18001768d
cmp eax, 0xe96000ad
jne 0x18001760f
mov r8, qword [rbp + 0x288]
sub rsp, 0x20
mov rcx, rsi
lea rdx, [rbp - 0x80]
call fcn.18001a406
add rsp, 0x20
mov qword [rbp + 0x250], rax
mov eax, 0xa3a1eea2
jmp 0x18001760f
mov rax, qword [rbp + 0x288]
mov rax, qword [rbp + 0x208]
sub rsp, 0x20
mov rcx, r13
mov rdx, rdi
call fcn.180027402
add rsp, 0x20
mov ebx, eax
sub rsp, 0x20
mov rcx, rdi
call fcn.180017c5a
add rsp, 0x20
test bl, bl
mov eax, 0x1be48873
mov ecx, 0x99ba6212
cmovne eax, ecx
jmp 0x180017003
mov rax, qword [rbp + 0x250]
mov rax, qword [rbp + 0x290]
mov rdx, qword [rbp + 0x248]
sub rsp, 0x20
lea rcx, [rbp + 0x1a8]
mov r8d, 1
call fcn.18002788c
add rsp, 0x20
mov rcx, qword [rbp + 0x248]
sub rsp, 0x20
call fcn.180017c5a
add rsp, 0x20
mov rax, qword [rbp + 0x240]
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x1d8]
mov rax, qword [rbp + 0x238]
mov rsi, qword [rbp + 0x238]
mov eax, 0x2af498a0
cmp eax, 0xc9dbedc8
je 0x180017732
cmp eax, 0x2af498a0
jne 0x1800176f8
sub rsp, 0x20
mov rcx, rsi
call fcn.180019cce
add rsp, 0x20
mov qword [rbp + 0x290], r12
mov rax, qword [rbp + 0x290]
mov qword [rbp + 0x280], rsi
mov eax, 0xc9dbedc8
jmp 0x1800176f8
mov rax, qword [rbp + 0x280]
sub rsp, 0x20
mov rcx, rsi
call fcn.180019d80
lea rcx, [rbp - 0x80]
call fcn.18004fe48
add rsp, 0x20
mov qword [rbp + 0x250], rax
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x288], rax
mov eax, 0xe96000ad
cmp eax, 0xa3a1eea2
je 0x1800177a3
cmp eax, 0xe96000ad
jne 0x18001776c
mov r8, qword [rbp + 0x288]
sub rsp, 0x20
mov rcx, rsi
lea rdx, [rbp - 0x80]
call fcn.18001a406
add rsp, 0x20
mov qword [rbp + 0x250], rax
mov eax, 0xa3a1eea2
jmp 0x18001776c
mov rax, qword [rbp + 0x250]
mov rax, qword [rbp + 0x290]
mov rcx, qword [rbp + 0x240]
mov rdx, qword [rbp + 0x238]
sub rsp, 0x20
call fcn.18002760c
add rsp, 0x20
mov rcx, qword [rbp + 0x238]
sub rsp, 0x20
call fcn.180017c5a
add rsp, 0x20
mov rax, qword [rbp + 0x230]
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x228]
mov rsi, qword [rbp + 0x228]
mov eax, 0x2af498a0
cmp eax, 0xc9dbedc8
je 0x180017842
cmp eax, 0x2af498a0
jne 0x180017808
sub rsp, 0x20
mov rcx, rsi
call fcn.180019cce
add rsp, 0x20
mov qword [rbp + 0x290], r12
mov rax, qword [rbp + 0x290]
mov qword [rbp + 0x280], rsi
mov eax, 0xc9dbedc8
jmp 0x180017808
mov rax, qword [rbp + 0x280]
sub rsp, 0x20
mov rcx, rsi
call fcn.180019d80
lea rcx, [rbp - 0x80]
call fcn.18004fe48
add rsp, 0x20
mov qword [rbp + 0x250], rax
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x288], rax
mov eax, 0xe96000ad
cmp eax, 0xa3a1eea2
je 0x1800178b3
cmp eax, 0xe96000ad
jne 0x18001787c
mov r8, qword [rbp + 0x288]
sub rsp, 0x20
mov rcx, rsi
lea rdx, [rbp - 0x80]
call fcn.18001a406
add rsp, 0x20
mov qword [rbp + 0x250], rax
mov eax, 0xa3a1eea2
jmp 0x18001787c
mov rax, qword [rbp + 0x250]
mov rax, qword [rbp + 0x290]
mov rcx, qword [rbp + 0x230]
mov rdx, qword [rbp + 0x228]
sub rsp, 0x20
call fcn.1800277e6
add rsp, 0x20
mov rcx, qword [rbp + 0x228]
sub rsp, 0x20
call fcn.180017c5a
add rsp, 0x20
mov rax, qword [rbp + 0x278]
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
mov rax, qword [rbp + 0x220]
mov rdx, qword [rbp + 0x230]
mov rcx, qword [rbp + 0x220]
sub rsp, 0x20
lea r8, [0x18000124a]
call fcn.180017de7
add rsp, 0x20
mov rcx, qword [rbp + 0x278]
mov r8, qword [rbp + 0x220]
sub rsp, 0x20
lea rdx, [rbp + 0x1a8]
call fcn.180027a49
add rsp, 0x20
mov rcx, qword [rbp + 0x220]
sub rsp, 0x20
call fcn.180017c5a
add rsp, 0x20
mov rcx, qword [rbp + 0x278]
sub rsp, 0x20
call fcn.18001e65b
add rsp, 0x20
test al, al
mov eax, 0xcdb5a925
mov ecx, 0xb26c2319
cmovne eax, ecx
jmp 0x180017003
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x1f8]
sub rsp, 0x20
mov r8d, 0x208
xor edx, edx
call fcn.18004aad0
add rsp, 0x20
mov rsi, qword [rbp + 0x1f0]
sub rsp, 0x20
mov rcx, rsi
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add rsp, 0x20
mov rax, qword [rbp + 0x218]
mov rax, qword [rbp + 0x210]
mov rbx, qword [rbp + 0x210]
mov eax, 0x2af498a0
cmp eax, 0xc9dbedc8
je 0x180017a2e
cmp eax, 0x2af498a0
jne 0x1800179f4
sub rsp, 0x20
mov rcx, rbx
call fcn.180019cce
add rsp, 0x20
mov qword [rbp + 0x290], r12
mov rax, qword [rbp + 0x290]
mov qword [rbp + 0x280], rbx
mov eax, 0xc9dbedc8
jmp 0x1800179f4
mov rax, qword [rbp + 0x280]
sub rsp, 0x20
mov rcx, rbx
call fcn.180019d80
mov rcx, rsi
call fcn.18004fe48
add rsp, 0x20
mov qword [rbp + 0x250], rax
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x288], rax
mov eax, 0xe96000ad
cmp eax, 0xa3a1eea2
je 0x180017a9d
cmp eax, 0xe96000ad
jne 0x180017a67
mov r8, qword [rbp + 0x288]
sub rsp, 0x20
mov rcx, rbx
mov rdx, rsi
call fcn.18001a406
add rsp, 0x20
mov qword [rbp + 0x250], rax
mov eax, 0xa3a1eea2
jmp 0x180017a67
mov r12, rdi
mov rsi, r14
mov rdi, r13
mov rax, qword [rbp + 0x250]
mov rax, qword [rbp + 0x290]
mov r8, qword [rbp + 0x240]
mov rcx, qword [rbp + 0x218]
mov rdx, qword [rbp + 0x210]
sub rsp, 0x20
call fcn.180027a49
add rsp, 0x20
mov r13, qword [rbp + 0x278]
mov r14, qword [rbp + 0x218]
mov qword [rbp + 0x250], r14
mov eax, 0x26201266
cmp eax, 0x26201265
jle 0x180017b42
cmp eax, 0x50a00071
jg 0x180017b78
cmp eax, 0x26201266
je 0x180017bbe
cmp eax, 0x2fea3eb3
jne 0x180017af0
mov rax, qword [rbp + 0x250]
cmp rax, r13
setne byte [rbp + 0x288]
mov eax, dword [0x18006e2e4]
mov ecx, dword [0x18006e2e0]
lea ebx, [rax - 1]
imul ebx, eax
mov edx, 0x9f30d5bd
mov eax, 0x9f30d5bd
jmp 0x180017bda
cmp eax, 0xda8aae37
jg 0x180017ba6
cmp eax, 0x9f30d5bd
je 0x180017bef
cmp eax, 0xc28a227d
jne 0x180017af0
sub rsp, 0x20
mov rcx, r13
mov rdx, r14
call fcn.18001d59c
add rsp, 0x20
mov eax, 0x50a00072
jmp 0x180017af0
cmp eax, 0x50a00072
je 0x180017b9c
cmp eax, 0x7efb7355
jne 0x180017af0
cmp byte [rbp + 0x288], 0
mov eax, 0xc28a227d
jne 0x180017af0
mov eax, 0x10297177
jmp 0x180017af0
cmp eax, 0xda8aae38
jne 0x180017bf9
mov rax, qword [rbp + 0x250]
mov eax, 0x2fea3eb3
jmp 0x180017af0
mov eax, dword [0x18006e2e4]
mov ecx, dword [0x18006e2e0]
lea ebx, [rax - 1]
imul ebx, eax
mov edx, 0x2fea3eb3
mov eax, 0x2fea3eb3
test bl, 1
je 0x180017be4
mov eax, 0xda8aae38
cmp ecx, 0xa
cmovl eax, edx
jmp 0x180017af0
mov eax, 0x7efb7355
jmp 0x180017af0
cmp eax, 0x10297177
jne 0x180017af0
mov rcx, qword [rbp + 0x218]
sub rsp, 0x20
call fcn.180017c5a
add rsp, 0x20
mov rcx, qword [rbp + 0x210]
sub rsp, 0x20
call fcn.180017c5a
add rsp, 0x20
mov eax, 0xb712104a
mov r13, rdi
mov r14, rsi
mov rdi, r12
jmp 0x180016ffc
mov rax, qword [rbp + 0x1e8]
lea rsp, [rbp + 0x298]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret