Function at 0x4942a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x4f0d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov edi, dword [esp + 0x238]
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x230], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x230], 2
push 0x1ff
lea eax, [esp + 0x29]
push 0
push eax
mov byte [esp + 0x30], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 0x26
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ebp, dword [sym.imp.mfc90.dll_Ordinal_2539]
mov ebx, dword [sym.imp.MSVCR90.dll__access]
mov esi, 0xa
push esi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push str._sMicrosoft_OfficeOffice_dOUTLOOK.EXE
push eax
call ebp
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push str._sMicrosoft_OfficeOffice_d
push edx
call ebp
mov eax, dword [esp + 0x38]
push 0
push eax
call ebx
add esp, 0x28
test eax, eax
je 0x4943ca
inc esi
cmp esi, 0x11
jl 0x494350
push str.C:Program_FilesMicrosoft_Office_15_rootOffice15OUTLOOK.EXE
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push str.C:Program_FilesMicrosoft_Office_15_rootOffice15
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov edx, dword [esp + 0x18]
push 0
push edx
call ebx
add esp, 8
test eax, eax
jne 0x4943dc
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_300]
jmp 0x4944b5
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_300]
jmp 0x4944b5
push str.Files__x86__
push str.Files_
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push str.Files__x86__
push str.Files_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
mov ecx, dword [esp + 0x18]
push 0
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x494426
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_300]
jmp 0x4944b5
push str.C:Program_FilesMicrosoft_Office_rootOffice16OUTLOOK.EXE
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push str.C:Program_FilesMicrosoft_Office_rootOffice16
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x18]
push 0
push eax
call ebx
add esp, 8
test eax, eax
jne 0x494463
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_300]
jmp 0x4944b5
push str.Files__x86__
push str.Files_
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push str.Files__x86__
push str.Files_
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
mov edx, dword [esp + 0x18]
push 0
push edx
call ebx
add esp, 8
mov ecx, edi
test eax, eax
jne 0x4944aa
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
jmp 0x4944b5
push 0x5116d8
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x230], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x230], 0
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004e0148
add esp, 0x220
ret