Function at 0x14003fa60
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov rdi, rdx
mov qword [rbp - 0x38], rdx
mov r12, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x140084880]
movdqu xmmword [rbp + 0x40], xmm1
mov byte [rbp + 0x30], sil
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
lea rdx, str.__.__
lea rcx, [rbp + 0x50]
call fcn.14001a730
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0x80], rsi
mov byte [rbp + 0x88], sil
movdqa xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xa0], xmm1
mov qword [rbp + 0xb0], rsi
mov byte [rbp + 0xb8], sil
movdqa xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xd0], sil
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], rsi
mov byte [rbp + 0xe8], sil
lea r10, [rdi + 0x110]
cmp qword [r10 + 0x18], 0xf
jbe 0x14003fb67
mov r8, qword [r10]
mov rdx, r8
add rdx, qword [r10 + 0x10]
mov r10, r8
jmp 0x14003fb71
mov rdx, qword [r10 + 0x10]
add rdx, r10
mov r8, r10
mov qword [rsp + 0x28], r8
lea r9, [rbp + 0x50]
lea r8, [rbp + 0x80]
mov rcx, r10
call fcn.14001f7c0
test al, al
je 0x14003fc7e
mov rcx, qword [rbp + 0x98]
mov r8, qword [rbp + 0x90]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
ja 0x14003fbd3
lea rax, [rbp + 0xd8]
lea r8, [rbp + 0xe8]
jmp 0x14003fbdb
lea rax, [r8 + 0x18]
add r8, 0x28
cmp byte [r8], 0
je 0x14003fbeb
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
jmp 0x14003fbf4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
cmp rdx, r8
jne 0x14003fc24
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
jmp 0x14003fc31
sub r8, rdx
lea rcx, [rsp + 0x60]
call fcn.1400055d0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14003fc6c
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fc67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400402d7
call fcn.1400491b0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x40], xmm1
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rcx, qword [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], rsi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14003fcb0
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400055d0
nop
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rcx, qword [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x14003fe8c
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov rbx, rax
movabs rcx, 0x7fffffffffffffff
mov rdx, qword [rbp + 0x20]
sub rcx, rdx
cmp rcx, 0xd
jb 0x1400402e9
lea r9, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova r9, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0xd
lea rax, str._doesnt_exist
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x60]
call fcn.140005b10
nop
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::message_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__bool__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14003fd95
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fd90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400402ef
call fcn.1400491b0
xor edx, edx
mov rcx, r12
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::message::constructor_class_dpp::cluster____ptr64____ptr64]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14003fddc
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fdd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400402d7
call fcn.1400491b0
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
lea rcx, [rbp + 0x90]
call fcn.14001a610
nop
lea rcx, [rbp + 0x50]
call fcn.14001ab50
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14003fe24
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x14003fe24
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14003fe5f
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fe5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400402e3
call fcn.1400491b0
mov rax, r12
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.140049190
mov rbx, qword [rsp + 0x590]
add rsp, 0x540
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x30]
call fcn.1400136e0
mov r13, rax
mov rsi, qword [rbp + 0x20]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 9
jb 0x1400402f5
lea r15, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova r15, qword [rbp + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r14, [rsi + 9]
mov ebx, 0xf
lea rdi, [rsp + 0x40]
cmp r14, rbx
jbe 0x14003ff62
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x14003ff24
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400491b8
test rax, rax
je 0x1400402fb
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14003ff5d
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14003ff4c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400402dd
jmp 0x14003ff05
test rcx, rcx
je 0x14003ff5b
call fcn.1400491b8
mov rdi, rax
jmp 0x14003ff5d
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rbx
movsd xmm0, qword [str.Uploaded]
movsd qword [rdi], xmm0
movzx eax, byte [0x140084438]
mov byte [rdi + 8], al
lea rcx, [rdi + 9]
mov r8, rsi
mov rdx, r15
call fcn.14006eff0
mov byte [rdi + r14], 0
mov r8d, 6
lea rdx, str._from
lea rcx, [rsp + 0x40]
call fcn.140004e50
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov r9, r13
lea r8, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140035540
nop
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, qword [rbp - 0x38]
mov rdx, qword [rdx + 0x38]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::message::constructor_class_dpp::snowflake__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__enum_dpp::message_type____ptr64]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140040039
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040034
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040301
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140040088
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040082
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040307
call fcn.1400491b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400400c5
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400400c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004030d
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140040113
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004010e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040313
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
xor r8d, r8d
lea rdx, [0x140081220]
lea rcx, [rbp - 0x80]
call fcn.1400055d0
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x60]
call qword [sym.imp.dpp.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_dpp::utility::read_file_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
lea r9, [rbp - 0x80]
mov r8, rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.dpp.dll_public:_struct_dpp::message____ptr64___cdecl_dpp::message::add_file_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400401aa
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400401a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040319
call fcn.1400491b0
movdqa xmm0, xmmword [0x140084880]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400401f6
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400401f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004031f
call fcn.1400491b0
lea rdx, [rbp + 0xf0]
mov rcx, r12
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::message::constructor_struct_dpp::message_const____ptr64____ptr64]
nop
lea rcx, [rbp + 0xf0]
call qword [sym.imp.dpp.dll_public_virtual:_void___cdecl_dpp::message::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140040250
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004024b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400402d7
call fcn.1400491b0
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
lea rcx, [rbp + 0x90]
call fcn.14001a610
nop
lea rcx, [rbp + 0x50]
call fcn.14001ab50
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x140040298
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x140040298
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14003fe5f
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fe5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400402e3
jmp 0x14003fe5a
call fcn.1400500ac
nop
call fcn.140002390
nop
call fcn.1400500ac
nop
call fcn.140002430
nop
call fcn.1400500ac
nop
call fcn.140002430
int3
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
nop
call fcn.1400500ac
int3