Function at 0x14001dc70
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 [0x140189090]
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.1400f89d8
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.14001da40
mov dword [rdi + 0x40], eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.1400fb5b0
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rsp + 0x20], rsi
movdqa xmm0, xmmword [0x140166ab0]
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 0x14001dd50
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x20]
call fcn.140009050
nop
mov qword [rsp + 0x40], rsi
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov qword [rbp - 0x70], rsi
movdqa xmm0, xmmword [0x140166ac0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov r8d, 0xa
lea rdx, str.adpverbose
lea rcx, [rbp - 0x70]
call fcn.140009250
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14001b5c0
nop
lea rcx, [rbp - 0x70]
call fcn.1400091f0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140024c30
cmp qword [rax + 0x18], 8
jb 0x14001dde5
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.140008fe0
nop
lea rcx, [rsp + 0x40]
call fcn.140008fe0
nop
lea rcx, [rsp + 0x20]
call fcn.140008fe0
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.140025770
nop
cmp qword [rax + 0x18], 8
jb 0x14001de45
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x14015b7e0]
test rax, rax
cmovne rdx, rax
mov qword [rsp + 0x20], rsi
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14001de74
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.140009050
nop
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140024fb0
nop
lea rcx, [rsp + 0x20]
call fcn.140008fe0
nop
lea rdx, [rdi + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400220d0
nop
lea rcx, [rsp + 0x40]
call fcn.140008fe0
nop
lea rcx, [rsp + 0x70]
call fcn.140008fe0
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.1400f89b0
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