Function at 0x101150b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1034890a
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
push 0x170
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov ecx, eax
add esp, 4
mov dword [esp + 0xc], ecx
mov dword [esp + 0x170], 0
test ecx, ecx
je 0x1011513b
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push ecx
lea eax, [esi - 4]
mov dword [esp + 0x20], 0
push eax
call fcn.1019ce40
mov edi, eax
jmp 0x1011513d
xor edi, edi
mov dword [esp + 0x170], 0xffffffff
mov edx, 0x10c
push ecx
push 0x10b
mov ecx, edi
mov dword [edi + 0x2c], 0x74
call fcn.10146380
add esp, 8
lea ecx, [esp + 0x14]
mov edx, 0x13c2
call fcn.10145cd0
mov esi, eax
mov dword [esp + 0x170], 1
lea ecx, [edi + 0xf4]
mov edx, esi
call fcn.100d1c40
test al, al
jne 0x101151ab
lea ecx, [edi + 0xf4]
cmp ecx, esi
je 0x101151a4
push 0xffffffffffffffff
push 0
push esi
call fcn.100cd9d0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
mov dword [esp + 0x170], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x101151ca
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.100e9040
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax]
push 0xfffffffffffffff2
call esi
cmp dword [edi + 0x12c], eax
je 0x10115209
mov dword [edi + 0x12c], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x68]
mov dword [edi + 0x10c], 0xff666666
mov dword [edi + 0x110], 0xff444444
mov dword [edi + 0x114], 0xff666666
mov dword [edi + 0x118], 0xffcccccc
mov dword [edi + 0xbc], 2
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc0], 1
mov dword [edi + 0xc8], 0
call fcn.100e9040
push 0x60
push dword [eax]
push 4
call esi
push 0x110
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
push 0
push eax
mov dword [esp + 0x50], 0x114
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x101152b2
cmp dword [esp + 0x48], 6
setae al
test al, al
je 0x101152b2
call fcn.100e9040
push 0x60
push dword [eax]
push 3
call esi
mov dword [esp + 0xc], eax
call fcn.100e9040
push 0x60
push dword [eax]
push 0xe
call esi
mov esi, eax
call fcn.100e9040
mov ecx, dword [esp + 0xc]
push 0x60
mov dword [esp + 0x18], 0
push dword [eax + 4]
mov dword [esp + 0x20], ecx
push 0xe
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
add eax, esi
mov dword [esp + 0x20], eax
movdqu xmm0, xmmword [esp + 0x14]
movdqu xmmword [edi + 0x11c], xmm0
call fcn.100e9040
push 0x60
push dword [eax]
push 0x14
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
call fcn.100e9040
push 0x60
push dword [eax + 4]
push 0x4d
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 0x18]
mov dword [esp + 0x38], 0
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], esi
call dword [sym.imp.USER32.dll_CopyRect]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
lea ecx, [esi + 8]
sub eax, dword [ecx]
sar eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov dword [esp + 0xc], edi
test eax, eax
je 0x10115376
push 1
push edi
mov ecx, eax
call fcn.1014c610
lea ecx, [esi + 8]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
lea eax, [eax + edx*4]
lea edx, [esp + 0xc]
push edx
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1014cb70
mov dword [edi + 4], esi
mov ecx, edi
mov eax, dword [edi]
mov byte [edi + 0x130], 1
call dword [eax + 0x68]
mov ecx, esi
call fcn.10115af0
mov al, 1
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret