Function at 0x490af0
Capabilities:
Enumerate processes
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51036b
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x65c], edi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004dfec0
push 0x22c
lea eax, [ebp - 0x64c]
push ebx
push eax
call fcn.004dfec0
add esp, 0x18
mov dword [ebp - 0x658], ebx
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x490f9e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x650], eax
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x554140], ebx
jne 0x490bc8
cmp dword [0x554144], ebx
jne 0x490bc8
push str.Psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x490bc2
push 0x538844
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x53885c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x554140], eax
call esi
mov dword [0x554144], eax
jmp 0x490bc8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [0x550c0c]
cmp eax, 0xffffffff
jne 0x490c02
push 0x53661c
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
mov esi, eax
test esi, esi
je 0x490c17
push 0x550c0c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x490c17
mov eax, dword [0x550c0c]
test eax, eax
je 0x490c21
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x490fa8
jmp 0x490c30
mov dword [0x550c0c], 0
test edi, edi
jne 0x490d9c
xor ecx, ecx
jmp 0x490db0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x654], eax
push 0x208
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004dfec0
movzx eax, word [edi]
push eax
lea eax, [ebp - 0x654]
push 0x5389cc
push eax
call fcn.0048d020
mov esi, dword [ebp - 0x654]
lea eax, [ebp - 0x420]
add esp, 0x18
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490c90
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x650]
call fcn.0044f580
push 1
lea eax, [ebp - 0x660]
push eax
lea ecx, [ebp - 0x650]
call fcn.0048c200
mov ecx, 0x536960
mov eax, dword [eax]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x490cf6
test dx, dx
je 0x490cf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x490cf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x490cd0
xor edi, edi
jmp 0x490cfb
sbb edi, edi
or edi, 1
mov edx, dword [ebp - 0x660]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490d19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x490d2f
push 1
push 0x536960
lea ecx, [ebp - 0x650]
call fcn.0048c830
mov edx, dword [ebp - 0x65c]
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490d40
sub ecx, edi
sar ecx, 1
cmp ecx, 3
jbe 0x490d7e
add edx, 6
jne 0x490d5d
xor ecx, ecx
jmp 0x490d71
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490d62
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x650]
call fcn.0048c830
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x490dbd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x490dbd
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490da1
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x650]
call fcn.0044f580
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, dword [ebp - 0x650]
mov edi, eax
mov dword [ebp - 0x65c], edi
cmp edi, 0xffffffff
je 0x490f5d
lea eax, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x490f56
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x654], eax
nop dword [eax + eax]
mov ecx, dword [ebp - 0x644]
cmp ecx, eax
je 0x490f30
test ecx, ecx
je 0x490f30
cmp ecx, 4
je 0x490f30
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x490f30
mov ecx, dword [0x550c0c]
cmp ecx, 0xffffffff
jne 0x490e87
push 0x53661c
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x490ea5
push 0x550c0c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x490ea5
mov ecx, dword [0x550c0c]
test ecx, ecx
je 0x490eaf
mov eax, dword [0x554144]
test eax, eax
je 0x490eaf
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push ebx
call eax
jmp 0x490ec9
mov dword [0x550c0c], 0
mov eax, dword [0x554140]
test eax, eax
je 0x490f21
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
push ebx
call eax
test eax, eax
je 0x490f21
cmp eax, dword [esi - 0xc]
jne 0x490f21
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004e3717
add esp, 8
test eax, eax
jne 0x490f21
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x644]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Terminate_Process_return:_d__error:_d__pid:_d__path:_ws
push 0x550bb8
call fcn.0048d900
add esp, 0x18
test edi, edi
jne 0x490f21
inc dword [ebp - 0x658]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x65c]
xor ebx, ebx
lea eax, [ebp - 0x64c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov eax, dword [ebp - 0x654]
jne 0x490e10
test ebx, ebx
je 0x490f56
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x490f7c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x658]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
int3