Function at 0x4ed5e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x549768
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 0x4ed648
push 0x1a
mov ecx, ebx
call fcn.004737d0
mov edi, dword [esp + 0x40]
push edi
call fcn.00474410
add esp, 4
mov esi, eax
mov ecx, ebx
push esi
call fcn.00473750
push esi
push edi
mov ecx, ebx
call fcn.00473d50
mov dword [esp + 0x10], ebp
jmp 0x4ed9ed
mov esi, dword [esp + 0x40]
push esi
call fcn.004742e0
add esp, 4
cmp eax, ebp
jne 0x4ed66b
push 0x16
mov ecx, ebx
call fcn.004737d0
mov dword [esp + 0x10], ebp
jmp 0x4ed9ed
lea ecx, [esp + 0x1c]
call fcn.00473490
mov al, byte [esi]
mov dword [esp + 0x38], edi
cmp al, 0x20
jne 0x4ed686
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x4ed67e
mov al, byte [esi]
mov dword [esp + 0x14], edi
cmp al, 0x22
jne 0x4ed6d5
mov dword [esp + 0x14], ebp
inc esi
mov al, byte [esi]
mov ebp, esi
test al, al
je 0x4ed8ca
test al, 0x80
je 0x4ed8b4
mov cl, byte [esi + 1]
inc esi
test cl, cl
je 0x4ed8c6
xor edx, edx
mov dh, al
mov dl, cl
mov eax, edx
cmp ax, 0xa1b0
je 0x4ed6cd
cmp ax, 0xa1b1
jne 0x4ed8ba
lea edi, [esi - 1]
jmp 0x4ed8ba
test al, 0x80
je 0x4ed6ff
xor ecx, ecx
mov ch, al
mov cl, byte [esi + 1]
mov edi, ecx
cmp di, 0xa1b0
mov dword [esp + 0x44], edi
je 0x4ed6f4
cmp di, 0xa1b1
jne 0x4ed703
add esi, 2
mov dword [esp + 0x14], ebp
xor edi, edi
jmp 0x4ed695
mov edi, dword [esp + 0x44]
test al, al
je 0x4ed859
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 0x4ed765
mov bl, byte [esi]
inc esi
test bl, bl
je 0x4ed850
xor edx, edx
mov dh, cl
mov dl, bl
mov dword [esp + 0x44], edx
mov edi, edx
cmp cl, 0x81
jb 0x4ed74c
cmp cl, 0xa0
jbe 0x4ed836
cmp cl, 0xaa
jae 0x4ed836
cmp cl, 0xa9
jne 0x4ed786
cmp bl, 0x60
je 0x4ed836
jmp 0x4ed7ae
test eax, eax
jne 0x4ed73e
cmp cl, 0x20
jae 0x4ed773
mov byte [esp + 0x40], 0x20
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
call fcn.004737d0
jmp 0x4ed846
cmp cl, 0xa4
jne 0x4ed79b
cmp bl, 0xa1
jb 0x4ed7ae
cmp bl, 0xf3
jbe 0x4ed836
jmp 0x4ed7ae
cmp cl, 0xa5
jne 0x4ed7ae
cmp bl, 0xa1
jb 0x4ed7ae
cmp bl, 0xf6
jbe 0x4ed836
cmp di, 0xa1a1
jne 0x4ed7c5
push 0x20
lea ecx, [esp + 0x20]
call fcn.004737d0
jmp 0x4ed846
cmp di, 0xa1ae
je 0x4ed829
cmp di, 0xa1af
je 0x4ed829
cmp di, 0xa1a3
jne 0x4ed7e7
push 0x2e
lea ecx, [esp + 0x20]
call fcn.004737d0
jmp 0x4ed846
movzx di, bl
movzx cx, cl
shl edi, 8
or ecx, edi
push ecx
call fcn.004dfb50
add esp, 4
mov byte [esp + 0x40], al
test al, al
je 0x4ed819
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push edx
call fcn.004737d0
mov edi, dword [esp + 0x44]
jmp 0x4ed846
push edi
lea ecx, [esp + 0x20]
call fcn.00473790
mov edi, dword [esp + 0x44]
jmp 0x4ed846
push 0x27
lea ecx, [esp + 0x20]
call fcn.004737d0
jmp 0x4ed846
xor eax, eax
mov ah, bl
mov al, cl
lea ecx, [esp + 0x1c]
push eax
call fcn.00473790
mov al, byte [esi]
test al, al
jne 0x4ed70f
mov ebx, dword [esp + 0x48]
mov ebp, 1
push 0
lea ecx, [esp + 0x20]
call fcn.004737d0
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 0x4ed8de
push 0x1a
mov ecx, ebx
call fcn.004737d0
mov eax, dword [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.00473750
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.00473d50
mov dword [esp + 0x10], ebp
jmp 0x4ed9d4
cmp al, 0x22
jne 0x4ed8ba
mov edi, esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4ed6a1
test edi, edi
jne 0x4ed8cc
mov edi, esi
sub edi, ebp
lea ecx, [esp + 0x1c]
push edi
push ebp
call fcn.00473d50
jmp 0x4ed854
cmp al, 0x5b
jne 0x4ed934
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 0x4ed9d4
mov byte [ecx + esi - 1], 0
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.004df390
add esp, 8
cmp eax, ebp
jne 0x4ed9d4
push 0x19
mov ecx, ebx
call fcn.004737d0
lea edx, [esp + 0x14]
push 8
push edx
mov ecx, ebx
call fcn.00473d50
mov dword [esp + 0x10], ebp
jmp 0x4ed9d4
cmp al, 0x30
jb 0x4ed93c
cmp al, 0x39
jbe 0x4ed97c
cmp al, 0x2e
je 0x4ed97c
cmp al, 0x2d
je 0x4ed97c
lea eax, [esp + 0x48]
dec esi
push eax
push esi
mov ecx, 0x599ae0
call fcn.00459d10
cmp eax, ebp
jne 0x4ed9d4
push 0x18
mov ecx, ebx
call fcn.004737d0
mov ecx, dword [esp + 0x48]
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
dec ecx
push ecx
mov ecx, ebx
call fcn.00473790
mov dword [esp + 0x10], ebp
jmp 0x4ed9d4
lea edx, [esi - 1]
push edx
call fcn.00503bb2
mov al, byte [esi]
add esp, 4
fstp qword [esp + 0x14]
test al, al
mov dword [esp + 0x10], ebp
je 0x4ed9bd
inc esi
cmp al, 0x2d
je 0x4ed9b7
cmp al, 0x2e
je 0x4ed9b7
cmp al, 0x30
jb 0x4ed9a7
cmp al, 0x39
jbe 0x4ed9b7
cmp al, 0x44
je 0x4ed9b7
cmp al, 0x45
je 0x4ed9b7
cmp al, 0x64
je 0x4ed9b7
cmp al, 0x65
jne 0x4eda0d
mov al, byte [esi]
test al, al
jne 0x4ed996
push 0x17
mov ecx, ebx
call fcn.004737d0
lea eax, [esp + 0x14]
push 8
push eax
mov ecx, ebx
call fcn.00473d50
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x1c], 0x54d7d0
call fcn.00473690
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 0x4ed9d4