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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x125bb28
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x1286d50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push 0x11c
lea eax, [ebp - 0x148]
push esi
push eax
mov dword [ebp - 0x14c], esi
mov dword [edi + 0x344], esi
mov dword [edi + 0x34c], esi
mov dword [edi + 0x358], esi
call fcn.01244850
add esp, 0xc
lea ecx, [ebp - 0x148]
push ecx
mov dword [ebp - 0x148], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [ebp - 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x144]
mov edx, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
mov dword [edi + 0x32c], eax
mov eax, dword [ebp - 0x138]
mov dword [edi + 0x338], eax
lea eax, [ebp - 0x134]
mov dword [edi + 0x334], edx
mov dword [edi + 0x330], ecx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x11f1120
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [edi + 0x310]
call fcn.011f1740
mov ax, word [ebp - 0x32]
mov dx, word [ebp - 0x34]
mov cx, word [ebp - 0x30]
mov word [edi + 0x33e], ax
mov al, byte [ebp - 0x2d]
mov byte [edi + 0x343], al
movzx eax, word [ebp - 0x174]
mov word [edi + 0x33c], dx
mov dl, byte [ebp - 0x2e]
mov word [edi + 0x340], cx
mov byte [edi + 0x342], dl
cmp eax, 9
jg 0x11f11e8
je 0x11f11ca
cmp eax, esi
je 0x11f11b0
cmp eax, 6
jne 0x11f120b
lea ecx, [edi + 0x2bc]
push ecx
mov edx, 0x1262b8c
call fcn.011f1530
mov eax, 1
mov dword [edi + 0x34c], eax
mov dword [ebp - 0x14c], eax
jmp 0x11f120b
push 3
push 0x1262b9c
lea ecx, [edi + 0x2bc]
call fcn.011f1740
mov dword [edi + 0x34c], esi
jmp 0x11f120b
push 3
push 0x1262b84
lea ecx, [edi + 0x2bc]
call fcn.011f1740
mov dword [edi + 0x34c], 1
jmp 0x11f120b
cmp eax, 0xffff
jne 0x11f120b
push 7
push 0x1262ba4
lea ecx, [edi + 0x2bc]
call fcn.011f1740
mov dword [ebp - 0x14c], 1
mov ecx, 0x1262bb4
mov ebx, 0x1262bd0
mov edx, 0x80000002
lea esi, [ebp - 0x2c]
call fcn.01209920
lea ecx, [edi + 0x1c]
push eax
mov dword [ebp - 4], 0
call fcn.011f1560
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x11f124b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0123e60d
add esp, 4
lea eax, [ebp - 0x150]
push eax
push 0x20019
push 0
push 0x1262c30
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x150]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
test esi, esi
jne 0x11f1287
mov dword [edi + 0x358], ebx
mov eax, dword [ebp - 0x144]
cmp eax, 5
jne 0x11f1394
mov eax, dword [ebp - 0x140]
test eax, eax
jne 0x11f12cf
push 0xc
push 0x1262c94
mov ecx, edi
call fcn.011f1740
push 0x3b
push 0x1262cb0
lea ecx, [edi + 0x2d8]
mov dword [edi + 0x344], 0
call fcn.011f1740
jmp 0x11f1470
cmp eax, ebx
jne 0x11f12ec
push 0xa
push 0x1262d28
mov ecx, edi
call fcn.011f1740
mov dword [edi + 0x344], ebx
jmp 0x11f1470
cmp eax, 2
jne 0x11f1458
cmp byte [ebp - 0x2e], bl
jne 0x11f131a
cmp word [ebp - 0x174], 9
jne 0x11f131a
push edi
mov edx, 0x1262d40
call fcn.011f1530
mov dword [edi + 0x344], ebx
jmp 0x11f1470
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call esi
test eax, eax
jne 0x11f133e
push edi
mov edx, 0x1262d78
call fcn.011f1530
mov dword [edi + 0x344], ebx
jmp 0x11f1470
test dword [ebp - 0x30], 0x8000
je 0x11f1372
push edi
mov edx, 0x1262da0
call fcn.011f1530
lea edx, [edi + 0x2d8]
push edx
mov edx, 0x1262cb0
mov dword [edi + 0x344], 0
call fcn.011f1530
jmp 0x11f1470
push 0x59
call esi
test eax, eax
je 0x11f1470
push edi
mov edx, 0x1262dc8
call fcn.011f1530
mov dword [edi + 0x344], ebx
jmp 0x11f1470
cmp eax, 6
jne 0x11f14c3
mov eax, dword [ebp - 0x140]
test eax, eax
jne 0x11f13d7
push edi
cmp byte [ebp - 0x2e], bl
jne 0x11f13c2
mov edx, 0x1262df8
call fcn.011f1530
mov dword [edi + 0x344], ebx
jmp 0x11f1470
mov edx, 0x1262e14
call fcn.011f1530
mov dword [edi + 0x344], ebx
jmp 0x11f1470
cmp eax, ebx
jne 0x11f1405
push edi
cmp byte [ebp - 0x2e], bl
jne 0x11f13f3
mov edx, 0x1262e3c
call fcn.011f1530
mov dword [edi + 0x344], ebx
jmp 0x11f1470
mov edx, 0x1262e50
call fcn.011f1530
mov dword [edi + 0x344], ebx
jmp 0x11f1470
cmp eax, 2
jne 0x11f1453
cmp byte [ebp - 0x2e], bl
jne 0x11f14b0
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x11f141e
mov eax, dword [eax]
push 0x1262e80
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
push edi
test eax, eax
je 0x11f1441
mov edx, 0x1262e80
call fcn.011f1530
mov dword [edi + 0x344], ebx
jmp 0x11f1470
mov edx, 0x1262e98
call fcn.011f1530
mov dword [edi + 0x344], ebx
jmp 0x11f1470
cmp eax, 3
je 0x11f140a
push 0xf
push 0x1262f10
mov ecx, edi
call fcn.011f1740
mov dword [edi + 0x344], 0
cmp dword [edi + 0x2c], 0
jne 0x11f1483
push 0xffffffffffffffff
push 0
push edi
lea ecx, [edi + 0x1c]
call fcn.011f15e0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x348], eax
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0123e488
mov esp, ebp
pop ebp
ret
push edi
mov edx, 0x1262eac
call fcn.011f1530
mov dword [edi + 0x344], ebx
jmp 0x11f1470
cmp eax, 0xa
jne 0x11f1458
cmp dword [ebp - 0x140], 0
jne 0x11f1458
push edi
cmp byte [ebp - 0x2e], bl
jne 0x11f14e9
mov edx, 0x1262ed0
call fcn.011f1530
mov dword [edi + 0x344], ebx
jmp 0x11f1470
mov edx, 0x1262ee8
call fcn.011f1530
jmp 0x11f1466