Function at 0x4e3680
Capabilities:
Check os version
Execute anti-debugging instructions
Get system information on windows
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x200
push ebx
push esi
push edi
push 0x6a1c20
call fcn.004e16a0
push str.3.06c
lea eax, [ebp - 0x188]
push 0x6a1c00
mov esi, 1
add dword [0x709b30], esi
push eax
call fcn.0052b650
lea ecx, [ebp - 0x188]
push ecx
call fcn.004e16a0
add esp, 0x14
lea edx, [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp + 0x2c]
push eax
push 0x6a1be8
mov dword [0x708fd8], eax
call fcn.004e3210
push 0x6a1be0
call fcn.004e16a0
add esp, 0xc
push str.Windows
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x88]
mov edx, 0x94
xor ebx, ebx
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x68], ebx
cld
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x6c]
mov edi, dword [ebp + 0x60]
rep stosb byte es:[edi], al
mov dword [ebp - 0x88], edx
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x78]
sub eax, ebx
je 0x4e38e8
sub eax, esi
je 0x4e3851
sub eax, esi
jne case.default.0x4e3766
mov eax, dword [ebp - 0x84]
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x4e3766
jmp dword [eax*4 + 0x4e3c48]
push str.NT_3.51
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x714498], 0x104
jmp case.default.0x4e3766
push 0x6a1bcc
lea ecx, [ebp - 0x188]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x714498], 0x105
jmp case.default.0x4e3766
mov eax, dword [ebp - 0x80]
sub eax, ebx
je 0x4e37df
sub eax, esi
jne case.default.0x4e3766
push 0x6a1bc8
lea edx, [ebp - 0x188]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x714498], 0x107
jmp case.default.0x4e3766
push str.2000
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x714498], 0x106
jmp case.default.0x4e3766
mov eax, dword [ebp - 0x80]
sub eax, ebx
je 0x4e3830
sub eax, esi
jne case.default.0x4e3766
push 0x6a1bbc
lea ecx, [ebp - 0x188]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x714498], 0x109
jmp case.default.0x4e3766
push str.Vista
lea edx, [ebp - 0x188]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x714498], 0x108
jmp case.default.0x4e3766
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x4e38b8
cmp eax, 0xa
je 0x4e3884
cmp eax, 0x5a
jne case.default.0x4e3766
push 0x6a1bb0
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x714498], 3
jmp case.default.0x4e3766
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x6a1bac
lea ecx, [ebp - 0x188]
push ecx
call edi
cmp byte [ebp - 0x74], 0x41
mov dword [0x714498], 2
jne case.default.0x4e3766
push 0x6a1ba8
lea edx, [ebp - 0x188]
push edx
call edi
jmp case.default.0x4e3766
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x6a1ba4
lea eax, [ebp - 0x188]
push eax
call edi
cmp byte [ebp - 0x74], 0x43
mov dword [0x714498], esi
jne case.default.0x4e3766
push str.OSR2
lea ecx, [ebp - 0x188]
push ecx
call edi
jmp case.default.0x4e3766
push 0x6a1b98
lea edx, [ebp - 0x188]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [0x714498], ebx
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
push ecx
lea edx, [ebp - 0x188]
push edx
push str._s___Build__d__s__
push 0x708ab0
call fcn.0052b650
push 0x708ab0
push 0x69e984
call fcn.004e3210
add esp, 0x1c
push 8
lea eax, [ebp + 0x50]
push eax
mov dword [0x714494], 0x70000
call dword [0x7090b4]
mov ecx, dword [ebp + 0x50]
push ecx
call dword [0x7090a8]
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
mov byte [ebp + 0xc], bl
mov byte [ebp + 0x3c], bl
mov dword [0x71449c], ebx
pushfd
pushfd
pop eax
xor eax, 0x200000
push eax
popfd
pushfd
pop ebx
mov dword [ebp + 0x64], 0
cmp eax, ebx
jne 0x4e3a36
mov eax, 0
cpuid
cmp eax, 0
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x6c], ecx
mov dword [ebp + 0x64], 1
mov eax, 1
cpuid
and edx, 0x10
shr edx, 4
mov dword [ebp + 0x5c], edx
mov eax, 0x80000000
cpuid
cmp eax, 0x80000004
jb 0x4e39fa
mov eax, 0x80000002
cpuid
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], edx
mov eax, 0x80000003
cpuid
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x28], edx
mov eax, 0x80000004
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 0x4e3a36
mov dword [ebp + 0x64], 3
mov eax, 1
cpuid
and edx, 0x2000000
je 0x4e3a36
add dword [ebp + 0x64], 1
mov eax, 1
cpuid
and edx, 0x4000000
je 0x4e3a36
add dword [ebp + 0x64], 1
popfd
mov eax, dword [ebp + 0x5c]
test eax, eax
mov dword [0x7144a8], eax
je 0x4e3af8
rdtsc
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], edx
call dword [0x7090b0]
mov edi, eax
and edi, 0x7fffffff
lea ecx, [ecx]
call dword [0x7090b0]
and eax, 0x7fffffff
sub eax, edi
cmp eax, 0x64
jl 0x4e3a60
rdtsc
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], edx
mov edx, dword [ebp + 0x48]
sub edx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x4c]
sbb eax, dword [ebp + 0x54]
mov dword [ebp + 0x40], edx
mov dword [ebp + 0x44], eax
fild qword [ebp + 0x40]
sub esp, 8
fdiv qword [0x6af0a8]
fstp qword [esp]
call fcn.004dc240
mov ecx, dword [ebp + 0x48]
mov edx, dword [ebp + 0x4c]
add esp, 8
sub ecx, dword [ebp + 0x50]
push 0
sbb edx, dword [ebp + 0x54]
push 0xa
push edx
push ecx
mov edi, eax
call fcn.004cb3c0
mov dword [0x7144b0], eax
mov eax, edi
test eax, eax
mov dword [ebp + 0x44], eax
fild dword [ebp + 0x44]
mov dword [0x7144b4], edx
jge 0x4e3ad9
fadd dword [0x6a1588]
fdiv qword [0x69e228]
sub esp, 8
fstp qword [esp]
push 0x6a1b68
call fcn.004e3210
add esp, 0xc
mov dword [0x708db0], edi
mov eax, dword [ebp + 0x64]
cmp eax, 5
ja case.0x4e3b04.2
jmp dword [eax*4 + 0x4e3c58]
push 0x6a1b4c
call fcn.004e16a0
add esp, 4
jmp case.0x4e3b04.2
push 0x6a1b38
call fcn.004e16a0
add esp, 4
jmp case.0x4e3b04.2
push 0x6a1b20
call fcn.004e16a0
add esp, 4
jmp 0x4e3b7e
push 0x6a1b20
call fcn.004e16a0
push 0x6a1b04
call fcn.004e16a0
add esp, 8
jmp 0x4e3b78
push 0x6a1b20
call fcn.004e16a0
push 0x6a1b04
call fcn.004e16a0
push 0x6a1ae8
call fcn.004e16a0
add esp, 0xc
mov dword [0x7144a4], esi
mov dword [0x7144a0], esi
mov dword [0x71449c], esi
cmp dword [ebp + 0x64], 0
jle 0x4e3bf8
push 0x6a1ad8
call fcn.004e16a0
mov ecx, dword [ebp + 0x58]
lea edx, [ebp + 0x70]
push edx
mov byte [ebp + 0x74], 0
mov dword [ebp + 0x70], ecx
call fcn.004e16a0
mov eax, dword [ebp + 0x68]
lea ecx, [ebp + 0x70]
push ecx
mov dword [ebp + 0x70], eax
call fcn.004e16a0
mov edx, dword [ebp + 0x6c]
lea eax, [ebp + 0x70]
push eax
mov dword [ebp + 0x70], edx
call fcn.004e16a0
push 0x69deb4
call fcn.004e16a0
add esp, 0x14
cmp byte [ebp + 0xc], 0
je 0x4e3bf8
lea ecx, [ebp + 0xc]
push ecx
push 0x6a1ac8
call fcn.004e3210
add esp, 8
lea edx, [ebp + 0xc]
push edx
push 0x708cb0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [0x709b30], 0
je 0x4e3c07
sub dword [0x709b30], esi
mov eax, dword [0x714494]
cmp eax, 0x70000
jge 0x4e3c3a
test eax, eax
push 0
push 0x6a1ac0
jne 0x4e3c25
push str.DirectX
jmp 0x4e3c2a
push 0x6a1a48
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