Function at 0x40da20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x442438
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0xb8], 0
call fcn.0043fabe
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x94]
mov byte [esp + 0xb8], 2
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 3
call fcn.0043fabe
lea ecx, [esp + 0x24]
mov byte [esp + 0xb8], 4
call fcn.0043fabe
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 5
call fcn.0043fabe
lea eax, [esp + 0xc0]
push str..
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0xc4], 6
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 7
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 6
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40df7f
mov bl, 9
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov edx, dword [esp + 0x70]
push 0x10
test eax, eax
lea ecx, [esp + 0x74]
setne byte [esp + 0x27]
call dword [edx + 0x40]
test eax, eax
je 0x40df73
lea eax, [esp + 0x48]
lea ecx, [esp + 0x70]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 8
call fcn.0043fac4
lea ecx, [esp + 0x48]
mov byte [esp + 0xb8], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
push 1
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x44fde0
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x6c]
test eax, eax
setne byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x40df73
lea ecx, [esp + 0x14]
call fcn.0043fabe
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
mov byte [esp + 0xbc], bl
call fcn.0043fac4
push 0x5f
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 0xa
call fcn.0043fac4
lea ecx, [esp + 0x38]
mov byte [esp + 0xb8], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push 0x5f
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea edx, [esp + 0x60]
dec esi
lea ecx, [esp + 0x14]
push esi
push edx
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call ebp
add esp, 4
lea ecx, [esp + 0x60]
mov edi, eax
call sub.MFC42.DLL_CString::CString
push 0x5f
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 0xb
call fcn.0043fac4
lea ecx, [esp + 0x40]
mov byte [esp + 0xb8], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push 0x5f
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea edx, [esp + 0x68]
dec esi
lea ecx, [esp + 0x14]
push esi
push edx
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push eax
call ebp
add esp, 4
lea ecx, [esp + 0x68]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
push 0x5f
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 0xc
call fcn.0043fac4
lea ecx, [esp + 0x30]
mov byte [esp + 0xb8], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push 0x5c
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea edx, [esp + 0x64]
dec esi
lea ecx, [esp + 0x14]
push esi
push edx
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 0x64]
mov esi, eax
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
push 0
push 0
push 0
push edi
push ebp
push esi
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CTime::CTime
lea eax, [esp + 0x8c]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x30], esp
mov eax, esp
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov dword [eax], 0x3f480
call fcn.0040d730
lea eax, [esp + 0x98]
lea ecx, [esp + 0x64]
push eax
call fcn.00404700
mov ecx, eax
call fcn.0040d720
test eax, eax
je 0x40df62
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.0040d0f0
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
call fcn.0043fac4
push 0x5f
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReverseFind
lea ecx, [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xbc], 0xd
call fcn.0043fac4
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8], bl
call sub.MFC42.DLL_CString::CString
push esi
lea edx, [esp + 0x28]
push 0x44fddc
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x34]
push eax
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
setne byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x40df62
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0xc0], 0xe
call fcn.0040d040
add esp, 8
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb8], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x24]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
call sub.MFC42.DLL_operator
push str..
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0xc4], 0xf
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc0], 0x10
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xb8], 0xf
setne byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb8], bl
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x40df62
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CFileFind::FindNextFileA
test eax, eax
mov eax, dword [esp + 0x94]
push 0x10
lea ecx, [esp + 0x98]
setne byte [esp + 0x17]
call dword [eax + 0x40]
test eax, eax
jne 0x40df5a
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbc], 0x11
call fcn.0043fac4
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], bl
call sub.MFC42.DLL_CString::CString
push esi
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.0040d740
add esp, 8
mov al, byte [esp + 0x13]
test al, al
jne 0x40dee3
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 6
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x23]
test al, al
jne 0x40db00
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xb8], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov byte [esp + 0xb8], 2
call fcn.0043fdfa
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], 1
call fcn.0043fdfa
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc0]
mov dword [esp + 0xb8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xac
ret