Function at 0x24bb7590
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x24bc3af7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], esp
push eax
lea ecx, [ebp - 0x12c]
call fcn.24bb6c90
xor ebx, ebx
push 0x24bc5588
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_unsigned_short_int_const__]
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x124]
push eax
mov byte [ebp - 4], 1
call dword [edx + 0x38]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
mov esi, eax
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
and esi, 0xfffffffe
test si, si
je 0x24bb7633
push ebx
push ebx
push ebx
push 3
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.24bb4dc0
push 0x24bcf3b0
lea edx, [ebp - 0x7c]
push edx
call sub.MSVCR71.dll__CxxThrowException
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.24bb5840
mov esi, 3
cmp si, 0xc
mov dword [ebp + 0x10], esi
ja 0x24bb7662
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x12c]
call fcn.24bb5c20
inc esi
jmp 0x24bb7647
lea ecx, [ebp - 0x5c]
call fcn.24b81630
mov byte [ebp - 4], 3
mov edi, edi
lea ecx, [ebp - 0x98]
call fcn.24b82da0
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x124]
mov edx, dword [ecx]
push eax
mov byte [ebp - 4], 4
call dword [edx + 0x7c]
mov esi, eax
cmp si, 0xffff
je 0x24bb7815
cmp si, 0xfffe
je 0x24bb7815
test si, si
je 0x24bb7747
cmp si, 1
je 0x24bb7747
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.24b82f00
cmp si, 0x64
jne 0x24bb76ee
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x124]
mov edx, dword [ecx]
push eax
call dword [edx + 0x80]
mov dword [ebp - 0xd0], 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.24b816e0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x24bb7705
xor esi, esi
jmp 0x24bb771b
mov ecx, dword [edi + 0x14]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ecx, [ebp - 0x12c]
mov word [edi + 0x30], si
mov dword [ebp - 4], 0xffffffff
call fcn.24bb6d40
mov ecx, dword [ebp - 0xc]
pop edi
mov ax, si
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 0x28]
push edx
lea ecx, [ebp - 0x58]
call dword [sym.imp.cxlibw_3_1.dll_public:_class_CXLib301::SWCharString____thiscall_CXLib301::SWCharString::operator_unsigned_short_int_const__]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0x34]
mov dx, word [ecx]
mov word [ebp - 0x30], dx
mov ecx, dword [eax + 0x40]
mov dx, word [ecx]
mov word [ebp - 0x52], dx
mov eax, dword [eax + 0x4c]
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.cxlibw_3_1.dll_public:_class_CXLib301::SWCharString____thiscall_CXLib301::SWCharString::operator_unsigned_short_int_const__]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0x64]
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
mov ecx, dword [eax + 0x70]
mov dx, word [ecx]
mov word [ebp - 0x44], dx
mov ecx, dword [eax + 0x88]
mov dx, word [ecx]
mov word [ebp - 0x42], dx
mov ecx, dword [eax + 0x98]
test ecx, ecx
lea ecx, [ebp - 0x40]
jle 0x24bb77bc
mov eax, dword [eax + 0x94]
push eax
jmp 0x24bb77c1
push 0x24bc5588
call dword [sym.imp.cxlibw_3_1.dll_public:_class_CXLib301::SWCharString____thiscall_CXLib301::SWCharString::operator_unsigned_short_int_const__]
mov ax, word [ebp - 0x52]
inc ebx
cmp ax, 0xffff
mov word [ebp - 0x2e], bx
je 0x24bb77dc
cmp ax, 0xfff6
jne 0x24bb77e9
mov word [ebp - 0x52], 0xfff7
mov dword [ebp - 0x4c], 0xfffe
mov ecx, dword [edi + 0x4c]
mov edx, dword [ecx]
lea eax, [ebp - 0x5c]
push eax
call dword [edx + 0x48]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [edi + 0xc]
call fcn.24ba9130
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.24b82f00
jmp 0x24bb7670
push 0
push 0
push 0
push 3
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x12c]
call fcn.24bb4dc0
push 0x24bcf3b0
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCR71.dll__CxxThrowException
push 0
push 0
call sub.MSVCR71.dll__CxxThrowException
int3