Function at 0x4c2370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566f4e
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5a6124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x5c]
push eax
call fcn.004c28b0
mov dword [ebp - 4], 0
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c23ea
and dword [ebp - 0x70], 0xfffffe00
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x78]
mov ecx, dword [ebp - 0x5c]
call fcn.004abf20
mov eax, dword [ebp - 0x70]
test al, al
je 0x4c2441
cmp al, 7
je 0x4c2441
lea ecx, [ebp - 0x78]
call fcn.004affc0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c257d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c257b
mov eax, dword [ecx + 4]
mov ecx, dword [eax]
mov edi, dword [ecx + 4]
cmp ecx, vtable.ATL::CWin32Heap.0
jne 0x4c2579
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c257d
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push 0
push str.send_date
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.004b0e40
lea edx, [ebp - 0x68]
mov ecx, eax
call fcn.004c5740
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
sub eax, edi
sar eax, 2
cmp eax, 3
jb 0x4c24c9
mov ecx, dword [edi]
cmp ecx, 0x7d0
jb 0x4c24c9
mov eax, dword [edi + 4]
cmp eax, 1
jb 0x4c24c9
cmp eax, 0xc
ja 0x4c24c9
mov eax, dword [edi + 8]
cmp eax, 1
jb 0x4c24c9
cmp eax, 0x1f
ja 0x4c24c9
push ecx
push 0
push 0
push 0
push eax
push dword [edi + 4]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00480b60
mov ecx, dword [eax]
mov dword [esi + 0x3c], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x40], eax
lea ecx, [ebp - 0x80]
call fcn.0045b860
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x80]
call fcn.004bffb0
test eax, eax
je 0x4c24e6
mov ebx, dword [eax + 0xc]
jmp 0x4c24e8
xor ebx, ebx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [esi + 0x3c]
call fcn.004bffb0
test eax, eax
je 0x4c24fd
mov eax, dword [eax + 0xc]
jmp 0x4c24ff
xor eax, eax
cmp ebx, eax
je 0x4c253b
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x7c]
mov dword [esi + 0x40], eax
mov byte [ebp - 4], 4
lea ecx, [esi + 0x34]
mov eax, dword [esi + 0x34]
push dword [eax + 4]
call fcn.004896b0
mov eax, dword [esi + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x34]
mov dword [eax], eax
mov eax, dword [esi + 0x34]
mov dword [eax + 8], eax
mov dword [esi + 0x38], 0
jmp 0x4c2554
push 0
push str.reports
lea ecx, [ebp - 0x78]
call fcn.004b0e40
lea edx, [esi + 0x34]
mov ecx, eax
call fcn.004c58b0
test edi, edi
je 0x4c2567
mov eax, dword [ebp - 0x60]
sub eax, edi
sar eax, 2
push eax
push edi
call fcn.004bbc50
lea ecx, [ebp - 0x78]
call fcn.004affc0
mov esi, 1
jmp 0x4c23ec
mov ecx, eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00502bf3
mov esp, ebp
pop ebp
ret