Function at 0x4579d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5249e0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x595be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x80000000
jae 0x457a3b
mov eax, dword [ebp - 0x18]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00457300
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042a230
mov byte [ebp - 4], 1
push 0
push 0x567830
lea ecx, [ebp - 0x14]
call fcn.00439430
test eax, eax
jne 0x457a7f
push 0x567828
lea ecx, [ebp - 0x10]
call fcn.00428d50
jmp 0x457b76
push 0
push 0x567874
lea ecx, [ebp - 0x14]
call fcn.00439430
test eax, eax
jne 0x457aa4
push 0x567870
lea ecx, [ebp - 0x10]
call fcn.00428d50
jmp 0x457b76
push 0
push 0x567868
lea ecx, [ebp - 0x14]
call fcn.00439430
test eax, eax
jne 0x457ac9
push 0x567864
lea ecx, [ebp - 0x10]
call fcn.00428d50
jmp 0x457b76
push 0
push 0x567894
lea ecx, [ebp - 0x14]
call fcn.00439430
test eax, eax
jne 0x457aee
push 0x567890
lea ecx, [ebp - 0x10]
call fcn.00428d50
jmp 0x457b76
push 0
push 0x567888
lea ecx, [ebp - 0x14]
call fcn.00439430
test eax, eax
jne 0x457b10
push 0x56787c
lea ecx, [ebp - 0x10]
call fcn.00428d50
jmp 0x457b76
push 0
push 0x5678bc
lea ecx, [ebp - 0x14]
call fcn.00439430
test eax, eax
jne 0x457b32
push str.XP32
lea ecx, [ebp - 0x10]
call fcn.00428d50
jmp 0x457b76
push 0
push 0x5678a8
lea ecx, [ebp - 0x14]
call fcn.00439430
test eax, eax
jne 0x457b54
push 0x56789c
lea ecx, [ebp - 0x10]
call fcn.00428d50
jmp 0x457b76
cmp dword [ebp - 0x30], 6
jb 0x457b63
mov dword [ebp - 0x1c], 0x5678d8
jmp 0x457b6a
mov dword [ebp - 0x1c], 0x5678cc
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00428d50
push 0x5678c8
lea ecx, [ebp - 0x28]
call fcn.00428940
mov byte [ebp - 4], 2
push 0x5678c4
lea ecx, [ebp - 0x24]
call fcn.00428940
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.0042a230
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 4
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.0042a8b0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x10]
call fcn.00432ad0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.00428a40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00428a40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00428a40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.00428a40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00428a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00428a40
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00428920
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00428a40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret