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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9c86
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x660], esi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0x654]
push 0x22c
push ebx
push eax
call fcn.004a73c0
add esp, 0xc
mov dword [ebp - 0x668], ebx
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x48eead
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x65c], eax
mov dword [ebp - 4], 0
cmp dword [0x515314], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x48ef0b
cmp dword [0x515310], 0
jne 0x48ef0b
push str.Psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x48ef05
push 0x4f4dd4
push esi
call edi
push 0x4f4dec
push esi
mov dword [0x515314], eax
call edi
mov dword [0x515310], eax
mov esi, dword [ebp - 0x660]
mov eax, dword [0x511ea4]
cmp eax, 0xffffffff
jne 0x48ef45
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call edi
mov edi, eax
test edi, edi
je 0x48ef5e
push 0x511ea4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x48ef5e
mov eax, dword [0x511ea4]
test eax, eax
je 0x48ef68
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x48ef77
push 0x80004005
call fcn.0041ce60
mov dword [0x511ea4], 0
test esi, esi
jne 0x48f0fc
xor ecx, ecx
jmp 0x48f110
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x664], eax
push 0x208
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004a73c0
movzx eax, word [esi]
add esp, 0xc
push eax
lea eax, [ebp - 0x664]
push 0x4f4e08
push eax
call fcn.00422000
mov esi, dword [ebp - 0x664]
lea eax, [ebp - 0x424]
add esp, 0xc
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48efe0
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x65c]
call fcn.0041cd40
push 1
lea eax, [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x65c]
call fcn.0041c100
mov ecx, str.0s
mov eax, dword [eax]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48f046
test dx, dx
je 0x48f042
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48f046
add eax, 4
add ecx, 4
test dx, dx
jne 0x48f020
xor eax, eax
jmp 0x48f04b
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x66c]
test eax, eax
setne byte [ebp - 0x655]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48f072
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x655], 0
je 0x48f08d
push 1
push str.0s
lea ecx, [ebp - 0x65c]
call fcn.0041c4b0
mov edx, dword [ebp - 0x660]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f0a0
sub ecx, edi
sar ecx, 1
cmp ecx, 3
jbe 0x48f0de
add edx, 6
jne 0x48f0bd
xor ecx, ecx
jmp 0x48f0d1
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f0c2
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x65c]
call fcn.0041c4b0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48f11d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x48f11d
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f101
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x65c]
call fcn.0041cd40
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, dword [ebp - 0x65c]
mov edi, eax
mov dword [ebp - 0x664], edi
cmp edi, 0xffffffff
je 0x48f27a
lea eax, [ebp - 0x654]
mov dword [ebp - 0x654], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x48f273
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [ebp - 0x660], ecx
nop dword [eax]
mov eax, dword [ebp - 0x64c]
cmp eax, ecx
je 0x48f24c
test eax, eax
je 0x48f24c
cmp eax, 4
je 0x48f24c
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x48f24c
call fcn.00488a60
test eax, eax
je 0x48f1cb
mov ecx, dword [0x515310]
test ecx, ecx
je 0x48f1cb
push 0x104
lea eax, [ebp - 0x21c]
push eax
push ebx
call ecx
jmp 0x48f1e5
mov eax, dword [0x515314]
test eax, eax
je 0x48f243
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0
push ebx
call eax
test eax, eax
je 0x48f243
cmp eax, dword [esi - 0xc]
jne 0x48f243
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.004aa58e
add esp, 8
test eax, eax
jne 0x48f243
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x64c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Terminate_Process_return:_d__error:_d__pid:_d__path:_ws
push 0x515408
call fcn.0048be90
add esp, 0x18
test edi, edi
mov edi, dword [ebp - 0x664]
jne 0x48f243
inc dword [ebp - 0x668]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
lea eax, [ebp - 0x654]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov ecx, dword [ebp - 0x660]
test eax, eax
jne 0x48f170
test ebx, ebx
je 0x48f273
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 0x48f299
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x668]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret