Function at 0x4fd7e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff3c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4fdce9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x4fdd04
call fcn.00406cdc
mov bl, 1
mov dword [ebp - 0xa8], 0x9c
lea eax, [ebp - 0xa8]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
jne 0x4fd854
mov dword [ebp - 0xa8], 0x114
lea eax, [ebp - 0xa8]
push eax
call sub.kernel32.dll_GetVersionExW
xor ebx, ebx
mov eax, dword [ebp - 0x98]
sub eax, 1
jb 0x4fd86d
je 0x4fd8c5
dec eax
je 0x4fd980
jmp 0x4fdcb8
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 0xb8], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0
lea edx, [ebp - 0xbc]
mov ecx, 1
mov eax, 0x4fdd18
call fcn.00413d6c
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 8]
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdcb8
cmp dword [ebp - 0xa4], 4
jne 0x4fd90d
cmp dword [ebp - 0xa0], 0
jne 0x4fd90d
mov eax, dword [ebp - 8]
mov edx, 0x4fdd34
call fcn.004070f0
mov eax, dword [ebp - 8]
movzx eax, byte [ebp - 0x93]
add al, 0xbe
sub al, 2
jae 0x4fdcb8
mov eax, dword [ebp - 8]
mov edx, 0x4fdd48
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdcb8
cmp dword [ebp - 0xa4], 4
jne 0x4fd951
cmp dword [ebp - 0xa0], 0xa
jne 0x4fd951
mov eax, dword [ebp - 8]
mov edx, 0x4fdd60
call fcn.004070f0
mov eax, dword [ebp - 8]
cmp byte [ebp - 0x93], 0x41
jne 0x4fdcb8
mov eax, dword [ebp - 8]
mov edx, 0x4fdd74
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdcb8
cmp dword [ebp - 0xa4], 4
jne 0x4fdcb8
cmp dword [ebp - 0xa0], 0x5a
jne 0x4fdcb8
mov eax, dword [ebp - 8]
mov edx, 0x4fdda0
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdcb8
mov esi, dword [ebp - 0xa4]
mov eax, esi
add eax, 0xfffffffd
sub eax, 2
jb 0x4fd997
je 0x4fd9e6
jmp 0x4fda2e
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0xbc], esi
mov byte [ebp - 0xb8], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0
lea edx, [ebp - 0xbc]
mov ecx, 1
mov eax, 0x4fddb4
call fcn.00413d6c
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 8]
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fda2e
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x4fda02
mov eax, dword [ebp - 8]
mov edx, 0x4fddd4
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fda2e
cmp eax, 1
jne 0x4fda19
mov eax, dword [ebp - 8]
mov edx, 0x4fddec
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fda2e
cmp eax, 2
jne 0x4fda2e
mov eax, dword [ebp - 8]
mov edx, 0x4fde00
call fcn.004070f0
mov eax, dword [ebp - 8]
test bl, bl
je 0x4fdb97
movzx eax, byte [ebp - 0xe]
cmp al, 1
jne 0x4fda8c
cmp dword [ebp - 0xa4], 4
jne 0x4fda5c
mov eax, dword [ebp - 8]
mov edx, 0x4fde24
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc85
test byte [ebp - 0xf], 2
je 0x4fda77
mov eax, dword [ebp - 8]
mov edx, 0x4fde4c
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc85
mov eax, dword [ebp - 8]
mov edx, 0x4fde74
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc85
cmp al, 3
jne 0x4fdc85
cmp dword [ebp - 0xa4], 5
jne 0x4fdb0b
cmp dword [ebp - 0xa0], 2
jne 0x4fdb0b
movzx eax, word [ebp - 0x10]
test al, 0x80
je 0x4fdac3
mov eax, dword [ebp - 8]
mov edx, 0x4fde9c
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc85
test al, 2
je 0x4fdadc
mov eax, dword [ebp - 8]
mov edx, 0x4fded0
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc85
test ah, 4
je 0x4fdaf6
mov eax, dword [ebp - 8]
mov edx, 0x4fdf04
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc85
mov eax, dword [ebp - 8]
mov edx, 0x4fdf2c
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc85
cmp dword [ebp - 0xa4], 5
jne 0x4fdb68
cmp dword [ebp - 0xa0], 0
jne 0x4fdb68
movzx eax, word [ebp - 0x10]
test al, 0x80
je 0x4fdb3a
mov eax, dword [ebp - 8]
mov edx, 0x4fdf5c
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc85
test al, 2
je 0x4fdb53
mov eax, dword [ebp - 8]
mov edx, 0x4fdf90
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc85
mov eax, dword [ebp - 8]
mov edx, 0x4fdfc0
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc85
mov eax, dword [ebp - 8]
mov edx, 0x4fdfc0
call fcn.004070f0
mov eax, dword [ebp - 8]
test byte [ebp - 0x10], 2
je 0x4fdc85
mov eax, dword [ebp - 8]
mov edx, 0x4fded0
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc85
mov dl, 1
mov eax, dword [0x446c50]
call fcn.00447e54
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4fdc7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00447f3c
xor ecx, ecx
mov edx, 0x4fdfdc
mov eax, dword [ebp - 0xc]
call fcn.00448084
test al, al
je 0x4fdc68
mov edx, 0x4fe04c
mov eax, dword [ebp - 0xc]
call fcn.0044903c
test al, al
je 0x4fdc60
lea ecx, [ebp - 4]
mov edx, 0x4fe04c
mov eax, dword [ebp - 0xc]
call fcn.00448ab4
mov edx, 0x4fe070
mov eax, dword [ebp - 4]
call fcn.00412320
test al, al
je 0x4fdc1c
mov eax, dword [ebp - 8]
mov edx, 0x4fde24
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc60
mov edx, 0x4fe088
mov eax, dword [ebp - 4]
call fcn.00412320
test al, al
je 0x4fdc3f
mov eax, dword [ebp - 8]
mov edx, 0x4fdfc0
call fcn.004070f0
mov eax, dword [ebp - 8]
jmp 0x4fdc60
mov edx, 0x4fe0a8
mov eax, dword [ebp - 4]
call fcn.00412320
test al, al
je 0x4fdc60
mov eax, dword [ebp - 8]
mov edx, 0x4fe0c8
call fcn.004070f0
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00447f0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fdc85
mov eax, dword [ebp - 0xc]
call fcn.00404da8
ret
mov eax, dword [ebp - 8]
push dword [eax]
push 0x4fe0f4
lea eax, [ebp - 0xc4]
lea edx, [ebp - 0x94]
mov ecx, 0x80
call fcn.00406ec4
push dword [ebp - 0xc4]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.00407294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fdcf0
lea eax, [ebp - 0xc4]
mov edx, 2
call fcn.00406cd4
lea eax, [ebp - 0xac]
call fcn.00406ccc
lea eax, [ebp - 4]
call fcn.00406ccc
ret