Function at 0x48d830
Capabilities:
Check if file exists
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfe36
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x520404]
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, dword [ebp + 8]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [edi]
call ebx
test eax, eax
je 0x48d8bf
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x48d8bf
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x48d8bf
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.004ac800
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x48d8e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
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.004a7f4e
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x234]
lea eax, [ebp - 0x240]
push eax
call fcn.0048d660
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 0
push eax
push edi
call fcn.0048c850
mov edx, dword [ebp - 0x240]
add esp, 0x10
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x48d944
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d932
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
jmp 0x48d8b4
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d959
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x14
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
call fcn.004a7d07
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x248], eax
mov eax, dword [edi]
mov dword [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x48db1b
push eax
call ebx
test eax, eax
je 0x48db1b
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x48db1b
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.004ac800
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x48da76
lea ecx, [ebp - 0x248]
call fcn.0048dbb0
lea ecx, [ecx]
push dword [ebp - 0x234]
lea eax, [ebp - 0x240]
push eax
call fcn.0048d660
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 2
push edi
push eax
call fcn.0048c850
add esp, 0x10
test eax, eax
je 0x48da43
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x248]
call fcn.0048d3d0
mov edx, dword [ebp - 0x240]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48da65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48da00
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
xor eax, eax
cmp eax, dword [ebp - 0x244]
sbb eax, eax
neg eax
je 0x48db1b
mov eax, dword [ebp - 0x248]
mov esi, dword [eax]
cmp esi, eax
je 0x48db04
lea ecx, [ecx]
push dword [esi + 0x10]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x48dabf
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call ebx
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x48dae5
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x48dae1
cmp esi, dword [eax + 8]
jne 0x48dae1
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x48dad1
mov esi, eax
jmp 0x48dafc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x48dafc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x48daf0
cmp esi, dword [ebp - 0x248]
jne 0x48daa0
lea ecx, [ebp - 0x248]
mov esi, 1
call fcn.0048d4c0
mov eax, esi
jmp 0x48d8c1
lea ecx, [ebp - 0x248]
xor esi, esi
call fcn.0048d4c0
mov eax, esi
jmp 0x48d8c1