Function at 0x5148f0
Capabilities:
Check for software breakpoints
Enumerate processes via ntquerysysteminformation
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov edx, str.exit
mov eax, 0x128a
mov ebp, esp
push edi
push esi
lea ecx, [ebp - 0x464]
lea esi, [ebp - 0x40c]
push ebx
mov edi, esi
sub esp, 0x474
mov dword [ebp - 0x468], 0
call fcn.0050e8d0
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x128b
mov eax, dword [ebp - 0x464]
mov dword [esp], eax
call fcn.0057d980
mov dword [esp], 0x64
call dword [sym.imp.kernel32.dll_Sleep]
xor eax, eax
mov ecx, 0x100
mov ebx, dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
rep stosd dword es:[edi], eax
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x400
mov dword [esp + 4], 0x1b
mov eax, dword [ebp - 0x464]
mov dword [esp], eax
call ebx
sub esp, 0x14
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x1290
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.ProcessImageFileName_failed__lx_n
call fcn.0050e8b0
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x1291
mov dword [esp + 4], str.ProcessImageFileName_not_set_n
movzx eax, word [ebp - 0x40c]
mov dword [esp], eax
call fcn.0050e8b0
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x1292
mov dword [esp + 4], str.ProcessImageFileName_not_set_n
mov eax, dword [ebp - 0x408]
cmp word [eax], 0x5c
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0050e8b0
mov eax, 0xffffcccc
mov word [ebp - 0x40c], ax
mov dword [esp + 8], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0x12
mov eax, dword [ebp - 0x464]
mov dword [esp], eax
call ebx
sub esp, 0x14
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x1296
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.ProcessPriorityClass_failed__lx_n
call fcn.0050e8b0
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x1297
xor eax, eax
mov dword [esp + 4], str.ProcessPriorityClass_not_set_n
cmp byte [ebp - 0x40b], 0xcc
setne al
mov dword [esp], eax
call fcn.0050e8b0
lea eax, [ebp - 0x454]
mov dword [ebp - 0x454], 0xcccccccc
mov dword [ebp - 0x450], 0xcccccccc
mov dword [ebp - 0x44c], 0xcccccccc
mov dword [ebp - 0x448], 0xcccccccc
mov dword [ebp - 0x444], 0xcccccccc
mov dword [ebp - 0x440], 0xcccccccc
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x18
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x464]
mov dword [esp], eax
call ebx
sub esp, 0x14
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x129b
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
lea esi, [ebp - 0x468]
mov dword [esp], eax
mov dword [esp + 4], str.ProcessBasicInformation_failed__lx_n
call fcn.0050e8b0
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x129c
xor eax, eax
mov dword [esp + 4], str.ProcessBasicInformation_info_modified_n
mov edx, dword [ebp - 0x454]
test edx, edx
sete al
mov dword [esp], eax
call fcn.0050e8b0
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], 0xcccccccc
mov dword [ebp - 0x438], 0xcccccccc
mov dword [ebp - 0x434], 0xcccccccc
mov dword [ebp - 0x430], 0xcccccccc
mov dword [ebp - 0x42c], 0xcccccccc
mov dword [ebp - 0x428], 0xcccccccc
mov dword [ebp - 0x424], 0xcccccccc
mov dword [ebp - 0x420], 0xcccccccc
mov dword [ebp - 0x41c], 0xcccccccc
mov dword [ebp - 0x418], 0xcccccccc
mov dword [ebp - 0x414], 0xcccccccc
mov dword [ebp - 0x410], 0xcccccccc
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], eax
mov dword [esp + 4], 0x25
mov eax, dword [ebp - 0x464]
mov dword [esp], eax
call ebx
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x12a0
xor eax, eax
cmp ebx, 0xc000010a
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.ProcessImageInformation_wrong_error__lx_n
call fcn.0050e8b0
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x12a1
xor eax, eax
mov dword [esp + 4], str.ProcessImageInformation_info_modified_n
cmp word [ebp - 0x41c], 0xcccc
sete al
xor edi, edi
mov dword [esp], eax
call fcn.0050e8b0
mov ebx, dword [ebp - 0x468]
jmp 0x514caa
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_free]
mov ebx, dword [ebp - 0x468]
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
sub esp, 0x10
cmp eax, 0xc0000004
je 0x514c90
mov dword [ebp - 0x46c], eax
call fcn.0057d110
mov ecx, dword [ebp - 0x46c]
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x12a8
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], 0x5f0633
call fcn.0050e8b0
mov ebx, dword [ebp - 0x45c]
xor eax, eax
jmp 0x514d18
mov ecx, dword [ecx]
add eax, ecx
test ecx, ecx
je 0x514d70
lea ecx, [edi + eax]
cmp dword [ecx + 0x44], ebx
jne 0x514d10
xor ebx, ebx
call fcn.0057d110
mov dword [eax], 0x5eee7f
mov dword [eax + 4], 0x12b4
mov dword [esp], ebx
mov dword [esp + 4], str.process_still_enumerated_n
call fcn.0050e8b0
mov eax, dword [ebp - 0x464]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x460]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 1
jmp 0x514d22