Function at 0x14002e355
Capabilities:
Check if file exists

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.14012b830
mov dword [section..data], 0x16000c9
mov dword [section..data], 0x16000cb
movabs rax, str.._sites.txt
mov rcx, rax
call sub.SHLWAPI.dll_PathFileExistsW
and rax, rax
je 0x14002e644
mov dword [section..data], 0x16000cc
sub rsp, 0x18
mov rdx, 1
lea rax, [rsp + 0x40]
push rax
movabs r9, 0x1402145c0
mov r8, 8
mov rcx, 8
sub rsp, 0x20
call fcn.14010f258
add rsp, 0x40
mov qword [rsp + 0x28], rax
mov dword [section..data], 0x16000ce
push 2
lea rax, [rsp + 0x30]
push rax
movabs rax, str.._sites.txt
mov rcx, rax
pop rdx
pop r8
call fcn.14006aabb
mov dword [rsp + 0x40], eax
mov dword [section..data], 0x16000d0
movsxd r15, dword [rsp + 0x40]
and r15, r15
jle 0x14002e5fc
mov dword [section..data], 0x16000d2
mov qword [rsp + 0x38], 0
jmp 0x14002e441
mov dword [section..data], 0x16000d2
movsxd r15, dword [rsp + 0x40]
dec r15
cmp r15, qword [rsp + 0x38]
jl 0x14002e520
mov dword [section..data], 0x16000d3
movabs rax, str.sitepardefaut
push rax
mov r15, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
shl r15, 3
mov rcx, qword [r15 + rbp]
pop rdx
call fcn.1401272a0
and rax, rax
je 0x14002e48b
xor rax, rax
jmp 0x14002e492
mov rax, 1
and rax, rax
je 0x14002e4c7
mov r15, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x28]
shl r15, 3
push qword [r15 + rbp]
movabs rcx, 0x140207502
pop rdx
call fcn.14012b640
or rax, rax
jne 0x14002e4c7
mov rax, 1
jmp 0x14002e4ca
xor rax, rax
and rax, rax
je 0x14002e501
mov dword [section..data], 0x16000d4
mov r15, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x28]
shl r15, 3
mov r8, qword [r15 + rbp]
movabs rdx, 0xffffffffffffffff
mov rcx, qword [0x14021c5a4]
call fcn.1400f5580
mov dword [section..data], 0x16000d5
mov dword [section..data], 0x16000d6
inc qword [rsp + 0x38]
jno 0x14002e437
mov dword [section..data], 0x16000d9
movabs rax, str.sitepardefaut
push rax
mov rbp, qword [rsp + 0x30]
mov rcx, qword [rbp]
pop rdx
call fcn.1401272a0
and rax, rax
je 0x14002e5e6
mov dword [section..data], 0x16000da
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
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14012b4a0
add rsp, 0x28
pop rcx
push rax
push reloc.WS2_32.dll_ntohs
mov rbp, qword [rsp + 0x58]
mov rcx, qword [rbp]
pop rdx
pop r8
sub rsp, 0x20
call fcn.140127530
add rsp, 0x28
call fcn.14012b700
push qword [0x14021c5a4]
push rax
call fcn.14012b6d0
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400f4a88
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bd588
add rsp, 0x28
pop rax
mov dword [section..data], 0x16000db
mov dword [section..data], 0x16000dd
jmp 0x14002e62e
mov dword [section..data], 0x16000dd
mov dword [section..data], 0x16000de
movabs rax, str.Impossible_de_lire_le_fichier_sites.txt
push rax
movabs rax, 0x1402091c4
mov rcx, rax
pop rdx
call fcn.1400c49b4
mov dword [section..data], 0x16000df
mov dword [section..data], 0x16000e0
jmp 0x14002e67d
mov dword [section..data], 0x16000e0
mov dword [section..data], 0x16000e1
push 0x40
movabs rax, str.Cliquez_sur_le_bouton_Cr
push rax
movabs rax, str.Information
mov rcx, rax
pop rdx
pop r8
call fcn.1400c49bc
mov dword [section..data], 0x16000e2
mov dword [section..data], 0x16000e3
xor rax, rax
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.14010f5ac
add rsp, 0x28
pop rax
add rsp, 0x48
pop r15
pop rbp
ret