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

Disassembly:
push 0x150
mov eax, 0x101cde14
call fcn.10096f9a
mov dword [ebp - 0x158], ecx
call fcn.10025be0
lea eax, [ebp - 0x144]
push str.msmailboxidentify.dat
push eax
call fcn.100027f0
pop ecx
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x140]
call fcn.100cbc80
mov byte [ebp - 4], 1
push dword [eax]
mov ebx, str.RefreshLib
push str.CMailBoxIdentify::Refresh_x1__file__s_
push ebx
push 0xffffffffffffffff
mov esi, 0x10265fbc
push esi
call fcn.10024fa4
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.100cc680
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10025fe3
xor edi, edi
inc edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.100cc680
mov eax, edi
call fcn.1009701d
ret
push str.CMailBoxIdentify::Refresh_x2
push ebx
push 0xffffffffffffffff
push esi
call fcn.10024fa4
add esp, 0x10
push edi
push 8
push 0x4355574f
push 0xb0
lea ecx, [ebp - 0x80]
call fcn.10020122
mov byte [ebp - 4], 2
mov dword [ebp - 0x134], edi
push 1
push dword [ebp - 0x144]
lea ecx, [ebp - 0x80]
call fcn.1002106c
push eax
push str.CMailBoxIdentify::Refresh_x3__bRet__d_
push ebx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x13c], eax
call fcn.10024fa4
add esp, 0x14
cmp dword [ebp - 0x13c], edi
jne 0x1002606b
inc dword [ebp - 0x134]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x134], 3
jl 0x10026013
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10020b68
jmp 0x10025fcc
lea ecx, [ebp - 0x80]
call fcn.1001fb2a
push eax
push str.CMailBoxIdentify::Refresh_x4__iCount__d_
push ebx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x154], eax
call fcn.10024fa4
add esp, 0x14
cmp dword [ebp - 0x154], edi
jne 0x100260ac
lea ecx, [ebp - 0x80]
call fcn.100201c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10020b68
jmp 0x10025fc9
cmp dword [ebp - 0x154], edi
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x134], edi
jle 0x100262f6
push 0xa8
lea eax, [ebp - 0x128]
push edi
push eax
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], edi
call fcn.10097040
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x134]
lea ecx, [ebp - 0x80]
call fcn.1001ec9f
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push ecx
push str.CMailBoxIdentify::Refresh_x5.1__bRet__d_
push ebx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x13c], ecx
call fcn.10024fa4
add esp, 0x14
cmp dword [ebp - 0x13c], edi
je 0x100262fe
push dword [ebp - 0x124]
inc dword [ebp - 0x134]
push str.CMailBoxIdentify::Refresh_x5.2__bDeleted__d_
push ebx
push 0xffffffffffffffff
push esi
call fcn.10024fa4
add esp, 0x14
cmp dword [ebp - 0x124], edi
jne 0x100262c8
xor eax, eax
lea edi, [ebp - 0x14c]
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x120]
push eax
call fcn.10097626
pop ecx
test eax, eax
jbe 0x1002618b
lea eax, [eax + eax + 2]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x158]
add eax, 8
cmp eax, dword [ebp - 0x148]
jbe 0x100261fc
cmp dword [edi], 0x12c
je 0x100262dc
mov eax, 0x20000
push eax
mov dword [ebp - 0x148], eax
call fcn.100639c2
pop ecx
mov dword [ebp - 0x138], eax
test eax, eax
je 0x100262e3
push 4
push 0
push eax
call fcn.10097040
mov eax, dword [edi]
and dword [edi + eax*4 + 4], 0
mov eax, dword [edi]
mov ecx, dword [ebp - 0x138]
mov dword [edi + eax*4 + 0x4b4], ecx
mov eax, dword [edi]
add esp, 0xc
mov dword [ebp - 0x140], eax
inc eax
mov dword [edi], eax
push 8
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x138]
call fcn.100970c0
add esp, 0xc
cmp dword [ebp - 0x14c], 0
jbe 0x10026245
mov eax, dword [ebp - 0x138]
cmp dword [eax + 4], 0
jne 0x1002622c
xor eax, eax
jmp 0x1002622f
add eax, 8
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x120]
push ecx
push eax
call fcn.100970c0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x128]
push dword [ebp - 0x14c]
push str.CMailBoxIdentify::Refresh_Length__lu__CID__lu___MailAddr__s_
push str.MailBoxLib
push 4
push esi
call fcn.10024fa4
mov ecx, dword [ebp - 0x140]
lea edx, [ebp - 0x120]
push edx
push dword [ebp - 0x128]
lea eax, [edi + ecx*4 + 4]
push dword [eax]
mov dword [ebp - 0x15c], eax
push dword [edi]
push ecx
push str.CMailBoxIdentify::Refresh_____d__d___d___class:_d___mailaddr:_s_
push ebx
push 0xffffffffffffffff
push esi
call fcn.10024fa4
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x138]
add esp, 0x40
lea ecx, [ecx + eax + 8]
mov dword [ebp - 0x138], ecx
push 0xfffffffffffffff8
pop ecx
sub ecx, eax
add dword [ebp - 0x148], ecx
mov eax, dword [ebp - 0x15c]
inc dword [eax]
xor edi, edi
mov eax, dword [ebp - 0x154]
cmp dword [ebp - 0x134], eax
jl 0x100260d0
jmp 0x100262f6
push str.CMailBoxIdentify::Refresh_x5.3
jmp 0x100262e8
push str.CMailBoxIdentify::Refresh_x5.4
push ebx
push 0xffffffffffffffff
push esi
call fcn.10024fa4
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x13c], edi
jne 0x10026306
lea ecx, [ebp - 0x80]
call fcn.100202ca
lea ecx, [ebp - 0x80]
call fcn.100201c0
push dword [ebp - 0x13c]
push str.CMailBoxIdentify::Refresh_______d_
push ebx
push 0xffffffffffffffff
push esi
call fcn.10024fa4
add esp, 0x14
jmp 0x1002609b