Function at 0x4821d5
Capabilities:
Get number of processors

Disassembly:
mov edx, dword [ebp - 0x96c]
add edx, 1
mov dword [ebp - 0x96c], edx
mov eax, dword [ebp - 0x968]
mov ecx, dword [ebp - 0x96c]
cmp ecx, dword [eax + 0x18]
jae 0x481cec
mov edx, dword [ebp - 0x96c]
mov eax, dword [ebp - 0x1f30]
mov ecx, dword [ebp - 0x3d0]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x970], ecx
mov edx, dword [ebp - 0x96c]
mov eax, dword [ebp - 0x1f34]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x1f38]
mov eax, dword [ebp - 0x3d0]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1f3c], eax
mov dword [ebp - 0x1f0], 0
jmp 0x481b50
mov edx, dword [ebp - 0x970]
add edx, dword [ebp - 0x1f0]
movsx eax, byte [edx]
test eax, eax
je 0x481c02
mov ecx, dword [ebp - 0x1f0]
movsx edx, byte [ebp + ecx - 0xa14]
test edx, edx
je 0x481c02
push edi
push edi
add esp, 4
and edi, 0xa52f
xor edi, 0x182e3
pop edi
push eax
push edx
sub edx, 0x3412
sub edx, 0x34
pop edx
push ebx
jmp 0x481c19
add ebx, 0x3c33
pop ebx
push esi
add esi, 0x104d0
add esi, 0xafea
and esi, 0x3790
pop esi
mov edx, dword [ebp - 0x970]
add edx, dword [ebp - 0x1f0]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x1f0]
movsx edx, byte [ebp + ecx - 0xa14]
cmp eax, edx
jne 0x481c61
mov dword [ebp - 0xfdc], 0
jmp 0x481cd0
push edi
push edx
add esp, 4
add edi, 0x98a3
and edi, 0x1133e
add dword [eax], eax
pop edi
push ebx
call 0x481c83
add byte [edx], bh
xor eax, 0x494a3840
cmp eax, 0xc4834345
add al, 0x81
jmp 0x481c94
test dword [eax + 0x3fffff6], edx
test dword [eax], edx
invalid
cmp dword [ebp - 0xfdc], 0
jne 0x481ce7
mov ecx, dword [ebp - 0x1f3c]
mov dword [ebp - 0x638], ecx
jmp 0x481cf8
jmp 0x481ad1
mov edx, dword [ebp - 0x974]
mov dword [ebp - 0x638], edx
mov eax, dword [ebp - 0x638]
mov dword [ebp - 0x9a0], eax
push ebx
push esi
add esp, 4
or ebx, 0xb144
add ebx, 0xd242
sub ebx, 0x43b1
pop ebx
push ecx
push eax
add esp, 4
sub ecx, 0x3d04
pop ecx
push ecx
or ecx, 0x13ff2
and ecx, 0x1d97
pop ecx
mov ecx, dword [ebp - 0x4c8]
add ecx, 0xe
mov dword [ebp - 0x1f8c], ecx
lea esi, [eax - 1]
call dword [esi + 0x57]
add esp, 4
add esi, 0x90d1
pop esi
push ecx
add ecx, 0xaef7
jmp 0x481d5e
pop ecx
push ecx
call 0x481d6d
add byte [ebx], bh
cmp byte [ebp + 0x43], al
inc esi
dec ebx
add esp, 4
xor ecx, 0x8201
pop ecx
cmp dword [ebp - 0x4c8], 0
je 0x481d89
cmp dword [ebp - 0xc3c], 0
jne 0x481dcf
push ecx
push esi
add esp, 4
or ecx, 0x1562e
add ecx, 0x11a6d
pop ecx
push ebx
call 0x481da9
add byte [ebx], bh
aaa
inc ecx
inc edx
aas
xor eax, 0x4c4833b
sub ebx, 0x15f96
jmp 0x481dba
pop ebx
mov edx, dword [ebp - 0x9a0]
mov dword [ebp - 0x1f40], edx
push 0
call dword [ebp - 0x1f40]
mov dword [ebp - 0x267c], 0xa
push ecx
jmp 0x481ddf
add ecx, 0x771d
pop ecx
push esi
push ecx
add esp, 4
and esi, 0x17357
or esi, 0x352c
sub esi, 0x11c3d
pop esi
push esi
jmp 0x481e04
add esi, 0x1bfd
pop esi
mov eax, dword [ebp - 0x4c8]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x4a5], cl
mov edx, dword [ebp - 0xc3c]
sub edx, dword [ebp - 0x4c8]
mov dword [ebp - 0x1570], edx
mov dword [ebp - 0x100c], 0
push edx
push edi
add esp, 4
jmp 0x481e43
jmp 0x481e48
call 0x481e56
add byte [ecx], bh
dec edi
dec esp
dec ebx
inc eax
inc ebp
add esp, 4
pop edx
push edi
push esi
add esp, 4
jmp 0x481e67
pop edi
mov byte [ebp - 0xbdc], 0x56
mov byte [ebp - 0xbdb], 0x69
mov byte [ebp - 0xbda], 0x72
mov byte [ebp - 0xbd9], 0x74
mov byte [ebp - 0xbd8], 0x75
mov byte [ebp - 0xbd7], 0x61
mov byte [ebp - 0xbd6], 0x6c
mov byte [ebp - 0xbd5], 0x50
mov byte [ebp - 0xbd4], 0x72
mov byte [ebp - 0xbd3], 0x6f
mov byte [ebp - 0xbd2], 0x74
mov byte [ebp - 0xbd1], 0x65
mov byte [ebp - 0xbd0], 0x63
mov byte [ebp - 0xbcf], 0x74
mov byte [ebp - 0xbce], 0
add byte [ecx + 0x53], dl
add esp, 4
or ecx, 0x4260
pop ecx
push edi
push ecx
add esp, 4
or edi, 0x1194b
and edi, 0x6194
add edi, 0x1740a
or edi, 0xd3a2
pop edi
push eax
and eax, 0x12959
pop eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1f44], eax
mov ecx, dword [ebp - 0x1f44]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1f48], edx
mov eax, dword [ebp - 0x1f48]
mov dword [ebp - 0x1b6c], eax
push edx
push ebx
add esp, 4
sub edx, 0x382a
or edx, 0x12598
pop edx
push ebx
push ebx
add esp, 4
add ebx, 0x17371
pop ebx
push eax
and eax, 0x1247
and eax, 0x999f
or eax, 0x14445
pop eax
cmp dword [ebp - 0x1b6c], 0
jne 0x481f74
mov dword [ebp - 0x39c], 0
jmp 0x48221b
mov ecx, dword [ebp - 0x1b6c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xfe8], eax
push edi
push eax
add esp, 4
and edi, 0x14002
call 0x481f9d
add byte [edi], bh
inc esi
dec esi
cmp edx, dword [eax + 0x48]
add esp, 4
jmp 0x481fa7
pop edi
push eax
sub eax, 0x11cb5
pop eax
push esi
add esi, 0x9c7f
pop esi
cmp dword [ebp - 0xfe8], 0
jne 0x481fd0
mov dword [ebp - 0x39c], 0
jmp 0x48221b
mov ecx, dword [ebp - 0xfe8]
mov dword [ebp - 0x63c], ecx
push esi
add esi, 0x160c1
or esi, 0xa440
sub esi, 0x11586
sub esi, 0x561
pop esi
push edi
or edi, 0xee28
jmp 0x482004
jmp 0x48200d
pop edi
lea edx, [ebp - 0x1b90]
mov dword [ebp - 0xfe4], edx
mov eax, dword [ebp - 0x63c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xfe0], ecx
xor edx, edx
mov word [ebp - 0x2b0], dx
xor eax, eax
mov word [ebp - 0x6c], ax
push ecx
or ecx, 0x12aa6
call 0x48204f
add byte [edx + 0x43], al
aaa
cmp byte [ebx], bh
xor dh, byte [ebx]
xor al, 0x4b
add esp, 4
pop ecx
push esi
add esi, 0x2e6
jmp 0x482063
sub esi, 0x6d0d
pop esi
mov ecx, dword [ebp - 0xfe0]
mov dx, word [ecx]
mov word [ebp - 0x1406], dx
mov eax, dword [ebp - 0xfe0]
add eax, 2
mov dword [ebp - 0xfe0], eax
mov cx, word [ebp - 0x1406]
mov word [ebp - 0x2b0], cx
mov edx, dword [ebp - 0xfe4]
mov ax, word [edx]
mov word [ebp - 0x1408], ax
mov ecx, dword [ebp - 0xfe4]
add ecx, 2
mov dword [ebp - 0xfe4], ecx
mov dx, word [ebp - 0x1408]
mov word [ebp - 0x6c], dx
push edx
push edx
add esp, 4
sub edx, 0x12d78
pop edx
push eax
call 0x4820dd
add byte [eax], bh
aas
cmp dword [eax + edx*2], esi
dec eax
cmp byte [edi], dh
dec ebx
add esp, 4
xor eax, 0x7adf
sub eax, 0x2742
and eax, 0x3916
pop eax
movzx eax, word [ebp - 0x6c]
test eax, eax
jne 0x482110
movzx ecx, word [ebp - 0x2b0]
movzx edx, word [ebp - 0x6c]
sub ecx, edx
mov dword [ebp - 0x153c], ecx
jmp 0x48216a
movzx eax, word [ebp - 0x2b0]
movzx ecx, word [ebp - 0x6c]
cmp eax, ecx
je 0x482038
movzx edx, word [ebp - 0x2b0]
xor edx, 0x20
movzx eax, word [ebp - 0x6c]
cmp edx, eax
je 0x482038
movzx ecx, word [ebp - 0x2b0]
movzx edx, word [ebp - 0x6c]
cmp ecx, edx
jge 0x482154
mov dword [ebp - 0x1538], 0xffffffff
jmp 0x48215e
mov dword [ebp - 0x1538], 1
mov eax, dword [ebp - 0x1538]
mov dword [ebp - 0x153c], eax
cmp dword [ebp - 0x153c], 0
jne 0x4821b3
push esi
push ebx
add esp, 4
add esi, 0x441b
xor esi, 0x8a43
or esi, 0x3b08
jmp 0x482190
pop esi
push edi
add edi, 0x8cc5
add edi, 0x13b6b
add edi, 0x1572e
pop edi
mov ecx, dword [ebp - 0x63c]
mov dword [ebp - 0x39c], ecx
jmp 0x48221b
push esi
push ebx
add esp, 4
call 0x4821c5
add byte [ebx], bh
inc edi
cmp al, 0x37
inc edx
cmp bh, byte [eax]
add esp, 4
call 0x4821d5
add byte [0x3c3a3f32], bh
cmp eax, 0x4c48344
or esi, 0xbbcf
and esi, 0x7009
pop esi
mov edx, dword [ebp - 0x63c]
mov eax, dword [edx]
mov dword [ebp - 0x63c], eax
mov ecx, dword [ebp - 0x63c]
cmp ecx, dword [ebp - 0xfe8]
je 0x482211
mov edx, dword [ebp - 0x63c]
cmp dword [edx + 0x30], 0
jne 0x481fdc
mov dword [ebp - 0x39c], 0
push esi
push edi
add esp, 4
add esi, 0xa12b
sub esi, 0x1574
and esi, 0x8acb
pop esi
push edx
and edx, 0x6a89
xor edx, 0x5a86
add edx, 0xd813
and edx, 0xa5c8
pop edx
cmp dword [ebp - 0x39c], 0
jne 0x482b52
mov eax, 0x6b
mov word [ebp - 0x1c58], ax
mov ecx, 0x65
mov word [ebp - 0x1c56], cx
mov edx, 0x72
mov word [ebp - 0x1c54], dx
mov eax, 0x6e
mov word [ebp - 0x1c52], ax
mov ecx, 0x65
mov word [ebp - 0x1c50], cx
mov edx, 0x6c
invalid
invalid
xchg ebp, eax
mov dl, 0xe3