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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x414bc5
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
test edi, edi
mov ebp, ecx
jne 0x40cabd
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8
mov cl, byte [0x4194ce]
mov ax, word [0x4194cc]
mov byte [esp + 0x72], cl
push 0x419214
mov ecx, 0x41d62c
mov word [esp + 0x74], ax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x40cdce
lea ecx, [esp + 0x3c]
call fcn.00412730
push 0x41d628
lea ecx, [esp + 0x40]
mov dword [esp + 0x6c], 0
call fcn.00412f90
test al, al
je 0x40cd07
lea ecx, [esp + 0x3c]
call fcn.00412130
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x34]
call fcn.00413380
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 1
call fcn.00412270
test al, al
je 0x40cce6
push str.file
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 2
call fcn.00412cb0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 3
call fcn.00413380
mov eax, dword [esp + 0x28]
test eax, eax
mov byte [esp + 0x68], 6
je 0x40cb87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x48]
call fcn.00412270
test al, al
je 0x40ccb5
lea esi, [edi + 0x51]
lea ebx, [ebx]
push str.name
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 7
call fcn.00412e20
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 9
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push str.path
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 0xa
call fcn.00412e20
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [0x416194]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s__s
push edx
mov byte [esp + 0x78], 0xd
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x40cd30
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
call fcn.004124c0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0x10
call fcn.00412c00
mov bl, al
mov eax, dword [esp + 0x2c]
test eax, eax
mov byte [esp + 0x68], 5
je 0x40ccad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test bl, bl
jne 0x40cbb0
mov ecx, dword [esp + 0x74]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [edi + 0x30]
push eax
add edi, 0x51
push edi
push str.file
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, ebp
call fcn.0040c540
lea ecx, [esp + 0x48]
call fcn.004092b0
mov eax, dword [esp + 0x34]
test eax, eax
mov byte [esp + 0x68], 0
je 0x40ccf9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40cd07
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x44]
mov dword [esp + 0x68], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40cd27
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
jmp 0x40cfa4
lea esi, [edi + 0x30]
push esi
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push str.date
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0xe
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 0xf
call fcn.00413240
lea ecx, [esp + 0x74]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0xd
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push esi
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.00407710
lea ecx, [esp + 0x3c]
call fcn.00412280
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
jmp 0x40ccdd
lea ecx, [esp + 0x48]
call fcn.00412730
push 0x41d628
lea ecx, [esp + 0x4c]
mov dword [esp + 0x6c], 0x11
call fcn.00412f90
test al, al
je 0x40cf80
lea ecx, [esp + 0x48]
call fcn.00412130
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x34]
call fcn.00413380
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0x12
call fcn.00412270
test al, al
je 0x40cf5f
push str.file
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0x13
call fcn.00412cb0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x6c], 0x14
call fcn.00413380
mov eax, dword [esp + 0x2c]
test eax, eax
mov byte [esp + 0x68], 0x17
je 0x40ce6b
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0x16
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x54]
call fcn.00412270
test al, al
je 0x40cf2e
lea esi, [edi + 0x51]
mov edi, edi
push str.name
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x70], 0x18
call fcn.00412e20
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 0x1a
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeLower]
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x40cfc8
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 0x16
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x34]
call fcn.004124c0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x6c], 0x1d
call fcn.00412c00
mov bl, al
mov eax, dword [esp + 0x28]
test eax, eax
mov byte [esp + 0x68], 0x16
je 0x40cf26
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test bl, bl
jne 0x40ce90
mov ecx, dword [esp + 0x74]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [edi + 0x30]
push eax
add edi, 0x51
push edi
push str.file
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x60]
push edx
mov ecx, ebp
call fcn.0040c540
lea ecx, [esp + 0x54]
call fcn.004092b0
mov eax, dword [esp + 0x34]
test eax, eax
mov byte [esp + 0x68], 0x11
je 0x40cf72
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40cf80
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40cfa0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40cfae
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 8
lea esi, [edi + 0x30]
push esi
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push str.date
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0x1b
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x70], 0x1c
call fcn.00413240
lea ecx, [esp + 0x74]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0x1a
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push esi
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.00407710
lea ecx, [esp + 0x48]
call fcn.00412280
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
jmp 0x40cf56