Function at 0x405260
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x492b37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
mov eax, dword [0x4bdc98]
xor eax, esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str.ID_PAGE_DOWNLOAD_PROGRESS
lea ecx, [esp + 0x2c]
mov dword [esp + 0x444], eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
xor edi, edi
push ecx
mov dword [esp + 0x454], edi
call fcn.00411480
add esp, 8
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
mov ebp, dword [esi + 0x188]
cmp ebp, 0x400
mov ebx, dword [esi + 0x19c]
mov eax, dword [esi + 0x190]
mov byte [esp + 0x44c], 4
jb 0x405319
cmp eax, ebx
jae 0x40530a
shr ebx, 0xa
shr ebp, 0xa
push str._KB_
jmp 0x405324
shr eax, 0xa
mov ebx, eax
shr ebp, 0xa
push str._KB_
jmp 0x405324
cmp eax, ebx
jb 0x40531f
mov ebx, eax
push 0x4a01b0
lea ecx, [esp + 0x18]
call dword [0x49e4c4]
mov edx, ebp
xor eax, eax
or edx, eax
je 0x405372
test eax, eax
jg 0x405350
jl 0x405341
cmp ebp, 1
jae 0x405350
mov edi, 1
mov dword [esp + 0x2c], 0
jmp 0x405356
mov edi, ebp
mov dword [esp + 0x2c], eax
push 0
push 0x64
xor eax, eax
push eax
push ebx
call fcn.00491f80
mov ecx, dword [esp + 0x2c]
push ecx
push edi
push edx
push eax
call fcn.00491ed0
mov edi, eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push edi
lea edx, [esp + 0x28]
push 0x4a01a8
push edx
mov byte [esp + 0x458], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_1]
push 0x4a001c
lea ecx, [esp + 0x14]
call dword [0x49e518]
push ebp
push ebx
lea ecx, [esp + 0x20]
push 0x4a019c
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_1]
mov edx, dword [esi + 0x2e0]
mov ebx, dword [sym.imp.MSVCR71.dll__itoa]
push 0xa
lea ecx, [esp + 0x20]
xor eax, eax
push ecx
mov word [esp + 0x25], ax
push edx
mov byte [esp + 0x28], 0
mov byte [esp + 0x2b], al
call ebx
xor eax, eax
mov word [esp + 0x2d], ax
mov byte [esp + 0x2f], al
mov eax, dword [esi + 0x1ac]
add esp, 0xc
test eax, eax
mov byte [esp + 0x20], 0
je 0x405436
mov ecx, dword [esi + 0x1b0]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push 0xa
lea ecx, [esp + 0x24]
push ecx
push eax
call ebx
add esp, 0xc
push 0x4a0194
lea ecx, [esp + 0x14]
call dword [0x49e518]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator]
push 0x4a018c
lea ecx, [esp + 0x14]
call dword [0x49e518]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator]
push 0x4a0188
lea ecx, [esp + 0x14]
call dword [0x49e518]
mov ecx, dword [esp + 0x10]
push ecx
push 0x3fc
mov ecx, esi
call sub.MFC71U.DLL_COleControlContainer::GetDlgItem
mov ecx, eax
call sub.MFC71U.DLL_COleControlSite::SetWindowTextW
mov edx, dword [esp + 0x18]
push edx
push 0x40a
mov ecx, esi
call sub.MFC71U.DLL_COleControlContainer::GetDlgItem
mov ecx, eax
call sub.MFC71U.DLL_COleControlSite::SetWindowTextW
mov ecx, dword [esi + 0x150]
push 0
movsx eax, di
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x30]
call fcn.00411520
mov eax, dword [esi + 0x190]
mov esi, dword [esi + 0x19c]
cmp eax, esi
mov byte [esp + 0x44c], 6
lea ecx, [esp + 0x30]
jae 0x4054fe
push esi
jmp 0x4054ff
push eax
call fcn.00412260
push edi
lea ecx, [esp + 0x34]
call fcn.00412310
call sub.MFC71U.DLL_AfxGetStringManager
test eax, eax
je 0x405520
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x405522
xor eax, eax
mov eax, dword [eax + 0x20]
push edi
push 1
push 0x844
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0x30]
mov byte [esp + 0x44c], 5
call fcn.00401000
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x434]
pop ebx
xor ecx, esp
call fcn.00491e29
add esp, 0x440
ret