Function at 0x10028f60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
call fcn.100281a0
mov esi, dword [ebp + 8]
mov edi, eax
push 0x7c
push 0
lea ecx, [esi + 4]
push ecx
call fcn.10034990
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 0x10028fb8
mov dword [esi + 0xc], 1
mov eax, 1
mov cl, byte [edi + 4]
test cl, 2
je 0x10028fc6
or eax, 2
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 4
je 0x10028fd4
or eax, 4
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 8
je 0x10028fe2
or eax, 8
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 0x10
je 0x10028ff0
or eax, 0x10
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 0x20
je 0x10028ffe
or eax, 0x20
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, 0x40
je 0x1002900c
or eax, 0x40
mov dword [esi + 0xc], eax
mov cl, byte [edi + 4]
test cl, cl
jns 0x10029018
or eax, 0x80
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 1
je 0x1002902b
or eax, 0x100
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 2
je 0x1002903b
or eax, 0x200
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 4
je 0x1002904b
or eax, 0x400
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 8
je 0x1002905b
or eax, 0x800
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 0x10
je 0x1002906b
or eax, 0x1000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 0x20
je 0x1002907b
or eax, 0x2000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, 0x40
je 0x1002908b
or eax, 0x4000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 5]
test cl, cl
jns 0x10029097
or eax, 0x40000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 1
je 0x100290aa
or eax, 0x80000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 2
je 0x100290ba
or eax, 0x100000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 4
je 0x100290ca
or eax, 0x200000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 8
je 0x100290da
or eax, 0x400000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 0x10
je 0x100290ea
or eax, 0x800000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 0x20
je 0x100290fa
or eax, 0x1000000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, 0x40
je 0x1002910a
or eax, 0x8000
mov dword [esi + 0xc], eax
mov cl, byte [edi + 6]
test cl, cl
jns 0x10029116
or eax, 0x10000
mov dword [esi + 0xc], eax
test byte [edi + 7], 1
je 0x10029124
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 0x1002914d
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.10029240
push 0x30
push dword [edi + 0x1c]
lea eax, [esi + 0x30]
push eax
call fcn.10029240
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
ret