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

Disassembly:
push 0x150
mov eax, 0x101c2c10
call fcn.100931c2
mov dword [ebp - 0x158], ecx
call fcn.10024a7c
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.100c7eb0
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, 0x10258cdc
push esi
call fcn.10023e40
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.100c88b0
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10024e7f
xor edi, edi
inc edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.100c88b0
mov eax, edi
call fcn.10093245
ret
push str.CMailBoxIdentify::Refresh_x2
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e40
add esp, 0x10
push edi
push 8
push 0x4355574f
push 0xb0
lea ecx, [ebp - 0x80]
call fcn.1001efbd
mov byte [ebp - 4], 2
mov dword [ebp - 0x134], edi
push 1
push dword [ebp - 0x144]
lea ecx, [ebp - 0x80]
call fcn.1001ff08
push eax
push str.CMailBoxIdentify::Refresh_x3__bRet__d_
push ebx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x13c], eax
call fcn.10023e40
add esp, 0x14
cmp dword [ebp - 0x13c], edi
jne 0x10024f07
inc dword [ebp - 0x134]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x134], 3
jl 0x10024eaf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.1001fa03
jmp 0x10024e68
lea ecx, [ebp - 0x80]
call fcn.1001e9c5
push eax
push str.CMailBoxIdentify::Refresh_x4__iCount__d_
push ebx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x154], eax
call fcn.10023e40
add esp, 0x14
cmp dword [ebp - 0x154], edi
jne 0x10024f48
lea ecx, [ebp - 0x80]
call fcn.1001f05b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.1001fa03
jmp 0x10024e65
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 0x10025192
push 0xa8
lea eax, [ebp - 0x128]
push edi
push eax
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], edi
call fcn.10093270
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x134]
lea ecx, [ebp - 0x80]
call fcn.1001db3a
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.10023e40
add esp, 0x14
cmp dword [ebp - 0x13c], edi
je 0x1002519a
push dword [ebp - 0x124]
inc dword [ebp - 0x134]
push str.CMailBoxIdentify::Refresh_x5.2__bDeleted__d_
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e40
add esp, 0x14
cmp dword [ebp - 0x124], edi
jne 0x10025164
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.10093856
pop ecx
test eax, eax
jbe 0x10025027
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 0x10025098
cmp dword [edi], 0x12c
je 0x10025178
mov eax, 0x20000
push eax
mov dword [ebp - 0x148], eax
call fcn.1005fbec
pop ecx
mov dword [ebp - 0x138], eax
test eax, eax
je 0x1002517f
push 4
push 0
push eax
call fcn.10093270
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.100932f0
add esp, 0xc
cmp dword [ebp - 0x14c], 0
jbe 0x100250e1
mov eax, dword [ebp - 0x138]
cmp dword [eax + 4], 0
jne 0x100250c8
xor eax, eax
jmp 0x100250cb
add eax, 8
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x120]
push ecx
push eax
call fcn.100932f0
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.10023e40
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.10023e40
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 0x10024f6c
jmp 0x10025192
push str.CMailBoxIdentify::Refresh_x5.3
jmp 0x10025184
push str.CMailBoxIdentify::Refresh_x5.4
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e40
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x13c], edi
jne 0x100251a2
lea ecx, [ebp - 0x80]
call fcn.1001f165
lea ecx, [ebp - 0x80]
call fcn.1001f05b
push dword [ebp - 0x13c]
push str.CMailBoxIdentify::Refresh_______d_
push ebx
push 0xffffffffffffffff
push esi
call fcn.10023e40
add esp, 0x14
jmp 0x10024f37