Function at 0x4272d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5ca538
push 0x543c90
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x5d7f50]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c8], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1c0], 0x9c
push 0x98
push ebx
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.00543bb0
mov byte [ebp - 0x124], bl
push 0x104
push ebx
lea edx, [ebp - 0x123]
push edx
call fcn.00543bb0
add esp, 0x18
cmp edi, ebx
jne 0x42735c
lea eax, [ebx + 0x57]
jmp 0x427566
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c0]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
call esi
test eax, eax
jne 0x4273b9
mov dword [ebp - 0x1c0], 0x94
lea ecx, [ebp - 0x1c0]
push ecx
call esi
test eax, eax
jne 0x4273b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c4], eax
push str.GetVersionEx__
push eax
push 2
push 0x71a
push str.YWAssistant.c
push str.W_GetVersionDescription
call fcn.004282b0
add esp, 0x18
jmp 0x427554
mov edx, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1b8]
cmp edx, 5
jne 0x4273fe
cmp ecx, ebx
jne 0x4273d8
mov eax, str.Windows_2000
jmp 0x427466
cmp edx, 5
jne 0x4273fe
cmp ecx, 2
jne 0x4273e9
mov eax, str.Windows_2003
jmp 0x427466
cmp edx, 5
jne 0x4273fe
mov eax, 1
cmp ecx, eax
jne 0x427403
mov eax, str.Windows_XP
jmp 0x427466
mov eax, 1
cmp edx, 6
jne 0x427461
cmp ecx, ebx
jne 0x427422
cmp byte [ebp - 0x126], al
jne 0x42741b
mov eax, str.Windows_Vista
jmp 0x427466
mov eax, str.Windows_2008
jmp 0x427466
cmp edx, 6
jne 0x427461
cmp ecx, eax
jne 0x427441
cmp byte [ebp - 0x126], al
jne 0x42743a
mov eax, str.Windows_7
jmp 0x427466
mov eax, str.WINDOWS_2008_R2
jmp 0x427466
cmp edx, 6
jne 0x427461
cmp ecx, 2
jne 0x427461
cmp byte [ebp - 0x126], al
jne 0x42745a
mov eax, str.Windows_8
jmp 0x427466
mov eax, str.Windows_Server_2012
jmp 0x427466
mov eax, 0x5af46c
mov esi, dword [ebp - 0x1b4]
push esi
movzx esi, word [ebp - 0x12a]
push esi
movzx esi, word [ebp - 0x12c]
push esi
push ecx
push edx
push eax
push str._s.___d._d._d._d._d_
push 0x104
lea edx, [ebp - 0x124]
push edx
call fcn.0053d88d
add esp, 0x24
call fcn.00427290
test eax, eax
lea eax, [ebp - 0x124]
je 0x4274d6
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x4274b0
mov ecx, dword [str.__64_bit_]
mov dword [eax], ecx
mov edx, dword [0x5b167c]
mov dword [eax + 4], edx
mov cx, word [0x5b1680]
mov word [eax + 8], cx
jmp 0x4274fb
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x4274d7
mov edx, dword [str.__32_bit_]
mov dword [eax], edx
mov ecx, dword [0x5b1688]
mov dword [eax + 4], ecx
mov dx, word [0x5b168c]
mov word [eax + 8], dx
cmp dword [ebp - 0x1c8], ebx
je 0x42753f
mov edx, dword [edi]
cmp edx, ebx
jbe 0x42753f
lea eax, [ebp - 0x124]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x427512
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, edx
jbe 0x427526
mov eax, edx
jmp 0x427527
inc eax
push eax
lea eax, [ebp - 0x124]
push eax
push edx
mov ecx, dword [ebp - 0x1c8]
push ecx
call fcn.005403b4
add esp, 0x10
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x427548
sub eax, edx
inc eax
mov dword [edi], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.00427582
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret