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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140074020]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
mov qword [rbp - 0x80], rcx
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], 0xf
mov byte [rcx + 8], sil
mov dword [rcx + 0x28], esi
lea rax, vtable.Logger.0
mov qword [rcx], rax
lea rbx, [rcx + 0x30]
mov qword [rbp - 0x78], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
lea ecx, [rsi + 0x48]
call fcn.14002f7b0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov rbx, 0xffffffffffffffff
mov ecx, ebx
call fcn.140012a90
mov dword [rdi + 0x40], eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.140031ee0
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
lea rax, [rbp - 0x50]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140012f92
mov r8, rbx
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.140001c40
nop
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov r8d, 0xa
lea rdx, str.adpverbose
lea rcx, [rbp - 0x70]
call fcn.14000d2f0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140010280
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14001303b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013036
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132a8
call fcn.14002f77c
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14001a450
cmp qword [rax + 0x18], 8
jb 0x140013069
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
mov byte [rdi + 0x44], al
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400130bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400130b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132ae
call fcn.14002f77c
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140013112
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001310d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132b4
call fcn.14002f77c
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140013167
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013162
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132ba
call fcn.14002f77c
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], 0xf
mov byte [rdi + 0x48], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14001b370
nop
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140015730
nop
lea rdx, [rdi + 0x68]
mov rcx, rax
call fcn.1400156f0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400131e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400131e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132c0
call fcn.14002f77c
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140013239
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013234
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132a2
call fcn.14002f77c
mov qword [rdi + 0x98], rsi
mov qword [rdi + 0xa0], rsi
mov dword [rdi + 0xa8], esi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 0x98], rax
mov qword [rdi + 0xb0], rsi
xor eax, eax
mov qword [rdi + 0x88], rax
mov dword [rdi + 0x90], eax
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14002f4c0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
int3