Function at 0x3f002b60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov edi, ecx
push 1
push 1
lea ecx, [edi + 0x25]
mov dword [edi], vtable.CpuidImpl.0
mov byte [edi + 0x24], 0
call fcn.3f004340
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x30], 0x20
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
jae 0x3f002c30
push 0x3f0364fc
call fcn.3f003b50
add esp, 4
test eax, eax
jne 0x3f002bbd
push str.AuthenticAMD
call fcn.3f003b50
add esp, 4
test eax, eax
je 0x3f002c30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
setne cl
test eax, eax
je 0x3f002c2c
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
je 0x3f002c08
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test eax, eax
setne cl
test eax, eax
je 0x3f002c05
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test eax, eax
setne cl
mov eax, dword [ebp - 4]
test cl, cl
je 0x3f002c30
cmp eax, 1
jbe 0x3f002c4c
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [ebp - 8]
mov esi, eax
push esi
call ebx
test eax, eax
je 0x3f002c30
push eax
push esi
call ebx
test eax, eax
setne cl
test cl, cl
jne 0x3f002c4c
push 0x3f036600
push 0x510
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call sym.tier0_s.dll_public:_static_bool___cdecl_AssertMsgHelper_1_::AssertFailed_char_const___unsigned_int__char_const__
add esp, 0xc
test al, al
jne 0x3f002c4c
int3
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x20]
mov ebx, 1
mov dword [edi + 0x30], eax
push ebx
push 0
mov esi, ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.3f0032b0
test dword [ebp - 0x14], 0x10000000
je 0x3f002d56
movzx ebx, byte [ebp - 0x1a]
push 0x3f0364fc
call fcn.3f003b50
add esp, 4
test eax, eax
je 0x3f002ccb
push 4
push 0
lea ecx, [ebp - 0x20]
call fcn.3f0032b0
test eax, eax
je 0x3f002d56
mov esi, dword [ebp - 0x20]
shr esi, 0x1a
jmp 0x3f002d55
mov eax, dword fs:[0x2c]
mov ecx, dword [0x3f0924ac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x3f04e778]
cmp eax, dword [ecx + 0x408]
jg 0x3f002e9d
cmp dword [0x3f04e76c], 0x68747541
jne 0x3f002d0f
cmp dword [0x3f04e770], 0x444d4163
jne 0x3f002d0f
cmp dword [0x3f04e774], 0x69746e65
je 0x3f002d2b
push 0x3f036804
push 0x52d
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call sym.tier0_s.dll_public:_static_bool___cdecl_AssertMsgHelper_1_::AssertFailed_char_const___unsigned_int__char_const__
add esp, 0xc
test al, al
jne 0x3f002d2b
int3
push 8
push 0x80000000
lea ecx, [ebp - 0x20]
call fcn.3f0032b0
test eax, eax
je 0x3f002d56
mov eax, dword [ebp - 0x18]
mov ecx, eax
and ecx, 0xf000
je 0x3f002d52
shr ecx, 0xc
shl esi, cl
jmp 0x3f002d56
movzx esi, al
inc esi
push esi
push ebx
lea ecx, [edi + 0x25]
call fcn.3f004340
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov ecx, dword [ebp - 0xc]
cmp ecx, 1
jne 0x3f002dc0
cmp ebx, ecx
je 0x3f002dab
push str.1__nLogProcsPerPkg
push 0x556
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call sym.tier0_s.dll_public:_static_bool___cdecl_AssertMsgHelper_1_::AssertFailed_char_const___unsigned_int__char_const__
add esp, 0xc
test al, al
jne 0x3f002dab
int3
movzx eax, byte [edi + 0x24]
mov byte [eax + edi + 4], 0
mov eax, edi
inc byte [edi + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x10], ecx
je 0x3f002dd0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov ecx, dword [ebp - 0xc]
xor ebx, ebx
mov esi, 1
cmp esi, ecx
ja 0x3f002e76
test ecx, esi
je 0x3f002e6e
mov al, byte [edi + 0x24]
test ebx, ebx
jne 0x3f002e1c
test al, al
je 0x3f002e0e
push str.0__m_nItems
push 0x56e
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call sym.tier0_s.dll_public:_static_bool___cdecl_AssertMsgHelper_1_::AssertFailed_char_const___unsigned_int__char_const__
add esp, 0xc
test al, al
jne 0x3f002e0e
int3
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov ebx, eax
jmp 0x3f002e46
test al, al
jne 0x3f002e3c
push str.m_nItems___0
push 0x574
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0CPUTopology.cpp
call sym.tier0_s.dll_public:_static_bool___cdecl_AssertMsgHelper_1_::AssertFailed_char_const___unsigned_int__char_const__
add esp, 0xc
test al, al
jne 0x3f002e3c
int3
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.3f0032b0
movzx eax, byte [edi + 0x24]
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x18
mov byte [eax + edi + 4], cl
inc byte [edi + 0x24]
mov ecx, dword [ebp - 0xc]
add esi, esi
jne 0x3f002dd7
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x3f04e778
call fcn.3f01a5dc
add esp, 4
cmp dword [0x3f04e778], 0xffffffff
jne 0x3f002ceb
push 0
push 0
mov ecx, 0x3f04e768
call fcn.3f0043d0
push 0x3f04e778
call fcn.3f01a592
add esp, 4
jmp 0x3f002ceb