Function at 0x48a9c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d497d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5020a8]
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 edi, ecx
lea eax, [ebp - 0x5c]
push eax
call fcn.0048b050
mov dword [ebp - 4], 0
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48aae3
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.00482f80
mov ecx, dword [ebp - 0x70]
test cl, cl
je 0x48ab25
cmp cl, 7
je 0x48ab25
movsx eax, cl
mov byte [ebp - 4], 7
sub eax, 4
je 0x48aa7f
sub eax, 2
je 0x48aa55
sub eax, 1
jne 0x48aab3
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x48aab3
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00485250
push 0x28
push dword [esi]
call fcn.0049f9b7
push 8
push esi
call fcn.0049f9b7
add esp, 0x10
jmp 0x48aab3
test ecx, 0x100
je 0x48aab3
mov eax, dword [0x517a98]
test al, 1
jne 0x48aaa5
or eax, 1
push 0x4d6be0
mov dword [0x517a98], eax
call fcn.0049fc0f
add esp, 4
mov ecx, dword [0x502de0]
push dword [ebp - 0x78]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x48aae3
push 0x483f00
lea esi, [eax - 4]
mov byte [ebp - 4], 8
push dword [esi]
push 4
push eax
call fcn.0049f872
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0049f9c5
add esp, 8
xor edi, edi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x5c]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48ab07
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.0049fe2d
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push ecx
push str.send_date
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00484ad0
lea edx, [ebp - 0x68]
mov ecx, eax
call fcn.0048c540
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
sub eax, ecx
sar eax, 2
cmp eax, 3
jb 0x48aba6
mov edx, dword [ecx]
cmp edx, 0x7d0
jb 0x48aba6
mov eax, dword [ecx + 4]
cmp eax, 1
jb 0x48aba6
cmp eax, 0xc
ja 0x48aba6
mov ecx, dword [ecx + 8]
cmp ecx, 1
jb 0x48aba6
cmp ecx, 0x1f
ja 0x48aba6
sub esp, 0x10
push ecx
push eax
push edx
lea ecx, [ebp - 0x88]
call fcn.00474ad0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], eax
lea ecx, [ebp - 0x80]
call fcn.0045f360
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004b49b6
xor esi, esi
lea ebx, [edi + 0x3c]
test eax, eax
lea eax, [ebp - 0x58]
push ebx
cmove esi, dword [ebp - 0x28]
push eax
call fcn.004b49b6
xor ecx, ecx
add esp, 0x10
test eax, eax
cmove ecx, dword [ebp - 0x4c]
add edi, 0x34
cmp esi, ecx
je 0x48ac0b
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
mov dword [ebx + 4], ecx
mov ecx, edi
mov dword [ebx], eax
mov esi, dword [edi]
push dword [esi + 4]
push edi
call fcn.00479be0
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 4], 0
jmp 0x48ac22
push ecx
push str.reports
lea ecx, [ebp - 0x78]
call fcn.00484ad0
mov edx, edi
mov ecx, eax
call fcn.0048c6c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x48ac79
mov eax, dword [ebp - 0x60]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ac5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ad2a
push edx
push ecx
call fcn.0049f9b7
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
movsx eax, cl
sub eax, 4
je 0x48acbc
sub eax, 2
je 0x48ac92
sub eax, 1
jne 0x48acf0
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x48acf0
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00485250
push 0x28
push dword [esi]
call fcn.0049f9b7
push 8
push esi
call fcn.0049f9b7
add esp, 0x10
jmp 0x48acf0
test ecx, 0x100
je 0x48acf0
mov eax, dword [0x517a98]
test al, 1
jne 0x48ace2
or eax, 1
push 0x4d6be0
mov dword [0x517a98], eax
call fcn.0049fc0f
add esp, 4
mov ecx, dword [0x502de0]
push dword [ebp - 0x78]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x48ad20
push 0x483f00
lea esi, [eax - 4]
mov byte [ebp - 4], 5
push dword [esi]
push 4
push eax
call fcn.0049f872
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0049f9c5
add esp, 8
mov edi, 1
jmp 0x48aae5
call fcn.004a453f
int3