Function at 0x140163ca0
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.14007d790
mov rcx, qword [rsp + 0xdd0]
add rcx, 0x220
call fcn.140006ea0
movzx eax, al
test eax, eax
je 0x140163cfc
xor r8d, r8d
xor edx, edx
lea rcx, str.Image_name_cannot_be_empty.
call fcn.1400f0bf0
jmp 0x1401641e8
mov rcx, qword [rsp + 0xdd0]
add rcx, 0x218
call fcn.140006ea0
movzx eax, al
test eax, eax
je 0x140163d2d
xor r8d, r8d
xor edx, edx
lea rcx, str.Please_set_image_path.
call fcn.1400f0bf0
jmp 0x1401641e8
lea rcx, [rsp + 0x380]
call fcn.14000d650
nop
mov rax, qword [rsp + 0xdd0]
mov eax, dword [rax + 0x210]
mov dword [rsp + 0x518], eax
lea rcx, [rsp + 0x380]
call fcn.1401cb860
mov rdx, qword [rsp + 0xdd0]
add rdx, 0x220
lea rcx, [rsp + 0x520]
call fcn.140002ce0
mov rdx, qword [rsp + 0xdd0]
add rdx, 0x218
lea rcx, [rsp + 0x528]
call fcn.140002ce0
lea rcx, [rsp + 0x30]
call fcn.14000d650
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.1401e3d20
test eax, eax
je 0x140163e44
mov rax, qword [rsp + 0xdd0]
cmp dword [rax + 0x214], 0
je 0x140163e12
mov rax, qword [rsp + 0xdd0]
mov eax, dword [rax + 0x210]
cmp dword [rsp + 0x1c8], eax
je 0x140163e44
xor r8d, r8d
mov edx, gethostbyname
lea rcx, str.The_image_name_already_exists.
call fcn.1400f0bf0
nop
lea rcx, [rsp + 0x30]
call fcn.140005e30
nop
lea rcx, [rsp + 0x380]
call fcn.140005e30
jmp 0x1401641e8
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.1401e3e80
test eax, eax
je 0x140163ef3
mov rax, qword [rsp + 0xdd0]
cmp dword [rax + 0x214], 0
je 0x140163ec1
mov rax, qword [rsp + 0xdd0]
mov eax, dword [rax + 0x210]
cmp dword [rsp + 0x1c8], eax
je 0x140163ef3
xor r8d, r8d
mov edx, gethostbyname
lea rcx, str.The_image_path_already_exists.
call fcn.1400f0bf0
nop
lea rcx, [rsp + 0x30]
call fcn.140005e30
nop
lea rcx, [rsp + 0x380]
call fcn.140005e30
jmp 0x1401641e8
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.140006920
mov dword [rsp + 0x370], eax
cmp dword [rsp + 0x370], 0xffffffff
je 0x140163f47
mov edx, dword [rsp + 0x370]
add edx, 1
lea r8, [0x14024f318]
lea rcx, [rsp + 0x20]
call fcn.140006160
lea rcx, [rsp + 0x20]
call fcn.140050200
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140163fc7
mov rax, qword [rsp + 0xdd0]
cmp dword [rax + 0x214], 0
je 0x140163f86
mov rax, qword [rsp + 0xdd0]
mov eax, dword [rax + 0x210]
cmp dword [rsp + 0x1c8], eax
je 0x140163fc7
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.1400f0bf0
cmp eax, 7
jne 0x140163fc7
lea rcx, [rsp + 0x20]
call fcn.140007060
nop
lea rcx, [rsp + 0x30]
call fcn.140005e30
nop
lea rcx, [rsp + 0x380]
call fcn.140005e30
jmp 0x1401641e8
lea rcx, [rsp + 0x380]
call fcn.1401cbc50
test eax, eax
jne 0x140163fe5
lea rcx, [rsp + 0x380]
call fcn.1401e3690
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 0x1401641a8
lea rcx, [rsp + 0x6c0]
call fcn.1401e0790
nop
lea rcx, [rsp + 0xa00]
call fcn.140007080
nop
lea rdx, [rsp + 0xa00]
lea rcx, [rsp + 0x6c0]
call fcn.1401e3450
mov dword [rsp + 0xa30], 0
jmp 0x14016405e
mov eax, dword [rsp + 0xa30]
add eax, 1
mov dword [rsp + 0xa30], eax
movsxd rbx, dword [rsp + 0xa30]
lea rcx, [rsp + 0xa00]
call fcn.140007100
cmp rbx, rax
jae 0x14016418d
movsxd rdx, dword [rsp + 0xa30]
lea rcx, [rsp + 0xa00]
call fcn.140007130
mov rcx, rax
add rcx, 0x1e8
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
cmp eax, 0xffffffff
jne 0x1401640af
jmp 0x14016404d
movsxd rdx, dword [rsp + 0xa30]
lea rcx, [rsp + 0xa00]
call fcn.140007130
mov rcx, rax
add rcx, 0x1f0
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
test eax, eax
jne 0x14016410f
movsxd rdx, dword [rsp + 0xa30]
lea rcx, [rsp + 0xa00]
call fcn.140007130
mov rcx, rax
add rcx, 0x1f8
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
test eax, eax
je 0x140164114
jmp 0x14016404d
lea rcx, [rsp + 0xa40]
call fcn.1401e0790
nop
movsxd rdx, dword [rsp + 0xa30]
lea rcx, [rsp + 0xa00]
call fcn.140007130
mov eax, dword [rax + 0x198]
mov dword [rsp + 0xbd8], eax
lea rcx, [rsp + 0xa40]
call fcn.1401e5810
lea rcx, [rsp + 0xc30]
mov r8d, dword [rsp + 0x518]
lea rdx, [0x14024f3dc]
call fcn.140002ba0
lea rcx, [rsp + 0xa40]
call fcn.1401e31e0
nop
lea rcx, [rsp + 0xa40]
call fcn.140005e30
jmp 0x14016404d
lea rcx, [rsp + 0xa00]
call fcn.1400070d0
nop
lea rcx, [rsp + 0x6c0]
call fcn.140005e30
mov edx, 1
mov ecx, 1
call fcn.1401cc440
mov rcx, qword [rsp + 0xdd0]
call fcn.140082910
nop
lea rcx, [rsp + 0x20]
call fcn.140007060
nop
lea rcx, [rsp + 0x30]
call fcn.140005e30
nop
lea rcx, [rsp + 0x380]
call fcn.140005e30
add rsp, 0xdc0
pop rbx
ret