Function at 0x48da00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8af8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x310
push esi
xor esi, esi
mov dword [ebp - 0x10], ecx
cmp ecx, esi
je 0x48dc56
cmp dword [ecx + 0x950], esi
je 0x48dc56
cmp dword [ecx + 0x94c], esi
jne 0x48da46
mov dword [ecx + 0x94c], esi
mov ecx, dword [ecx + 0x4964]
cmp ecx, esi
je 0x48da5f
push 1
push esi
push 1
push str.Searching_for_conhost
call fcn.004c77f0
push ebx
push edi
mov dword [ebp - 0x14], esi
jmp 0x48da68
xor esi, esi
xor edi, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], 0x22c
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0xcccccccc
push esi
push 2
mov dword [ebp - 4], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
test ebx, ebx
je 0x48dbfe
cmp ebx, 0xffffffff
je 0x48dbfe
push 0x228
lea eax, [ebp - 0x318]
push edi
push eax
mov dword [ebp - 0x31c], 0x22c
call fcn.004c9b50
add esp, 0xc
lea ecx, [ebp - 0x31c]
push ecx
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x48db40
nop
push str.conhost.exe
lea edx, [ebp - 0x2f8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x48db29
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x950]
mov eax, dword [ecx]
test eax, eax
je 0x48db1a
mov edx, dword [ecx + 4]
test edx, edx
je 0x48db1a
xor ecx, ecx
test edx, edx
jbe 0x48db1a
mov esi, dword [ebp - 0x314]
cmp byte [eax], 0
je 0x48db12
cmp esi, dword [eax + 4]
je 0x48db29
inc ecx
add eax, 0xc
cmp ecx, edx
jb 0x48db08
lea ecx, [ebp - 0x31c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0048d160
lea edx, [ebp - 0x31c]
push edx
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48dad0
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jle 0x48dbfe
cmp edi, 1
jle 0x48dc1b
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x48db77
push esi
call fcn.0044c4f0
add esp, 4
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, 1
mov dword [ebp - 0x14], eax
jle 0x48da66
mov edi, dword [ebp - 0x10]
mov ecx, dword [0x52fe34]
cmp byte [ecx + 0x125fa], 0
je 0x48dbd1
mov edx, dword [edi + 0x94c]
push edx
lea eax, [ebp - 0xf0]
push str.ConHostPID_u
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [edi + 0x4964]
add esp, 0xc
test ecx, ecx
je 0x48dbd1
push 1
push 0
push 1
lea edx, [ebp - 0xf0]
push edx
call fcn.004c77f0
cmp dword [edi + 0x94c], 0
je 0x48dbe5
mov ecx, dword [0x52fe2c]
call fcn.0040a2e0
mov eax, dword [edi + 0x94c]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x48db87
push esi
call fcn.0044c4f0
add esp, 4
jmp 0x48db87
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x94c], eax
test eax, eax
je 0x48dc41
push eax
lea eax, [ebp - 0xf0]
push str.ConEmu:_ConHost_was_created_PID_u_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.0044c4f0
add esp, 4
jmp 0x48db8a
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4