Function at 0x48fe90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b8068
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4e70ac]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push esi
lea ecx, [esp + 0x54]
call fcn.00459bc0
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], 0
call fcn.0046a190
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 1
call fcn.0046a190
lea ebx, [edi + 0x114]
mov ecx, ebx
mov byte [esp + 0x78], 2
mov dword [esp + 0x2c], ebx
call fcn.00459ec0
mov eax, dword [eax]
lea ecx, [edi + 0x6c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 1
call fcn.0048b230
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.0042179b
cmp dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
jne 0x48ff30
test eax, eax
jne 0x48ff42
lea ecx, [esp + 0x30]
call fcn.0046a210
lea ecx, [esp + 0x38]
call fcn.0046a210
lea ecx, [edi + 0x12c]
call fcn.00491490
push eax
lea ecx, [esp + 0x34]
call fcn.0046a290
lea ecx, [edi + 0xf8]
call fcn.0048dbb0
push eax
lea ecx, [esp + 0x3c]
call fcn.0046a290
cmp dword [esp + 0x1c], 0
jne 0x48ff9f
mov ebx, dword [edi]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x40]
call fcn.0048c170
push eax
lea ecx, [esp + 0x3c]
call fcn.0048c170
push eax
mov eax, dword [ebx + 0x148]
mov ecx, edi
call eax
jmp 0x48fff2
mov ecx, edi
call fcn.0048f780
test eax, eax
je 0x48ffc4
mov ecx, ebx
call fcn.0048f280
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [edi + 0xf8]
call fcn.0048f280
jmp 0x48ffe8
lea ecx, [edi + 0x54]
call fcn.0048c170
test eax, eax
je 0x48fff2
mov ecx, ebx
call fcn.0048bb40
mov edx, dword [eax]
lea ecx, [edi + 0xf8]
mov dword [esp + 0x10], edx
call fcn.00459ec0
push eax
lea ecx, [esp + 0x3c]
call fcn.0046a290
mov ebx, dword [ebp + 0x18]
sub ebx, dword [ebp + 0x10]
test esi, esi
jne 0x490002
mov dword [esp + 0x14], esi
jmp 0x490009
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x38]
call fcn.0048c170
mov ecx, eax
call fcn.004976a0
mov ecx, dword [esp + 0x14]
sub ebx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push ecx
lea ecx, [esp + 0x44]
call fcn.0048c170
push eax
call fcn.004569e0
mov edx, dword [edi + 0x20]
add esp, 0x10
push 0
push 0
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x490132
mov ebx, dword [ebp + 0x18]
sub ebx, dword [ebp + 0x10]
lea ecx, [esp + 0x30]
call fcn.0048c170
mov ecx, eax
call fcn.004976a0
sub ebx, eax
mov eax, ebx
cdq
sub eax, edx
mov ebx, eax
lea ecx, [esp + 0x30]
sar ebx, 1
call fcn.0048c170
mov ecx, eax
call fcn.004976a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], eax
call fcn.0048c170
mov ecx, eax
call fcn.00466a50
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], eax
call fcn.0048c170
mov ecx, eax
call fcn.0045a650
xor edx, edx
cmp eax, 0x20
mov eax, dword [esp + 0x14]
lea ecx, [ebx + eax]
mov dword [esp + 0x4c], ecx
je 0x4900fa
test esi, esi
jne 0x4900ca
xor ecx, ecx
jmp 0x4900cd
mov ecx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x5c]
push ecx
lea ecx, [esp + 0x44]
mov dword [eax + 0xc], edx
call fcn.0048c170
push eax
call fcn.00456810
add esp, 0x18
jmp 0x490132
test esi, esi
jne 0x490102
xor ecx, ecx
jmp 0x490105
mov ecx, dword [esi + 4]
push 0x64
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
push ecx
lea ecx, [esp + 0x48]
mov dword [eax + 0xc], edx
call fcn.0048c170
push eax
call fcn.00456a50
add esp, 0x1c
cmp dword [esp + 0x18], 0
je 0x490238
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0048c170
mov ecx, eax
call fcn.00466a50
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esi]
lea edx, [ecx + eax + 5]
mov eax, dword [esp + 0x10]
push eax
lea ecx, [edi + 0x6c]
mov dword [esp + 0x20], edx
call fcn.0048b1b0
mov edx, dword [ebx + 0x30]
push eax
mov ecx, esi
call edx
push 1
mov ecx, esi
call fcn.00423ae3
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.0042447d
test eax, eax
je 0x4901bd
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
push edx
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x2c]
push eax
call fcn.004676b0
mov eax, dword [eax]
mov bl, 3
mov byte [esp + 0x78], bl
test eax, eax
je 0x4901db
mov eax, dword [eax]
jmp 0x4901dd
xor eax, eax
push eax
lea ecx, [esp + 0x18]
call fcn.00405ee0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
push 0x8024
lea edi, [esp + 0x20]
push edi
push ecx
push eax
mov eax, dword [edx + 0x68]
mov ecx, esi
mov byte [esp + 0x88], 4
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x78], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49022f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
call fcn.0048f370
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 1
call fcn.0046a200
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 0
call fcn.0046a200
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], 0xffffffff
call fcn.00459cd0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14