Function at 0x1002b060
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10126228]
test eax, eax
jne 0x1002b33c
push 0x118
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push eax
call fcn.100bc780
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 0xb
jne 0x1002b0cf
mov eax, 0x15
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x1002b276
mov eax, dword [ebp - 0x114]
cmp eax, 0x55f0
jae 0x1002b0b7
cmp eax, 0x4f7c
jb 0x1002b104
mov eax, 0x14
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a64
jb 0x1002b123
mov eax, 0x13
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a63
jb 0x1002b142
mov eax, 0x12
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a62
jb 0x1002b161
mov eax, 0x11
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a61
jb 0x1002b180
mov eax, 0x10
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x47bb
jb 0x1002b19f
mov eax, 0xf
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x47ba
jb 0x1002b1be
mov eax, 0xe
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x4563
jb 0x1002b1dd
mov eax, 0xd
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x42ee
jb 0x1002b1fc
mov eax, 0xc
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x3fab
jb 0x1002b21b
mov eax, 0xb
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x3ad7
jb 0x1002b23a
mov eax, 0xa
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x3839
jb 0x1002b259
mov eax, 9
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 0x295a
sbb eax, eax
add eax, 8
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 6
jbe 0x1002b293
mov eax, 0x16
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
jne 0x1002b30a
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x1002b2f2
sub eax, 1
je 0x1002b2da
sub eax, 1
je 0x1002b2c2
mov eax, 6
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
mov eax, 5
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
mov eax, 3
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x1002b335
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x1002b335
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [0x10126228], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
ret