Function at 0x10132a9
Capabilities:
Check os version
Get system information on windows

Disassembly:
push 0x194
mov eax, 0x1039aa1
call fcn.01037352
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.01014810
xor esi, esi
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x1a0], esi
lea edi, [ebp - 0x19c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], esi
mov dword [ebp - 0x13c], esi
call fcn.01014810
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 1
call fcn.01014810
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 2
call fcn.01014810
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 3
call fcn.01014810
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 4
call fcn.01014810
mov byte [ebp - 4], 5
cmp ebx, esi
jne 0x10133cd
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013364
test byte [eax + 0x1c], 1
je 0x1013364
push 0x1002f90
push 0xce
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
mov esi, 0x80070057
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 4
call fcn.01014822
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 3
call fcn.01014822
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 2
call fcn.01014822
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 1
call fcn.01014822
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0
call fcn.01014822
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.01014822
mov eax, esi
call fcn.010373e4
ret 4
mov edi, 0x11c
push edi
lea eax, [ebp - 0x12c]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10136eb
lea eax, [ebp - 0x13c]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
push dword [ebp - 0x124]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
test eax, eax
jne 0x101345e
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013458
test byte [eax + 0x1c], 1
je 0x1013458
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [section..data]
push 0x1002f90
push 0xcf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
mov dword [ebp - 0x13c], esi
push 1
push esi
lea eax, [ebp - 0x170]
push eax
mov esi, 0x1003474
push esi
push 0x10026c0
mov ebx, 0x1003418
push ebx
mov edi, 0x80000002
push edi
call fcn.01012db1
push 1
push 0
lea eax, [ebp - 0x14c]
push eax
push esi
push 0x1003404
push ebx
push edi
call fcn.01012db1
push 1
push 0
lea eax, [ebp - 0x164]
push eax
push esi
push 0x10033ec
push ebx
push edi
call fcn.01012db1
push 1
push 0
lea eax, [ebp - 0x158]
push eax
push esi
push 0x10033d4
push ebx
push edi
call fcn.01012db1
push 1
push 0
lea eax, [ebp - 0x17c]
push eax
push esi
push 0x10033b4
push ebx
push edi
call fcn.01012db1
mov ebx, dword [ebp - 0x140]
xor edi, edi
push edi
push edi
push edi
push 0x1003388
mov ecx, ebx
call fcn.0101781d
push dword [ebp - 0x124]
lea eax, [ebp - 0x138]
push dword [ebp - 0x128]
push 0x100337c
push eax
call fcn.010157db
add esp, 0x10
push 1
push edi
lea ecx, [ebp - 0x138]
call fcn.01015d45
push eax
push 0x1003358
mov ecx, ebx
call fcn.0101781d
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x120]
lea eax, [ebp - 0x138]
push 0x100334c
push eax
call fcn.010157db
add esp, 0x10
push 1
push edi
lea ecx, [ebp - 0x138]
call fcn.01015d45
push eax
push 0x1003340
mov ecx, ebx
call fcn.0101781d
lea ecx, [ebp - 0x170]
call fcn.01015d45
push eax
push dword [ebp - 0x13c]
lea eax, [ebp - 0x138]
push 0x1003328
push eax
call fcn.010157db
add esp, 0x10
push 1
push edi
lea ecx, [ebp - 0x138]
call fcn.01015d45
push eax
push 0x1003318
mov ecx, ebx
call fcn.0101781d
push 1
push edi
lea ecx, [ebp - 0x14c]
call fcn.01015d45
push eax
push 0x1003308
mov ecx, ebx
call fcn.0101781d
push 1
push edi
lea ecx, [ebp - 0x164]
call fcn.01015d45
push eax
push 0x10032f0
mov ecx, ebx
call fcn.0101781d
push 1
push edi
lea ecx, [ebp - 0x17c]
call fcn.01015d45
push eax
push 0x10032dc
mov ecx, ebx
call fcn.0101781d
push 1
push edi
lea ecx, [ebp - 0x158]
call fcn.01015d45
push eax
push 0x10032cc
mov ecx, ebx
call fcn.0101781d
lea eax, [ebp - 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x1a0], 6
jne 0x101363d
push 0x10032c0
jmp 0x101365f
cmp word [ebp - 0x1a0], 9
jne 0x101364e
push 0x10032b8
jmp 0x101365f
cmp word [ebp - 0x1a0], di
jne 0x101365e
push 0x10032b0
jmp 0x101365f
push esi
lea ecx, [ebp - 0x138]
call fcn.01014c4a
push 1
push edi
lea ecx, [ebp - 0x138]
call fcn.01015d45
push eax
push 0x1003294
mov ecx, ebx
call fcn.0101781d
call dword [sym.imp.KERNEL32.dll_GetThreadUILanguage]
movzx eax, ax
push eax
lea eax, [ebp - 0x138]
push 0x1001e70
push eax
call fcn.010157db
add esp, 0xc
push 1
push edi
lea ecx, [ebp - 0x138]
call fcn.01015d45
push eax
push 0x1003288
mov ecx, ebx
call fcn.0101781d
call fcn.01011351
test eax, eax
je 0x10136db
push 1
push edi
push 0x1003284
push 0x100326c
mov ecx, ebx
call fcn.0101781d
push 0x1003388
mov ecx, ebx
call fcn.010178ff
xor eax, eax
jmp 0x10136f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100968c
mov esi, eax
jmp 0x1013369