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

Disassembly:
push 0xffffffffffffffff
push 0x40aff1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], 1
test eax, eax
je 0x401fa7
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x401fa7
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx - 8]
test eax, eax
je 0x401fa7
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CFileFind::CFileFind
lea edx, [esp + 0x80]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x74], 2
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x30]
push 1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 3
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x410058
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401c2c
push 0x410058
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
push 0x410074
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x401f82
mov bl, 6
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov edx, dword [esp + 0x4c]
push 0x10
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], eax
call dword [edx + 0x40]
test eax, eax
je 0x401d0e
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x401d0e
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x4c]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
mov ecx, dword [esp + 0x1c]
push 0x410070
push ecx
mov byte [esp + 0x78], 4
call ebp
add esp, 8
test eax, eax
je 0x401d00
mov edx, dword [esp + 0x1c]
push str.lics
push edx
call ebp
add esp, 8
test eax, eax
je 0x401d00
push ecx
lea ecx, [esp + 0x50]
mov eax, esp
mov dword [esp + 0x48], esp
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push ecx
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x7c], 5
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x30]
push eax
mov byte [esp + 0x7c], 4
call fcn.00401b70
mov byte [esp + 0x70], 3
lea ecx, [esp + 0x1c]
jmp 0x401f71
mov edx, dword [esp + 0x4c]
push 0x10
lea ecx, [esp + 0x50]
call dword [edx + 0x40]
test eax, eax
jne 0x401f76
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x401f76
lea ecx, [esp + 0x10]
call fcn.0040a5e4
lea eax, [esp + 0x34]
lea ecx, [esp + 0x4c]
push eax
mov byte [esp + 0x74], bl
call sub.MFC42.DLL_CFileFind::GetFilePath
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push ecx
push 0x41003c
push edx
mov byte [esp + 0x7c], 7
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::CString
push 0x2e
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::Mid
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 8
call sub.MFC42.DLL_CString::MakeLower
mov ecx, dword [esp + 0x14]
push 0x410064
push ecx
call ebp
add esp, 8
test eax, eax
je 0x401f5b
mov edx, dword [esp + 0x14]
push 0x410060
push edx
call ebp
add esp, 8
test eax, eax
je 0x401f5b
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
push 0x4103f0
mov esi, dword [ecx - 8]
mov edi, dword [eax - 8]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
cmp edi, esi
mov byte [esp + 0x70], 9
jle 0x401e1e
lea edx, [esp + 0x38]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 0xa
call fcn.0040a632
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 9
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::CString_1
push 0x4103f0
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0xb
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x78], 0xc
call sub.MFC42.DLL_CString::CString_1
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.00402160
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0xd
call fcn.0040a632
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.004020d0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x401f31
push 0x14
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
test esi, esi
mov byte [esp + 0x70], 0xe
je 0x401eef
lea ecx, [esi + 4]
call fcn.0040a5e4
lea ecx, [esi + 8]
mov byte [esp + 0x70], 0xf
call fcn.0040a5e4
lea ecx, [esi + 0xc]
mov byte [esp + 0x70], 0x10
call fcn.0040a5e4
jmp 0x401ef1
xor esi, esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 0xc
push ecx
lea ecx, [esi + 4]
call fcn.0040a632
lea edx, [esp + 0x30]
lea ecx, [esi + 8]
push edx
call fcn.0040a632
lea eax, [esp + 0x24]
lea ecx, [esi + 0xc]
push eax
call fcn.0040a632
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x78]
mov dword [esi + 0x10], ecx
push esi
lea ecx, [edx + 0x18]
call sub.MFC42.DLL_CObList::AddTail
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x70], 3
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x401c54
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 1
call fcn.0040a64a
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x70], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0xc