Function at 0x482870
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x555ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov ebx, dword [ebp + 8]
push ebx
push ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xffffff
call fcn.004650a0
lea esi, [esp + 0x20]
call fcn.00482750
mov dword [esp + 0x30], 0
mov eax, dword [eax]
test eax, eax
je 0x4828d4
mov edx, dword [eax]
jmp 0x4828d6
xor edx, edx
mov eax, dword [esp + 0x10]
add eax, 0x60
push eax
mov ecx, ebx
call fcn.0048a370
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x482932
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x482932
test esi, esi
je 0x482932
mov eax, dword [esi]
test eax, eax
je 0x482919
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x482929
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
lea esi, [esp + 0x20]
call fcn.00482770
mov dword [esp + 0x30], 1
mov eax, dword [eax]
test eax, eax
je 0x48294d
mov edx, dword [eax]
jmp 0x48294f
xor edx, edx
mov ecx, dword [esp + 0x10]
add ecx, 0x64
push ecx
mov ecx, ebx
call fcn.0048a370
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x4829ab
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4829ab
test esi, esi
je 0x4829ab
mov eax, dword [esi]
test eax, eax
je 0x482992
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4829a2
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
lea esi, [esp + 0x20]
call fcn.004827d0
mov dword [esp + 0x30], 2
mov eax, dword [eax]
test eax, eax
je 0x4829c6
mov edx, dword [eax]
jmp 0x4829c8
xor edx, edx
mov eax, dword [esp + 0x10]
add eax, 0x70
push eax
mov ecx, ebx
call fcn.0048a410
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x482a24
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x482a24
test esi, esi
je 0x482a24
mov eax, dword [esi]
test eax, eax
je 0x482a0b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x482a1b
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
lea esi, [esp + 0x20]
call fcn.004827f0
mov dword [esp + 0x30], 3
mov eax, dword [eax]
test eax, eax
je 0x482a3f
mov edx, dword [eax]
jmp 0x482a41
xor edx, edx
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.0048a410
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x482a9a
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x482a9a
test esi, esi
je 0x482a9a
mov eax, dword [esi]
test eax, eax
je 0x482a81
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x482a91
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
lea esi, [esp + 0x20]
call fcn.00482810
mov dword [esp + 0x30], 4
mov eax, dword [eax]
test eax, eax
je 0x482ab5
mov edx, dword [eax]
jmp 0x482ab7
xor edx, edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.0048a410
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x482b10
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x482b10
test esi, esi
je 0x482b10
mov eax, dword [esi]
test eax, eax
je 0x482af7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x482b07
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
lea esi, [esp + 0x20]
call fcn.00482790
mov dword [esp + 0x30], 5
mov eax, dword [eax]
test eax, eax
je 0x482b2b
mov edx, dword [eax]
jmp 0x482b2d
xor edx, edx
mov eax, dword [esp + 0x10]
add eax, 0x58
push eax
mov ecx, ebx
call fcn.0048a370
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x482b89
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x482b89
test esi, esi
je 0x482b89
mov eax, dword [esi]
test eax, eax
je 0x482b70
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x482b80
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
lea esi, [esp + 0x20]
call fcn.004827b0
mov dword [esp + 0x30], 6
mov eax, dword [eax]
test eax, eax
je 0x482ba4
mov edx, dword [eax]
jmp 0x482ba6
xor edx, edx
mov ecx, dword [esp + 0x10]
add ecx, 0x5c
push ecx
mov ecx, ebx
call fcn.0048a370
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x482c02
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x482c02
test esi, esi
je 0x482c02
mov eax, dword [esi]
test eax, eax
je 0x482be9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x482bf9
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
lea esi, [esp + 0x20]
call fcn.00482830
mov dword [esp + 0x30], 7
mov eax, dword [eax]
test eax, eax
je 0x482c1d
mov edx, dword [eax]
jmp 0x482c1f
xor edx, edx
mov eax, dword [esp + 0x10]
add eax, 0x6c
push eax
mov ecx, ebx
call fcn.0048a4b0
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x482c7b
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x482c7b
test esi, esi
je 0x482c7b
mov eax, dword [esi]
test eax, eax
je 0x482c62
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x482c72
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
lea esi, [esp + 0x14]
call fcn.00482850
mov dword [esp + 0x30], 8
mov eax, dword [eax]
test eax, eax
je 0x482c96
mov edx, dword [eax]
jmp 0x482c98
xor edx, edx
mov ecx, dword [esp + 0x10]
add ecx, 0x68
push ecx
mov ecx, ebx
call fcn.0048a370
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x482cfc
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x482cf4
test esi, esi
je 0x482cf4
mov eax, dword [esi]
test eax, eax
je 0x482cdb
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x482ceb
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x10]
add eax, 0x70
test byte [eax], 1
je 0x482d15
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
call fcn.00476c80
mov eax, dword [esp + 0x10]
add eax, 0x70
test byte [eax], 2
je 0x482d2e
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
call fcn.00482d50
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4