Function at 0x539be0
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x6f58fc]
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
test eax, eax
je 0x539c02
mov ecx, 0x47
mov esi, 0x6f3d00
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.005e0dd0
add esp, 0xc
mov dword [edi], 0x11c
test ebx, ebx
je 0x539c3c
push edi
call ebx
test eax, eax
je 0x539c4b
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x539c4b
pop edi
pop esi
pop ebx
ret
cmp dword [edi + 0x10], 2
jne 0x539f0e
mov eax, dword [edi + 4]
cmp eax, 0xa
jne 0x539c64
cmp dword [edi + 8], esi
ja 0x539c66
cmp eax, eax
jbe 0x539c71
mov esi, 0xff
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 0xa
jne 0x539cad
cmp dword [edi + 8], esi
jne 0x539c8f
cmp byte [edi + 0x11a], 1
jne 0x539c8f
mov esi, 0x96
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 0xa
jne 0x539cad
cmp dword [edi + 8], esi
jne 0x539cad
cmp byte [edi + 0x11a], 1
je 0x539cad
mov esi, 0xa0
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x539df6
cmp dword [edi + 8], 3
jne 0x539cd0
cmp byte [edi + 0x11a], 1
je 0x539cd0
mov esi, 0x8d
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x539df6
cmp dword [edi + 8], 3
jne 0x539cf3
cmp byte [edi + 0x11a], 1
jne 0x539cf3
mov esi, 0x83
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x539df6
cmp dword [edi + 8], 2
jne 0x539d16
cmp byte [edi + 0x11a], 1
je 0x539d16
mov esi, 0x8c
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x539df6
cmp dword [edi + 8], 2
jne 0x539d39
cmp byte [edi + 0x11a], 1
jne 0x539d39
mov esi, 0x82
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x539df6
cmp dword [edi + 8], 1
jne 0x539d64
cmp byte [edi + 0x11a], 1
jne 0x539d64
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 0x539df6
cmp dword [edi + 8], 1
jne 0x539d8f
cmp byte [edi + 0x11a], 1
je 0x539d8f
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 0x539df6
cmp dword [edi + 8], esi
jne 0x539db5
cmp byte [edi + 0x11a], 1
je 0x539db5
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 0x539df6
cmp dword [edi + 8], esi
jne 0x539df6
cmp byte [edi + 0x11a], 1
jne 0x539df6
lea esi, [eax + 0x5e]
movzx eax, word [edi + 0x114]
cmp eax, 1
jne 0x539de2
mov esi, 0x66
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 2
jb 0x539f0e
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 0x539e46
cmp dword [edi + 8], 2
jne 0x539e46
cmp byte [edi + 0x11a], 1
je 0x539e46
push 0x59
call ebx
test eax, eax
jne 0x539e46
lea esi, [eax + 0x5a]
movzx eax, word [edi + 0x114]
cmp eax, 1
jne 0x539e32
mov esi, 0x5c
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 2
jb 0x539f0e
mov esi, 0x5e
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp dword [edi + 4], 5
jne 0x539e93
cmp dword [edi + 8], 2
jne 0x539e93
cmp byte [edi + 0x11a], 1
je 0x539e93
push 0x59
call ebx
test eax, eax
je 0x539e93
movzx eax, word [edi + 0x114]
mov esi, 0x5b
cmp eax, 1
jne 0x539e7f
mov esi, 0x5d
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 2
jb 0x539f0e
mov esi, 0x5f
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov eax, dword [edi + 4]
cmp eax, 5
jne 0x539f0e
cmp dword [edi + 8], 2
jne 0x539ece
cmp byte [edi + 0x11a], 1
jne 0x539ece
lea esi, [eax + 0x46]
movzx eax, word [edi + 0x114]
cmp eax, 1
je 0x539ee8
cmp eax, 2
je 0x539ef8
cmp eax, 3
jb 0x539f0e
mov esi, 0x54
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 5
jne 0x539f0e
cmp dword [edi + 8], 1
jne 0x539f0e
lea esi, [eax + 0x46]
movzx eax, word [edi + 0x114]
cmp eax, 1
jne 0x539ef3
mov esi, 0x50
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp eax, 2
jne 0x539f03
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