Function at 0x10013120
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100aa114
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x100d65e8]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push esi
mov eax, dword [0x100d65e8]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
push 0xffffffffffffffff
mov dword [esp + 0x18], ebx
push ecx
mov word [esp + 0x20], cx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
call fcn.1000f660
mov dword [esp + 0xb8], ebx
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x1001322c
lea eax, [esp + 0x30]
push eax
call fcn.10013540
add esp, 4
mov esi, eax
mov byte [esp + 0xb8], 1
lea eax, [esp + 0x18]
cmp eax, esi
je 0x100131f6
cmp dword [esp + 0x2c], 8
jb 0x100131d5
push dword [esp + 0x18]
call fcn.1007d9ed
add esp, 4
xor eax, eax
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.1000fcf0
mov byte [esp + 0xb8], 0
cmp dword [esp + 0x44], 8
jb 0x10013211
push dword [esp + 0x30]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [esp + 0x30], ax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
cmp eax, 6
je 0x10013371
lea ecx, [esp + 0x90]
call fcn.10012730
mov byte [esp + 0xb8], 2
mov ebx, 1
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x2c], 8
push dword [esp + 0x28]
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
push ecx
push dword [eax + 0x10]
mov ecx, eax
push 0
call fcn.10014a10
test eax, eax
je 0x10013371
lea ecx, [esp + 0x60]
call fcn.100128b0
mov dword [esp + 0xb8], 3
mov ebx, 3
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x2c], 8
push dword [esp + 0x28]
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
push ecx
push dword [eax + 0x10]
mov ecx, eax
push 0
call fcn.10014a10
test eax, eax
je 0x10013371
lea ecx, [esp + 0x48]
call fcn.10012a30
mov dword [esp + 0xb8], 4
mov ebx, 7
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x2c], 8
push dword [esp + 0x28]
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
push ecx
push dword [eax + 0x10]
mov ecx, eax
push 0
call fcn.10014a10
test eax, eax
je 0x10013371
lea ecx, [esp + 0x78]
call fcn.10012bb0
mov dword [esp + 0xb8], 5
mov ebx, 0xf
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x2c], 8
push dword [esp + 0x28]
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
push ecx
push dword [eax + 0x10]
mov ecx, eax
push 0
call fcn.10014a10
test eax, eax
je 0x10013371
lea ecx, [esp + 0x30]
call fcn.10012d30
mov dword [esp + 0xb8], 6
lea ecx, [esp + 0x18]
push ecx
mov ebx, 0x1f
push eax
mov dword [esp + 0x1c], ebx
call fcn.100149e0
add esp, 8
mov byte [esp + 0x13], 0
test al, al
je 0x10013376
mov byte [esp + 0x13], 1
mov dword [esp + 0xb8], 5
test bl, 0x10
je 0x100133b7
and ebx, 0xffffffef
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x44], 8
jb 0x100133a0
push dword [esp + 0x30]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov dword [esp + 0xb8], 4
test bl, 8
je 0x10013401
and ebx, 0xfffffff7
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x8c], 8
jb 0x100133e4
push dword [esp + 0x78]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
mov dword [esp + 0xb8], 3
test bl, 4
je 0x10013442
and ebx, 0xfffffffb
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x5c], 8
jb 0x1001342b
push dword [esp + 0x48]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov dword [esp + 0xb8], 2
test bl, 2
je 0x10013483
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x74], 8
jb 0x1001346c
push dword [esp + 0x60]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
mov dword [esp + 0xb8], 0
test bl, 1
je 0x100134d3
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
cmp dword [esp + 0xa4], 8
jb 0x100134b3
push dword [esp + 0x90]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], ax
cmp byte [esp + 0x13], 0
setne bl
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x100134f9
push dword [esp + 0x18]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [esp + 0x18], ax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov al, bl
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1007e654
mov esp, ebp
pop ebp
ret