Function at 0x18001d350
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x738], rbx
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rcx
add rcx, 0x88
call fcn.180005bfc
nop
mov byte [rsi + 0xa8], 1
xor r12d, r12d
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
mov dword [rsi + 0x20], r12d
lea rcx, [rsi + 0x24]
xor edx, edx
lea r8d, [r12 + 0x60]
call fcn.18008a090
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.180006d90
nop
lea rcx, [rsp + 0x78]
call fcn.180005e24
test al, al
je 0x18001d51c
lea rcx, [rsp + 0x70]
call fcn.1800079f0
lea rdx, [0x180109a08]
lea rcx, [rsp + 0x70]
call fcn.180007990
nop
lea rcx, [0x180109a28]
call fcn.180005e24
test al, al
jne 0x18001d45d
lea rcx, [0x180109a28]
call fcn.180005c20
lea rdx, [rsp + 0x78]
cmp rdx, rax
je 0x18001d512
lea rcx, [0x180109a28]
call fcn.180005c20
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x18001d454
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
jmp 0x18001d507
xor edx, edx
mov r8d, 0x20c
lea rcx, [rbp - 0x60]
call fcn.18008a090
lea rdx, [rbp - 0x60]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x18001d512
mov word [rbp + 0x1aa], r12w
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x1b0]
call fcn.18008a090
mov r8d, 0x208
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [rax - 1]
cmp ecx, 0x207
ja 0x18001d4f7
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x18001d823
mov word [rbp + rax + 0x1b0], r12w
lea rcx, [rbp + 0x1b0]
call fcn.180006330
lea rdx, [rbp + 0x1b0]
jmp 0x18001d504
lea rcx, [rbp - 0x60]
call fcn.180006330
lea rdx, [rbp - 0x60]
mov r8, rax
lea rcx, [rsp + 0x78]
call fcn.180006098
nop
lea rcx, [rsp + 0x70]
call fcn.1800079c0
lea rcx, [rsp + 0x78]
call fcn.180005e24
test al, al
jne 0x18001d7dc
mov rcx, rdi
call fcn.180005e24
test al, al
jne 0x18001d7dc
mov r8, rdi
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.180056c70
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180005e60
nop
lea rcx, [rsp + 0x50]
call fcn.180005bf4
lea rcx, str..CheckStat.data
call fcn.180006330
mov r15, rax
lea rcx, [rsp + 0x78]
call fcn.180005c20
mov rbx, rax
mov r14, qword [rax + 0x10]
mov r13, qword [rax + 0x18]
mov rcx, r13
sub rcx, r14
cmp r15, rcx
ja 0x18001d5d5
lea rdi, [r14 + r15]
mov qword [rax + 0x10], rdi
cmp r13, 8
jb 0x18001d5a9
mov rbx, qword [rax]
lea rcx, [rbx + r14*2]
mov r8, r15
lea rdx, str..CheckStat.data
call fcn.180006328
mov word [rsp + 0x20], r12w
lea rcx, [rbx + rdi*2]
lea rdx, [rsp + 0x20]
call fcn.180005cc8
jmp 0x18001d7a3
lea rcx, [rsp + 0x78]
call fcn.180006d84
sub rax, r14
cmp rax, r15
jb 0x18001d829
lea r12, [r14 + r15]
lea rcx, [rsp + 0x78]
call fcn.180006d84
mov rdi, rax
lea rcx, [rsp + 0x78]
call fcn.180005c20
mov rcx, r12
or rcx, 7
mov qword [rbp - 0x68], rcx
cmp rcx, rdi
ja 0x18001d645
mov rdx, qword [rax + 0x18]
mov rcx, rdx
shr rcx, 1
mov rax, rdi
sub rax, rcx
cmp rdx, rax
ja 0x18001d645
lea rax, [rcx + rdx]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x68]
call fcn.18000621c
mov rdi, qword [rax]
mov rax, rdi
add rax, 1
mov r8, 0xffffffffffffffff
cmovb rax, r8
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jbe 0x18001d66f
mov rdx, r8
jmp 0x18001d678
cmp rdx, 0x1000
jb 0x18001d6a2
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, r8
call fcn.180086a58
mov rcx, rax
test rax, rax
je 0x18001d82f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18001d6b3
test rdx, rdx
je 0x18001d6b1
mov rcx, rdx
call fcn.180086a58
jmp 0x18001d6b3
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], rdi
mov r12, qword [rsp + 0x70]
mov r8, r14
mov rcx, r12
cmp r13, 8
jb 0x18001d747
mov rdi, qword [rbx]
mov rdx, rdi
call fcn.180006328
lea rcx, [r12 + r14*2]
mov r8, r15
lea rdx, str..CheckStat.data
call fcn.180006328
xor eax, eax
mov word [rsp + 0x20], ax
lea rax, [r14 + r15]
lea rcx, [r12 + rax*2]
lea rdx, [rsp + 0x20]
call fcn.180005cc8
lea rdx, [r13*2 + 2]
cmp rdx, 0x1000
jb 0x18001d735
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x18001d81d
mov rdi, rcx
mov rcx, rdi
call fcn.1800862a4
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
jmp 0x18001d7a3
mov rdx, rbx
call fcn.180006328
lea rcx, [r12 + r14*2]
mov r8, r15
lea rdx, str..CheckStat.data
call fcn.180006328
xor eax, eax
mov word [rsp + 0x20], ax
lea rax, [r14 + r15]
lea rcx, [r12 + rax*2]
lea rdx, [rsp + 0x20]
call fcn.180005cc8
mov rcx, rbx
call fcn.180005c20
mov rdx, rax
mov ecx, 8
call fcn.180005d08
mov rbx, rax
lea rcx, [rsp + 0x70]
call fcn.180005c20
mov rcx, qword [rax]
mov qword [rbx], rcx
lea rcx, [rsp + 0x78]
call fcn.180005c20
lea rbx, [rsi + 0x88]
cmp rbx, rax
je 0x18001d7dc
lea rcx, [rsp + 0x78]
call fcn.180005c20
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x18001d7d0
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rbx
call fcn.180006098
mov rcx, rsi
call fcn.18001d8c0
nop
lea rcx, [rsp + 0x78]
call fcn.180005bf4
nop
mov rax, rsi
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.180086280
mov rbx, qword [rsp + 0x738]
add rsp, 0x6e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18008ccdc
nop
call fcn.1800863bc
nop
call fcn.180006d70
int3
call fcn.18008ccdc
int3