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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x479cca
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x28], edi
xor esi, esi
cmp dword [edi + 0x3c], esi
je 0x40c76d
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x84], esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
cmp ax, 0x5f
jne 0x40c6a3
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
dec eax
push eax
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
push ecx
push ebx
push str.GUBar::CDrawObjectFactory::CreateStatusListDraw
push edi
mov dword [esp + 0x30], esi
call fcn.0040aae0
mov esi, eax
test esi, esi
jne 0x40cbbc
mov edx, dword [esp + 0x14]
push eax
push fcn.0040c5f0
push ebx
push edi
lea ecx, [esp + 0x30]
call fcn.0040abc0
cmp dword [esp + 0x20], 0
mov esi, eax
mov dword [esp + 0x34], esi
jne 0x40c6ef
test esi, esi
jne 0x40cbbc
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 0x47d9d0
push 0x47e144
push ebx
call eax
push eax
lea ecx, [esp + 0x28]
call dword [0x47ce1c]
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x84], 2
call fcn.00433930
lea edx, [esp + 0x24]
push 0x47e144
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x88], 3
call fcn.00403ff0
add esp, 8
test eax, eax
jne 0x40c784
lea ebx, [esp + 0x5c]
call fcn.00411f10
mov eax, dword [esp + 0x5c]
push eax
call sub.mfc90u.dll_delete
add esp, 4
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x40c79e
push 0x47e15c
lea ecx, [esp + 0x18]
call dword [0x47c850]
push 0x24
call sub.mfc90u.dll_new
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x80], 4
test eax, eax
je 0x40c7c4
push eax
call fcn.00407420
mov dword [esp + 0x20], eax
jmp 0x40c7cc
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [esp + 0x80], 5
mov esi, dword [esp + 0x68]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x6c]
jbe 0x40c7f0
call ebx
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
lea esp, [esp]
mov esi, dword [esp + 0x6c]
cmp dword [esp + 0x68], esi
jbe 0x40c80c
call ebx
test edi, edi
je 0x40c816
cmp edi, dword [esp + 0x5c]
je 0x40c818
call ebx
cmp dword [esp + 0x40], esi
je 0x40caeb
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
je 0x40c8d2
test edi, edi
jne 0x40c8cb
call ebx
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x10]
jb 0x40c847
call ebx
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
mov edi, dword [ecx - 0xc]
cmp eax, edi
jl 0x40ca97
lea esi, [esp + 0x3c]
mov ebx, ecx
call fcn.00411e00
mov eax, dword [eax]
push edi
push ebx
push eax
call dword [sym.imp.MSVCR90.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40ca91
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00411e00
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x3c]
jmp 0x40c8f8
mov eax, dword [edi]
jmp 0x40c83c
test edi, edi
jne 0x40cab8
call ebx
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x10]
jb 0x40c8e9
call ebx
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
je 0x40ca9b
lea esi, [esp + 0x3c]
call fcn.00411e00
mov eax, dword [eax]
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 0
push eax
mov eax, dword [ebp + 8]
push eax
call edx
push eax
lea ecx, [esp + 0x20]
call dword [0x47ce1c]
mov byte [esp + 0x80], 7
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x40ca7f
lea ecx, [esp + 0x44]
push ecx
call fcn.00433930
lea edx, [esp + 0x1c]
push 0x47e144
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x88], 8
call fcn.00403ff0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov edx, ecx
sub edx, eax
sar edx, 2
add esp, 8
cmp edx, 3
jae 0x40c995
lea eax, [esp + 0x44]
push eax
call fcn.004116c0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, ecx
sub edx, eax
sar edx, 2
cmp edx, 2
ja 0x40c9b1
call esi
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 8]
cmp dword [edx - 0xc], 0
je 0x40ca16
mov edi, 2
lea esi, [esp + 0x44]
call fcn.004116e0
push eax
lea eax, [esp + 0x34]
push eax
mov edi, 0x47e15c
call fcn.00402f20
add esp, 8
push eax
mov edi, 2
mov byte [esp + 0x84], 9
call fcn.004116e0
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 8
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, ecx
sub edx, eax
sar edx, 2
push 0
cmp edx, 2
ja 0x40ca2e
call esi
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 8]
push edx
mov edx, ecx
sub edx, eax
sar edx, 2
cmp edx, 1
ja 0x40ca48
call esi
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 4]
sub ecx, eax
sar ecx, 2
push edx
test ecx, ecx
ja 0x40ca5b
call esi
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call dword [0x47ce04]
mov ecx, ebx
call fcn.0040d7b0
mov esi, eax
test esi, esi
jne 0x40cabf
lea eax, [esp + 0x44]
call fcn.004116a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x40cae7
call ebx
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x10]
jb 0x40caae
call ebx
add dword [esp + 0x40], 4
jmp 0x40c800
mov eax, dword [edi]
jmp 0x40c8de
push 0xffffffffffffffff
push 0x47e15c
lea eax, [esp + 0x20]
push eax
push 0x496dc8
call fcn.00404170
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
add esp, 0x10
push esi
push eax
mov eax, dword [edx + 0x14]
call eax
jmp 0x40ca76
mov eax, dword [edi]
jmp 0x40caa3
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x40cafe
push eax
push esi
call fcn.004078a0
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push 0
mov ecx, esi
call eax
test eax, eax
jne 0x40cb20
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40cb20
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x14]
push 0
mov ecx, esi
call eax
cmp dword [esi + 0x20], 0
jne 0x40cb7b
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ebx, [esp + 0x5c]
call fcn.00411f10
mov ecx, dword [esp + 0x5c]
push ecx
call sub.mfc90u.dll_delete
add esp, 4
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
push edx
push eax
push str.GUBar::CDrawObjectFactory::CreateStatusListDraw
push esi
call fcn.0040aa20
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ebx, [esp + 0x5c]
call fcn.00411f10
mov ecx, dword [esp + 0x5c]
push ecx
call sub.mfc90u.dll_delete
add esp, 4
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc