Function at 0x40c3a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
xor eax, eax
mov esi, ecx
push edi
mov dword [ebp - 4], eax
mov edx, str._n_nProcessing_file:
mov eax, dword [ebp + 8]
push 0x410180
push ecx
mov ecx, dword [esi + 0x18]
mov ebx, dword [eax]
mov dword [ebp - 8], esi
call fcn.0040fd30
mov edx, ebx
mov ecx, eax
call fcn.0040ff70
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
cmp dword [ebx + 0x14], 8
jb 0x40c3e9
mov eax, dword [ebx]
jmp 0x40c3eb
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40c3fb
test al, 0x10
jne 0x40c43c
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.00401bf0
xor ecx, ecx
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], cx
lea ecx, [ebp - 0x20]
push eax
mov dword [ebp - 0x10], 0
call fcn.0040aff0
mov eax, 3
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
call fcn.00410d80
mov byte [ebp + 0xb], 0
test eax, eax
je 0x40c440
mov byte [ebp + 0xb], 1
mov eax, dword [ebp - 4]
test al, 2
je 0x40c478
mov ecx, dword [ebp - 0xc]
and eax, 0xfffffffd
mov dword [ebp - 4], eax
cmp ecx, 8
jb 0x40c464
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x20]
call fcn.0040bd10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], cx
test al, 1
je 0x40c48e
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x40c48e
inc eax
push eax
push dword [ebp - 0x38]
call fcn.0040bd10
cmp byte [ebp + 0xb], 0
je 0x40c4cc
push 0x410180
push ecx
mov ecx, dword [esi + 0x18]
mov edx, str._tFiltered_out_file:
call fcn.0040fd30
mov edx, ebx
mov ecx, eax
call fcn.0040ff70
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov eax, dword [ebp + 0xc]
inc dword [eax + 8]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 0xc]
mov esi, 1
mov dword [ebp - 4], 3
mov byte [ebp + 0xb], 0
nop
mov eax, dword [ebp - 8]
mov edx, str._nSequence_of_sending:
push 0x410180
push esi
mov ecx, dword [eax + 0x18]
call fcn.0040fd30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
lea eax, [ebp + 0xb]
push eax
push ecx
mov ecx, dword [edi + 4]
push ebx
call fcn.0040be50
test al, al
jne 0x40c558
dec dword [ebp - 4]
inc esi
cmp byte [0x46e100], al
je 0x40c54e
mov eax, dword [ebp - 8]
mov edx, str.Failed_to_send_file:
push 0x410180
push ecx
mov ecx, dword [eax + 0x18]
call fcn.0040fd30
mov edx, ebx
mov ecx, eax
call fcn.0040ff70
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
inc dword [edi + 0xc]
cmp esi, 4
jl 0x40c4e0
jmp 0x40c595
cmp byte [0x46e100], 0
je 0x40c58b
mov eax, dword [ebp - 8]
mov edx, str.Succeeded_in_sending_file:
push 0x410180
push ecx
mov ecx, dword [eax + 0x18]
call fcn.0040fd30
mov edx, ebx
mov ecx, eax
call fcn.0040ff70
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov ecx, ebx
call fcn.004022f0
inc dword [edi + 0x10]
mov esi, dword [ebp - 4]
mov edx, str.Network_status:
test esi, esi
push 0x410180
push ecx
setg al
movzx eax, al
push eax
mov eax, dword [ebp - 8]
push ecx
mov ecx, dword [eax + 0x18]
call fcn.0040fd30
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___bool_]
mov edx, str._after_sending_file:
mov ecx, eax
call fcn.0040fd30
mov edx, ebx
mov ecx, eax
call fcn.0040ff70
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
xor eax, eax
test esi, esi
jg 0x40c5ef
cmp byte [ebp + 0xb], al
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8