Function at 0x4fedb4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x4a
push 0
push 0
dec ecx
jne 0x4fedbd
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ff17b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1bc]
xor ecx, ecx
mov edx, 0x114
call fcn.0040346c
mov dword [ebp - 0x1bc], 0x114
lea eax, [ebp - 0x1bc]
push eax
mov eax, dword [ebp - 4]
call dword [eax + 0x2170]
cmp dword [ebp - 8], 1
jne 0x4fee48
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0x2218
call fcn.00412510
mov eax, dword [ebp - 4]
cmp byte [eax + 0x374], 0
je 0x4ff141
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0x2208
call fcn.00412510
jmp 0x4ff141
cmp dword [ebp - 8], 2
jne 0x4fee63
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1b8]
mov cl, 4
call fcn.004165f0
jmp 0x4ff141
cmp dword [ebp - 8], 3
jne 0x4fee7e
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1b4]
mov cl, 4
call fcn.004165f0
jmp 0x4ff141
cmp dword [ebp - 8], 4
jne 0x4fee99
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1b0]
mov cl, 4
call fcn.004165f0
jmp 0x4ff141
cmp dword [ebp - 8], 5
jne 0x4feeb4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1ac]
mov cl, 4
call fcn.004165f0
jmp 0x4ff141
mov eax, dword [ebp - 0xc]
xor edx, edx
mov cl, 1
call fcn.004165f0
cmp dword [ebp - 0x1b8], 6
jae 0x4fef6b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1b8]
add edx, 7
jae 0x4feee0
call fcn.00403a60
mov cl, 4
call fcn.004165f0
lea eax, [ebp - 0x1cc]
mov edx, 0xc
mov cl, 1
call fcn.004165f0
lea edx, [ebp - 0x1cc]
mov eax, dword [ebp - 0xc]
call fcn.004199b8
jl 0x4ff12d
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1dc]
call fcn.00412510
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1f4], eax
xor eax, eax
mov dword [ebp - 0x1f0], eax
fild qword [ebp - 0x1f4]
call fcn.00403234
push edx
push eax
lea eax, [ebp - 0x1ec]
call fcn.0041670c
lea edx, [ebp - 0x1ec]
lea eax, [ebp - 0x1dc]
call fcn.0041992c
lea edx, [ebp - 0x1dc]
mov eax, dword [ebp - 0xc]
call fcn.00412510
jmp 0x4ff12d
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1f4], eax
xor eax, eax
mov dword [ebp - 0x1f0], eax
fild qword [ebp - 0x1f4]
call fcn.00403234
push edx
push eax
mov eax, dword [ebp - 0x1b8]
sub eax, 4
jae 0x4fef9c
call fcn.00403a60
mov edx, 0xa
mul edx
jae 0x4fefaa
call fcn.00403a60
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
jno 0x4fefba
call fcn.00403a60
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0xc]
call fcn.0041670c
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x9c
call fcn.0040346c
mov dword [ebp - 0xa8], 0x9c
lea eax, [ebp - 0xa8]
push eax
call sub.kernel32.dll_GetVersionExA
lea eax, [ebp - 0x204]
mov edx, 0x14
mov cl, 1
call fcn.004165f0
lea edx, [ebp - 0x204]
mov eax, dword [ebp - 0xc]
call fcn.00419968
jne 0x4ff02f
cmp byte [ebp - 0xe], 1
je 0x4ff12d
mov eax, dword [ebp - 0xc]
mov edx, 0x15
mov cl, 1
call fcn.004165f0
jmp 0x4ff12d
lea eax, [ebp - 0x214]
mov edx, 0x15
mov cl, 1
call fcn.004165f0
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 0xc]
call fcn.00419968
jne 0x4ff06f
cmp byte [ebp - 0xe], 1
jne 0x4ff12d
mov eax, dword [ebp - 0xc]
mov edx, 0x16
mov cl, 1
call fcn.004165f0
jmp 0x4ff12d
lea eax, [ebp - 0x224]
mov edx, 0x16
mov cl, 1
call fcn.004165f0
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 0xc]
call fcn.00419968
jne 0x4ff0bb
mov eax, dword [ebp - 0xc]
mov edx, 0x17
mov cl, 1
call fcn.004165f0
cmp byte [ebp - 0xe], 1
je 0x4ff12d
mov eax, dword [ebp - 0xc]
mov edx, 0x18
mov cl, 1
call fcn.004165f0
jmp 0x4ff12d
lea eax, [ebp - 0x234]
mov edx, 0x17
mov cl, 1
call fcn.004165f0
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 0xc]
call fcn.00419968
jne 0x4ff0ee
mov eax, dword [ebp - 0xc]
mov edx, 0x19
mov cl, 1
call fcn.004165f0
jmp 0x4ff12d
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x244]
call fcn.00412510
lea eax, [ebp - 0x254]
mov edx, 2
mov cl, 1
call fcn.004165f0
lea edx, [ebp - 0x254]
lea eax, [ebp - 0x244]
call fcn.0041992c
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 0xc]
call fcn.00412510
mov eax, dword [ebp - 0xc]
call fcn.00412e18
mov edx, eax
mov eax, dword [ebp - 0xc]
mov cl, 4
call fcn.004165f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff182
lea eax, [ebp - 0x254]
mov edx, dword [0x40113c]
mov ecx, 6
call fcn.004059e0
lea eax, [ebp - 0x1ec]
mov edx, dword [0x40113c]
mov ecx, 3
call fcn.004059e0
ret