Function at 0x1002d350
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10053d71
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x1002d37e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi], 0
cmp esi, 4
jne 0x1002d417
cmp byte [0x100c042f], 0
jne 0x1002d3ba
push 0x10059f60
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.GetLogicalProcessorInformationEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100c0430], eax
nop
mov byte [0x100c042f], 1
cmp dword [0x100c0430], 0
jne case.0x1002d420.1
call fcn.1002ca80
test eax, eax
jne case.0x1002d420.2
call fcn.1002cc60
test al, al
je case.0x1002d420.0
push 0x34
call fcn.10031800
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x1002d461
mov ecx, eax
call fcn.1002bbd0
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
cmp esi, 3
ja case.0x1002d420.0
jmp dword [esi*4 + 0x1002d5d4]
push 0x1c
call fcn.10031800
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1002d461
mov ecx, eax
call fcn.1002bf90
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x14
call fcn.10031800
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x1002d5b6
mov dword [esi], vtable.ICpuTopology.0
mov byte [ebp - 4], 2
mov dword [esi], vtable.GlpiImpl.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1002ca80
test eax, eax
jne 0x1002d4df
push str.IsSupported__
push 0x28a
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1002d4df
int3
push ebx
call fcn.1002ca80
mov ebx, eax
test ebx, ebx
jne 0x1002d507
push str.pGlpi
push 0x28d
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1002d507
int3
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0
call ebx
push dword [ebp + 8]
call fcn.1003d6e6
add esp, 4
mov dword [esi + 4], eax
lea ecx, [ebp + 8]
push ecx
push eax
call ebx
mov eax, 0xaaaaaaab
mov dword [esi + 0x10], 0
mul dword [ebp + 8]
pop ebx
shr edx, 4
mov dword [esi + 8], edx
test edx, edx
je 0x1002d560
mov eax, dword [esi + 4]
add eax, 4
jmp 0x1002d550
cmp dword [eax], 0
jne 0x1002d558
inc dword [esi + 0x10]
add eax, 0x18
sub edx, 1
jne 0x1002d550
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 1
jmp 0x1002d5b8
push 8
call fcn.10031800
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x1002d5b6
mov dword [esi], vtable.ICpuTopology.0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x58]
push eax
mov dword [esi], vtable.DefaultImpl.0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
mov dword [esi + 4], eax
mov byte [ebp - 4], 4
jmp 0x1002d5b8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [edi], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4