Function at 0x7140182a
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x71401a10
push 0x71431a99
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x714bf044]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0xc]
mov dword [eax], 4
call fcn.71401724
test eax, eax
je 0x71401880
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
or eax, 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x54]
test eax, eax
je 0x7141b7bf
movzx eax, word [ebp - 0x54]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
movzx eax, word [ebp - 0x74]
test eax, eax
jne 0x71401a00
cmp dword [ebp - 0x5c], 0x24a
jb 0x71401a00
and dword [ebp - 4], 0
xor eax, eax
cpuid
mov dword [0x714bf138], ebx
mov dword [0x714bf140], ecx
mov dword [0x714bf13c], edx
mov byte [0x714bf144], 0
mov eax, 1
cpuid
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x2c]
and eax, 0x10
je 0x71401a00
mov eax, dword [ebp - 0x2c]
and eax, 0x8000
je 0x71401922
mov eax, dword [ebp - 0x2c]
and eax, 1
je 0x71401922
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
or eax, 2
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x7141b817
mov dword [ebp - 0x80], 0x714014e0
mov dword [ebp - 0x84], 0x714bf138
mov eax, dword [ebp - 0x84]
mov al, byte [eax]
mov byte [ebp - 0x85], al
mov ecx, dword [ebp - 0x80]
cmp al, byte [ecx]
jne 0x7141b82c
cmp byte [ebp - 0x85], 0
je 0x71401990
mov eax, dword [ebp - 0x84]
mov al, byte [eax + 1]
mov byte [ebp - 0x86], al
mov ecx, dword [ebp - 0x80]
cmp al, byte [ecx + 1]
jne 0x7141b82c
add dword [ebp - 0x84], 2
add dword [ebp - 0x80], 2
cmp byte [ebp - 0x86], 0
jne 0x7140193f
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x714019c1
mov eax, dword [ebp + 8]
cmp dword [eax], 5
jbe 0x714019c1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
and eax, 0xfffffffb
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.71401ac9
test eax, eax
jne 0x7141b83c
call fcn.71401a31
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
and eax, 0x20
je 0x714019eb
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
or eax, 0x20
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
and eax, 0x40
je 0x71401a00
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
or eax, 0x40
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x182
je 0x7141b7d9
cmp dword [ebp - 0x7c], 0x1e6
jne 0x7141b7f5
jmp 0x7141b7e7
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x714018a9
mov eax, dword [ebp + 8]
mov dword [eax], 4
jmp 0x714018a9
mov eax, dword [ebp + 8]
and dword [eax], 0
jmp 0x714018a9
mov eax, dword [ebp - 0x3c]
and eax, 0xf00
sar eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x7140192e
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x8c], eax
jmp 0x71401997
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
or eax, 8
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x714019ce