Function at 0x10007583
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100075a8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
push 1
push dword [ebp - 0x58]
call fcn.100077e1
pop ecx
pop ecx
jmp 0x100077dd
lea eax, [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x10007794
mov dword [ebp - 0xc], 0xe0648261
mov dword [ebp - 8], 0xf3d3
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x9f4f9a02
mov dword [ebp - 0x14], 0x34e1054
mov dword [ebp - 0x60], 0xfffffff7
mov dword [ebp - 0xc], 0
jmp 0x100075fc
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 7
jne 0x10007626
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10007624
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x100075f5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0xc], 5
jne 0x10007647
mov dword [ebp - 0x18], 1
jmp 0x1000764b
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
jge 0x1000765e
or eax, 0xffffffff
jne 0x1000765e
and dword [ebp - 0x1c], 0
jmp 0x10007665
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x20], eax
je 0x10007682
mov dword [ebp - 0x24], 1
jmp 0x10007686
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x24], eax
jge 0x10007697
mov dword [ebp - 0x28], 1
jmp 0x1000769b
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x28], eax
jne 0x100076ac
mov dword [ebp - 0x2c], 1
jmp 0x100076b0
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
imul eax, dword [ebp - 0x30], 0xe964
cmp eax, 0x3ac
jne 0x100076cd
mov dword [ebp - 0x34], 1
jmp 0x100076d1
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x34], eax
je 0x100076e2
mov dword [ebp - 0x38], 1
jmp 0x100076e6
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x38], eax
jge 0x100076f7
mov dword [ebp - 0x3c], 1
jmp 0x100076fb
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x3c]
jne 0x1000770c
mov dword [ebp - 0x40], 1
jmp 0x10007710
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x14]
jl 0x10007724
mov dword [ebp - 0x44], 1
jmp 0x10007728
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x8a6ebbfa
jae 0x10007740
mov dword [ebp - 0x48], 1
jmp 0x10007744
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x48], eax
jge 0x1000775e
mov eax, 0xf390f3bd
test eax, eax
je 0x1000775e
mov dword [ebp - 0x4c], 1
jmp 0x10007762
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x4c], eax
jne 0x10007773
mov dword [ebp - 0x50], 1
jmp 0x10007777
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x50], eax
jge 0x10007788
mov dword [ebp - 0x54], 1
jmp 0x1000778c
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
jmp 0x100077dd
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x100077b6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xe
je 0x100077dd
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x100077db
push 0
push 0
push 0x2311
push 0
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
jmp 0x100077ab
mov esp, ebp
pop ebp
ret