Function at 0x67850a40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x67984371
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x150]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x67850cac
mov eax, dword [ebp + 8]
test eax, eax
je 0x67850cac
mov ecx, dword [esi + 0x100]
mov eax, dword [esi + 0x84]
inc eax
mov edx, dword [ecx + 0x2c]
cmp eax, edx
jge 0x67850af4
test eax, eax
jl 0x67850aa7
cmp eax, dword [ecx + 0x2c]
jge 0x67850aa7
mov ecx, dword [ecx + 0x28]
mov edi, dword [ecx + eax*4]
jmp 0x67850aa9
xor edi, edi
mov edx, dword [esi]
mov ebx, dword [edi + 0x88]
mov ecx, esi
call dword [edx + 0x154]
cmp ebx, eax
jl 0x67850af4
mov eax, dword [esi]
mov ebx, dword [edi + 0x88]
mov ecx, esi
call dword [eax + 0x154]
add eax, dword [ebp + 4]
cmp ebx, eax
jg 0x67850af4
mov ecx, dword [esi + 0x100]
push edi
mov edx, dword [ecx]
call dword [edx + 0x58]
mov ecx, dword [esi + 0x100]
mov eax, dword [esi + 0x84]
inc eax
mov edx, dword [ecx + 0x2c]
cmp eax, edx
jl 0x67850a96
mov ecx, dword [esi + 0x108]
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBar::IsCustomizeMode_void_const
test eax, eax
je 0x67850b1b
mov eax, dword [esi]
push 1
mov ecx, esi
mov dword [esi + 0xd4], 0
call dword [eax + 0x6c]
jmp 0x67850cac
mov ecx, dword [ebp + 8]
xor edi, edi
mov edx, dword [ecx]
cmp dword [edx - 8], edi
jne 0x67850b3a
mov eax, dword [esi]
push edi
mov ecx, esi
mov dword [esi + 0xd4], edi
call dword [eax + 0x6c]
jmp 0x67850cac
mov ebx, dword [esi + 0xd4]
lea ecx, [esp + 0x24]
or ebx, 1
push ecx
push 0x104
mov dword [esi + 0xd4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
lea ecx, [esp + 0x10]
mov byte [esp + ebx + 0x24], 0x5c
inc ebx
mov dword [esp + 0x18], ebx
mov byte [esp + ebx + 0x24], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x134], edi
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp + 4]
mov byte [esp + 0x134], 1
test eax, eax
jle 0x67850c87
jmp 0x67850bab
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 1
lea eax, [esp + 0x28]
push ebx
push eax
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CRecentFileList::GetDisplayName
test eax, eax
je 0x67850c87
mov edx, dword [esi + 0x84]
push 1
mov ecx, esi
lea eax, [edi + edx + 1]
mov edx, dword [esi]
push eax
push sym.MfcHlpr520.dll____C__00A___AA_
call dword [edx + 0x154]
mov ecx, dword [esi + 0x100]
add eax, edi
push eax
push 1
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPControls::Add_enum_MHPControlType__int__char_const___int__int_
mov ebp, eax
lea ebx, [edi + 1]
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x24]
push eax
push ecx
call sym.MfcHlpr520.dll_public:_static_class_CString___cdecl_CMHPControlWindowList::ConstructCaption_class_CString_const___int_
add esp, 0xc
mov eax, dword [eax]
mov ecx, ebp
push eax
mov byte [esp + 0x138], 2
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPControl::SetCaption_char_const__
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 1
call sub.MFC42.DLL_CString::CString
push 8
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPToolBar::EnableDocking_unsigned_long_int_
test edi, edi
jne 0x67850c4d
mov eax, dword [esi + 0x84]
test eax, eax
je 0x67850c4d
mov eax, 1
jmp 0x67850c4f
xor eax, eax
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x64]
mov ecx, esi
call sym.MfcHlpr520.dll_public:_unsigned_int___thiscall_CMHPTrayIcon::GetCallbackMessage_void_
test al, 0x80
je 0x67850c78
test edi, edi
jne 0x67850c78
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_unsigned_int___thiscall_CMHPTrayIcon::GetCallbackMessage_void_
or al, 0x80
mov ecx, ebp
push eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPToolBar::EnableDocking_unsigned_long_int_
mov eax, dword [esp + 0x14]
mov edi, ebx
cmp edi, dword [eax + 4]
jl 0x67850ba3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 4