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

Disassembly:
push 0xffffffffffffffff
push 0x1025d3a1
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.1004e650
lea eax, [esp + 0x10]
push str.msmailboxidentify.dat
push eax
call fcn.1004c9c0
add esp, 8
mov eax, dword [0x1030aa70]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x154], ebx
je 0x1004e730
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1008e290
mov edx, dword [eax]
mov byte [esp + 0x154], 1
push edx
push str.CMailBoxIdentify::Refresh_x1__file__s_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], bl
call fcn.1008ec90
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1004ead8
cmp dword [0x1030aa70], ebx
je 0x1004e765
push str.CMailBoxIdentify::Refresh_x2
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
push ebx
push 8
push 0x4355574f
push 0xb0
lea ecx, [esp + 0x3c]
call fcn.1004f570
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.1004f6c0
mov edi, eax
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1004e7be
push edi
push str.CMailBoxIdentify::Refresh_x3__bRet__d_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
test edi, edi
jne 0x1004e7fc
push 5
inc ebx
call ebp
cmp ebx, 3
jl 0x1004e789
test edi, edi
jne 0x1004e7fc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 0
call fcn.1004f650
lea ecx, [esp + 0x10]
mov dword [esp + 0x154], 0xffffffff
call fcn.1008ec90
xor eax, eax
jmp 0x1004eaf1
lea ecx, [esp + 0x2c]
call fcn.10050860
mov ebx, eax
mov eax, dword [0x1030aa70]
xor ebp, ebp
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x1004e830
push ebx
push str.CMailBoxIdentify::Refresh_x4__iCount__d_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
cmp ebx, ebp
jne 0x1004e842
lea ecx, [esp + 0x2c]
call fcn.1004fff0
jmp 0x1004eac7
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
jle 0x1004ea88
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.10050880
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [0x1030aa70]
setne cl
mov edi, ecx
test eax, eax
mov dword [esp + 0x14], edi
je 0x1004e8bc
push edi
push str.CMailBoxIdentify::Refresh_x5.1__bRet__d_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
test edi, edi
je 0x1004ea8e
mov eax, dword [0x1030aa70]
inc ebp
test eax, eax
mov dword [esp + 0x28], ebp
je 0x1004e8f3
mov edx, dword [esp + 0xa8]
push edx
push str.CMailBoxIdentify::Refresh_x5.2__bDeleted__d_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x1004ea46
mov edi, dword [esp + 0xa4]
lea eax, [esp + 0xac]
push eax
xor ebp, ebp
call fcn.10076fb2
add esp, 4
test eax, eax
jbe 0x1004e923
lea ebp, [eax + eax + 2]
mov eax, dword [esp + 0x1c]
lea ecx, [ebp + 8]
cmp ecx, eax
jbe 0x1004e97b
cmp dword [esi], 0x12c
je 0x1004ea52
push 0x20000
mov dword [esp + 0x20], 0x20000
call fcn.1024ac71
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1004ea62
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 0x1004e9ac
mov eax, ebp
test eax, eax
jne 0x1004e98e
xor edi, edi
jmp 0x1004e991
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 [0x1030aa70]
test eax, eax
je 0x1004ea20
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 0x1030a1dc
call fcn.100a4680
mov eax, dword [0x1030aa70]
add esp, 0x1c
test eax, eax
je 0x1004ea20
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 0x1030a1dc
call fcn.100a4680
add esp, 0x24
jmp 0x1004ea24
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 0x1004e858
jmp 0x1004ea84
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1004ea84
push str.CMailBoxIdentify::Refresh_x5.3
jmp 0x1004ea70
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1004ea84
push str.CMailBoxIdentify::Refresh_x5.4
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x1004ea9b
jmp 0x1004ea92
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
call fcn.10050530
lea ecx, [esp + 0x2c]
call fcn.1004fff0
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1004eac7
push edi
push str.CMailBoxIdentify::Refresh_______d_
push str.RefreshLib
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 0
call fcn.1004f650
lea ecx, [esp + 0x10]
mov dword [esp + 0x154], 0xffffffff
call fcn.1008ec90
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