Function at 0x14001d7c0
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 [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], reloc.WS2_32.dll_ntohs
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 [rsp + 0x68], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
lea ecx, [rsi + 0x48]
call fcn.1400f9588
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.14001d590
mov dword [rdi + 0x40], eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.1400fc160
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rsp + 0x20], rsi
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
lea rax, [rbp - 0x50]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001d8a0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x20]
call fcn.140008ee0
nop
mov qword [rsp + 0x40], rsi
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov qword [rbp - 0x70], rsi
movdqa xmm0, xmmword [0x140167e50]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov r8d, 0xa
lea rdx, str.adpverbose
lea rcx, [rbp - 0x70]
call fcn.1400090e0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14001b490
nop
lea rcx, [rbp - 0x70]
call fcn.140009080
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140024500
cmp qword [rax + 0x18], 8
jb 0x14001d935
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
mov byte [rdi + 0x44], al
lea rcx, [rsp + 0x70]
call fcn.140008e70
nop
lea rcx, [rsp + 0x40]
call fcn.140008e70
nop
lea rcx, [rsp + 0x20]
call fcn.140008e70
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x48], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140025040
nop
cmp qword [rax + 0x18], 8
jb 0x14001d995
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x14015c818]
test rax, rax
cmovne rdx, rax
mov qword [rsp + 0x20], rsi
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14001d9c4
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.140008ee0
nop
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140024880
nop
lea rcx, [rsp + 0x20]
call fcn.140008e70
nop
lea rdx, [rdi + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400219c0
nop
lea rcx, [rsp + 0x40]
call fcn.140008e70
nop
lea rcx, [rsp + 0x70]
call fcn.140008e70
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.1400f9560
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