Function at 0x425f10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x450590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.0044b6f4
mov ecx, ebp
mov dword [esp + 0x60], 0
call fcn.00425ee0
mov ecx, ebp
call fcn.00426260
mov ecx, ebp
call fcn.00426280
test eax, eax
jne 0x425f62
mov dword [ebp + 0x100], 0xffffffff
lea edi, [ebp + 0xf0]
push 0x105
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov ebx, eax
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, eax
push 0xffffffffffffffff
mov ecx, edi
mov byte [esi + ebx], 0
call sub.MFC42.DLL_CString::ReleaseBuffer
test esi, esi
jne 0x425fa1
mov dword [ebp + 0x100], 0xfffffffe
push 0x5c
mov ecx, edi
call sub.MFC42.DLL_CString::ReverseFind
mov ebx, eax
test ebx, ebx
jle 0x425ff5
lea eax, [ebx + 1]
mov ecx, edi
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [ebp + 0xf4]
mov byte [esp + 0x64], 1
call fcn.0044b81a
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
sub esi, ebx
dec esi
push esi
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Delete
jmp 0x425fff
mov dword [ebp + 0x100], 0xfffffffe
lea esi, [ebp + 0xf8]
push 0x105
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
mov edi, eax
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
or ebx, 0xffffffff
mov byte [eax + edi], 0x5c
push ebx
mov ecx, esi
mov byte [eax + edi + 1], 0
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
mov ecx, esi
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x426070
lea edx, [esp + 0x18]
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::Left
lea edi, [ebp + 0xfc]
push eax
mov ecx, edi
mov byte [esp + 0x64], 2
call fcn.0044b81a
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0
call sub.MFC42.DLL_CString::CString
jmp 0x42607d
lea edi, [ebp + 0xfc]
mov ecx, edi
call sub.MFC42.DLL_CString::Empty
push 0x467198
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
push str.Comctl32.dll
lea eax, [esp + 0x1c]
push esi
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call fcn.0044b81a
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, 0x475180
call fcn.00426380
cmp eax, 0x40047
jae 0x4260e3
push ebx
push 0
push 0xef24
call sub.MFC42.DLL_AfxMessageBox_1
mov dword [ebp + 0x100], 0xfffffffd
push 0x8a
push 2
push 0x8a
call sub.MFC42.DLL_AfxFindResourceHandle
mov esi, dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
call esi
push eax
lea ecx, [ebp + 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
test eax, eax
mov edi, 0xfffffffc
jne 0x426115
mov dword [ebp + 0x100], edi
push 0x8b
push 2
push 0x8b
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call esi
push eax
lea ecx, [ebp + 0x28]
call sub.MFC42.DLL_CGdiObject::Attach
test eax, eax
jne 0x42613c
mov dword [ebp + 0x100], edi
push 0x8c
push 2
push 0x8c
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call esi
push eax
lea ecx, [ebp + 0x30]
call sub.MFC42.DLL_CGdiObject::Attach
test eax, eax
jne 0x426163
mov dword [ebp + 0x100], edi
mov ecx, ebp
call fcn.00426240
test eax, eax
je 0x426178
mov dword [ebp + 0x100], 0xfffffffb
mov ecx, ebp
call fcn.00426250
test eax, eax
je 0x426213
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
mov edi, 0x4660e4
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x20], eax
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x1c], 0xfffffff5
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [ebp + 0xdc]
call sub.MFC42.DLL_CGdiObject::Attach
mov dword [ebp + 0x100], eax
call sub.MFC42.DLL_AfxGetModuleState
push 0xa7
push 0xc
push 0xa7
call sub.MFC42.DLL_AfxFindResourceHandle
mov esi, dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call esi
mov dword [ebp + 8], eax
call sub.MFC42.DLL_AfxGetModuleState
push 0x7f00
push 0
call esi
mov dword [ebp + 4], eax
mov ebp, dword [ebp + 0x100]
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], ebx
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x58]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret