Function at 0x10074ea0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10174bea
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x10200854]
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 eax, edx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x168], 0
test ecx, ecx
je 0x10074ffd
test eax, eax
je 0x10074ffd
mov ebx, dword [ecx]
mov edi, 0x80004005
mov eax, dword [ecx + 4]
mov dword [ebp - 0x174], eax
test ebx, ebx
je 0x100751a6
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor esi, esi
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x100751a6
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], esi
push 1
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x14], esi
call fcn.101611e4
mov dword [ebp - 0x14], eax
push 0x118
push esi
mov byte [eax], 0
lea eax, [ebp - 0x15c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x160], 0x11c
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10074f93
cmp dword [ebp - 0x15c], 6
mov eax, dword [ebp - 0x14]
setae cl
mov byte [eax], cl
mov byte [ebp - 4], 1
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.101039b0
test al, al
je 0x10074fd8
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x10074fd8
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10103a70
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 0
jne 0x1007501e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.100047b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10102c40
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov eax, 0x80004005
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.101611d3
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 3
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x190]
push 0
push dword [ebp - 0x34]
cmovae edx, dword [ebp - 0x44]
call fcn.100fa880
add esp, 8
mov dword [ebp - 0x168], 1
lea ecx, [ebp - 0x2c]
push eax
call fcn.100100a0
mov eax, 1
mov dword [ebp - 0x168], eax
and eax, 0xfffffffe
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x17c]
cmp edx, 0x10
jb 0x100750a7
mov ecx, dword [ebp - 0x190]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007509d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007509d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10161214
add esp, 8
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.100047b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10102c40
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x164], 0
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x170], eax
xor edi, edi
xor edx, edx
mov eax, esi
cmp esi, ebx
jae 0x10075125
div dword [ebp - 0x1c]
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x174]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
mov ecx, dword [ebp - 0x16c]
xor al, byte [edi + str.Only_Internet_Explorer_code_should_write_this_user_setting._See_http:__go.microsoft.com_fwlink__LinkId159651_for_more_details.]
mov byte [esi + ecx], al
jmp 0x10075136
div ebx
mov ecx, dword [ebp - 0x16c]
mov al, byte [edi + str.Only_Internet_Explorer_code_should_write_this_user_setting._See_http:__go.microsoft.com_fwlink__LinkId159651_for_more_details.]
xor byte [ecx + edx], al
inc edi
inc esi
cmp edi, 0x80
jb 0x100750f7
cmp esi, ebx
jb 0x100750f5
mov eax, dword [ebp - 0x178]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1007518e
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10075184
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10075184
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10161214
add esp, 8
mov edi, dword [ebp - 0x164]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov eax, edi
jmp 0x10075002