Function at 0x1002bbd0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053c59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x20], esi
push edi
mov dword [esi], vtable.ICpuTopology.0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x25]
push 1
push 1
mov dword [esi], vtable.CpuidImpl.0
mov byte [esi + 0x24], 0
call fcn.1002d5f0
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x40], 0x20
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
jae 0x1002bcc5
push str.GenuineIntel
call fcn.1002cd30
add esp, 4
test eax, eax
jne 0x1002bc52
push str.AuthenticAMD
call fcn.1002cd30
add esp, 4
test eax, eax
je 0x1002bcc5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
setne cl
test eax, eax
je 0x1002bcc1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x14], eax
je 0x1002bc9d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test eax, eax
setne cl
test eax, eax
je 0x1002bc9a
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test eax, eax
setne cl
mov eax, dword [ebp - 0x10]
test cl, cl
je 0x1002bcc5
cmp eax, 1
jbe 0x1002bce1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [ebp - 0x14]
mov edi, eax
push edi
call ebx
test eax, eax
je 0x1002bcc5
push eax
push edi
call ebx
test eax, eax
setne cl
test cl, cl
jne 0x1002bce1
push str.IsSupported__
push 0x510
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1002bce1
int3
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x30]
mov ebx, 1
mov dword [esi + 0x30], eax
push ebx
push 0
mov edi, ebx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.1002c450
test dword [ebp - 0x24], 0x10000000
je 0x1002bdf0
movzx ebx, byte [ebp - 0x2a]
push str.GenuineIntel
call fcn.1002cd30
add esp, 4
test eax, eax
je 0x1002bd60
push 4
push 0
lea ecx, [ebp - 0x30]
call fcn.1002c450
test eax, eax
je 0x1002bdf0
mov edi, dword [ebp - 0x30]
shr edi, 0x1a
jmp 0x1002bdef
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100f0df8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100c044c]
cmp eax, dword [ecx + 4]
jg 0x1002bf47
cmp dword [0x100c0440], 0x68747541
jne 0x1002bda4
cmp dword [0x100c0444], 0x444d4163
jne 0x1002bda4
cmp dword [0x100c0448], 0x69746e65
je 0x1002bdc0
push str.Cpuid::IsVendor__AuthenticAMD__
push 0x52d
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1002bdc0
int3
push 8
push closesocket
lea ecx, [ebp - 0x30]
call fcn.1002c450
test eax, eax
je 0x1002bdf0
mov eax, dword [ebp - 0x28]
mov ecx, eax
and ecx, 0xf000
je 0x1002bdec
shr ecx, 0xc
mov edi, 1
shl edi, cl
jmp 0x1002bdf0
movzx edi, al
inc edi
push edi
lea ecx, [esi + 0x25]
push ebx
call fcn.1002d5f0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov ecx, dword [ebp - 0x18]
cmp ecx, 1
jne 0x1002be56
cmp ebx, ecx
je 0x1002be45
push str.1__nLogProcsPerPkg
push 0x556
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1002be45
int3
movzx eax, byte [esi + 0x24]
mov byte [eax + esi + 4], 0
inc byte [esi + 0x24]
jmp 0x1002bf2d
cmp dword [ebp - 0x1c], ecx
je 0x1002be66
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
mov edi, 1
lea ecx, [ecx]
cmp edi, ecx
ja 0x1002bf0f
test ecx, edi
je 0x1002bf07
test ebx, ebx
jne 0x1002beb3
cmp byte [esi + 0x24], bl
je 0x1002bea5
push str.0__m_nItems
push 0x56e
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1002bea5
int3
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov ebx, eax
jmp 0x1002bedf
cmp byte [esi + 0x24], 0
ja 0x1002bed5
push str.m_nItems___0
push 0x574
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1002bed5
int3
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
lea ecx, [ebp - 0x30]
call fcn.1002c450
movzx eax, byte [esi + 0x24]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x18
mov byte [eax + esi + 4], cl
inc byte [esi + 0x24]
mov ecx, dword [ebp - 0x18]
add edi, edi
jne 0x1002be70
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x100c044c
call fcn.10031c99
add esp, 4
cmp dword [0x100c044c], 0xffffffff
jne 0x1002bd80
mov byte [ebp - 4], 1
mov ecx, 0x100c043c
push 0
push 0
call fcn.1002d680
mov byte [ebp - 4], 0
push 0x100c044c
call fcn.10031c4f
add esp, 4
jmp 0x1002bd80