Function at 0x4c6991
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop eax
push ecx
sub ecx, 0x616e
pop ecx
push ecx
xor ecx, 0x39d7
xor ecx, 0x3ff3
and ecx, 0x16d8c
pop ecx
mov dword [ebp - 0x4b8], 0xb
mov byte [ebp - 0x1a4], 0x8b
mov byte [ebp - 0x1a3], 0xe5
mov byte [ebp - 0x1a2], 0x5d
mov byte [ebp - 0x1a1], 0xc3
push esi
call 0x4c69e5
add byte [ecx], bh
cmp ecx, dword [ebx + 0x42]
dec ebx
dec ebx
push eax
add esp, 4
pop esi
push eax
and eax, 0x11da3
call 0x4c69ff
add byte [0x35444a43], dh
cmp byte [ebx + 0x33], cl
dec ecx
add esp, 4
or eax, 0x1230a
pop eax
mov dword [ebp - 0x4b4], 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x214], 0
jmp 0x4c6a49
mov eax, dword [ebp - 0x214]
add eax, 1
mov dword [ebp - 0x214], eax
push ebx
sub ebx, 0x1144a
jmp 0x4c6a59
pop ebx
push eax
xor eax, 0x11aa0
pop eax
push ebx
push ebx
add esp, 4
jmp 0x4c6a6e
pop ebx
push edi
push eax
add esp, 4
sub edi, 0x39b8
pop edi
mov ecx, dword [ebp - 0x214]
add ecx, dword [ebp - 0x218]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x22c]
jb 0x4c6acc
push ecx
xor ecx, 0x5aa7
pop edx
add byte [eax], al
xor ecx, 0x124ec
pop ecx
push eax
push ebx
add esp, 4
or eax, 0x6fb1
xor eax, 0x1112d
pop eax
push eax
push edi
add esp, 4
xor eax, 0x5676
xor eax, 0x180fd
pop eax
jmp 0x4c7183
mov dword [ebp - 0x21c], 0xb
mov eax, 1
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x1c8]
mov dword [ebp - 0x2d4], edx
push ecx
sub ecx, 0xe0df
and ecx, 0x3e7f
xor ecx, 0x12a16
add ecx, 0x16f50
pop ecx
push edi
push eax
add esp, 4
and edi, 0x16591
xor edi, 0x561a
jmp 0x4c6b1c
pop edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1ac], eax
push eax
and eax, 0x15fe9
call 0x4c6b3b
add byte [ebx + 0x44], cl
inc ecx
dec esi
xor al, 0x49
dec esi
cmp al, byte [ebx + 0xbe804c4]
add byte [eax], al
add byte [eax], al
dec ebx
inc ebx
xor bh, byte [ecx]
cmp edi, dword [ebx + esi]
inc esi
xor eax, 0x4c4834f
and eax, 0x14b0a
pop eax
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x220], 0
push edi
push esi
add esp, 4
call 0x4c6b83
add byte [edx + 0x34], cl
xor al, 0x4b
inc edx
inc ebp
inc esp
push eax
cmp eax, dword [ebx + eax*4 - 0x3c]
add al, 0xeb
add edi, dword [edi]
dec ecx
inc esp
pop edi
push ecx
sub ecx, 0xa773
add ecx, 0xdea4
and ecx, 0xbaf0
pop ecx
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x2d4]
jne 0x4c6bee
push ecx
sub ecx, 0x4dee
pop ecx
push esi
push eax
add esp, 4
add esi, 0xb59f
xor esi, 0xe186
or esi, 0x12ec3
call 0x4c6bd9
add byte [edx], bh
inc edx
cmp esi, dword [edi]
inc edx
dec edi
dec ebp
cmp al, byte [ebx - 0x74a1fb3c]
test eax, esp
std
invalid
cmp dword [ebp - 0x21c], 0
jle 0x4c6d48
push edi
push edx
add esp, 4
call 0x4c6c10
add byte [edi], bh
dec esi
xor al, 0x34
dec edi
inc ebp
dec ebp
aas
dec ebp
dec esi
add esp, 4
call 0x4c6c23
add byte [0x3a4d4f42], bh
inc esp
dec esp
dec eax
add esp, 4
and edi, 0x10198
pop edi
mov ecx, dword [ebp - 0x1ac]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x1a8]
movzx ecx, byte [eax]
cmp edx, ecx
je 0x4c6cb2
push ecx
call 0x4c6c53
add byte [edx + ecx*2], bh
dec edi
dec esi
xor dh, byte [esi]
dec ebp
aaa
add esp, 4
call 0x4c6c65
add byte [eax], bh
inc eax
cmp eax, dword [ebx + 0x39]
dec edx
dec esi
cmp dword [ebx + eax*4 - 0x3c], ecx
add al, 0x81
jmp 0x4d8a7d
push esi
xor esi, 0x1121d
pop esi
push esi
push esi
add esp, 4
call 0x4c6cce
add byte [eax + ecx*2], dh
xor ecx, dword [ecx + ecx*2 + 0x4a]
cmp dword ds:[ebx + eax*4 - 0x3c], eax
add al, 0x81
out 0xf, al
pop ebp
add byte [eax], al
add esi, 0x13a20
sub esi, 0x16803
pop esi
mov ecx, dword [ebp - 0x21c]
sub ecx, 1
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x1ac]
add edx, 1
mov dword [ebp - 0x1ac], edx
push eax
call 0x4c6d12
add byte [edx + esi], dh
inc edi
aaa
cmp dword [ebx], esi
inc edx
cmp dword [ebx - 0xf7efb3c], eax
mov dword [0xe8000142], eax
or al, byte [eax]
add byte [eax], al
add byte [0x4c473e36], bh
inc ebx
xor al, 0x3d
add esp, 4
or eax, 0x1805b
pop eax
mov eax, dword [ebp - 0x1a8]
add eax, 1
mov dword [ebp - 0x1a8], eax
jmp 0x4c6bee
push edi
sub edi, 0xe2d9
or edi, 0x11fff
sub edi, 0x3ced
pop edi
push edx
push ebx
add esp, 4
add edx, 0xaf5d
pop edx
push esi
add esi, 0x107f4
pop esi
push eax
jmp 0x4c6d79
pop eax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x2dc], ecx
cmp dword [ebp - 0x2dc], 0
jne 0x4c717e
push esi
push ebx
add esp, 4
sub esi, 0xd308
add esi, 0x218c
pop esi
push esi
add esi, 0xc1c7
sub esi, 0x4564
pop esi
push esi
push eax
add esp, 4
or esi, 0x5b79
add esi, 0x4abf
pop esi
mov edx, dword [ebp - 0x34]
add edx, 0xb
mov dword [ebp - 0x34], edx
push eax
push ebx
add esp, 4
add eax, 0x18ea
call 0x4c6de7
add byte [eax + 0x46], dl
xor edi, dword [eax]
inc ebp
dec ebp
add esp, 4
and eax, 0x143ab
call 0x4c6dfc
add byte [eax + 0x36], cl
cmp eax, 0x833b4150
les eax, [eax + ebx*2]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xcc], eax
jmp 0x4c6a3a
xchg dl, dh
invalid