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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14015b138]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
mov qword [rbp - 0x78], rcx
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rcx + 0x10], sil
mov dword [rcx + 0x30], esi
mov qword [rcx + 0x40], rsi
mov dword [rcx + 0x48], 1
mov qword [rcx + 0x38], rsi
lea rax, vtable.Logger.0
mov qword [rcx], rax
lea rbx, [rcx + 0x50]
mov qword [rbp - 0x70], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
call fcn.140017890
mov qword [rbx], rax
mov rbx, 0xffffffffffffffff
mov ecx, ebx
call fcn.140015960
mov dword [rdi + 0x60], eax
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
movdqa xmm0, xmmword [0x14012d1e0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], sil
lea r8d, [rsi + 0xa]
lea rdx, str.adpverbose
lea rcx, [rbp - 0x68]
call fcn.140003a60
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.140008860
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140015e9b
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015e96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016143
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1e0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.1400cf640
lea rdx, [rbp - 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
lea rax, [rbp - 0x40]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140015ee3
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400149d0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14001c9a0
cmp qword [rax + 0x18], 8
jb 0x140015f1d
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
mov byte [rdi + 0x64], al
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140015f71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015f6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016149
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140015fc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015fc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016149
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001601b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016016
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016149
call fcn.1400cd424
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x68], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14001dcc0
nop
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14001c860
nop
lea rdx, [rdi + 0x88]
mov rcx, rax
call fcn.14001c6d0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14001609e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016099
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001613d
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400160ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400160ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001613d
call fcn.1400cd424
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 0xb8], rax
xor eax, eax
mov qword [rdi + 0xa8], rax
mov dword [rdi + 0xb0], eax
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400cd400
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
int3