Function at 0x404a40
Capabilities:
Get common file path
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4061a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x1054]
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x10]
push 1
push ecx
mov ecx, esi
mov dword [esi + 0x14e4], eax
call fcn.00404dc0
lea ebp, [esi + 0x10c8]
push eax
mov ecx, ebp
mov dword [esp + 0x438], 0
call sub.MFC42u.DLL_CString::operator
or edi, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], edi
call fcn.004052d8
lea edx, [esp + 0x10]
push 0x1f
push edx
mov ecx, esi
call fcn.00404dc0
lea ebx, [esi + 0x10cc]
push eax
mov ecx, ebx
mov dword [esp + 0x438], 1
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], edi
call fcn.004052d8
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x1c
push eax
mov ecx, esi
call fcn.00404dc0
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x406
mov dword [esp + 0x43c], 2
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
or edi, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], edi
call fcn.004052d8
lea ecx, [esp + 0x10]
push 9
push ecx
mov ecx, esi
call fcn.00404dc0
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x407
mov dword [esp + 0x43c], 3
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], edi
call fcn.004052d8
lea edx, [esp + 0x10]
push 0xc
push edx
mov ecx, esi
call fcn.00404dc0
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x3f7
mov dword [esp + 0x43c], 4
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], edi
call fcn.004052d8
lea eax, [esp + 0x10]
push 0x1e
push eax
mov ecx, esi
call fcn.00404dc0
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x405
mov dword [esp + 0x43c], 5
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], edi
call fcn.004052d8
lea ecx, [esp + 0x10]
push 0xd
push ecx
mov ecx, esi
call fcn.00404dc0
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 8
lea ecx, [esp + 0x10]
call fcn.004052d8
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push 0x3f0
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
lea ecx, [esp + 0x10]
push 6
push ecx
mov ecx, esi
call fcn.00404dc0
mov eax, dword [eax]
mov ecx, esi
push eax
push 2
mov dword [esp + 0x43c], 6
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], edi
call fcn.004052d8
lea edx, [esp + 0x1c]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push 0x14
push eax
mov ecx, esi
call fcn.00404dc0
mov ecx, dword [ebx]
mov edx, dword [ebp]
mov eax, dword [eax]
push ecx
and edi, 0xffff
push edx
push edi
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x14
lea ecx, [esp + 0x10]
call fcn.004052d8
lea ecx, [esp + 0x1c]
push ecx
push 0x403
mov ecx, esi
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x10]
push 2
push edx
mov ecx, esi
mov dword [esp + 0x43c], 7
call fcn.00404dc0
mov ecx, dword [ebx]
mov edx, dword [ebp]
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x440], 8
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x434], 7
call fcn.004052d8
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x226]
mov word [esp + 0x224], 0
rep stosd dword es:[edi], eax
push 0x409070
lea ecx, [esp + 0x1c]
stosw word es:[edi], ax
call sub.MFC42u.DLL_CString::CString_2
mov ecx, dword [eax]
lea edx, [esi + 0x12dc]
push ecx
push edx
lea eax, [esp + 0x22c]
push str._sdata_s_title.bmp
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.004052d8
lea ecx, [esp + 0x224]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42u.DLL_CString::CString_3
push 0x3c
mov ecx, esi
call fcn.00402a60
mov eax, dword [esi + 0x20]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x14]
mov dword [esp + 0x434], 0xffffffff
call fcn.004052d8
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x428
ret