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

Disassembly:
push ecx
push edi
add esp, 4
sub ecx, 0xa79c
or ecx, 0x9e41
xor ecx, 0x313d
pop ecx
push edi
xor edi, 0x15062
or edi, 0x62b0
and edi, 0xa673
jmp 0x40a1dc
pop edi
lea edx, [ebp - 0x1628]
mov dword [ebp - 0xc48], edx
mov eax, dword [ebp - 0x4e4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc44], ecx
xor edx, edx
mov word [ebp - 0x204], dx
xor eax, eax
mov word [ebp - 0x38], ax
push esi
push ecx
add esp, 4
jmp 0x40a211
add esi, 0x15aec
call 0x40a227
add byte [esi + 0x3b], al
cmp byte [eax + 0x3c], al
cmp dh, byte [edi]
inc esi
inc edi
xor al, byte [ebx + 0x575e04c4]
sub edi, 0xdc61
and edi, 0xc95b
pop edi
mov ecx, dword [ebp - 0xc44]
mov dx, word [ecx]
mov word [ebp - 0xf8a], dx
mov eax, dword [ebp - 0xc44]
add eax, 2
mov dword [ebp - 0xc44], eax
mov cx, word [ebp - 0xf8a]
mov word [ebp - 0x204], cx
mov edx, dword [ebp - 0xc48]
mov ax, word [edx]
mov word [ebp - 0xf8c], ax
mov ecx, dword [ebp - 0xc48]
add ecx, 2
mov dword [ebp - 0xc48], ecx
mov dx, word [ebp - 0xf8c]
mov word [ebp - 0x38], dx
push eax
add eax, 0x19e2
pop eax
push ebx
call 0x40a2a8
add byte [0x44483848], dh
dec ecx
dec ecx
dec eax
inc edi
add esp, 4
pop ebx
push ebx
sub ebx, 0x17e24
jmp 0x40a2bb
or ebx, 0x170fc
pop ebx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x40a2df
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1514], ecx
jmp 0x40a339
movzx eax, word [ebp - 0x204]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x40a207
movzx edx, word [ebp - 0x204]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x40a207
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x40a323
mov dword [ebp - 0x1510], 0xffffffff
jmp 0x40a32d
mov dword [ebp - 0x1510], 1
mov eax, dword [ebp - 0x1510]
mov dword [ebp - 0x1514], eax
cmp dword [ebp - 0x1514], 0
jne 0x40a382
push edi
push edi
add esp, 4
jmp 0x40a34d
or edi, 0x54d7
pop edi
push edi
push eax
add esp, 4
or edi, 0x14484
jmp 0x40a367
sub edi, 0xf7f9
and edi, 0xc1c
pop edi
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x2a8], ecx
jmp 0x40a3ea
push esi
and esi, 0x8677
jmp fcn.0040a390
xor esi, 0x1048e
jmp 0x40a39f
pop esi
push ecx
xor ecx, 0x4f35
sub ecx, 0x348c
add ecx, 0xa115
pop ecx
mov edx, dword [ebp - 0x4e4]
mov eax, dword [edx]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
cmp ecx, dword [ebp - 0xc4c]
je 0x40a3e0
mov edx, dword [ebp - 0x4e4]
cmp dword [edx + 0x30], 0
jne 0x40a1ab
mov dword [ebp - 0x2a8], 0
push esi
push esi
add esp, 4
call 0x40a3fe
add byte [ebx + 0x47], al
cmp al, 0x40
inc eax
cmp al, 0x37
xor eax, 0x5e04c483
push eax
sub eax, 0xba61
or eax, 0xea5b
or eax, 0xb0f4
and eax, 0xaaa
pop eax
cmp dword [ebp - 0x2a8], 0
jne 0x40ad21
mov eax, 0x6b
mov word [ebp - 0x16e8], ax
mov ecx, 0x65
mov word [ebp - 0x16e6], cx
mov edx, 0x72
mov word [ebp - 0x16e4], dx
mov eax, 0x6e
mov word [ebp - 0x16e2], ax
mov ecx, 0x65
mov word [ebp - 0x16e0], cx
mov edx, 0x6c
mov word [ebp - 0x16de], dx
mov eax, 0x33
mov word [ebp - 0x16dc], ax
mov ecx, 0x32
mov word [ebp - 0x16da], cx
mov edx, 0x2e
mov word [ebp - 0x16d8], dx
mov eax, 0x64
invalid
invalid
test dword [edx], ebp
invalid
invalid