Function at 0x3f002900
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
call sym.tier0_s.dll_struct_CPUInformation_const____cdecl_GetCPUInformation_void_
mov esi, dword [ebp + 8]
mov edi, eax
push 0x7c
push 0
lea ecx, [esi + 4]
push ecx
call fcn.3f01b7f0
mov dword [esi], 0x81716151
add esp, 0xc
movzx eax, byte [edi + 8]
mov word [esi + 8], ax
movzx eax, byte [edi + 9]
mov word [esi + 0xa], ax
xor eax, eax
mov dword [esi + 0xc], 0
mov cl, byte [edi + 4]
test cl, 1
je 0x3f002958
mov dword [esi + 0xc], 1
mov eax, 1
mov cl, byte [edi + 4]
test cl, 2
je 0x3f002966
or eax, 2
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 4
je 0x3f002974
or eax, 4
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 8
je 0x3f002982
or eax, 8
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 0x10
je 0x3f002990
or eax, 0x10
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 0x20
je 0x3f00299e
or eax, 0x20
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 0x40
je 0x3f0029ac
or eax, 0x40
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, cl
jns 0x3f0029b8
or eax, 0x80
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 1
je 0x3f0029cb
or eax, 0x100
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 2
je 0x3f0029db
or eax, 0x200
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 4
je 0x3f0029eb
or eax, 0x400
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 8
je 0x3f0029fb
or eax, 0x800
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 0x10
je 0x3f002a0b
or eax, 0x1000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 0x20
je 0x3f002a1b
or eax, 0x2000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 0x40
je 0x3f002a2b
or eax, 0x4000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, cl
jns 0x3f002a37
or eax, 0x40000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 1
je 0x3f002a4a
or eax, 0x80000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 2
je 0x3f002a5a
or eax, 0x100000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 4
je 0x3f002a6a
or eax, 0x200000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 8
je 0x3f002a7a
or eax, 0x400000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 0x10
je 0x3f002a8a
or eax, 0x800000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 0x20
je 0x3f002a9a
or eax, 0x1000000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 0x40
je 0x3f002aaa
or eax, 0x8000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, cl
jns 0x3f002ab6
or eax, 0x10000
mov dword [esi + 0xc], eax
test byte [edi + 7], 1
je 0x3f002ac4
or eax, 0x20000
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0x10001
mov dword [esi + 4], 0x1000
cmp dword [edi + 0x20], 0x14
jb 0x3f002aed
mov eax, dword [edi + 0x24]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x68], eax
lea eax, [esi + 0x20]
push 0x10
mov dword [esi + 0x64], 0
mov dword [esi + 0x6c], 0
push dword [edi + 0x18]
push eax
call fcn.3f012ef0
push 0x30
push dword [edi + 0x1c]
lea eax, [esi + 0x30]
push eax
call fcn.3f012ef0
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
ret