Function at 0x4072f0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
push ebp
cmp eax, 2
mov ebp, ecx
jne 0x407749
push ebx
push esi
push edi
push 0x100
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
push 0x100
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40733f
push 0x424220
push ebx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x40734b
push ebx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, str._setdz.mdb
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00406530
push ebx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [0x425218]
add esp, 4
push str._______
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [0x425268]
push 0
push 0x140
push 0x1f4
push 0x78
push 0x64
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425248]
push 0
push 0x46
push 0x3c
push 0x90
push 0x208
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x42523c]
push 0
push 0xc
push 0x46
push 0x8c
push 0x78
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425238]
push 0
push 0xc
push 0x46
push 0xa0
push 0x78
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425234]
push 0
push 0xc
push 0x46
push 0xb4
push 0x78
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425230]
push 0
push 0xc
push 0x46
push 0xc8
push 0x78
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
push 0
push 0xc
push 0x46
push 0xdc
push 0x78
mov ecx, dword [0x42522c]
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425214]
push 0
push 0xc
push 0x46
push 0xdc
push 0xc8
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425244]
push 0
push 0xd
push 0x5d
push 0xdc
push 0x12c
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425240]
push 0
push 0xf
push 0x50
push 0xdc
push 0x1a4
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425264]
push 0
push 0xd
push 0x5d
push 0x8c
push 0x12c
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425260]
push 0
push 0xd
push 0x5d
push 0xa0
push 0x12c
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x42525c]
push 0
push 0xd
push 0x5d
push 0xb4
push 0x12c
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425258]
push 0
push 0xd
push 0x5d
push 0xc8
push 0x12c
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425254]
push 0
push 0x14
push 0x50
push 0xc3
push 0x1a4
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425250]
push 0
push 0x14
push 0x50
push 0xaa
push 0x1a4
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
push 0
push 0x14
push 0x50
push 0x8e
push 0x1a4
push 0
mov ecx, dword [0x42524c]
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425228]
push 0
push 0xc
push 0x46
push 0x8c
push 0xc8
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425224]
push 0
push 0xc
push 0x46
push 0xa0
push 0xc8
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425220]
push 0
push 0xc
push 0x46
push 0xb4
push 0xc8
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x42521c]
push 0
push 0xc
push 0x46
push 0xc8
push 0xc8
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425218]
push 0
push 0xb4
push 0x1ca
push 0xf0
push 0x79
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [0x425268]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425230]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x42523c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425238]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425234]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425228]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425224]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425220]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x42521c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425264]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425260]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x42525c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425258]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425258]
push 0
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [0x425254]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425250]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x42524c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425248]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425218]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425244]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425240]
push 1
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [0x425240]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x42522c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425214]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ecx, dword [0x425268]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425230]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x42523c]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425238]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425234]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425228]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425224]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425220]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x42521c]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425264]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425260]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x42525c]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425258]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425254]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425250]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x42524c]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425248]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425218]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425244]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425240]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x42522c]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [0x425214]
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
pop ebp
ret 4