Function at 0x1400030d0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x11a0]
mov eax, 0x12a0
call fcn.14017fcc0
sub rsp, rax
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rsp + 0x12d8], rbx
mov rax, qword [0x140232230]
xor rax, rsp
mov qword [rbp + 0x1190], rax
mov rsi, rcx
cmp edx, 0x404
jg 0x1400039ad
je 0x140003949
dec edx
je 0x14000324b
dec edx
je 0x14000323b
cmp edx, 0x3fb
jne 0x140003a5f
xor ebx, ebx
mov word [rbp + 0xf80], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xf82]
call fcn.140171ae0
xor edx, edx
mov r8d, 0x90
lea rcx, [rbp - 8]
call fcn.140171ae0
mov dword [rbp - 0x10], ILFree
mov qword [rbp - 8], rsi
lea rax, str.PeerBlock_Lists__.p2p__.p2b__.txt_
mov qword [rbp + 8], rax
lea rax, [rbp + 0xf80]
mov qword [rbp + 0x20], rax
mov edi, 0x104
mov dword [rbp + 0x28], edi
mov dword [rbp + 0x50], 0x1800
lea rcx, [rbp - 0x10]
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x140003a5f
lea rcx, [rbp + 0x320]
lea rdx, [rbp + 0xf80]
lea rax, [rbp + 0x320]
sub rdx, rax
nop word [rax + rax]
lea rax, [rdi + 0x7ffffefa]
test rax, rax
je 0x1400031f3
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400031f3
mov word [rcx], ax
add rcx, 2
dec rdi
jne 0x1400031d0
jmp 0x1400031f8
test rdi, rdi
jne 0x1400031fc
sub rcx, 2
mov word [rcx], bx
lea rcx, [rbp + 0xb60]
call fcn.140007df0
mov rdx, rax
lea r8, [rbp + 0x320]
lea rcx, [rbp + 0x740]
call fcn.140008260
lea r8, [rbp + 0x740]
mov edx, 0x405
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x140003a5f
mov edx, 2
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x140003a5f
mov edx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r15, rax
xor r14b, r14b
mov edx, 0x404
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x1400034bf
mov r8d, 0x405
mov rdx, rsi
lea rcx, [rbp + 0x2e0]
call fcn.140007ab0
nop
cmp qword [rax + 0x18], 8
jb 0x140003293
mov rax, qword [rax]
mov r8, rax
mov edx, 0x208
lea rcx, [rbp + 0xf80]
call fcn.140007f00
nop
cmp qword [rbp + 0x2f8], 8
jb 0x1400032be
mov rcx, qword [rbp + 0x2e0]
call fcn.1401669a0
mov qword [rbp + 0x2f8], 7
xor ebx, ebx
mov qword [rbp + 0x2f0], rbx
mov word [rbp + 0x2e0], bx
lea rcx, [rbp + 0xf80]
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
lea r14d, [rbx + 4]
cmp eax, 1
je 0x140003393
lea r9, [rbp + 0x530]
lea r10, [rbp + 0xf80]
lea rcx, [rbp + 0x530]
lea rdx, [rbp + 0xf80]
mov rax, rdx
or rax, rcx
and eax, 0xf
jne 0x140003379
mov eax, r14d
nop dword [rax]
movaps xmm0, xmmword [rdx]
movaps xmmword [rcx], xmm0
movaps xmm1, xmmword [rdx + 0x10]
movaps xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [rdx + 0x20]
movaps xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [rdx + 0x30]
movaps xmmword [rcx + 0x30], xmm1
movaps xmm0, xmmword [rdx + 0x40]
movaps xmmword [rcx + 0x40], xmm0
movaps xmm1, xmmword [rdx + 0x50]
movaps xmmword [rcx + 0x50], xmm1
movaps xmm0, xmmword [rdx + 0x60]
movaps xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movaps xmm1, xmmword [rdx + 0x70]
movaps xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
dec rax
jne 0x140003320
mov rax, qword [rdx]
mov qword [rcx], rax
jmp 0x14000338a
mov r8d, 0x208
mov rdx, r10
mov rcx, r9
call fcn.1401669c0
lea rax, [rbp + 0x530]
jmp 0x1400033b5
lea rcx, [rbp + 0x90]
call fcn.140007df0
mov rcx, rax
lea r8, [rbp + 0xf80]
lea rdx, [rbp + 0xd70]
call fcn.140007bf0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x1400033df
mov edx, 0xe4
mov r9d, reloc.WS2_32.dll_recv
lea r8d, [rdx + 1]
mov rcx, rsi
call fcn.1400681f0
jmp 0x140003a5f
mov ecx, 0x238
call fcn.140166ea4
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140003424
lea rax, vtable.List.0
mov qword [rdi], rax
mov qword [rdi + 0x20], 7
mov qword [rdi + 0x18], rbx
mov word [rdi + 8], bx
mov byte [rdi + 0x2c], 1
lea rax, vtable.StaticList.0
mov qword [rdi], rax
mov word [rdi + 0x30], bx
jmp 0x140003427
mov rdi, rbx
lea rcx, [rdi + 0x30]
lea r9, [rbp + 0xf80]
lea rdx, [rbp + 0xf80]
mov rax, rdx
or rax, rcx
and eax, 0xf
jne 0x1400034a9
nop word [rax + rax]
movaps xmm0, xmmword [rdx]
movaps xmmword [rcx], xmm0
movaps xmm1, xmmword [rdx + 0x10]
movaps xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [rdx + 0x20]
movaps xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [rdx + 0x30]
movaps xmmword [rcx + 0x30], xmm1
movaps xmm0, xmmword [rdx + 0x40]
movaps xmmword [rcx + 0x40], xmm0
movaps xmm1, xmmword [rdx + 0x50]
movaps xmmword [rcx + 0x50], xmm1
movaps xmm0, xmmword [rdx + 0x60]
movaps xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movaps xmm1, xmmword [rdx + 0x70]
movaps xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
dec r14
jne 0x140003450
mov rax, qword [rdx]
mov qword [rcx], rax
jmp 0x1400034b7
mov r8d, 0x208
mov rdx, r9
call fcn.1401669c0
mov qword [r15], rdi
jmp 0x140003880
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x60], 7
xor ebx, ebx
mov qword [rbp - 0x68], rbx
mov word [rbp - 0x78], bx
lea r8d, [rbx + 0x43]
lea rdx, str._addlistproc___AddList_OnCommand_____sanity_checking_URL_based_list
lea rcx, [rbp - 0x78]
call fcn.14000dc20
nop
lea r8d, [rbx + 5]
lea rdx, [rbp - 0x78]
call fcn.140078560
mov r8d, 0x408
mov rdx, rsi
lea rcx, [rbp + 0x2a0]
call fcn.140007ab0
nop
lea r8, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 8
cmovae r8, qword [rbp + 0x2a0]
mov edx, 0x208
lea rcx, [rbp + 0x950]
call fcn.140007f00
lea rcx, [rbp + 0x950]
call qword [sym.imp.SHLWAPI.dll_PathIsURLW]
cmp eax, 1
je 0x1400035d5
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rbx
mov word [rbp - 0x58], bx
lea r8d, [rbx + 0x3d]
lea rdx, str._addlistproc___AddList_OnCommand____ERROR:__Not_a_valid_URL_
lea rcx, [rbp - 0x58]
call fcn.14000dc20
nop
lea r8d, [rbx + 2]
lea rdx, [rbp - 0x58]
call fcn.140078560
mov edx, 0xab
lea r9d, [rbx + 0x10]
lea r8d, [rdx - 1]
mov rcx, rsi
call fcn.1400681f0
nop
cmp qword [rbp + 0x2b8], 8
jb 0x1400035b7
mov rcx, qword [rbp + 0x2a0]
call fcn.1401669a0
mov qword [rbp + 0x2b8], 7
mov qword [rbp + 0x2b0], rbx
mov word [rbp + 0x2a0], bx
jmp 0x140003a5f
cmp byte [0x140239b5a], 0
je 0x1400036a5
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rbx
mov word [rsp + 0x68], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x2a0]
lea rcx, [rsp + 0x68]
call fcn.14000e0c0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x300]
call fcn.1400023c0
mov rdi, rax
lea rax, [rbp + 0x2a0]
cmp rax, rdi
je 0x140003676
cmp qword [rbp + 0x2b8], 8
jb 0x14000364d
mov rcx, qword [rbp + 0x2a0]
call fcn.1401669a0
mov qword [rbp + 0x2b8], 7
mov qword [rbp + 0x2b0], rbx
mov word [rbp + 0x2a0], bx
mov rdx, rdi
lea rcx, [rbp + 0x2a0]
call fcn.14000d860
nop
cmp qword [rbp + 0x318], 8
jb 0x14000368c
mov rcx, qword [rbp + 0x300]
call fcn.1401669a0
mov qword [rbp + 0x318], 7
mov qword [rbp + 0x310], rbx
mov word [rbp + 0x300], bx
cmp qword [rbp + 0x2b0], 0
je 0x140003783
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x48], bx
mov r8d, gethostname
lea rdx, str._addlistproc___AddList_OnCommand_____adding_new_list
lea rcx, [rsp + 0x48]
call fcn.14000dc20
nop
mov r8d, 5
lea rdx, [rsp + 0x48]
call fcn.140078560
mov ecx, 0x68
call fcn.140166ea4
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140003755
lea rax, vtable.List.0
mov qword [rdi], rax
mov qword [rdi + 0x20], 7
mov qword [rdi + 0x18], rbx
mov word [rdi + 8], bx
mov byte [rdi + 0x2c], 1
lea rax, vtable.DynamicList.0
mov qword [rdi], rax
mov qword [rdi + 0x48], 7
mov qword [rdi + 0x40], rbx
mov word [rdi + 0x30], bx
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x58], rbx
mov byte [rdi + 0x60], 0
jmp 0x140003758
mov rdi, rbx
lea rcx, [rdi + 0x30]
lea rax, [rbp + 0x2a0]
cmp rcx, rax
je 0x14000377b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x2a0]
call fcn.14000e0c0
mov r14b, 1
jmp 0x140003845
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], rbx
mov word [rbp - 0x38], bx
mov r8d, gethostname
lea rdx, str._addlistproc___AddList_OnCommand_____not_adding_new_list
lea rcx, [rbp - 0x38]
call fcn.14000dc20
nop
mov r8d, 5
lea rdx, [rbp - 0x38]
call fcn.140078560
mov ecx, 0x68
call fcn.140166ea4
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14000381f
lea rax, vtable.List.0
mov qword [rdi], rax
mov qword [rdi + 0x20], 7
mov qword [rdi + 0x18], rbx
mov word [rdi + 8], bx
mov byte [rdi + 0x2c], 1
lea rax, vtable.DynamicList.0
mov qword [rdi], rax
mov qword [rdi + 0x48], 7
mov qword [rdi + 0x40], rbx
mov word [rdi + 0x30], bx
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x58], rbx
mov byte [rdi + 0x60], 0
jmp 0x140003822
mov rdi, rbx
lea rcx, [rdi + 0x30]
lea rax, [rbp + 0x2a0]
cmp rcx, rax
je 0x140003845
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x2a0]
call fcn.14000e0c0
mov qword [r15], rdi
cmp qword [rbp + 0x2b8], 8
jb 0x14000385e
mov rcx, qword [rbp + 0x2a0]
call fcn.1401669a0
mov qword [rbp + 0x2b8], 7
mov qword [rbp + 0x2b0], rbx
mov word [rbp + 0x2a0], bx
test r14b, r14b
je 0x140003936
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
mov r8d, gethostname
lea rdx, str._addlistproc___AddList_OnCommand_____finishing_list_add
lea rcx, [rsp + 0x28]
call fcn.14000dc20
nop
mov r8d, 5
lea rdx, [rsp + 0x28]
call fcn.140078560
mov edx, 0x40a
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov ecx, ebx
cmp eax, 1
setne cl
mov rax, qword [r15]
mov dword [rax + 0x28], ecx
mov r8d, 0x40c
mov rdx, rsi
lea rcx, [rbp + 0x2c0]
call fcn.140007ab0
nop
mov rcx, qword [r15]
add rcx, 8
mov rdx, rax
call fcn.140003e40
nop
cmp qword [rbp + 0x2d8], 8
jb 0x14000391d
mov rcx, qword [rbp + 0x2c0]
call fcn.1401669a0
mov qword [rbp + 0x2d8], 7
mov qword [rbp + 0x2d0], rbx
mov word [rbp + 0x2c0], bx
mov edx, 1
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x140003a5f
mov edx, 0x408
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x405
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x3fd
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x405
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
jmp 0x140003a39
sub edx, 0x405
je 0x140003a21
sub edx, 2
je 0x1400039c3
dec edx
je 0x140003a21
jmp 0x140003a5f
mov edx, 0x405
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x3fd
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x408
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x408
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
jmp 0x140003a39
cmp r9d, 0x400
je 0x140003a36
cmp r9d, 6
je 0x140003a36
cmp r9d, 1
jne 0x140003a5f
mov rcx, r8
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ebx, ebx
test eax, eax
setg bl
mov edx, 1
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbp + 0x1190]
xor rcx, rsp
call fcn.140166980
mov rbx, qword [rsp + 0x12d8]
add rsp, 0x12a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret