Function at 0x1400156e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1d8]
sub rsp, 0x2d0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14015a138]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov ebx, 4
test ecx, ecx
cmovns ebx, ecx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
cmp eax, 1
jne 0x140015739
lea edi, [rax + 5]
jmp 0x140015aaf
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.1400cef80
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 0x68], xmm0
xor r14d, r14d
mov word [rbp - 0x78], r14w
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x140015780
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.1400149d0
nop
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r14w
movdqa xmm0, xmmword [0x14012bfd0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov r8d, 8
lea rdx, str.adpdebug
lea rcx, [rsp + 0x68]
call fcn.140003a60
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.140008860
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140015823
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001581e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015ae3
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfd0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.14001c430
cmp qword [rax + 0x18], 8
jb 0x140015853
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete dil
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400158a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400158a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015ae9
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400158fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400158f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015ae9
call fcn.1400ccd64
mov eax, 5
test dil, dil
cmovne ebx, eax
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r14w
movdqa xmm0, xmmword [0x14012bfd0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov edi, 6
mov r8d, edi
lea rdx, str.adpdev
lea rcx, [rsp + 0x68]
call fcn.140003a60
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.140008860
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140015993
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001598e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015aef
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfd0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.14001c430
cmp qword [rax + 0x18], 8
jb 0x1400159c3
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete sil
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140015a15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015a10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015af5
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140015a6b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015a66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015af5
call fcn.1400ccd64
test sil, sil
cmovne ebx, edi
mov edi, ebx
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140015aaf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015aaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015add
call fcn.1400ccd64
mov eax, edi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400ccd40
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400d1a34
nop
call fcn.1400d1a34
nop
call fcn.1400d1a34
nop
call fcn.1400d1a34
nop
call fcn.1400d1a34
int3