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

Disassembly:
push 0xffffffffffffffff
push 0x1025f321
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
call fcn.1004ea00
lea eax, [esp + 0x10]
push str.msmailboxidentify.dat
push eax
call fcn.1004cd70
add esp, 8
mov eax, dword [0x1030ceb0]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x154], ebx
je 0x1004eae0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.100901f0
mov edx, dword [eax]
mov byte [esp + 0x154], 1
push edx
push str.CMailBoxIdentify::Refresh_x1__file__s_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], bl
call fcn.10090bf0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1004ee88
cmp dword [0x1030ceb0], ebx
je 0x1004eb15
push str.CMailBoxIdentify::Refresh_x2
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
push ebx
push 8
push 0x4355574f
push 0xb0
lea ecx, [esp + 0x3c]
call fcn.1004f920
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x154], 2
mov ecx, dword [esp + 0x10]
push 1
push ecx
lea ecx, [esp + 0x34]
call fcn.1004fa70
mov edi, eax
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1004eb6e
push edi
push str.CMailBoxIdentify::Refresh_x3__bRet__d_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
test edi, edi
jne 0x1004ebac
push 5
inc ebx
call ebp
cmp ebx, 3
jl 0x1004eb39
test edi, edi
jne 0x1004ebac
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 0
call fcn.1004fa00
lea ecx, [esp + 0x10]
mov dword [esp + 0x154], 0xffffffff
call fcn.10090bf0
xor eax, eax
jmp 0x1004eea1
lea ecx, [esp + 0x2c]
call fcn.10050c10
mov ebx, eax
mov eax, dword [0x1030ceb0]
xor ebp, ebp
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x1004ebe0
push ebx
push str.CMailBoxIdentify::Refresh_x4__iCount__d_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
cmp ebx, ebp
jne 0x1004ebf2
lea ecx, [esp + 0x2c]
call fcn.100503a0
jmp 0x1004ee77
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
jle 0x1004ee38
xor edx, edx
mov ecx, 0x2a
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edx
xor eax, eax
lea edi, [esp + 0xa4]
push edx
lea edx, [esp + 0xa0]
rep stosd dword es:[edi], eax
push edx
push ebp
lea ecx, [esp + 0x38]
call fcn.10050c30
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [0x1030ceb0]
setne cl
mov edi, ecx
test eax, eax
mov dword [esp + 0x14], edi
je 0x1004ec6c
push edi
push str.CMailBoxIdentify::Refresh_x5.1__bRet__d_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
test edi, edi
je 0x1004ee3e
mov eax, dword [0x1030ceb0]
inc ebp
test eax, eax
mov dword [esp + 0x28], ebp
je 0x1004eca3
mov edx, dword [esp + 0xa8]
push edx
push str.CMailBoxIdentify::Refresh_x5.2__bDeleted__d_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x1004edf6
mov edi, dword [esp + 0xa4]
lea eax, [esp + 0xac]
push eax
xor ebp, ebp
call fcn.10078f12
add esp, 4
test eax, eax
jbe 0x1004ecd3
lea ebp, [eax + eax + 2]
mov eax, dword [esp + 0x1c]
lea ecx, [ebp + 8]
cmp ecx, eax
jbe 0x1004ed2b
cmp dword [esi], 0x12c
je 0x1004ee02
push 0x20000
mov dword [esp + 0x20], 0x20000
call fcn.1024cbd1
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1004ee12
mov dword [ebx], 0
mov edx, dword [esi]
mov dword [esi + edx*4 + 4], 0
mov eax, dword [esi]
mov dword [esi + eax*4 + 0x4b4], ebx
mov eax, dword [esi]
mov dword [esp + 0x20], eax
inc eax
mov dword [esi], eax
mov dword [ebx], edi
mov dword [ebx + 4], ebp
test ebp, ebp
jbe 0x1004ed5c
mov eax, ebp
test eax, eax
jne 0x1004ed3e
xor edi, edi
jmp 0x1004ed41
lea edi, [ebx + 8]
mov ecx, ebp
lea esi, [esp + 0xac]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1004edd0
mov ecx, dword [esp + 0xa4]
lea eax, [esp + 0xac]
push eax
push ecx
push ebp
push str.CMailBoxIdentify::Refresh_Length__lu__CID__lu___MailAddr__s_
push str.MailBoxLib
push 4
push 0x1030c61c
call fcn.100a65e0
mov eax, dword [0x1030ceb0]
add esp, 0x1c
test eax, eax
je 0x1004edd0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xa4]
lea edx, [esp + 0xac]
mov ecx, dword [esi + edi*4 + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
push edi
push str.CMailBoxIdentify::Refresh_____d__d___d___class:_d___mailaddr:_s_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x24
jmp 0x1004edd4
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, 0xfffffff8
sub eax, ebp
lea ebx, [ebx + ebp + 8]
mov ebp, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esi + edi*4 + 4]
mov dword [esp + 0x1c], ecx
inc eax
mov dword [esi + edi*4 + 4], eax
cmp ebp, dword [esp + 0x18]
jl 0x1004ec08
jmp 0x1004ee34
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1004ee34
push str.CMailBoxIdentify::Refresh_x5.3
jmp 0x1004ee20
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1004ee34
push str.CMailBoxIdentify::Refresh_x5.4
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x1004ee4b
jmp 0x1004ee42
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
call fcn.100508e0
lea ecx, [esp + 0x2c]
call fcn.100503a0
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1004ee77
push edi
push str.CMailBoxIdentify::Refresh_______d_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 0
call fcn.1004fa00
lea ecx, [esp + 0x10]
mov dword [esp + 0x154], 0xffffffff
call fcn.10090bf0
mov eax, 1
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret