Function at 0x41b880
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a0eb8
push 0x534c00
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x5adf10]
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.005344b0
mov byte [ebp - 0x124], bl
push 0x104
push ebx
lea edx, [ebp - 0x123]
push edx
call fcn.005344b0
add esp, 0x18
cmp edi, ebx
jne 0x41b90c
lea eax, [ebx + 0x57]
jmp 0x41bb16
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 0x41b969
mov dword [ebp - 0x1c0], 0x94
lea ecx, [ebp - 0x1c0]
push ecx
call esi
test eax, eax
jne 0x41b969
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.0041c870
add esp, 0x18
jmp 0x41bb04
mov edx, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1b8]
cmp edx, 5
jne 0x41b9ae
cmp ecx, ebx
jne 0x41b988
mov eax, str.Windows_2000
jmp 0x41ba16
cmp edx, 5
jne 0x41b9ae
cmp ecx, 2
jne 0x41b999
mov eax, str.Windows_2003
jmp 0x41ba16
cmp edx, 5
jne 0x41b9ae
mov eax, 1
cmp ecx, eax
jne 0x41b9b3
mov eax, str.Windows_XP
jmp 0x41ba16
mov eax, 1
cmp edx, 6
jne 0x41ba11
cmp ecx, ebx
jne 0x41b9d2
cmp byte [ebp - 0x126], al
jne 0x41b9cb
mov eax, str.Windows_Vista
jmp 0x41ba16
mov eax, str.Windows_2008
jmp 0x41ba16
cmp edx, 6
jne 0x41ba11
cmp ecx, eax
jne 0x41b9f1
cmp byte [ebp - 0x126], al
jne 0x41b9ea
mov eax, str.Windows_7
jmp 0x41ba16
mov eax, str.WINDOWS_2008_R2
jmp 0x41ba16
cmp edx, 6
jne 0x41ba11
cmp ecx, 2
jne 0x41ba11
cmp byte [ebp - 0x126], al
jne 0x41ba0a
mov eax, str.Windows_8
jmp 0x41ba16
mov eax, str.Windows_Server_2012
jmp 0x41ba16
mov eax, 0x5879a4
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.0052e5e5
add esp, 0x24
call fcn.0041b840
test eax, eax
lea eax, [ebp - 0x124]
je 0x41ba86
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x41ba60
mov ecx, dword [str.__64_bit_]
mov dword [eax], ecx
mov edx, dword [0x588744]
mov dword [eax + 4], edx
mov cx, word [0x588748]
mov word [eax + 8], cx
jmp 0x41baab
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x41ba87
mov edx, dword [str.__32_bit_]
mov dword [eax], edx
mov ecx, dword [0x588750]
mov dword [eax + 4], ecx
mov dx, word [0x588754]
mov word [eax + 8], dx
cmp dword [ebp - 0x1c8], ebx
je 0x41baef
mov edx, dword [edi]
cmp edx, ebx
jbe 0x41baef
lea eax, [ebp - 0x124]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41bac2
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, edx
jbe 0x41bad6
mov eax, edx
jmp 0x41bad7
inc eax
push eax
lea eax, [ebp - 0x124]
push eax
push edx
mov ecx, dword [ebp - 0x1c8]
push ecx
call fcn.005308e4
add esp, 0x10
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41baf8
sub eax, edx
inc eax
mov dword [edi], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0041bb32
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.0052d75c
mov esp, ebp
pop ebp
ret