Function at 0x403c90
Capabilities:
Get file system object information
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x405d5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x590
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x5a0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x5a0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x5a0], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x5ac]
lea ecx, [esi + 0xa0]
push eax
mov byte [esp + 0x5a4], 3
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ebx, dword [esp + 0x5a8]
mov ecx, dword [0x4081ac]
push 0x408664
push ebx
push ecx
call dword [sym.imp.SHELL32.dll_ExtractAssociatedIconA]
test eax, eax
mov dword [0x408650], eax
je 0x403f95
mov edx, dword [esi + 0x1c0]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push 0
push eax
push 0x170
push edx
call edi
mov ebp, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x4000
lea eax, [esp + 0x40]
push 0x160
push eax
push 0
push 0x408670
call ebp
mov cx, word [esp + 0x40]
push 0x1000
lea edx, [esp + 0x40]
push 0x160
push edx
push 0
push ebx
mov word [0x408320], cx
call ebp
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2a4]
push eax
push ecx
lea edx, [esp + 0x50]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x2a4]
push 0x408104
push eax
call ebp
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x28]
push ecx
push 0x408020
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2a4]
push eax
push ecx
call ebp
lea ebp, [esi + 0x360]
lea edx, [esp + 0x2a4]
push edx
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [esi + 0x380]
push 0
push 0xffffffffffffffff
push 0xc1
push eax
call edi
mov ecx, dword [esi + 0x380]
push 0
push 0xffffffffffffffff
push 0xc1
push ecx
mov dword [esp + 0x2c], eax
call edi
mov edx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [ebp + 0x20]
push 0xb1
push eax
call edi
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x48]
push ecx
push edx
mov ecx, esi
call fcn.00403000
lea eax, [esp + 0x19c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x19c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x19b], 0x5c
je 0x403e79
lea edx, [esp + 0x19c]
push 0x4080f8
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push GetDlgCtrlID
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x19c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push GetDlgCtrlID
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::LoadStringA
lea edx, [esi + 0x3e8]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator
push 0x9c50
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x19c]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3b0]
push 0x1f4
push ecx
push 0x40813c
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x3ac]
push ecx
lea ecx, [esi + 0x1e0]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [0x408654]
test eax, eax
je 0x403f3c
lea edx, [esp + 0x48]
push edx
push 0x408540
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x403f6c
push eax
push eax
mov eax, dword [esi + 0x3c0]
push 0x188
push eax
call edi
cmp eax, dword [0x408668]
jne 0x403f6c
push 0
jmp 0x403f6e
lea ecx, [esp + 0x48]
push ecx
push 0x408208
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x403f6c
mov edx, dword [esi + 0x3c0]
push eax
push eax
push 0x188
push edx
call edi
cmp eax, dword [0x408660]
jne 0x403f6c
push 0
jmp 0x403f6e
push 1
lea ecx, [esi + 0x160]
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
lea ecx, [esi + 0x120]
call sub.MFC42.DLL_CWnd::EnableWindow
push 0
lea ecx, [esi + 0x320]
call sub.MFC42.DLL_CWnd::EnableWindow
pop ebp
pop edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x5a0], 2
call fcn.0040537c
lea ecx, [esp + 8]
mov byte [esp + 0x5a0], 1
call fcn.0040537c
lea ecx, [esp + 0x10]
mov byte [esp + 0x5a0], 0
call fcn.0040537c
lea ecx, [esp + 0xc]
mov dword [esp + 0x5a0], 0xffffffff
call fcn.0040537c
mov ecx, dword [esp + 0x598]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x59c
ret 8