Function at 0x41e020
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x467c84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor ebx, ebx
mov dword [esp + 0x30], ebx
call sub.MFC71.DLL_AfxGetModuleState
push 0x435
push 0xc
push 0x435
call sub.MFC71.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push ebx
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
push 0x220
call sub.MFC71.DLL_AfxRegisterWndClass
push eax
lea ecx, [esp + 0x14]
call dword [0x46c330]
lea ebp, [esi + 0x320]
cmp ebp, ebx
je 0x41e0ac
cmp dword [ebp + 0x20], ebx
je 0x41e0ac
cmp dword [esi + 0x340], ebx
je 0x41e0ac
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x68]
mov edi, dword [ebp]
push ebx
push 0xbb7
push 0x3fa
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x280
mov dword [esp + 0x30], 0x1e0
call sub.MFC71.DLL_CWnd::GetDlgItem
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x50000000
push str.ModelWindow
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, ebp
call dword [edi + 0x5c]
cmp dword [esi + 0x2e8], ebx
mov edi, dword [sym.imp.USER32.dll_GetParent]
jne 0x41e1a9
cmp dword [esi + 0xa8], ebx
jle 0x41e187
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov eax, dword [eax + 0x2f4]
push ebx
push 2
push eax
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov ecx, eax
call fcn.0042a490
push eax
call sub.MILMOD.dll_Ordinal_104_2
mov ecx, dword [esi + 0x20]
push ecx
mov ebx, eax
call edi
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov eax, dword [eax + 0x2f4]
mov edx, dword [esi + 0x20]
push 0
push 3
push eax
push edx
call edi
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov ecx, eax
call fcn.0042a490
push eax
call sub.MILMOD.dll_Ordinal_104_2
push 0
push 0
push 0x24
push 8
push eax
mov eax, dword [esi + 0x2ec]
push ebx
push eax
jmp 0x41e19e
mov ecx, dword [esi + 0x2ec]
push ebx
push ebx
push 0x24
push 8
push 0x1e0
push 0x280
push ecx
call sub.MIL.dll_Ordinal_109
mov dword [esi + 0x2e8], eax
mov eax, dword [esi + 0xa8]
test eax, eax
jle 0x41e229
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov eax, dword [eax + 0x2f4]
push 0
push 1
push eax
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov ecx, eax
call fcn.0042a490
push eax
call sub.MILMOD.dll_Ordinal_104_2
cmp eax, 1
jne 0x41e230
mov ecx, dword [esi + 0x20]
push ecx
call edi
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov edx, dword [esi + 0x20]
mov ebx, dword [eax + 0x2f4]
push edx
call edi
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov ecx, dword [esi + 0x2e8]
push 0x10000000
push ebx
push 2
push ecx
mov ecx, eax
call fcn.0042a490
push eax
push 0x10000000
call sub.MILMOD.dll_Ordinal_109_1
jmp 0x41e230
mov ecx, esi
call fcn.0041dd10
test ebp, ebp
je 0x41e237
mov ebp, dword [ebp + 0x20]
mov edx, dword [esi + 0x2e8]
mov eax, dword [esi + 0x2e4]
push ebp
push edx
push eax
call sub.MIL.dll_Ordinal_912
mov ecx, dword [esi + 0x2e0]
test ecx, ecx
je 0x41e25b
mov edx, dword [ecx]
push 1
call dword [edx]
push 0x50
call sub.MFC71.DLL_operator_new
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
mov byte [esp + 0x30], 1
je 0x41e2ab
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov eax, dword [eax + 0x2f4]
mov ecx, dword [esi + 0x20]
push eax
push ecx
call edi
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov ecx, eax
call fcn.0042a490
mov edx, dword [esi + 0x2e4]
push eax
push edx
mov ecx, ebx
call fcn.004202c0
jmp 0x41e2ad
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [esi + 0x2e0], eax
call dword [0x46c328]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret