Function at 0x140053792
Capabilities:
Check if file exists

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.14012b830
mov rcx, qword [rsp + 0x90]
call fcn.1400bd588
mov dword [section..data], 0x16000a4
mov dword [section..data], 0x16000a5
push rcx
sub rsp, 0x28
call fcn.14012b4a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14012b4a0
add rsp, 0x28
pop rcx
mov rdx, rax
mov rcx, qword [0x14021c5a4]
sub rsp, 0x20
call fcn.1400f5734
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.14012b4f0
mov dword [section..data], 0x16000a8
push qword [rsp + 0x28]
movabs rcx, 0x140207502
pop rdx
call fcn.14012b640
or rax, rax
jne 0x140053bc3
mov dword [section..data], 0x16000aa
movabs rax, str.._sites.txt
mov rcx, rax
call sub.SHLWAPI.dll_PathFileExistsW
and rax, rax
je 0x140053bb9
mov dword [section..data], 0x16000ae
sub rsp, 0x18
mov rdx, 1
lea rax, [rsp + 0x50]
push rax
movabs r9, 0x1402145c0
mov r8, 8
mov rcx, 8
sub rsp, 0x20
call fcn.14010f258
add rsp, 0x40
mov qword [rsp + 0x38], rax
mov dword [section..data], 0x16000af
push 2
lea rax, [rsp + 0x40]
push rax
movabs rax, str.._sites.txt
mov rcx, rax
pop rdx
pop r8
call fcn.14006aabb
mov dword [rsp + 0x48], eax
mov dword [section..data], 0x16000b1
push 0x60018
movabs rax, str.._sites.txt
mov rdx, rax
movabs rcx, 0
pop r8
call fcn.1400f03b0
and rax, rax
je 0x140053b3f
mov dword [section..data], 0x16000b2
push rcx
sub rsp, 0x28
call fcn.14012b4a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push DispGetIDsOfNames
push rcx
sub rsp, 0x20
call fcn.14012b4a0
add rsp, 0x20
pop rcx
push rax
movabs rcx, str.sitepardefaut
sub rsp, 0x20
call fcn.14012b5d0
add rsp, 0x20
mov rcx, qword [rsp + 0x48]
sub rsp, 0x20
call fcn.14012b5d0
add rsp, 0x20
call fcn.14012b700
push 0
push rax
call fcn.14012b6d0
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400f0760
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bd588
add rsp, 0x28
pop rax
and rax, rax
je 0x1400539a2
xor rax, rax
jmp 0x1400539a9
mov rax, 1
and rax, rax
je 0x140053a43
mov dword [section..data], 0x16000b3
movabs rax, 0x140209dea
push rax
movabs rax, 0x1402091c4
mov rcx, rax
pop rdx
call fcn.1400c49b4
mov dword [section..data], 0x16000b4
movabs rcx, 0
call fcn.1400eff00
mov dword [section..data], 0x16000b5
movabs rcx, 0x140207502
push rcx
sub rsp, 0x28
call fcn.14012b4a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14012b5d0
add rsp, 0x28
pop rax
push rax
call fcn.14012b6a0
pop rdx
add rax, rdx
jmp 0x140053be1
mov dword [section..data], 0x16000b6
mov dword [section..data], 0x16000b8
mov qword [rsp + 0x30], 1
jmp 0x140053a6c
mov dword [section..data], 0x16000b8
movsxd r15, dword [rsp + 0x48]
dec r15
cmp r15, qword [rsp + 0x30]
jl 0x140053abe
mov dword [section..data], 0x16000b9
push DispGetIDsOfNames
mov r15, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
shl r15, 3
mov rdx, qword [r15 + rbp]
movabs rcx, 0
pop r8
call fcn.1400f0760
mov dword [section..data], 0x16000ba
inc qword [rsp + 0x30]
jno 0x140053a62
mov dword [section..data], 0x16000bb
movabs rcx, 0
call fcn.1400eff00
mov dword [section..data], 0x16000bd
mov rcx, qword [0x14021cb3c]
call fcn.14010742c
mov dword [section..data], 0x16000be
mov rcx, qword [rsp + 0x28]
push rcx
sub rsp, 0x28
call fcn.14012b4a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14012b5d0
add rsp, 0x28
pop rax
push rax
call fcn.14012b6a0
pop rdx
add rax, rdx
jmp 0x140053be1
mov dword [section..data], 0x16000c0
mov dword [section..data], 0x16000c1
movabs rax, 0x14020b0a2
push rax
movabs rax, 0x1402091c4
mov rcx, rax
pop rdx
call fcn.1400c49b4
mov dword [section..data], 0x16000c2
movabs rcx, 0x140207502
push rcx
sub rsp, 0x28
call fcn.14012b4a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14012b5d0
add rsp, 0x28
pop rax
push rax
call fcn.14012b6a0
pop rdx
add rax, rdx
jmp 0x140053be1
mov dword [section..data], 0x16000c4
mov dword [section..data], 0x16000c5
mov dword [section..data], 0x16000c6
call fcn.14012b940
mov word [rax], 0
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.14012b910
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.14010f5ac
add rsp, 0x28
pop rax
add rsp, 0x58
pop r15
pop rbp
ret