Function at 0x100878f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fa034
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x10144008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, 0x1014814b
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x144], eax
call fcn.100e5245
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
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 0x100879af
cmp dword [ebp - 0x12c], 6
jb 0x100879af
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.10087be0
jmp 0x100879b7
lea ecx, [ebp - 0x1c]
call fcn.100883d0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x100879c6
xor bl, bl
jmp 0x10087b3e
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebp - 0x1c]
imul ecx
mov dword [ebp - 0x140], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10087b3c
xor ecx, ecx
mov dword [ebp - 0x134], ecx
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x10087b01
lea edi, [esi + 0x4c]
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov dword [ebp - 0x138], eax
lea ebx, [eax + 0x38]
mov ecx, ebx
call fcn.10087410
test al, al
je 0x10087ab4
mov eax, dword [ebx + 0x10]
cmp eax, dword [edi - 4]
jne 0x10087ac0
cmp dword [edi], 8
lea edx, [edi - 0x14]
jb 0x10087a36
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
jb 0x10087a3e
mov ebx, dword [ebx]
mov ecx, ebx
call fcn.1009c9f0
test al, al
je 0x10087ac0
mov ecx, dword [ebp - 0x138]
add ecx, 0x50
mov eax, dword [ecx + 0x10]
cmp eax, dword [edi + 0x14]
jne 0x10087ac0
cmp dword [edi + 0x18], 8
lea edx, [edi + 4]
jb 0x10087a65
mov edx, dword [edx]
cmp dword [ecx + 0x14], 8
jb 0x10087a6d
mov ecx, dword [ecx]
call fcn.1009c9f0
test al, al
je 0x10087ac0
mov ebx, dword [ebp - 0x144]
mov edi, dword [ebx + 4]
cmp dword [ebx + 8], edi
je 0x10087add
mov eax, dword [esi]
lea ecx, [edi + 4]
mov dword [edi], eax
lea eax, [esi + 4]
push eax
mov dword [ebp - 0x138], edi
call fcn.1001af80
mov byte [ebp - 4], 1
lea eax, [esi + 0x1c]
push eax
lea ecx, [edi + 0x1c]
call fcn.1001af80
mov byte [ebp - 4], 0
add dword [ebx + 4], 0x34
jmp 0x10087ae6
mov eax, dword [ebp - 0x138]
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x10087a76
mov ebx, dword [ebp - 0x13c]
add esi, 0x68
mov ecx, dword [ebp - 0x134]
add edi, 0x68
cmp esi, dword [ebx + 4]
jne 0x10087a03
jmp 0x10087afb
push esi
push edi
mov ecx, ebx
call fcn.1008a1b0
mov ebx, dword [ebp - 0x13c]
lea eax, [ebp - 0x148]
push esi
push eax
mov ecx, ebx
call fcn.10088830
mov ecx, dword [ebp - 0x134]
mov esi, dword [ebp - 0x140]
add ecx, 0x68
mov dword [ebp - 0x134], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, dword [ebp - 0x1c]
imul ecx
mov ecx, dword [ebp - 0x134]
sar edx, 5
mov eax, edx
mov dword [ebp - 0x140], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x100879f5
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10087bb3
mov edx, dword [ebp - 0x18]
push ecx
call fcn.1008a3f0
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 0x10087b94
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10087b94
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100e2b65
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e2b24
mov esp, ebp
pop ebp
ret 8