Function at 0x4a9c20
Capabilities:
Acquire debug privileges
Get memory capacity
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x52e0b0
push 0x4c5ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x53ba20]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x880], 0x98
mov eax, dword [0x5509e8]
mov dword [0x556f34], eax
push 0x4e
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call esi
mov dword [0x5509c8], eax
test eax, eax
jne 0x4a9c83
push eax
call esi
cdq
sub eax, edx
sar eax, 1
mov dword [0x5509c8], eax
call fcn.00493810
test al, al
je 0x4a9e06
cmp dword [0x55b1ac], 0
je 0x4a9caf
call fcn.004a9900
mov dword [0x555f60], eax
jmp 0x4a9cb4
mov eax, dword [0x555f60]
lea eax, [eax + eax*2]
shl eax, 4
push eax
call fcn.004c8c9a
mov dword [0x55b1e4], eax
mov eax, dword [0x555f60]
lea eax, [eax + eax*2]
shl eax, 3
push eax
call fcn.004c8c9a
mov dword [0x55b1e8], eax
mov eax, dword [0x555f60]
shl eax, 3
push eax
call fcn.004c8c9a
mov dword [0x55b1ec], eax
push 0x4fbf9c
call fcn.004061a0
push 0x4fc034
call fcn.004061a0
push 0x4fc00c
call fcn.004061a0
add esp, 0x18
call fcn.0048f140
test eax, eax
je 0x4a9d70
push 4
push 0x1000
push 4
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
wait
mov dword [ebp - 4], 0
push 4
push esi
push 4
lea eax, [ebp - 0x880]
push eax
push 0x83350008
call fcn.004a7890
add esp, 0x14
test eax, eax
je 0x4a9d9a
mov eax, dword [esi]
cmp eax, dword [ebp - 0x880]
jb 0x4a9d9a
wait
mov dword [ebp - 4], 0xfffffffe
push 0x4000
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0
push 0
push 0
push 0x40
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000003
je 0x4a9e4a
cmp eax, 0xc0000002
je 0x4a9e4a
mov al, 1
jmp 0x4a9e4c
mov eax, dword [0x53b5e4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x4a9dad
push eax
call edi
call fcn.0048f140
test eax, eax
je 0x4a9df1
push 4
push esi
push 4
lea eax, [ebp - 0x880]
push eax
push 0x83350008
call fcn.004a7890
add esp, 0x14
test eax, eax
je 0x4a9ddd
mov eax, dword [esi]
cmp eax, dword [ebp - 0x880]
jae 0x4a9dfe
push 0x10
push 0x4fc6f4
push 0x513f20
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x53b5e4]
cmp eax, 0xffffffff
je 0x4a9dfe
push eax
call edi
wait
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x4aa18b
xor al, al
mov byte [0x556aae], al
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [0x556ab8], eax
push 0x513fdc
push 1
push 0x513ac4
call fcn.0042f9d0
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55b1a0], eax
test eax, eax
jne 0x4a9eb5
push 0x513ff4
push 0x513928
lea eax, [ebp - 0x224]
push eax
call fcn.0042fa90
add esp, 0xc
push 0x10
push 0x4fc6f4
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x567850
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.004aaa30
mov ecx, 0x53acd0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9ed0
sub ecx, edx
sar ecx, 1
mov dword [0x53af10], ecx
mov ecx, 0x53af14
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9ef0
sub ecx, edx
sar ecx, 1
mov dword [0x53b154], ecx
mov ecx, 0x53b158
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9f10
sub ecx, edx
sar ecx, 1
mov dword [0x53b398], ecx
mov ecx, 0x53b39c
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9f30
sub ecx, edx
sar ecx, 1
mov dword [0x53b5dc], ecx
mov ecx, 0x53a848
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9f50
sub ecx, edx
sar ecx, 1
mov dword [0x53aa88], ecx
mov ecx, 0x53aa8c
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9f70
sub ecx, edx
sar ecx, 1
mov dword [0x53accc], ecx
call fcn.0047e0a0
cmp dword [0x556a98], 0
je 0x4a9fac
push 0x556f2c
push 0x556f30
push 0
push 0x556f28
call fcn.0047c5d0
add esp, 0x10
push 1
push 2
push 1
call fcn.00459820
mov dword [0x556ad4], eax
mov dword [eax + 0x1c], 0
mov eax, dword [0x556ad4]
mov dword [eax + 0x38], 0x3c943c
movsd xmm0, qword [0x50d110]
mov eax, dword [0x556ad4]
movsd qword [eax + 0x30], xmm0
mov eax, dword [0x556ad4]
mov dword [eax + 0x50], 0xff
mov eax, dword [0x556ad4]
movsd qword [eax + 0x48], xmm0
push 0
push 1
push 1
call fcn.00459820
add esp, 0x18
mov dword [0x556ad0], eax
mov dword [eax + 0x1c], 1
mov eax, dword [0x556ad0]
mov dword [eax + 0x38], 0xaaaa
mov dword [ebp - 0x87c], 0x40
lea eax, [ebp - 0x87c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [ebp - 0x860]
mov ecx, dword [ebp - 0x864]
call fcn.004c3cd0
mulsd xmm0, qword [0x50d0f0]
mov eax, dword [0x556ad0]
movsd qword [eax + 0x30], xmm0
mov dword [ebp - 0x83c], 0x20
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0
push 1
push 1
call fcn.00459820
add esp, 0xc
mov dword [0x556ae4], eax
mov dword [eax + 0x1c], 3
mov eax, dword [0x556ae4]
mov dword [eax + 0x38], 0x4080ff
mov eax, dword [ebp - 0x834]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x504470]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mov eax, dword [0x556ae4]
movsd qword [eax + 0x30], xmm0
mov ecx, 0x5679e8
call fcn.0045c990
mov ecx, 0x567a00
call fcn.0045c990
mov ecx, 0x567a18
call fcn.0045c990
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov edi, eax
test edi, edi
je 0x4aa186
push 0x55b1e0
push 0x55b1d4
call fcn.00491bb0
push 0
call fcn.004a99f0
add esp, 0xc
mov eax, dword [0x55b200]
test eax, eax
jne 0x4aa117
xor esi, esi
jmp 0x4aa119
mov esi, dword [eax]
add esi, 0xffffffff
js 0x4aa17f
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x884]
push ecx
push esi
push eax
call fcn.00491b30
add esp, 0xc
call ebx
mov ecx, dword [ebp - 0x884]
cmp dword [ecx + 4], eax
jne 0x4aa147
cmp dword [ecx + 8], edi
je 0x4aa153
sub esi, 1
js 0x4aa17f
mov eax, dword [0x55b200]
jmp 0x4aa124
xor eax, eax
mov word [ebp - 0x81c], ax
push eax
push 0x400
lea eax, [ebp - 0x81c]
push eax
push ecx
movzx eax, word [ecx + 0x12]
shl eax, 7
add eax, 0x55c410
push eax
call fcn.00490820
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret