Function at 0x489c60
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x5ef7c0]
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
test eax, eax
je 0x489c82
mov ecx, 0x47
mov esi, 0x5ef4d0
rep movsd dword es:[edi], dword [esi]
pop edi
mov esi, eax
pop esi
pop ebx
ret
push str.RtlGetVersion
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x11c
push 0
push edi
mov ebx, eax
call fcn.00518c00
add esp, 0xc
mov dword [edi], 0x11c
test ebx, ebx
je 0x489cbc
push edi
call ebx
test eax, eax
je 0x489ccb
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x489ccb
pop edi
pop esi
pop ebx
ret
cmp dword [edi + 0x10], 2
jne 0x489f8e
mov eax, dword [edi + 4]
cmp eax, 0xa
jne 0x489ce4
cmp dword [edi + 8], esi
ja 0x489ce6
cmp eax, eax
jbe 0x489cf1
mov esi, 0xff
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 0xa
jne 0x489d2d
cmp dword [edi + 8], esi
jne 0x489d0f
cmp byte [edi + 0x11a], 1
jne 0x489d0f
mov esi, 0x96
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 0xa
jne 0x489d2d
cmp dword [edi + 8], esi
jne 0x489d2d
cmp byte [edi + 0x11a], 1
je 0x489d2d
mov esi, 0xa0
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x489e76
cmp dword [edi + 8], 3
jne 0x489d50
cmp byte [edi + 0x11a], 1
je 0x489d50
mov esi, 0x8d
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x489e76
cmp dword [edi + 8], 3
jne 0x489d73
cmp byte [edi + 0x11a], 1
jne 0x489d73
mov esi, 0x83
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x489e76
cmp dword [edi + 8], 2
jne 0x489d96
cmp byte [edi + 0x11a], 1
je 0x489d96
mov esi, 0x8c
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x489e76
cmp dword [edi + 8], 2
jne 0x489db9
cmp byte [edi + 0x11a], 1
jne 0x489db9
mov esi, 0x82
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x489e76
cmp dword [edi + 8], 1
jne 0x489de4
cmp byte [edi + 0x11a], 1
jne 0x489de4
cmp word [edi + 0x114], 1
pop edi
sbb esi, esi
add esi, 0x79
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x489e76
cmp dword [edi + 8], 1
jne 0x489e0f
cmp byte [edi + 0x11a], 1
je 0x489e0f
cmp word [edi + 0x114], 1
pop edi
sbb esi, esi
add esi, 0x71
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x489e76
cmp dword [edi + 8], esi
jne 0x489e35
cmp byte [edi + 0x11a], 1
je 0x489e35
cmp word [edi + 0x114], 2
pop edi
sbb esi, esi
add esi, 0x6f
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x489e76
cmp dword [edi + 8], esi
jne 0x489e76
cmp byte [edi + 0x11a], 1
jne 0x489e76
lea esi, [eax + 0x5e]
movzx eax, word [edi + 0x114]
cmp eax, 1
jne 0x489e62
mov esi, 0x66
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 2
jb 0x489f8e
mov esi, 0x67
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 5
jne 0x489ec6
cmp dword [edi + 8], 2
jne 0x489ec6
cmp byte [edi + 0x11a], 1
je 0x489ec6
push 0x59
call ebx
test eax, eax
jne 0x489ec6
lea esi, [eax + 0x5a]
movzx eax, word [edi + 0x114]
cmp eax, 1
jne 0x489eb2
mov esi, 0x5c
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 2
jb 0x489f8e
mov esi, 0x5e
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp dword [edi + 4], 5
jne 0x489f13
cmp dword [edi + 8], 2
jne 0x489f13
cmp byte [edi + 0x11a], 1
je 0x489f13
push 0x59
call ebx
test eax, eax
je 0x489f13
movzx eax, word [edi + 0x114]
mov esi, 0x5b
cmp eax, 1
jne 0x489eff
mov esi, 0x5d
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 2
jb 0x489f8e
mov esi, 0x5f
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov eax, dword [edi + 4]
cmp eax, 5
jne 0x489f8e
cmp dword [edi + 8], 2
jne 0x489f4e
cmp byte [edi + 0x11a], 1
jne 0x489f4e
lea esi, [eax + 0x46]
movzx eax, word [edi + 0x114]
cmp eax, 1
je 0x489f68
cmp eax, 2
je 0x489f78
cmp eax, 3
jb 0x489f8e
mov esi, 0x54
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 5
jne 0x489f8e
cmp dword [edi + 8], 1
jne 0x489f8e
lea esi, [eax + 0x46]
movzx eax, word [edi + 0x114]
cmp eax, 1
jne 0x489f73
mov esi, pe_nt_image_headers32
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 2
jne 0x489f83
mov esi, 0x52
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 3
mov ecx, 0x54
cmovae esi, ecx
pop edi
mov eax, esi
pop esi
pop ebx
ret