Function at 0x14015f9f0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xdc0
mov qword [rsp + 0xda0], 0xfffffffffffffffe
mov edx, 1
mov rcx, qword [rsp + 0xdd0]
call fcn.14007c754
mov rcx, qword [rsp + 0xdd0]
add rcx, 0x220
call fcn.140006eb0
movzx eax, al
test eax, eax
je 0x14015fa4c
xor r8d, r8d
xor edx, edx
lea rcx, str.Image_name_cannot_be_empty.
call fcn.1400ef950
jmp 0x14015ff38
mov rcx, qword [rsp + 0xdd0]
add rcx, 0x218
call fcn.140006eb0
movzx eax, al
test eax, eax
je 0x14015fa7d
xor r8d, r8d
xor edx, edx
lea rcx, str.Please_set_image_path.
call fcn.1400ef950
jmp 0x14015ff38
lea rcx, [rsp + 0x380]
call fcn.14000c880
nop
mov rax, qword [rsp + 0xdd0]
mov eax, dword [rax + 0x210]
mov dword [rsp + 0x518], eax
lea rcx, [rsp + 0x380]
call fcn.1401bf080
mov rdx, qword [rsp + 0xdd0]
add rdx, 0x220
lea rcx, [rsp + 0x520]
call fcn.140002db0
mov rdx, qword [rsp + 0xdd0]
add rdx, 0x218
lea rcx, [rsp + 0x528]
call fcn.140002db0
lea rcx, [rsp + 0x30]
call fcn.14000c880
nop
lea rax, [rsp + 0xd80]
mov qword [rsp + 0xd88], rax
mov rdx, qword [rsp + 0xdd0]
add rdx, 0x220
mov rcx, qword [rsp + 0xd88]
call fcn.140001430
mov qword [rsp + 0xda8], rax
mov rdx, qword [rsp + 0xda8]
lea rcx, [rsp + 0x30]
call fcn.1401d4f50
test eax, eax
je 0x14015fb94
mov rax, qword [rsp + 0xdd0]
cmp dword [rax + 0x214], 0
je 0x14015fb62
mov rax, qword [rsp + 0xdd0]
mov eax, dword [rax + 0x210]
cmp dword [rsp + 0x1c8], eax
je 0x14015fb94
xor r8d, r8d
mov edx, gethostbyname
lea rcx, str.The_image_name_already_exists.
call fcn.1400ef950
nop
lea rcx, [rsp + 0x30]
call fcn.140014ec0
nop
lea rcx, [rsp + 0x380]
call fcn.140014ec0
jmp 0x14015ff38
mov dword [rsp + 0x1c8], 0
lea rax, [rsp + 0xd90]
mov qword [rsp + 0xd98], rax
mov rdx, qword [rsp + 0xdd0]
add rdx, 0x218
mov rcx, qword [rsp + 0xd98]
call fcn.140001430
mov qword [rsp + 0xdb0], rax
mov rdx, qword [rsp + 0xdb0]
lea rcx, [rsp + 0x30]
call fcn.1401d50b0
test eax, eax
je 0x14015fc43
mov rax, qword [rsp + 0xdd0]
cmp dword [rax + 0x214], 0
je 0x14015fc11
mov rax, qword [rsp + 0xdd0]
mov eax, dword [rax + 0x210]
cmp dword [rsp + 0x1c8], eax
je 0x14015fc43
xor r8d, r8d
mov edx, gethostbyname
lea rcx, str.The_image_path_already_exists.
call fcn.1400ef950
nop
lea rcx, [rsp + 0x30]
call fcn.140014ec0
nop
lea rcx, [rsp + 0x380]
call fcn.140014ec0
jmp 0x14015ff38
mov rdx, qword [rsp + 0xdd0]
add rdx, 0x218
lea rcx, [rsp + 0x20]
call fcn.140001430
nop
mov dx, 0x2e
lea rcx, [rsp + 0x20]
call fcn.1400068a0
mov dword [rsp + 0x370], eax
cmp dword [rsp + 0x370], 0xffffffff
je 0x14015fc97
mov edx, dword [rsp + 0x370]
add edx, 1
lea r8, str.001.
lea rcx, [rsp + 0x20]
call fcn.140010380
lea rcx, [rsp + 0x20]
call fcn.14000f8f0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14015fd17
mov rax, qword [rsp + 0xdd0]
cmp dword [rax + 0x214], 0
je 0x14015fcd6
mov rax, qword [rsp + 0xdd0]
mov eax, dword [rax + 0x210]
cmp dword [rsp + 0x1c8], eax
je 0x14015fd17
xor r8d, r8d
mov edx, 0x24
lea rcx, str.If_you_add_this_image__all_the_restore_points_it_had_will_be_lost._Want_to_continue_
call fcn.1400ef950
cmp eax, 7
jne 0x14015fd17
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
lea rcx, [rsp + 0x30]
call fcn.140014ec0
nop
lea rcx, [rsp + 0x380]
call fcn.140014ec0
jmp 0x14015ff38
lea rcx, [rsp + 0x380]
call fcn.1401bf470
test eax, eax
jne 0x14015fd35
lea rcx, [rsp + 0x380]
call fcn.1401d48c0
mov rcx, qword [rsp + 0xdd0]
mov eax, dword [rsp + 0x518]
mov dword [rcx + 0x210], eax
mov rax, qword [rsp + 0xdd0]
cmp dword [rax + 0x214], 0
jne 0x14015fef8
lea rcx, [rsp + 0x6c0]
call fcn.1401d19d0
nop
lea rcx, [rsp + 0xa00]
call fcn.140006ef0
nop
lea rdx, [rsp + 0xa00]
lea rcx, [rsp + 0x6c0]
call fcn.1401d4680
mov dword [rsp + 0xa30], 0
jmp 0x14015fdae
mov eax, dword [rsp + 0xa30]
add eax, 1
mov dword [rsp + 0xa30], eax
movsxd rbx, dword [rsp + 0xa30]
lea rcx, [rsp + 0xa00]
call fcn.140006f70
cmp rbx, rax
jae 0x14015fedd
movsxd rdx, dword [rsp + 0xa30]
lea rcx, [rsp + 0xa00]
call fcn.140006fa0
mov rcx, rax
add rcx, 0x1e8
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
cmp eax, 0xffffffff
jne 0x14015fdff
jmp 0x14015fd9d
movsxd rdx, dword [rsp + 0xa30]
lea rcx, [rsp + 0xa00]
call fcn.140006fa0
mov rcx, rax
add rcx, 0x1f0
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
test eax, eax
jne 0x14015fe5f
movsxd rdx, dword [rsp + 0xa30]
lea rcx, [rsp + 0xa00]
call fcn.140006fa0
mov rcx, rax
add rcx, 0x1f8
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
test eax, eax
je 0x14015fe64
jmp 0x14015fd9d
lea rcx, [rsp + 0xa40]
call fcn.1401d19d0
nop
movsxd rdx, dword [rsp + 0xa30]
lea rcx, [rsp + 0xa00]
call fcn.140006fa0
mov eax, dword [rax + 0x198]
mov dword [rsp + 0xbd8], eax
lea rcx, [rsp + 0xa40]
call fcn.1401d6a40
lea rcx, [rsp + 0xc30]
mov r8d, dword [rsp + 0x518]
lea rdx, [0x14023e1cc]
call fcn.140002c70
lea rcx, [rsp + 0xa40]
call fcn.1401d4410
nop
lea rcx, [rsp + 0xa40]
call fcn.140014ec0
jmp 0x14015fd9d
lea rcx, [rsp + 0xa00]
call fcn.140006f40
nop
lea rcx, [rsp + 0x6c0]
call fcn.140014ec0
mov edx, 1
mov ecx, 1
call fcn.1401bfc60
mov rcx, qword [rsp + 0xdd0]
call fcn.1400818d4
nop
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
lea rcx, [rsp + 0x30]
call fcn.140014ec0
nop
lea rcx, [rsp + 0x380]
call fcn.140014ec0
add rsp, 0xdc0
pop rbx
ret