Function at 0x40b430
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464076
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push str.BossRan_
lea eax, [esp + 0x28]
push 0x4b3a44
push eax
mov ebp, ecx
call fcn.00401590
push 0x4b3a4c
push eax
lea ecx, [esp + 0x30]
xor ebx, ebx
push ecx
mov dword [esp + 0x58], ebx
call fcn.00402b10
add esp, 0x18
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp + 0x90]
cmp ecx, ebx
jne 0x40b49a
mov dword [esp + 0x14], ebx
jmp 0x40b4a9
mov eax, dword [ebp + 0x94]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
jle 0x40b662
jmp 0x40b4c0
mov eax, dword [ebp + 0x90]
mov edx, dword [esp + 0x20]
mov edi, dword [eax + edx*4]
mov ecx, ebp
mov dword [esp + 0x28], edi
call fcn.0040c3f0
test eax, eax
jne 0x40b69a
lea ecx, [esp + 0x10]
call dword [0x46e148]
push 0x2f
push str.IDS_MESSAGE
mov byte [esp + 0x48], 3
call fcn.0040ee00
add esp, 8
push eax
lea ecx, [esp + 0x14]
call dword [0x46e374]
push 0x100
call sub.MFC71.DLL_operator_new
add esp, 4
push edi
lea ecx, [esp + 0x14]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
push eax
push str._s__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 0x58]
add esp, 0x10
push esi
push 0
push 0x46d
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
add ebx, 0x1e
mov eax, ebx
cdq
idiv dword [esp + 0x14]
push 0
push 0x64
add eax, 0x28
cdq
push edx
push eax
call fcn.00406ef0
add esp, 0x10
lea ecx, [edi + 0x40]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4b3a4c
mov byte [esp + 0x48], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push edi
mov byte [esp + 0x64], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 6
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edx, dword [esp + 0x84]
push edx
mov ecx, ebp
mov byte [esp + 0x80], 4
call fcn.0040bb40
test eax, eax
je 0x40b686
mov esi, dword [ebp + 0xa0]
test esi, esi
lea ecx, [ebp + 0x9c]
jne 0x40b5ed
xor edx, edx
jmp 0x40b5f5
mov edx, dword [ecx + 8]
sub edx, esi
sar edx, 2
test esi, esi
je 0x40b612
mov eax, dword [ecx + 0xc]
sub eax, esi
sar eax, 2
cmp edx, eax
jae 0x40b612
mov eax, dword [ecx + 8]
mov dword [eax], edi
add eax, 4
mov dword [ecx + 8], eax
jmp 0x40b622
mov eax, dword [ecx + 8]
lea edx, [esp + 0x28]
push edx
push 1
push eax
call fcn.004076a0
mov ecx, ebp
call fcn.0040c3f0
test eax, eax
jne 0x40b686
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x40b4c0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
lea ecx, [esp + 0x18]
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 + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 4