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

Disassembly:
push 0xffffffffffffffff
push 0x41c7e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], esi
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [edi + 0x78]
xor eax, eax
cmp edx, esi
mov byte [esp + 0x34], 1
jle 0x408e86
mov ebx, dword [edi + 0x74]
lea ecx, [ebx + 0x20]
cmp dword [ecx], esi
jne 0x408ebc
inc eax
add ecx, 0x24
cmp eax, edx
jl 0x408e7a
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea eax, [eax + eax*8]
lea ecx, [ebx + eax*4 + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041abce
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
push edx
call fcn.0041aae4
push 1
push 0x5c
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push ecx
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x408f43
push 0x42a72c
lea ecx, [esp + 0x14]
call fcn.0041aade
push 1
push 0x5c
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x20]
push 1
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
push ecx
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x408fa0
push 0x42a72c
lea ecx, [esp + 0x1c]
call fcn.0041aade
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x408fce
lea ecx, [esp + 0x14]
push 0x42a62c
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 8
jmp 0x409118
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push 0x42a730
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0x42a62c
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040a130
test eax, eax
jne 0x4090fa
mov eax, dword [edi + 0x78]
mov dword [esp + 0x20], esi
cmp eax, esi
jle 0x4090fa
mov edx, dword [edi + 0x74]
lea ecx, [esp + 0x10]
lea eax, [esi + edx + 4]
push eax
call fcn.0041abce
push 1
push 0x5c
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
push 1
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::Right
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push edx
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40907d
push 0x42a72c
lea ecx, [esp + 0x14]
call fcn.0041aade
mov eax, dword [edi + 0x74]
lea edx, [esp + 0x28]
lea ecx, [esi + eax + 8]
push ecx
push 0x42a62c
push edx
call sub.MFC42.DLL_operator_1
push 0x42a62c
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x3c], 6
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 8
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0040a130
test eax, eax
mov byte [esp + 0x34], 2
lea ecx, [esp + 0x3c]
jne 0x4090f5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x78]
inc eax
add esi, 0x24
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x40900f
jmp 0x4090fa
call sub.MFC42.DLL_CString::CString
push 0x42a62c
push 0x42a72c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Replace
push 0x2f
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x408ea7