Function at 0x100285e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
call fcn.10027820
mov esi, dword [ebp + 8]
mov edi, eax
push 0x7c
push 0
lea ecx, [esi + 4]
push ecx
call fcn.10033d60
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 0x10028638
mov dword [esi + 0xc], 1
mov eax, 1
mov cl, byte [edi + 4]
test cl, 2
je 0x10028646
or eax, 2
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 4
je 0x10028654
or eax, 4
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 8
je 0x10028662
or eax, 8
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 0x10
je 0x10028670
or eax, 0x10
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 0x20
je 0x1002867e
or eax, 0x20
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 0x40
je 0x1002868c
or eax, 0x40
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, cl
jns 0x10028698
or eax, 0x80
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 1
je 0x100286ab
or eax, 0x100
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 2
je 0x100286bb
or eax, 0x200
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 4
je 0x100286cb
or eax, 0x400
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 8
je 0x100286db
or eax, 0x800
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 0x10
je 0x100286eb
or eax, 0x1000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 0x20
je 0x100286fb
or eax, 0x2000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 0x40
je 0x1002870b
or eax, 0x4000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, cl
jns 0x10028717
or eax, 0x40000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 1
je 0x1002872a
or eax, 0x80000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 2
je 0x1002873a
or eax, 0x100000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 4
je 0x1002874a
or eax, 0x200000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 8
je 0x1002875a
or eax, 0x400000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 0x10
je 0x1002876a
or eax, 0x800000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 0x20
je 0x1002877a
or eax, 0x1000000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 0x40
je 0x1002878a
or eax, 0x8000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, cl
jns 0x10028796
or eax, 0x10000
mov dword [esi + 0xc], eax
test byte [edi + 7], 1
je 0x100287a4
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 0x100287cd
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.100288c0
push 0x30
push dword [edi + 0x1c]
lea eax, [esi + 0x30]
push eax
call fcn.100288c0
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
ret