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

Disassembly:
push 0x150
mov eax, 0x101c8240
call fcn.10094b2f
mov dword [ebp - 0x158], ecx
call fcn.10024ac3
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.100c9800
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, 0x1025eddc
push esi
call fcn.10023e87
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.100ca200
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10024ec6
xor edi, edi
inc edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.100ca200
mov eax, edi
call fcn.10094bb2
ret
push str.CMailBoxIdentify::Refresh_x2
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e87
add esp, 0x10
push edi
push 8
push 0x4355574f
push 0xb0
lea ecx, [ebp - 0x80]
call fcn.1001f005
mov byte [ebp - 4], 2
mov dword [ebp - 0x134], edi
push 1
push dword [ebp - 0x144]
lea ecx, [ebp - 0x80]
call fcn.1001ff4f
push eax
push str.CMailBoxIdentify::Refresh_x3__bRet__d_
push ebx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x13c], eax
call fcn.10023e87
add esp, 0x14
cmp dword [ebp - 0x13c], edi
jne 0x10024f4e
inc dword [ebp - 0x134]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x134], 3
jl 0x10024ef6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.1001fa4b
jmp 0x10024eaf
lea ecx, [ebp - 0x80]
call fcn.1001ea0d
push eax
push str.CMailBoxIdentify::Refresh_x4__iCount__d_
push ebx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x154], eax
call fcn.10023e87
add esp, 0x14
cmp dword [ebp - 0x154], edi
jne 0x10024f8f
lea ecx, [ebp - 0x80]
call fcn.1001f0a3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.1001fa4b
jmp 0x10024eac
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 0x100251d9
push 0xa8
lea eax, [ebp - 0x128]
push edi
push eax
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], edi
call fcn.10094bd0
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x134]
lea ecx, [ebp - 0x80]
call fcn.1001db82
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.10023e87
add esp, 0x14
cmp dword [ebp - 0x13c], edi
je 0x100251e1
push dword [ebp - 0x124]
inc dword [ebp - 0x134]
push str.CMailBoxIdentify::Refresh_x5.2__bDeleted__d_
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e87
add esp, 0x14
cmp dword [ebp - 0x124], edi
jne 0x100251ab
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.100951b6
pop ecx
test eax, eax
jbe 0x1002506e
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 0x100250df
cmp dword [edi], 0x12c
je 0x100251bf
mov eax, 0x20000
push eax
mov dword [ebp - 0x148], eax
call fcn.10061556
pop ecx
mov dword [ebp - 0x138], eax
test eax, eax
je 0x100251c6
push 4
push 0
push eax
call fcn.10094bd0
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.10094c50
add esp, 0xc
cmp dword [ebp - 0x14c], 0
jbe 0x10025128
mov eax, dword [ebp - 0x138]
cmp dword [eax + 4], 0
jne 0x1002510f
xor eax, eax
jmp 0x10025112
add eax, 8
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x120]
push ecx
push eax
call fcn.10094c50
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.10023e87
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.10023e87
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 0x10024fb3
jmp 0x100251d9
push str.CMailBoxIdentify::Refresh_x5.3
jmp 0x100251cb
push str.CMailBoxIdentify::Refresh_x5.4
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e87
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x13c], edi
jne 0x100251e9
lea ecx, [ebp - 0x80]
call fcn.1001f1ad
lea ecx, [ebp - 0x80]
call fcn.1001f0a3
push dword [ebp - 0x13c]
push str.CMailBoxIdentify::Refresh_______d_
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e87
add esp, 0x14
jmp 0x10024f7e