Function at 0x4ed680
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x549818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
push edi
mov ebp, 1
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x10], edi
mov dword [ebx + 0x10], edi
jne 0x4ed6e8
push 0x1a
mov ecx, ebx
call fcn.004736e0
mov edi, dword [esp + 0x40]
push edi
call fcn.00474320
add esp, 4
mov esi, eax
mov ecx, ebx
push esi
call fcn.00473660
push esi
push edi
mov ecx, ebx
call fcn.00473c60
mov dword [esp + 0x10], ebp
jmp 0x4eda8d
mov esi, dword [esp + 0x40]
push esi
call fcn.004741f0
add esp, 4
cmp eax, ebp
jne 0x4ed70b
push 0x16
mov ecx, ebx
call fcn.004736e0
mov dword [esp + 0x10], ebp
jmp 0x4eda8d
lea ecx, [esp + 0x1c]
call fcn.004733a0
mov al, byte [esi]
mov dword [esp + 0x38], edi
cmp al, 0x20
jne 0x4ed726
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x4ed71e
mov al, byte [esi]
mov dword [esp + 0x14], edi
cmp al, 0x22
jne 0x4ed775
mov dword [esp + 0x14], ebp
inc esi
mov al, byte [esi]
mov ebp, esi
test al, al
je 0x4ed96a
test al, 0x80
je 0x4ed954
mov cl, byte [esi + 1]
inc esi
test cl, cl
je 0x4ed966
xor edx, edx
mov dh, al
mov dl, cl
mov eax, edx
cmp ax, 0xa1b0
je 0x4ed76d
cmp ax, 0xa1b1
jne 0x4ed95a
lea edi, [esi - 1]
jmp 0x4ed95a
test al, 0x80
je 0x4ed79f
xor ecx, ecx
mov ch, al
mov cl, byte [esi + 1]
mov edi, ecx
cmp di, 0xa1b0
mov dword [esp + 0x44], edi
je 0x4ed794
cmp di, 0xa1b1
jne 0x4ed7a3
add esi, 2
mov dword [esp + 0x14], ebp
xor edi, edi
jmp 0x4ed735
mov edi, dword [esp + 0x44]
test al, al
je 0x4ed8f9
mov bl, byte [esp + 0x48]
mov cl, al
inc esi
mov byte [esp + 0x40], cl
mov eax, dword [esp + 0x40]
and eax, 0xff
shr eax, 7
cmp eax, 1
jne 0x4ed805
mov bl, byte [esi]
inc esi
test bl, bl
je 0x4ed8f0
xor edx, edx
mov dh, cl
mov dl, bl
mov dword [esp + 0x44], edx
mov edi, edx
cmp cl, 0x81
jb 0x4ed7ec
cmp cl, 0xa0
jbe 0x4ed8d6
cmp cl, 0xaa
jae 0x4ed8d6
cmp cl, 0xa9
jne 0x4ed826
cmp bl, 0x60
je 0x4ed8d6
jmp 0x4ed84e
test eax, eax
jne 0x4ed7de
cmp cl, 0x20
jae 0x4ed813
mov byte [esp + 0x40], 0x20
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
call fcn.004736e0
jmp 0x4ed8e6
cmp cl, 0xa4
jne 0x4ed83b
cmp bl, 0xa1
jb 0x4ed84e
cmp bl, 0xf3
jbe 0x4ed8d6
jmp 0x4ed84e
cmp cl, 0xa5
jne 0x4ed84e
cmp bl, 0xa1
jb 0x4ed84e
cmp bl, 0xf6
jbe 0x4ed8d6
cmp di, 0xa1a1
jne 0x4ed865
push 0x20
lea ecx, [esp + 0x20]
call fcn.004736e0
jmp 0x4ed8e6
cmp di, 0xa1ae
je 0x4ed8c9
cmp di, 0xa1af
je 0x4ed8c9
cmp di, 0xa1a3
jne 0x4ed887
push 0x2e
lea ecx, [esp + 0x20]
call fcn.004736e0
jmp 0x4ed8e6
movzx di, bl
movzx cx, cl
shl edi, 8
or ecx, edi
push ecx
call fcn.004dfbe0
add esp, 4
mov byte [esp + 0x40], al
test al, al
je 0x4ed8b9
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push edx
call fcn.004736e0
mov edi, dword [esp + 0x44]
jmp 0x4ed8e6
push edi
lea ecx, [esp + 0x20]
call fcn.004736a0
mov edi, dword [esp + 0x44]
jmp 0x4ed8e6
push 0x27
lea ecx, [esp + 0x20]
call fcn.004736e0
jmp 0x4ed8e6
xor eax, eax
mov ah, bl
mov al, cl
lea ecx, [esp + 0x1c]
push eax
call fcn.004736a0
mov al, byte [esi]
test al, al
jne 0x4ed7af
mov ebx, dword [esp + 0x48]
mov ebp, 1
push 0
lea ecx, [esp + 0x20]
call fcn.004736e0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
neg esi
sbb esi, esi
and esi, edi
mov al, byte [esi]
inc esi
test ecx, ecx
je 0x4ed97e
push 0x1a
mov ecx, ebx
call fcn.004736e0
mov eax, dword [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.00473660
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, ebx
and eax, esi
push eax
call fcn.00473c60
mov dword [esp + 0x10], ebp
jmp 0x4eda74
cmp al, 0x22
jne 0x4ed95a
mov edi, esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4ed741
test edi, edi
jne 0x4ed96c
mov edi, esi
sub edi, ebp
lea ecx, [esp + 0x1c]
push edi
push ebp
call fcn.00473c60
jmp 0x4ed8f4
cmp al, 0x5b
jne 0x4ed9d4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + esi - 1], 0x5d
jne 0x4eda74
mov byte [ecx + esi - 1], 0
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.004df420
add esp, 8
cmp eax, ebp
jne 0x4eda74
push 0x19
mov ecx, ebx
call fcn.004736e0
lea edx, [esp + 0x14]
push 8
push edx
mov ecx, ebx
call fcn.00473c60
mov dword [esp + 0x10], ebp
jmp 0x4eda74
cmp al, 0x30
jb 0x4ed9dc
cmp al, 0x39
jbe 0x4eda1c
cmp al, 0x2e
je 0x4eda1c
cmp al, 0x2d
je 0x4eda1c
lea eax, [esp + 0x48]
dec esi
push eax
push esi
mov ecx, 0x599b30
call fcn.00459f10
cmp eax, ebp
jne 0x4eda74
push 0x18
mov ecx, ebx
call fcn.004736e0
mov ecx, dword [esp + 0x48]
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
dec ecx
push ecx
mov ecx, ebx
call fcn.004736a0
mov dword [esp + 0x10], ebp
jmp 0x4eda74
lea edx, [esi - 1]
push edx
call fcn.00503c52
mov al, byte [esi]
add esp, 4
fstp qword [esp + 0x14]
test al, al
mov dword [esp + 0x10], ebp
je 0x4eda5d
inc esi
cmp al, 0x2d
je 0x4eda57
cmp al, 0x2e
je 0x4eda57
cmp al, 0x30
jb 0x4eda47
cmp al, 0x39
jbe 0x4eda57
cmp al, 0x44
je 0x4eda57
cmp al, 0x45
je 0x4eda57
cmp al, 0x64
je 0x4eda57
cmp al, 0x65
jne 0x4edaad
mov al, byte [esi]
test al, al
jne 0x4eda36
push 0x17
mov ecx, ebx
call fcn.004736e0
lea eax, [esp + 0x14]
push 8
push eax
mov ecx, ebx
call fcn.00473c60
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x1c], 0x54d7d0
call fcn.004735a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
neg eax
sbb eax, eax
pop edi
and al, 0xd4
pop esi
pop ebp
add eax, 0x2c
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov dword [esp + 0x10], 0
jmp 0x4eda74