Function at 0x57aca3
Capabilities:
Check os version
Execute anti-debugging instructions
Terminate process

Disassembly:
jmp 0x5978f0
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x200
push ebx
push esi
push edi
push 0x87ab4c
call fcn.0057a587
push str.3.04b
lea eax, [ebp - 0x188]
push 0x87ab28
mov esi, 1
add dword [0x8f28f4], esi
push eax
call fcn.0057a7a3
lea ecx, [ebp - 0x188]
push ecx
call fcn.0057a587
push 0x87ab20
call fcn.0057a587
add esp, 0x18
push str.Windows
lea edx, [ebp - 0x188]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x88]
mov edx, 0x94
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x6c], edx
cld
mov al, 0
mov ecx, dword [ebp + 0x6c]
mov edi, dword [ebp + 0x68]
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x88]
push ecx
mov dword [ebp - 0x88], edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x78]
xor ebx, ebx
sub eax, ebx
je 0x597b34
sub eax, esi
je 0x597a9d
sub eax, esi
jne case.default.0x5979b2
mov eax, dword [ebp - 0x84]
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x5979b2
jmp dword [eax*4 + 0x597e84]
push str.NT_3.51
lea edx, [ebp - 0x188]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x8fd150], 0x104
jmp case.default.0x5979b2
push 0x87ab04
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x8fd150], 0x105
jmp case.default.0x5979b2
mov eax, dword [ebp - 0x80]
sub eax, ebx
je 0x597a2b
sub eax, esi
jne case.default.0x5979b2
push 0x87ab00
lea ecx, [ebp - 0x188]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x8fd150], 0x107
jmp case.default.0x5979b2
push str.2000
lea edx, [ebp - 0x188]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x8fd150], 0x106
jmp case.default.0x5979b2
mov eax, dword [ebp - 0x80]
sub eax, ebx
je 0x597a7c
sub eax, esi
jne case.default.0x5979b2
push 0x87aaf4
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x8fd150], 0x109
jmp case.default.0x5979b2
push str.Vista
lea ecx, [ebp - 0x188]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x8fd150], 0x108
jmp case.default.0x5979b2
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x597b04
cmp eax, 0xa
je 0x597ad0
cmp eax, 0x5a
jne case.default.0x5979b2
push 0x87aae8
lea edx, [ebp - 0x188]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x8fd150], 3
jmp case.default.0x5979b2
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x87aae4
lea eax, [ebp - 0x188]
push eax
call edi
cmp byte [ebp - 0x74], 0x41
mov dword [0x8fd150], 2
jne case.default.0x5979b2
push 0x87aae0
lea ecx, [ebp - 0x188]
push ecx
call edi
jmp case.default.0x5979b2
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x87aadc
lea edx, [ebp - 0x188]
push edx
call edi
cmp byte [ebp - 0x74], 0x43
mov dword [0x8fd150], esi
jne case.default.0x5979b2
push str.OSR2
lea eax, [ebp - 0x188]
push eax
call edi
jmp case.default.0x5979b2
push 0x87aad0
lea ecx, [ebp - 0x188]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x8fd150], ebx
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x74]
push edx
push eax
lea ecx, [ebp - 0x188]
push ecx
push str._s___Build__d__s__
push 0x8f2170
call fcn.0057a7a3
push 0x8f2170
push 0x87aab4
call fcn.0057a2e9
add esp, 0x1c
push 8
lea edx, [ebp + 0x50]
push edx
mov dword [0x8fd14c], 0x70000
call dword [sym.imp.WINMM.dll_timeGetDevCaps]
mov eax, dword [ebp + 0x50]
push eax
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov dword [ebp + 0x60], ebx
mov byte [ebp + 0xc], bl
mov byte [ebp + 0x3c], bl
mov dword [0x8fd154], ebx
pushfd
pushfd
pop eax
xor eax, 0x200000
push eax
popfd
pushfd
pop ebx
mov dword [ebp + 0x64], 0
cmp eax, ebx
jne 0x597c76
mov eax, 0
cpuid
cmp eax, 0
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x58], edx
mov dword [ebp + 0x6c], ecx
mov dword [ebp + 0x64], 1
mov eax, 1
cpuid
and edx, 0x10
shr edx, 4
mov dword [ebp + 0x60], edx
mov eax, closesocket
cpuid
cmp eax, reloc.WSOCK32.dll_connect
jb 0x597c3a
mov eax, reloc.WSOCK32.dll_bind
cpuid
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], edx
mov eax, reloc.WSOCK32.dll_closesocket
cpuid
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x28], edx
mov eax, reloc.WSOCK32.dll_connect
cpuid
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ecx
mov dword [ebp + 0x38], edx
mov eax, 1
cpuid
and edx, 0x800000
je 0x597c76
mov dword [ebp + 0x64], 3
mov eax, 1
cpuid
and edx, 0x2000000
je 0x597c76
add dword [ebp + 0x64], 1
mov eax, 1
cpuid
and edx, 0x4000000
je 0x597c76
add dword [ebp + 0x64], 1
popfd
mov eax, dword [ebp + 0x60]
test eax, eax
mov dword [0x8fd160], eax
je 0x597d34
rdtsc
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], edx
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
call ebx
mov edi, eax
and edi, 0x7fffffff
nop
call ebx
and eax, 0x7fffffff
sub eax, edi
cmp eax, 0x64
jl 0x597ca0
rdtsc
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], edx
mov ecx, dword [ebp + 0x48]
sub ecx, dword [ebp + 0x50]
mov edx, dword [ebp + 0x4c]
sbb edx, dword [ebp + 0x54]
mov dword [ebp + 0x40], ecx
mov dword [ebp + 0x44], edx
fild qword [ebp + 0x40]
sub esp, 8
fdiv qword [0x87aaa8]
fstp qword [esp]
call fcn.0057e119
mov ecx, dword [ebp + 0x4c]
add esp, 8
mov edi, eax
mov eax, dword [ebp + 0x48]
sub eax, dword [ebp + 0x50]
push 0
sbb ecx, dword [ebp + 0x54]
push 0xa
push ecx
push eax
call fcn.0057f267
mov dword [0x8fd16c], edx
mov edx, edi
test edx, edx
mov dword [ebp + 0x44], edx
fild dword [ebp + 0x44]
mov dword [0x8fd168], eax
jge 0x597d15
fadd dword [0x879ef8]
fdiv qword [0x87aa98]
sub esp, 8
fstp qword [esp]
push 0x87aa70
call fcn.0057a2e9
add esp, 0xc
mov dword [0x8f2470], edi
mov eax, dword [ebp + 0x64]
cmp eax, 5
ja case.0x597d40.2
jmp dword [eax*4 + 0x597e94]
push 0x87aa4c
call fcn.0057a587
add esp, 4
jmp case.0x597d40.2
push 0x87aa34
call fcn.0057a587
add esp, 4
jmp case.0x597d40.2
push 0x87aa18
call fcn.0057a587
add esp, 4
jmp 0x597dba
push 0x87aa18
call fcn.0057a587
push 0x87a9f8
call fcn.0057a587
add esp, 8
jmp 0x597db4
push 0x87aa18
call fcn.0057a587
push 0x87a9f8
call fcn.0057a587
push 0x87a9d4
call fcn.0057a587
add esp, 0xc
mov dword [0x8fd15c], esi
mov dword [0x8fd158], esi
mov dword [0x8fd154], esi
cmp dword [ebp + 0x64], 0
jle 0x597e34
push 0x87a9c0
call fcn.0057a587
mov eax, dword [ebp + 0x5c]
lea ecx, [ebp + 0x70]
push ecx
mov byte [ebp + 0x74], 0
mov dword [ebp + 0x70], eax
call fcn.0057a587
mov edx, dword [ebp + 0x58]
lea eax, [ebp + 0x70]
push eax
mov dword [ebp + 0x70], edx
call fcn.0057a587
mov ecx, dword [ebp + 0x6c]
lea edx, [ebp + 0x70]
push edx
mov dword [ebp + 0x70], ecx
call fcn.0057a587
push 0x879e5c
call fcn.0057a587
add esp, 0x14
cmp byte [ebp + 0xc], 0
je 0x597e34
lea eax, [ebp + 0xc]
push eax
push 0x87a9b0
call fcn.0057bcf2
add esp, 8
lea ecx, [ebp + 0xc]
push ecx
push 0x8f2370
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [0x8f28f4], 0
je 0x597e43
sub dword [0x8f28f4], esi
mov eax, dword [0x8fd14c]
cmp eax, 0x70000
jge 0x597e76
test eax, eax
push 0
push 0x87a9a8
jne 0x597e61
push str.DirectX
jmp 0x597e66
push 0x87a918
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x78
mov esp, ebp
pop ebp
ret