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

Disassembly:
push 0xffffffffffffffff
push 0x40c0f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x4c]
call fcn.0040aaa8
mov ecx, dword [esp + 0x70]
push 0
push 0xa
lea eax, [esp + 0x54]
push 0
push eax
push ecx
mov dword [esp + 0x7c], 0
call fcn.00407de0
add esp, 0x14
lea ecx, [esi + 4]
mov dword [esp + 0x70], ecx
push 0x4116fc
call sub.MFC42.DLL_CString::operator
lea ebp, [esi + 8]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call sub.MFC42.DLL_CStringArray::SetSize
add esi, 0x1c
mov ecx, esi
call sub.MFC42.DLL_CMapStringToString::RemoveAll
lea ecx, [esp + 0x18]
call fcn.0040aaae
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 1
call fcn.0040aaae
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 2
call fcn.0040aaae
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 3
call fcn.0040aaae
mov ecx, dword [esp + 0x54]
xor eax, eax
test ecx, ecx
mov byte [esp + 0x68], 4
mov dword [esp + 0x20], eax
jle 0x40674e
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x10]
lea eax, [edx + eax*4]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x406739
lea edx, [esp + 0x24]
push 1
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x41143c
push eax
call edi
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x406739
lea eax, [esp + 0x28]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x411448
push eax
call edi
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x406739
lea ecx, [esp + 0x30]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x411444
push eax
mov byte [esp + 0x70], 5
call edi
add esp, 8
test eax, eax
jne 0x4065c1
lea edx, [esp + 0x2c]
push 1
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x411440
push eax
call edi
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4065c1
mov bl, 1
jmp 0x4065c3
xor bl, bl
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 4
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x406685
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x34]
mov eax, dword [eax - 8]
add eax, 0xfffffffe
push eax
push 1
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x70]
push 0x3b
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x78], 7
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x74], 4
call fcn.004082c0
add esp, 0xc
test al, al
jne 0x406739
lea ecx, [esp + 0x18]
push 0x41143c
lea edx, [esp + 0x3c]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov ecx, dword [esp + 0x70]
push eax
mov byte [esp + 0x6c], 8
call fcn.0040ab1a
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 4
call sub.MFC42.DLL_CString::CString
jmp 0x406739
push 1
push 1
lea eax, [esp + 0x24]
push 0x3d
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00408090
add esp, 0x18
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimLeft
lea eax, [esp + 0x18]
push str..___
lea ecx, [esp + 0x44]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x14]
mov byte [esp + 0x68], 9
push edx
push eax
lea eax, [esp + 0x44]
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x54]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4064d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
call sub.MFC42.DLL_CStringArray::CStringArray
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 4