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

Disassembly:
push 0x150
mov eax, 0x101cb8e2
call fcn.10096dc9
mov dword [ebp - 0x158], ecx
call fcn.10025bcc
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.100cbab0
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, 0x10263e7c
push esi
call fcn.10024f90
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.100cc4d0
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10025fcf
xor edi, edi
inc edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.100cc4d0
mov eax, edi
call fcn.10096e4c
ret
push str.CMailBoxIdentify::Refresh_x2
push ebx
push 0xffffffffffffffff
push esi
call fcn.10024f90
add esp, 0x10
push edi
push 8
push 0x4355574f
push 0xb0
lea ecx, [ebp - 0x80]
call fcn.1002010b
mov byte [ebp - 4], 2
mov dword [ebp - 0x134], edi
push 1
push dword [ebp - 0x144]
lea ecx, [ebp - 0x80]
call fcn.10021055
push eax
push str.CMailBoxIdentify::Refresh_x3__bRet__d_
push ebx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x13c], eax
call fcn.10024f90
add esp, 0x14
cmp dword [ebp - 0x13c], edi
jne 0x10026057
inc dword [ebp - 0x134]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x134], 3
jl 0x10025fff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10020b51
jmp 0x10025fb8
lea ecx, [ebp - 0x80]
call fcn.1001fb13
push eax
push str.CMailBoxIdentify::Refresh_x4__iCount__d_
push ebx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x154], eax
call fcn.10024f90
add esp, 0x14
cmp dword [ebp - 0x154], edi
jne 0x10026098
lea ecx, [ebp - 0x80]
call fcn.100201a9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10020b51
jmp 0x10025fb5
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 0x100262e2
push 0xa8
lea eax, [ebp - 0x128]
push edi
push eax
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], edi
call fcn.10096e70
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x134]
lea ecx, [ebp - 0x80]
call fcn.1001ec88
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.10024f90
add esp, 0x14
cmp dword [ebp - 0x13c], edi
je 0x100262ea
push dword [ebp - 0x124]
inc dword [ebp - 0x134]
push str.CMailBoxIdentify::Refresh_x5.2__bDeleted__d_
push ebx
push 0xffffffffffffffff
push esi
call fcn.10024f90
add esp, 0x14
cmp dword [ebp - 0x124], edi
jne 0x100262b4
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.10097456
pop ecx
test eax, eax
jbe 0x10026177
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 0x100261e8
cmp dword [edi], 0x12c
je 0x100262c8
mov eax, 0x20000
push eax
mov dword [ebp - 0x148], eax
call fcn.100637ec
pop ecx
mov dword [ebp - 0x138], eax
test eax, eax
je 0x100262cf
push 4
push 0
push eax
call fcn.10096e70
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.10096ef0
add esp, 0xc
cmp dword [ebp - 0x14c], 0
jbe 0x10026231
mov eax, dword [ebp - 0x138]
cmp dword [eax + 4], 0
jne 0x10026218
xor eax, eax
jmp 0x1002621b
add eax, 8
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x120]
push ecx
push eax
call fcn.10096ef0
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.10024f90
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.10024f90
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 0x100260bc
jmp 0x100262e2
push str.CMailBoxIdentify::Refresh_x5.3
jmp 0x100262d4
push str.CMailBoxIdentify::Refresh_x5.4
push ebx
push 0xffffffffffffffff
push esi
call fcn.10024f90
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x13c], edi
jne 0x100262f2
lea ecx, [ebp - 0x80]
call fcn.100202b3
lea ecx, [ebp - 0x80]
call fcn.100201a9
push dword [ebp - 0x13c]
push str.CMailBoxIdentify::Refresh_______d_
push ebx
push 0xffffffffffffffff
push esi
call fcn.10024f90
add esp, 0x14
jmp 0x10026087