Function at 0x411220
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x449586
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x550]
push edi
xor edi, edi
cmp eax, edi
je 0x411261
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
mov dword [esp + 0x24], eax
je 0x411535
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov dword [ebx + 0x4fc], edi
mov dword [ebx + 0x500], edi
mov dword [ebx + 0x504], edi
mov dword [ebx + 0x4f8], edi
mov ecx, dword [0x468c9c]
mov edx, dword [ecx + 0x7c]
lea eax, [esp + 0x18]
push eax
push 0x401
push edx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x20]
push edi
push edi
push 0x1004
push ecx
call esi
mov ebp, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebp
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push 0x10b
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], edi
call dword [sym.imp.MFC71U.DLL_CWinApp::LoadStdProfileSettings]
push 1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_10]
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.0040eba0
push eax
lea ecx, [ebx + 0x2f0]
mov byte [esp + 0x38], 1
call fcn.00420f70
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 0x38
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x30], 2
je 0x41132c
mov ecx, eax
call fcn.00410ec0
mov esi, eax
jmp 0x41132e
xor esi, esi
lea ecx, [ebx + 0x554]
push ecx
lea ecx, [esi + 0xc]
mov byte [esp + 0x34], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_4]
test ebp, ebp
mov edx, dword [ebx + 0x558]
mov dword [esi + 0x10], edx
mov dword [esp + 0x18], edi
jle 0x4113ca
mov ecx, dword [esp + 0x14]
push edi
call sub.MFC71U.DLL_CCheckListBox::GetCheck
test eax, eax
je 0x4113c1
mov ecx, dword [esp + 0x14]
push 3
push edi
lea eax, [esp + 0x24]
push eax
call sub.MFC71U.DLL_COleClientItem::GetItemStorageFlat
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
mov edi, dword [esi + 4]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
push edi
mov ecx, esi
call fcn.0040f9b0
push 1
mov ecx, esi
mov ebp, eax
call fcn.0040fa40
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x18]
mov dword [eax], ebp
mov ebp, dword [esp + 0x20]
inc edi
cmp edi, ebp
mov dword [esp + 0x18], edi
jl 0x411354
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x20], eax
lea eax, [ebx + 0x4fc]
mov dword [esi + 0x24], eax
lea eax, [ebx + 0x55c]
lea edi, [esi + 0x14]
cmp edi, eax
je 0x411440
mov edx, dword [eax + 4]
mov ecx, dword [edx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [edi + 4]
mov dword [ecx + 4], ecx
cmp eax, dword [edi + 4]
mov dword [esp + 0x20], edx
mov dword [edi + 8], 0
je 0x411428
lea esp, [esp]
mov ebp, dword [eax]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov ecx, dword [edi + 4]
add esp, 4
cmp ebp, ecx
mov eax, ebp
jne 0x411410
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 4]
mov eax, dword [eax]
push ecx
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov ecx, edi
call fcn.0040fde0
lea eax, [ebx + 0x50c]
lea edi, [esi + 0x2c]
cmp edi, eax
je 0x4114a3
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [edi + 4]
mov dword [ecx + 4], ecx
cmp eax, dword [edi + 4]
mov dword [esp + 0x20], edx
mov dword [edi + 8], 0
je 0x41148b
mov ebp, dword [eax]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov ecx, dword [edi + 4]
add esp, 4
cmp ebp, ecx
mov eax, ebp
jne 0x411473
mov edx, dword [esp + 0x20]
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x24]
push ecx
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov ecx, edi
call fcn.0040fde0
mov eax, dword [ebx + 0x548]
mov ecx, dword [eax - 0xc]
test ecx, ecx
setne cl
mov byte [esi + 0x28], cl
lea edi, [ebx + 0x80]
push 0
mov ecx, edi
call sub.MFC71U.DLL_COleControlSite::EnableWindow
lea edx, [esp + 0x24]
push edx
push 0
push esi
push 0x410fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [ebx + 0x550], eax
jne 0x41152b
mov ecx, esi
call fcn.00410e50
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push 0xfd
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::Fork]
add esp, 0xc
push 0
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call sub.MFC71U.DLL_AfxMessageBox
push 1
mov ecx, edi
call sub.MFC71U.DLL_COleControlSite::EnableWindow
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret