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

Disassembly:
push 0xffffffffffffffff
push 0x46cd1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x80], esi
call sub.MFC71.DLL_CStringArray::CStringArray
lea eax, [esp + 0x64]
push eax
push ecx
lea edx, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x8c], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [edi + 0xc4]
call fcn.00414900
cmp dword [esp + 0x6c], esi
jle 0x40c4f7
mov bl, 0xf
lea esp, [esp]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ebp, [esi + 1]
push ebp
lea eax, [esp + 0x28]
push 0x474884
push eax
mov byte [esp + 0x8c], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 8
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x47316f
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x8c], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
push ecx
lea eax, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x90], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [edi + 0xc4]
mov byte [esp + 0x90], 2
call fcn.00414810
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 5
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x40c4d5
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00413f80
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x90], 6
call fcn.00413f80
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x98], 7
call fcn.00413f80
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xa0], 8
call fcn.00413f80
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0xa8], 9
call fcn.00413f80
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0xb0], 0xa
call fcn.004146b0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00413f80
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0xc0], 0xb
call fcn.00413f80
add esp, 0x40
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x88], 0xc
call fcn.00413f80
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x90], 0xd
call fcn.00413f80
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x98], 0xe
call fcn.00413f80
push pe_nt_image_headers32
mov byte [esp + 0x9c], bl
call sub.MFC71.DLL_operator_new_1
add esp, 0x1c
mov dword [esp + 0x48], eax
test eax, eax
mov byte [esp + 0x80], 0x10
je 0x40c2a5
mov ecx, eax
call fcn.004492e0
mov esi, eax
jmp 0x40c2a7
xor esi, esi
mov eax, dword [esi]
push 0
push edi
lea ecx, [esp + 0x5c]
push ecx
push 0x50010000
push 0x47316f
mov ecx, esi
mov byte [esp + 0x94], bl
call dword [eax + 0x138]
mov eax, dword [edi + 0xb0]
lea edx, [esp + 0x14]
push edx
lea ecx, [esi + 0x124]
mov dword [esi + 0x128], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x120]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
mov byte [esp + 0x8c], 0x11
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x90], 0x12
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov byte [esp + 0x94], 0x13
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
push ecx
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
mov byte [esp + 0x98], 0x14
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
mov eax, dword [0x48af2c]
push eax
mov ecx, esi
mov byte [esp + 0x98], bl
call fcn.00449640
push 1
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00404850
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x40c3b9
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetAt]
cmp al, 0x54
jne 0x40c3b9
mov eax, 1
jmp 0x40c3bb
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esi + 0xc8], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x40c3f8
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp eax, 1
jne 0x40c3f8
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [esi + 0xcc], eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x40c42f
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp eax, 1
jne 0x40c42f
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [esi + 0xd0], eax
push str.BUTTON_TOPMOST1
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x40c455
push str.BUTTON_NORMALVIEW
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x40c45e
mov ecx, esi
push 0
call sub.MFC71.DLL_CWnd::ShowWindow
mov eax, dword [edi + 0xb0]
lea ecx, [edi + 0xa8]
push esi
push eax
call sub.MFC71.DLL_CPtrArray::SetAtGrow
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x3c]
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 + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x6c]
mov esi, ebp
cmp esi, eax
jl 0x40c0e0
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0
call fcn.0046b160
lea ecx, [esp + 0x88]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 4