Function at 0x407930
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41b397
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
mov eax, dword [0x4296b8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x264]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x240], eax
mov ebx, ecx
mov dword [esp + 0x30], ebp
jne 0x407987
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC71U.DLL_COleClientItem::FreezeLink
mov esi, eax
mov dword [esp + 0x30], 1
push edi
lea edi, [ebx + 0x5c]
push 0x41e81c
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
mov ecx, dword [esp + 0x260]
push ecx
mov ecx, edi
call dword [0x41d410]
push esi
push edi
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
call fcn.00407110
mov dword [esp + 0x250], ebp
lea ebp, [ebx + 0x60]
push eax
mov ecx, ebp
call dword [0x41d410]
lea ecx, [esp + 0x14]
mov dword [esp + 0x250], 0xffffffff
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0
lea eax, [esp + 0x54]
push eax
push 0x1f4
push 0x29
mov dword [esp + 0x60], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0xfa
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, ebp
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
push 0x41e81c
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebp
call dword [sym.imp.MFC71U.DLL_CWinThread::CommonConstruct]
test eax, eax
lea ecx, [esp + 0x14]
setne byte [esp + 0x13]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, byte [esp + 0x13]
test al, al
je 0x407a77
lea ecx, [ebx + 0x64]
push 0x100
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
mov eax, dword [esi + 8]
push 0x100
push eax
call dword [sym.imp.GDI32.dll_GetTextFaceW]
push 0xffffffffffffffff
lea ecx, [ebx + 0x64]
call dword [sym.imp.MFC71U.DLL_CDC::ReleaseAttribDC]
mov ebp, dword [ebp]
mov eax, dword [ebp - 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x48]
push ecx
push eax
push ebp
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0x41ecdc
lea ecx, [esp + 0x18c]
push ecx
mov dword [esp + 0x254], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x30]
call sub.MFC71U.DLL_CDC::Attach
mov edx, dword [esi]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov edi, dword [edi]
mov edx, dword [esi]
push 0x410
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, esi
call dword [edx + 0x70]
mov eax, dword [esp + 0x24]
cmp ebp, eax
jle 0x407aff
mov eax, ebp
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ecx, 8
sub edx, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x28]
add eax, ecx
sub ebp, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
add edx, 2
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 0x2c]
call sub.MFC71U.DLL_CListBox::DeleteItem
mov eax, dword [esp + 0x34]
test eax, eax
je 0x407b54
mov ecx, dword [esi + 4]
mov edx, dword [ebx + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
push 0x80800000
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x258]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x25c]
add eax, 0xf
mov dword [esp + 0x38], eax
sub eax, esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, edx
mov edx, dword [esp + 0x28]
add ecx, 0xf
sub edx, ebp
add edx, ecx
push 0x10
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
call esi
mov ecx, dword [esp + 0x40]
cmp ecx, eax
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
jle 0x407bc6
sub eax, ecx
push 0
push eax
lea eax, [esp + 0x40]
push eax
call edi
push 0x11
call esi
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jle 0x407be2
sub eax, ecx
push eax
push 0
lea ecx, [esp + 0x40]
push ecx
call edi
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push 0x50
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [sym.imp.MFC71U.DLL_CWnd::wndNoTopMost]
push ecx
push eax
mov ecx, ebx
call sub.MFC71U.DLL_COleControlSite::SetWindowPos
mov ecx, dword [ebx + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x74]
test eax, eax
pop edi
je 0x407c2b
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call sub.MFC71U.DLL_CMenu::FromHandle
lea ecx, [esp + 0x28]
mov dword [esp + 0x24c], 0xffffffff
mov dword [esp + 0x28], 0x41ecc8
call sub.MFC71U.DLL_CListBox::DeleteItem
mov ecx, dword [esp + 0x244]
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x238]
pop ebx
call fcn.0041a43b
add esp, 0x244
ret 0x14