Function at 0x423600
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4a7c20
push 0x458290
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x4afa68]
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 - 0x1d0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1c8], 0x9c
push 0x98
push ebx
lea ecx, [ebp - 0x1c4]
push ecx
call fcn.00457ee0
mov byte [ebp - 0x128], bl
push 0x104
push ebx
lea edx, [ebp - 0x127]
push edx
call fcn.00457ee0
add esp, 0x18
cmp edi, ebx
jne 0x42368c
lea eax, [ebx + 0x57]
jmp 0x4238ae
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c8]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
call esi
test eax, eax
jne 0x4236e9
mov dword [ebp - 0x1c8], 0x94
lea ecx, [ebp - 0x1c8]
push ecx
call esi
test eax, eax
jne 0x4236e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1cc], eax
push str.GetVersionEx__
push eax
push 2
push 0x741
push str..YWAssistant.c
push str.W_GetVersionDescription
call fcn.00423ef0
add esp, 0x18
jmp 0x42389c
mov edx, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x1c0]
cmp edx, 5
jne 0x42372e
cmp ecx, ebx
jne 0x423708
mov eax, str.Windows_2000
jmp 0x423796
cmp edx, 5
jne 0x42372e
cmp ecx, 2
jne 0x423719
mov eax, str.Windows_2003
jmp 0x423796
cmp edx, 5
jne 0x42372e
mov eax, 1
cmp ecx, eax
jne 0x423733
mov eax, str.Windows_XP
jmp 0x423796
mov eax, 1
cmp edx, 6
jne 0x423791
cmp ecx, ebx
jne 0x423752
cmp byte [ebp - 0x12e], al
jne 0x42374b
mov eax, str.Windows_Vista
jmp 0x423796
mov eax, str.Windows_2008
jmp 0x423796
cmp edx, 6
jne 0x423791
cmp ecx, eax
jne 0x423771
cmp byte [ebp - 0x12e], al
jne 0x42376a
mov eax, str.Windows_7
jmp 0x423796
mov eax, str.WINDOWS_2008_R2
jmp 0x423796
cmp edx, 6
jne 0x423791
cmp ecx, 2
jne 0x423791
cmp byte [ebp - 0x12e], al
jne 0x42378a
mov eax, str.Windows_8
jmp 0x423796
mov eax, str.Windows_Server_2012
jmp 0x423796
mov eax, 0x49e088
mov esi, dword [ebp - 0x1bc]
push esi
movzx esi, word [ebp - 0x132]
push esi
movzx esi, word [ebp - 0x134]
push esi
push ecx
push edx
push eax
push str._s.___d._d._d._d._d_
push 0x104
lea edx, [ebp - 0x128]
push edx
call fcn.004523c4
add esp, 0x24
call fcn.004235c0
test eax, eax
lea eax, [ebp - 0x128]
je 0x423806
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x4237e0
mov ecx, dword [str.__64_bit_]
mov dword [eax], ecx
mov edx, dword [0x49e0c0]
mov dword [eax + 4], edx
mov cx, word [0x49e0c4]
mov word [eax + 8], cx
jmp 0x42382b
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x423807
mov edx, dword [str.__32_bit_]
mov dword [eax], edx
mov ecx, dword [0x49e0cc]
mov dword [eax + 4], ecx
mov dx, word [0x49e0d0]
mov word [eax + 8], dx
cmp dword [ebp - 0x1d0], ebx
je 0x423882
mov edx, dword [edi]
cmp edx, ebx
jbe 0x423882
lea eax, [ebp - 0x128]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x423842
sub eax, esi
inc eax
cmp eax, edx
jbe 0x423854
mov eax, edx
jmp 0x42386a
lea eax, [ebp - 0x128]
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x423860
sub eax, esi
inc eax
push eax
lea eax, [ebp - 0x128]
push eax
push edx
mov ecx, dword [ebp - 0x1d0]
push ecx
call fcn.00451366
add esp, 0x10
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
jmp 0x423890
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x423890
sub eax, edx
inc eax
mov dword [edi], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.004238ca
mov eax, dword [ebp - 0x1cc]
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.004512da
mov esp, ebp
pop ebp
ret