Function at 0x425fe8
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x446d34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_COleServerDoc::COleServerDoc
push 0x4263f0
push 0x4263e0
push 0x20
lea eax, [esi + 0xf0]
xor ebx, ebx
push 0x20
push eax
mov dword [esp + 0x30], ebx
call fcn.00444314
lea ecx, [esi + 0x4f8]
mov byte [esp + 0x1c], 1
call fcn.00443248
lea ecx, [esi + 0x528]
mov byte [esp + 0x1c], 2
call fcn.00443248
lea ecx, [esi + 0x754]
mov byte [esp + 0x1c], 3
call fcn.00443248
lea ecx, [esi + 0x758]
mov byte [esp + 0x1c], 4
call fcn.00443248
lea ecx, [esi + 0x75c]
mov byte [esp + 0x1c], 5
call fcn.00443248
lea ecx, [esi + 0x7b8]
mov byte [esp + 0x1c], 6
call fcn.00443248
lea edi, [esi + 0x80c]
mov byte [esp + 0x1c], 7
mov ecx, edi
call fcn.00443248
lea ecx, [esi + 0x8ac]
mov byte [esp + 0x1c], 8
call fcn.00443248
lea ecx, [esi + 0x8b0]
mov byte [esp + 0x1c], 9
call fcn.00443248
lea ecx, [esi + 0x8b4]
mov byte [esp + 0x1c], 0xa
call fcn.00443248
lea ecx, [esi + 0x8b8]
mov byte [esp + 0x1c], 0xb
call fcn.00443248
lea ebp, [esi + 0x8c8]
mov byte [esp + 0x1c], 0xc
mov ecx, ebp
call fcn.00443248
lea ecx, [esi + 0x8d0]
mov byte [esp + 0x1c], 0xd
call fcn.00440da0
lea ecx, [esi + 0x924]
mov byte [esp + 0x1c], 0xe
call fcn.00443248
mov dword [esi], 0x44e0d4
mov ecx, esi
mov byte [esp + 0x1c], 0xf
mov dword [esi + 0x78], ebx
call sub.MFC42.DLL_CCmdTarget::EnableAutomation
mov ecx, esi
call fcn.0042b4d0
mov ecx, dword [0x45dbbc]
push esi
call fcn.004330a0
mov dword [esi + 0x770], ebx
mov dword [esi + 0x7b0], ebx
push 1
mov dword [esi + 0x7f4], ebx
push 0x44c734
mov dword [esi + 0x7e8], ebx
push 0x44c730
mov ecx, 0x45dbc0
mov dword [esi + 0x798], 0x3f800000
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x860], eax
push 1
mov ecx, esi
mov dword [esi + 0x4f4], ebx
call fcn.0040c030
mov ecx, esi
call fcn.0040bc50
push ebx
mov ecx, ebp
mov word [esi + 0x880], 0xffff
call sub.MFC42.DLL_CString::operator
mov ebp, 1
mov dword [esi + 0x8cc], ebx
mov dword [esi + 0x86c], ebp
mov dword [esi + 0x868], ebx
mov ecx, esi
mov dword [esi + 0x870], ebp
call fcn.00426d40
push 6
push 0x44c758
push 0x44c750
mov ecx, 0x45dbc0
call sub.MFC42.DLL_CWinApp::GetProfileIntA
lea ecx, [esi + 0x824]
push eax
lea edx, [esi + 0x7d4]
push ecx
mov ecx, dword [0x45dbbc]
push edx
call fcn.00433f70
cmp dword [0x45dd90], 2
je 0x4261f7
cmp dword [0x45dde0], ebx
jne 0x4261f7
mov ecx, 0x45dbc0
call fcn.004259c0
jmp 0x4261fc
mov eax, dword [0x45dde4]
mov dword [esi + 0x854], eax
mov dword [esi + 0x818], ebx
mov dword [esi + 0x814], ebp
mov dword [esi + 0x830], ebx
mov dword [esi + 0x8a8], ebx
mov dword [esi + 0x834], ebx
mov dword [esi + 0x858], ebx
mov dword [esi + 0x7d8], ebx
mov dword [esi + 0x7f0], ebx
push 0x204
mov ecx, edi
mov dword [esi + 0x81c], ebx
mov dword [esi + 0x820], ebx
mov dword [esi + 0x7ec], ebx
mov dword [esi + 0x7bc], ebx
mov dword [esi + 0x7c4], ebx
mov dword [esi + 0x7a4], ebx
mov dword [esi + 0x7a8], ebp
mov dword [esi + 0x7ac], ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x204
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0xffffffffffffffff
mov ecx, edi
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [edi]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x42629b
push 0x45c9ec
mov ecx, edi
call fcn.0044327e
push esi
lea ecx, [esi + 0x8d0]
call fcn.00440f90
mov byte [esi + 0x8f4], bl
call sub.MFC42.DLL_AfxGetModuleState
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x924]
mov dword [esi + 0x8f8], edx
mov dword [esi + 0x900], ebx
mov dword [esi + 0x904], ebx
mov dword [esi + 0x8fc], ebx
mov dword [esi + 0x91c], ebx
mov dword [esi + 0x908], ebx
mov dword [esi + 0x920], ebx
mov dword [esi + 0x928], ebx
call sub.MFC42.DLL_CString::Empty
lea ecx, [esi + 0x7b8]
mov dword [esi + 0x7cc], ebx
mov dword [esi + 0x7d0], 7
mov dword [esi + 0x838], ebx
mov dword [esi + 0x83c], ebx
mov dword [esi + 0x864], ebx
mov dword [esi + 0x7b4], ebx
mov word [esi + 0x7e4], bx
call sub.MFC42.DLL_CString::Empty
mov ecx, esi
mov dword [esi + 0x7c0], ebx
call fcn.0042b2e0
push 0xb9
push str.MagnifierWidth
push 0x44c730
mov ecx, 0x45dbc0
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0x6e
push str.MagnifierHeight
push 0x44c730
mov ecx, 0x45dbc0
mov dword [esi + 0x874], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push ebx
push str.MagnifierZoom
push 0x44c730
mov ecx, 0x45dbc0
mov dword [esi + 0x878], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov word [esi + 0x87c], ax
mov dword [esi + 0x930], ebx
mov dword [esi + 0x938], ebx
mov dword [esi + 0x934], ebp
call sub.MFC42.DLL_AfxOleLockApp
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret