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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51078b
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.004e02e0
push 0x22c
lea eax, [ebp - 0x64c]
push ebx
push eax
call fcn.004e02e0
add esp, 0x18
mov dword [ebp - 0x658], ebx
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x490f1e
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 0x490b48
cmp dword [0x554144], ebx
jne 0x490b48
push str.Psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x490b42
push 0x538a44
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x538a5c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x554140], eax
call esi
mov dword [0x554144], eax
jmp 0x490b48
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [0x550c0c]
cmp eax, 0xffffffff
jne 0x490b82
push 0x53680c
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
mov esi, eax
test esi, esi
je 0x490b97
push 0x550c0c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x490b97
mov eax, dword [0x550c0c]
test eax, eax
je 0x490ba1
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x490f28
jmp 0x490bb0
mov dword [0x550c0c], 0
test edi, edi
jne 0x490d1c
xor ecx, ecx
jmp 0x490d30
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.004e02e0
movzx eax, word [edi]
push eax
lea eax, [ebp - 0x654]
push 0x538bcc
push eax
call fcn.0048cfa0
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 0x490c10
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.0048c180
mov ecx, 0x536b50
mov eax, dword [eax]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x490c76
test dx, dx
je 0x490c72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x490c76
add eax, 4
add ecx, 4
test dx, dx
jne 0x490c50
xor edi, edi
jmp 0x490c7b
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 0x490c99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x490caf
push 1
push 0x536b50
lea ecx, [ebp - 0x650]
call fcn.0048c7b0
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 0x490cc0
sub ecx, edi
sar ecx, 1
cmp ecx, 3
jbe 0x490cfe
add edx, 6
jne 0x490cdd
xor ecx, ecx
jmp 0x490cf1
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490ce2
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x650]
call fcn.0048c7b0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x490d3d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x490d3d
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490d21
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 0x490edd
lea eax, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x490ed6
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 0x490eb0
test ecx, ecx
je 0x490eb0
cmp ecx, 4
je 0x490eb0
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x490eb0
mov ecx, dword [0x550c0c]
cmp ecx, 0xffffffff
jne 0x490e07
push 0x53680c
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 0x490e25
push 0x550c0c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x490e25
mov ecx, dword [0x550c0c]
test ecx, ecx
je 0x490e2f
mov eax, dword [0x554144]
test eax, eax
je 0x490e2f
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push ebx
call eax
jmp 0x490e49
mov dword [0x550c0c], 0
mov eax, dword [0x554140]
test eax, eax
je 0x490ea1
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
push ebx
call eax
test eax, eax
je 0x490ea1
cmp eax, dword [esi - 0xc]
jne 0x490ea1
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004e3b37
add esp, 8
test eax, eax
jne 0x490ea1
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.0048d880
add esp, 0x18
test edi, edi
jne 0x490ea1
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 0x490d90
test ebx, ebx
je 0x490ed6
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 0x490efc
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.004de51d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
int3