Function at 0x100b0350
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ea51b
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x12c]
push 0x110
push 0
push eax
mov dword [ebp - 0x130], 0x114
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100b0404
cmp dword [ebp - 0x12c], 6
jb 0x100b0404
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.100b07a0
jmp 0x100b040c
lea ecx, [ebp - 0x1c]
call fcn.100b0ea0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x100b0420
mov byte [ebp - 0x131], 0
jmp 0x100b06ff
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebp - 0x1c]
imul ecx
mov dword [ebp - 0x14c], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100b06f8
xor ecx, ecx
mov dword [ebp - 0x138], ecx
nop
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x100b06bd
lea edi, [esi + 0x4c]
nop
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov dword [ebp - 0x13c], eax
lea ecx, [eax + 0x38]
mov dword [ebp - 0x140], ecx
call fcn.100afe80
test al, al
je 0x100b051f
mov ecx, dword [ebp - 0x140]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edi - 4]
jne 0x100b052b
cmp dword [edi], 8
lea edx, [edi - 0x14]
jb 0x100b049d
mov edx, dword [edx]
cmp dword [ecx + 0x14], 8
jb 0x100b04a5
mov ecx, dword [ecx]
call fcn.100c4090
test al, al
je 0x100b052b
mov ecx, dword [ebp - 0x13c]
add ecx, 0x50
mov eax, dword [ecx + 0x10]
cmp eax, dword [edi + 0x14]
jne 0x100b052b
cmp dword [edi + 0x18], 8
lea edx, [edi + 4]
jb 0x100b04ca
mov edx, dword [edx]
cmp dword [ecx + 0x14], 8
jb 0x100b04d2
mov ecx, dword [ecx]
call fcn.100c4090
test al, al
je 0x100b052b
mov eax, dword [ebp - 0x148]
mov edi, dword [eax + 4]
cmp dword [eax + 8], edi
je 0x100b054d
mov eax, dword [esi]
lea ecx, [edi + 4]
mov dword [edi], eax
lea eax, [esi + 4]
push eax
mov dword [ebp - 0x140], edi
call fcn.10007d30
mov byte [ebp - 4], 1
lea eax, [esi + 0x1c]
push eax
lea ecx, [edi + 0x1c]
call fcn.10007d30
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x148]
add dword [eax + 4], 0x34
jmp 0x100b0556
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x100b04db
mov eax, dword [ebp - 0x144]
add esi, 0x68
mov ecx, dword [ebp - 0x138]
add edi, 0x68
cmp esi, dword [eax + 4]
jne 0x100b0460
mov edi, eax
jmp 0x100b06b7
push esi
push edi
mov ecx, eax
call fcn.100b1540
mov edi, dword [ebp - 0x144]
lea eax, [esi + 0x68]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x140], ecx
cmp eax, ecx
je 0x100b0687
lea edi, [esi + 0x1c]
mov dword [ebp - 0x13c], edi
lea esi, [eax + 0x18]
nop dword [eax]
mov eax, dword [esi - 0x18]
mov dword [edi - 0x1c], eax
lea eax, [esi + 4]
cmp edi, eax
je 0x100b05c0
lea ecx, [edi - 0x18]
call fcn.10004570
movups xmm0, xmmword [esi - 0x14]
xor eax, eax
movups xmmword [edi - 0x18], xmm0
movq xmm0, qword [esi - 4]
movq qword [edi - 8], xmm0
mov edi, dword [ebp - 0x13c]
mov dword [esi - 4], 0
mov dword [esi], 7
mov word [esi - 0x14], ax
lea eax, [esi + 4]
cmp edi, eax
je 0x100b05f3
mov ecx, edi
call fcn.10004570
movups xmm0, xmmword [esi + 4]
xor ecx, ecx
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x14]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], cx
mov eax, dword [esi + 0x1c]
lea ecx, [edi + 0x1c]
mov dword [edi + 0x18], eax
lea eax, [esi + 0x20]
cmp ecx, eax
je 0x100b062e
call fcn.10004570
movups xmm0, xmmword [esi + 0x20]
xor ecx, ecx
movups xmmword [edi + 0x1c], xmm0
movq xmm0, qword [esi + 0x30]
movq qword [edi + 0x2c], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 7
mov word [esi + 0x20], cx
lea eax, [esi + 0x38]
lea ecx, [edi + 0x34]
cmp ecx, eax
je 0x100b0663
call fcn.10004570
movups xmm0, xmmword [esi + 0x38]
xor ecx, ecx
movups xmmword [edi + 0x34], xmm0
movq xmm0, qword [esi + 0x48]
movq qword [edi + 0x44], xmm0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 7
mov word [esi + 0x38], cx
add esi, 0x68
add edi, 0x68
mov dword [ebp - 0x13c], edi
lea eax, [esi - 0x18]
cmp eax, dword [ebp - 0x140]
jne 0x100b0580
mov edi, dword [ebp - 0x144]
mov ecx, dword [edi + 4]
lea esi, [ecx - 0x68]
mov dword [ebp - 0x140], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x50]
call fcn.10004570
mov byte [ebp - 4], 3
lea ecx, [esi + 0x38]
call fcn.10004570
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10089220
add dword [edi + 4], 0xffffff98
mov ecx, dword [ebp - 0x138]
mov esi, dword [ebp - 0x14c]
add ecx, 0x68
mov dword [ebp - 0x138], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, dword [ebp - 0x1c]
imul ecx
mov ecx, dword [ebp - 0x138]
sar edx, 5
mov eax, edx
mov dword [ebp - 0x14c], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x100b0450
mov byte [ebp - 0x131], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100b0774
mov edx, dword [ebp - 0x18]
push ecx
call fcn.100b1770
mov ecx, dword [ebp - 0x14]
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x100b0755
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b0755
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.101d2cde
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x131]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
ret 8