Function at 0x403030
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556bbb
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5c1f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push 0x104
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00539550
add esp, 0xc
lea ecx, [ebp - 0x128]
push 0x598966
call fcn.00409830
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x160]
push 0x598964
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x124], 0
call fcn.004098d0
push 0x103
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 1
xor esi, esi
push eax
push esi
mov dword [ebp - 0x140], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x128]
call fcn.004096c0
push 0x5c
push dword [ebp - 0x128]
call fcn.00538ab0
add esp, 8
test eax, eax
jne 0x40310c
or eax, 0xffffffff
jmp 0x403114
sub eax, dword [ebp - 0x128]
sar eax, 1
push eax
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x128]
call fcn.004091f0
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x128]
add ebx, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x403191
cmp dword [ebx + 0xc], 0
jl 0x403182
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x403182
push edx
call fcn.00409cb0
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403177
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x11c]
add eax, 0x10
mov dword [ebp - 0x128], eax
jmp 0x403191
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x128]
call fcn.00409d90
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x130]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4031b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x128]
mov ebx, dword [0x5cc5d0]
add ebx, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, ebx
je 0x403217
cmp dword [ebx + 0xc], 0
jl 0x403209
mov ecx, dword [edx]
cmp ecx, dword [ebx]
jne 0x403209
push edx
call fcn.00409cb0
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4031ff
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x11c]
add eax, 0x10
mov dword [0x5cc5d0], eax
jmp 0x403217
push dword [eax - 0xc]
mov ecx, 0x5cc5d0
push eax
call fcn.00409d90
push str.Calendar_Checking_Tool_n
push 0
call fcn.0040f570
push 0x599e64
push 0
call fcn.0040f570
push str.Checks_Outlook_calendars_and_items__and_reports_problems._n
push 0
call fcn.0040f570
push str.For_help__use_the____command_switch._n
push 0
call fcn.0040f570
push 0x598a0c
push 0
call fcn.0040f570
mov edx, dword [ebp - 0x144]
mov ecx, dword [ebp + 8]
push 0x5cc388
call fcn.00402d50
add esp, 0x2c
test eax, eax
je 0x40345f
mov ecx, dword [0x5cc390]
test ecx, ecx
je 0x403437
cmp dword [0x5cc394], 0
je 0x403444
mov eax, dword [0x5cc388]
test eax, eax
je 0x4032a8
lea edx, [ebp - 0x12c]
mov ecx, eax
call fcn.0040f960
mov ecx, dword [0x5cc390]
mov eax, dword [0x5cc38c]
test eax, eax
je 0x4032c4
lea edx, [ebp - 0x12c]
mov ecx, eax
call fcn.0040f960
mov ecx, dword [0x5cc390]
test ecx, ecx
je 0x4032d3
lea edx, [ebp - 0x158]
call fcn.0040f960
mov ecx, dword [0x5cc394]
test ecx, ecx
je 0x4032e8
lea edx, [ebp - 0x164]
call fcn.0040f960
mov ecx, dword [0x5cc398]
test ecx, ecx
je 0x403498
lea edx, [ebp - 0x124]
call fcn.0040f960
cmp dword [0x5cc398], 0
je 0x403498
push dword [ebp - 0x124]
lea ecx, [ebp - 0x118]
call fcn.004098d0
push str.2007
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 3
call fcn.00409620
test eax, eax
je 0x40334b
push 0x599fcc
lea ecx, [ebp - 0x118]
call fcn.00409620
test eax, eax
jne 0x403350
mov esi, 0xc
push str.2010
lea ecx, [ebp - 0x118]
call fcn.00409620
test eax, eax
je 0x403378
push 0x599fe0
lea ecx, [ebp - 0x118]
call fcn.00409620
test eax, eax
jne 0x40337d
mov esi, 0xe
push str.2013
lea ecx, [ebp - 0x118]
call fcn.00409620
test eax, eax
je 0x4033a5
push 0x599ff4
lea ecx, [ebp - 0x118]
call fcn.00409620
test eax, eax
jne 0x4033aa
mov esi, 0xf
push str.2016
lea ecx, [ebp - 0x118]
call fcn.00409620
test eax, eax
je 0x403469
push 0x59a008
lea ecx, [ebp - 0x118]
call fcn.00409620
test eax, eax
je 0x403469
test esi, esi
jne 0x40346e
push str.You_must_specify_a_valid_and_supported_Outlook_version_when_using_the__C_switch._n
push 4
call fcn.0040f570
push str.Outlook_2013_Click_To_Run_is_only_supported_with_Outlook_2007_or_2010_installed_on_the_machine._n
push 4
call fcn.0040f570
push 0x598a0c
push esi
call fcn.0040f570
add esp, 0x18
call fcn.00402a90
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x118]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403e9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x403e9e
cmp dword [0x5cc394], 0
je 0x40328c
push str.You_must_use_the__M_and__N_switches_together._n
push 4
call fcn.0040f570
push 0x598a0c
push 0
call fcn.0040f570
add esp, 0x10
call fcn.00402a90
jmp 0x403e9e
mov esi, 0x10
mov ecx, esi
call fcn.00408a90
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x118]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4034a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4034a3
lea ecx, [ebp - 0x140]
call fcn.00408d10
cmp dword [0x5cc47c], 0
je 0x4034f1
push 0
push dword [0x5cc5d4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4034f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4034f1
push eax
push str.Failed_to_create_output_directory._Please_check_and_try_again._Error:_0x_08X_n
push 4
call fcn.0040f570
push 0x598a0c
push 0
call fcn.0040f570
add esp, 0x14
call fcn.00402a90
jmp 0x403e59
call fcn.0040b530
test eax, eax
je 0x40350f
push eax
push str.Failed_creating_required_output_files._Please_close_any_opened_files_and_try_again._Error:_0x_08X_n
push 4
call fcn.0040f570
add esp, 0xc
jmp 0x403e59
cmp dword [0x5cc47c], 0
je 0x4035d8
push 0x59a2e8
lea ecx, [ebp - 0x124]
call fcn.00409830
push 0x5cc5d4
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 4
push 0x59a2ec
push eax
call fcn.00409020
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00409100
push dword [eax]
push 1
call fcn.0040f570
mov edx, dword [ebp - 0x11c]
add esp, 0x20
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403587
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x130]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4035a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4035c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x598a0c
push 1
call fcn.0040f570
add esp, 8
push str.Begin_process_n
push 3
call fcn.0040f570
push 0x598a0c
push 1
call fcn.0040f570
add esp, 0x10
call fcn.00406950
test eax, eax
jne 0x40361b
push str.Could_not_find_or_access_the_CalCheck.cfg_file._n
push eax
call fcn.0040f570
push str.Make_sure_it_exists_and_can_be_accessed_in_the_directory_with_CalCheck.exe_and_try_again._n
push 0
call fcn.0040f570
add esp, 0x10
jmp 0x403e59
push 0
mov dword [ebp - 0x120], 0
call dword [sym.imp.MAPI32.dll_Ordinal_21]
test eax, eax
je 0x40364a
push str.MAPIInitialize_NULL_
push 0x1b4
push str.CalCheck.cpp
mov ecx, eax
call fcn.0040f4f0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push 0x13
push 0
push dword [0x5cc38c]
push 0
call dword [sym.imp.MAPI32.dll_Ordinal_11]
mov esi, eax
test esi, esi
jns 0x403746
cmp esi, 0x80040113
jne 0x403695
push str.User_cancelled_the_process._n
push 0
call fcn.0040f570
add esp, 8
xor edx, edx
mov ecx, str.User_cancelled_the_process.
call fcn.0040c770
jmp 0x403746
push esi
lea eax, [ebp - 0x160]
push str._08X
push eax
call fcn.0040a180
push esi
push str.MAPILogonEx_returned_error_0x_08X_n
push 4
call fcn.0040f570
push str.Check_access_to_the_mailbox._n
push 4
call fcn.0040f570
add esp, 0x20
lea ecx, [ebp - 0x124]
push str.._Check_access_to_the_mailbox.
call fcn.00409830
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x130]
push str.ERROR:_MAPILogonEx_failed_with_error_0x
push eax
call fcn.00409020
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00409100
add esp, 0x18
mov byte [ebp - 4], 8
xor edx, edx
mov ecx, dword [eax]
call fcn.0040c770
lea ecx, [ebp - 0x11c]
call fcn.00409810
lea ecx, [ebp - 0x130]
call fcn.00409810
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.00409810
mov dword [0x5c2900], 0
cmp dword [ebp - 0x120], 0
je 0x403ccf
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x118], 0
call fcn.00409990
lea ecx, [ebp - 0x138]
call fcn.00409990
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x118]
mov ecx, dword [ebp - 0x120]
push eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x148], 0
call fcn.0040fd20
add esp, 4
test eax, eax
je 0x4037ef
push str.OpenMessageStoreGUID_lpMAPISession__pbExchangeProviderPrimaryUserGuid__lpMDB_
push 0x1db
push str.CalCheck.cpp
mov ecx, eax
call fcn.0040f4f0
add esp, 0xc
mov edx, dword [ebp - 0x118]
mov ebx, dword [sym.imp.MAPI32.dll_Ordinal_135]
test edx, edx
je 0x4038ff
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x124]
push edx
lea edx, [ebp - 0x130]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
test eax, eax
js 0x4038f9
mov edx, dword [ebp - 0x124]
test edx, edx
je 0x4038f9
mov eax, dword [ebp - 0x120]
lea esi, [ebp - 0x154]
push esi
lea esi, [ebp - 0x148]
push esi
mov ecx, dword [eax]
push 0
push 0
push edx
push dword [ebp - 0x130]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x4038f9
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x4038f9
lea ecx, [ebp - 0x150]
push ecx
push 0x3003001f
push eax
call ebx
test eax, eax
js 0x403890
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x403890
push dword [eax + 8]
jmp 0x403895
push str.Unknown
lea ecx, [ebp - 0x13c]
call fcn.00409750
lea eax, [ebp - 0x144]
push eax
push 0x3001001f
push dword [ebp - 0x154]
call ebx
test eax, eax
js 0x4038c7
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x4038c7
push dword [eax + 8]
jmp 0x4038cc
push str.Unknown
lea ecx, [ebp - 0x138]
call fcn.00409750
lea eax, [ebp - 0x13c]
mov ecx, 0x5cc5c4
push eax
call fcn.004097a0
lea eax, [ebp - 0x138]
mov ecx, 0x5cc5c0
push eax
call fcn.004097a0
mov edx, dword [ebp - 0x118]
mov ecx, dword [0x5cc388]
mov ebx, dword [sym.imp.MAPI32.dll_Ordinal_17]
test ecx, ecx
je 0x40398e
mov dword [0x5cc380], 1
call fcn.00406160
test eax, eax
je 0x403953
mov ecx, dword [ebp - 0x120]
call fcn.00403f00
test eax, eax
je 0x403c4f
push str.LoopMailboxes_lpMAPISession_
push 0x207
push str.CalCheck.cpp
mov ecx, eax
call fcn.0040f4f0
add esp, 0xc
jmp 0x403c4f
push str.Failed_to_read_Mailbox_List_file._Please_check_the_file__ensure_you_entered_the_correct_path_and_name__and_try_again._n
push 4
call fcn.0040f570
push 0x598a0c
push 0
call fcn.0040f570
add esp, 0x10
call fcn.00402a90
lea ecx, [ebp - 0x138]
call fcn.00409810
lea ecx, [ebp - 0x13c]
call fcn.00409810
jmp 0x403e59
cmp dword [0x5cc390], 0
je 0x403bfa
push dword [ebp - 0x158]
lea ecx, [ebp - 0x12c]
mov dword [0x5cc384], 1
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x11c], 0
call fcn.004098d0
push eax
mov ecx, 0x5cc5cc
mov byte [ebp - 4], 0xb
call fcn.004097a0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xa
call fcn.00409810
push dword [ebp - 0x164]
lea ecx, [ebp - 0x12c]
call fcn.004098d0
push eax
mov ecx, 0x5cc5a0
mov byte [ebp - 4], 0xc
call fcn.004097a0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xa
call fcn.00409810
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x134]
push eax
call fcn.0040fd20
mov esi, eax
add esp, 4
test esi, esi
je 0x403a5f
push str.OpenMessageStoreGUID_lpMAPISession__pbExchangeProviderPrimaryUserGuid__lpPrimaryMDB_
push 0x21d
push str.CalCheck.cpp
mov ecx, esi
call fcn.0040f4f0
add esp, 0xc
cmp dword [ebp - 0x134], 0
je 0x403a7f
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x140]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov esi, eax
test esi, esi
je 0x403a9c
push str.lpMAPISession__AdminServices_0_pSvcAdmin_
push 0x21f
push str.CalCheck.cpp
mov ecx, esi
call fcn.0040f4f0
add esp, 0xc
mov ecx, dword [ebp - 0x140]
test ecx, ecx
je 0x403abe
mov eax, dword [ecx]
lea edx, [ebp - 0x15c]
push edx
push 0
push 0
push 0x59a814
push ecx
call dword [eax + 0x28]
mov esi, eax
test esi, esi
je 0x403adb
push str.pSvcAdmin__OpenProfileSection__LPMAPIUID_pbGlobalProfileSectionGuid__NULL__0__pGlobalProfSect_
push 0x221
push str.CalCheck.cpp
mov ecx, esi
call fcn.0040f4f0
add esp, 0xc
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x403afa
lea ecx, [ebp - 0x14c]
push ecx
push 0x6602001e
push eax
call dword [sym.imp.MAPI32.dll_Ordinal_135]
mov esi, eax
test esi, esi
je 0x403b17
push str.HrGetOneProp_pGlobalProfSect_PR_PROFILE_HOME_SERVER_lpServerName_
push 0x223
push str.CalCheck.cpp
mov ecx, esi
call fcn.0040f4f0
add esp, 0xc
cmp dword [ebp - 0x134], 0
je 0x403bd0
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
je 0x403bd0
call fcn.0040f670
test eax, eax
je 0x403bd0
mov ecx, dword [ebp - 0x14c]
lea edx, [ebp - 0x11c]
mov ecx, dword [ecx + 8]
call fcn.0040f960
mov esi, dword [ebp - 0x158]
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 0x134]
push eax
push ecx
mov ecx, dword [ebp - 0x120]
push esi
push dword [ebp - 0x11c]
call fcn.0040fc20
mov edx, dword [ebp - 0x118]
add esp, 0x10
test edx, edx
je 0x403bb5
push dword [ebp - 0x120]
mov ecx, esi
call fcn.00404f30
add esp, 4
test eax, eax
je 0x403bd0
push str.ProcessMailbox_lpszMailboxDN__lpMDB__lpMAPISession_
push 0x231
push str.CalCheck.cpp
mov ecx, eax
call fcn.0040f4f0
add esp, 0xc
jmp 0x403bd0
push str.Could_not_connect._Ensure_you_are_connecting_Outlook_via_MAPI_to_an_Exchange_server._n
push 4
call fcn.0040f570
add esp, 8
xor edx, edx
mov ecx, str.ERROR:_Could_not_connect._Ensure_you_are_connecting_Outlook_via_MAPI_to_an_Exchange_server.
call fcn.0040c770
push dword [ebp - 0x14c]
call ebx
mov ecx, dword [ebp - 0x15c]
test ecx, ecx
je 0x403be8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x140]
test ecx, ecx
je 0x403c4f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x403c4f
test edx, edx
je 0x403c34
mov ecx, dword [ebp - 0x150]
push dword [ebp - 0x120]
mov ecx, dword [ecx + 8]
call fcn.00404f30
add esp, 4
test eax, eax
je 0x403c4f
push str.ProcessMailbox_lpMailboxName__Value.LPSZ__lpMDB__lpMAPISession_
push 0x243
push str.CalCheck.cpp
mov ecx, eax
call fcn.0040f4f0
add esp, 0xc
jmp 0x403c4f
push str.Could_not_connect._Ensure_you_are_connecting_Outlook_via_MAPI_to_an_Exchange_server._n
push 4
call fcn.0040f570
add esp, 8
xor edx, edx
mov ecx, str.ERROR:_Could_not_connect._Ensure_you_are_connecting_Outlook_via_MAPI_to_an_Exchange_server.
call fcn.0040c770
push dword [ebp - 0x150]
call ebx
push dword [ebp - 0x144]
call ebx
mov ecx, dword [ebp - 0x154]
test ecx, ecx
je 0x403c6f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x124]
call ebx
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x403c87
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x403c97
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x120]
push 0
push 2
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x138]
call fcn.00409810
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.00409810
push 0x598a0c
push 1
call fcn.0040f570
push str.End_process_n
push 3
call fcn.0040f570
push 0x598a0c
push 1
call fcn.0040f570
add esp, 0x18
call fcn.0040efa0
cmp dword [0x5cc47c], 0
je 0x403d13
push 0x5cc5d4
mov ecx, 0x5cc5d0
call fcn.004097a0
cmp dword [0x5cc388], 0
je 0x403dc3
cmp dword [0x5c2900], 0
je 0x403d2e
call fcn.0040bdf0
push 0x598a0c
push 0
call fcn.0040f570
add esp, 8
lea ecx, [ebp - 0x11c]
push str._for_more_information._n
call fcn.00409830
push 0x5cc5d0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0xd
push str.Please_check_the_resulting_files_in
push eax
call fcn.00409020
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00409100
push dword [eax]
push 0
call fcn.0040f570
add esp, 0x20
lea ecx, [ebp - 0x12c]
call fcn.00409810
lea ecx, [ebp - 0x148]
call fcn.00409810
lea ecx, [ebp - 0x11c]
call fcn.00409810
cmp dword [0x5cc4a0], 0
je 0x403e59
push str.Flagged_error_items_were_placed_in_the_CalCheck_folder_in_Outlook_for_each_user._n
jmp 0x403e4f
push 0x598a0c
push 0
call fcn.0040f570
add esp, 8
lea ecx, [ebp - 0x11c]
push str._for_more_information._n
call fcn.00409830
push 0x5cc5d0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0xf
push str.Please_check_the_resulting_files_in
push eax
call fcn.00409020
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x10
push ecx
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00409100
push dword [eax]
push 0
call fcn.0040f570
add esp, 0x20
lea ecx, [ebp - 0x12c]
call fcn.00409810
lea ecx, [ebp - 0x148]
call fcn.00409810
lea ecx, [ebp - 0x11c]
call fcn.00409810
cmp dword [0x5cc4a0], 0
je 0x403e59
push str.Flagged_error_items_were_placed_in_the_CalCheck_folder_in_Outlook._n
push 0
call fcn.0040f570
add esp, 8
push str._n_n
push 0
call fcn.0040f570
push str._nPrivacy_Note:_n
push 2
call fcn.0040f570
push str.The_data_files_produced_by_CalCheck_can_contain_PII_such_as_e_mail_addresses._n
push 2
call fcn.0040f570
push str.Please_delete_these_files_from_your_system_after_analysis_and_or_supplying_them_to_Microsoft_for_analysis._n
push 2
call fcn.0040f570
push str.For_more_information_on_Microsofts_privacy_standards_and_practices__please_go_to_http:__privacy.microsoft.com_en_us_default.mspx.__n
push 2
call fcn.0040f570
add esp, 0x28
call dword [sym.imp.MAPI32.dll_Ordinal_23]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x160]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403ebf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x128]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x403ee1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00535f55
mov esp, ebp
pop ebp
ret