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

Disassembly:
mov edx, dword [ebp - 0x4d0]
add edx, 1
mov dword [ebp - 0x4d0], edx
push ecx
push edx
add esp, 4
call 0x50e54c
add byte [ebp + 0x4c], al
cmp dh, byte [0xc4833637]
add al, 0xe8
or byte [eax], al
add byte [eax], al
add byte [edi], dh
inc esp
cmp al, 0x35
dec ebp
aaa
add esp, 4
jmp 0x50e566
or ecx, 0x4a2f
pop ecx
mov eax, dword [ebp - 0x4d0]
sub eax, dword [ebp - 0x3c0]
cmp eax, 0xffffffff
jb 0x50e5b5
push edi
push edi
add esp, 4
or edi, 0x114f
pop edi
push eax
xor eax, 0x140b7
add eax, 0x13c96
sub eax, 0x3481
and eax, 0x91d6
pop eax
push eax
push eax
add esp, 4
add eax, 0x522b
pop eax
jmp 0x50e7e3
mov dword [ebp - 0xc10], 7
mov ecx, dword [ebp - 0x4d0]
mov dword [ebp - 0xa60], ecx
push edx
jmp 0x50e5d2
sub edx, 0x7acc
xor edx, 0x10b64
and edx, 0x12f43
pop edx
push edi
push ebx
add esp, 4
and edi, 0x12dd5
or edi, 0xb22a
xor edi, 0x712e
pop edi
mov edx, dword [ebp - 0x14c8]
mov dword [ebp - 0x9f0], edx
mov dword [ebp - 0xc14], 0
mov eax, dword [ebp - 0x4d0]
cmp eax, dword [ebp - 0x14c8]
jne 0x50e664
push edi
jmp 0x50e629
pop edi
push ecx
and ecx, 0x4921
or ecx, 0x930c
pop ecx
push edx
push ebx
add esp, 4
jmp 0x50e646
sub edx, 0x17545
xor edx, 0xd23a
pop edx
mov ecx, dword [ebp - 0xc14]
mov dword [ebp - 0x14d0], ecx
jmp 0x50e795
cmp dword [ebp - 0xc10], 0
jle 0x50e789
push eax
push eax
add esp, 4
jmp 0x50e67f
and eax, 0xc92c
jmp 0x50e68a
sub eax, 0xb691
pop eax
push esi
push ebx
add esp, 4
add esi, 0x15b4a
add esi, 0x15c17
pop esi
mov edx, dword [ebp - 0xa60]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x9f0]
movzx edx, byte [ecx]
cmp eax, edx
je 0x50e725
push esi
add esi, 0x16676
pop esi
push ecx
push ebx
add esp, 4
sub ecx, 0x16be6
add ecx, 0xcbae
and ecx, 0x3869
pop ecx
push esi
push esi
add esp, 4
or esi, 0xd682
sub esi, 0xf5f7
pop esi
mov eax, dword [ebp - 0xa60]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x9f0]
dec dword [edi]
mov dh, 2
dec dword [edi]
mov dh, 2
cmp ecx, eax
jle 0x50e70d
mov dword [ebp - 0x14cc], 1
jmp 0x50e717
mov dword [ebp - 0x14cc], 0xffffffff
mov ecx, dword [ebp - 0x14cc]
mov dword [ebp - 0xc14], ecx
jmp 0x50e789
push edx
or edx, 0x13d5a
xor edx, 0x6fb0
add edx, 0xc761
pop edx
push edi
call 0x50e747
add byte [eax + 0x40], al
aaa
aas
dec esp
add esp, 4
add edi, 0x460f
sub edi, 0x24da
pop edi
mov edx, dword [ebp - 0xc10]
sub edx, 1
mov dword [ebp - 0xc10], edx
mov eax, dword [ebp - 0xa60]
add eax, 1
mov dword [ebp - 0xa60], eax
mov ecx, dword [ebp - 0x9f0]
add ecx, 1
mov dword [ebp - 0x9f0], ecx
jmp 0x50e664
mov edx, dword [ebp - 0xc14]
mov dword [ebp - 0x14d0], edx
cmp dword [ebp - 0x14d0], 0
jne 0x50e7de
push ecx
or ecx, 0xa6f3
xor ecx, 0x108a1
pop ecx
push esi
push ecx
add esp, 4
jmp 0x50e7b7
pop esi
push ecx
push esi
add esp, 4
call 0x50e7cc
add byte [esi], dh
xor cl, byte [edx + 0x44]
inc esi
inc eax
inc edx
inc ecx
push eax
add esp, 4
pop ecx
mov eax, dword [ebp - 0x4d0]
mov dword [ebp - 0xa5c], eax
jmp 0x50e81f
jmp 0x50e52c
push ebx
add ebx, 0x9a7d
call 0x50e7f9
add byte [edi], dh
inc esi
xor eax, dword [ebx + 0x3a]
xor al, 0x3b
aaa
add esp, 4
pop ebx
push ecx
push edi
add esp, 4
or ecx, 0xc1fa
cli
rol dword [eax], 0