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

Disassembly:
push 0x150
mov eax, 0x101c5782
call fcn.10094739
mov dword [ebp - 0x158], ecx
call fcn.10024ab5
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.100c9410
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, 0x1025cd9c
push esi
call fcn.10023e79
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.100c9e10
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10024eb8
xor edi, edi
inc edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.100c9e10
mov eax, edi
call fcn.100947bc
ret
push str.CMailBoxIdentify::Refresh_x2
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e79
add esp, 0x10
push edi
push 8
push 0x4355574f
push 0xb0
lea ecx, [ebp - 0x80]
call fcn.1001eff7
mov byte [ebp - 4], 2
mov dword [ebp - 0x134], edi
push 1
push dword [ebp - 0x144]
lea ecx, [ebp - 0x80]
call fcn.1001ff41
push eax
push str.CMailBoxIdentify::Refresh_x3__bRet__d_
push ebx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x13c], eax
call fcn.10023e79
add esp, 0x14
cmp dword [ebp - 0x13c], edi
jne 0x10024f40
inc dword [ebp - 0x134]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x134], 3
jl 0x10024ee8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.1001fa3d
jmp 0x10024ea1
lea ecx, [ebp - 0x80]
call fcn.1001e9ff
push eax
push str.CMailBoxIdentify::Refresh_x4__iCount__d_
push ebx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x154], eax
call fcn.10023e79
add esp, 0x14
cmp dword [ebp - 0x154], edi
jne 0x10024f81
lea ecx, [ebp - 0x80]
call fcn.1001f095
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.1001fa3d
jmp 0x10024e9e
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 0x100251cb
push 0xa8
lea eax, [ebp - 0x128]
push edi
push eax
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], edi
call fcn.100947e0
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x134]
lea ecx, [ebp - 0x80]
call fcn.1001db74
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.10023e79
add esp, 0x14
cmp dword [ebp - 0x13c], edi
je 0x100251d3
push dword [ebp - 0x124]
inc dword [ebp - 0x134]
push str.CMailBoxIdentify::Refresh_x5.2__bDeleted__d_
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e79
add esp, 0x14
cmp dword [ebp - 0x124], edi
jne 0x1002519d
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.10094dc6
pop ecx
test eax, eax
jbe 0x10025060
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 0x100250d1
cmp dword [edi], 0x12c
je 0x100251b1
mov eax, 0x20000
push eax
mov dword [ebp - 0x148], eax
call fcn.10061162
pop ecx
mov dword [ebp - 0x138], eax
test eax, eax
je 0x100251b8
push 4
push 0
push eax
call fcn.100947e0
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.10094860
add esp, 0xc
cmp dword [ebp - 0x14c], 0
jbe 0x1002511a
mov eax, dword [ebp - 0x138]
cmp dword [eax + 4], 0
jne 0x10025101
xor eax, eax
jmp 0x10025104
add eax, 8
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x120]
push ecx
push eax
call fcn.10094860
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.10023e79
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.10023e79
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 0x10024fa5
jmp 0x100251cb
push str.CMailBoxIdentify::Refresh_x5.3
jmp 0x100251bd
push str.CMailBoxIdentify::Refresh_x5.4
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e79
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x13c], edi
jne 0x100251db
lea ecx, [ebp - 0x80]
call fcn.1001f19f
lea ecx, [ebp - 0x80]
call fcn.1001f095
push dword [ebp - 0x13c]
push str.CMailBoxIdentify::Refresh_______d_
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e79
add esp, 0x14
jmp 0x10024f70