Function at 0x42bdb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x278
mov ebx, dword [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._CreateToolhelp32Snapshot_8
mov dword [ebp - 0x25c], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x42c03f
lea esi, [ebp - 0x134]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [ebp - 0x134], 0x128
call sym._Process32First_8
sub esp, 8
mov dword [ebp - 0x264], eax
mov eax, ebx
call sym._packet_reply_open
mov ecx, 1
mov edx, 0x43f39f
mov eax, ebx
call sym._packet_reply_add_data
lea eax, [ebp - 0x257]
mov dword [esp + 0x18], 0x43f55d
mov dword [esp + 0x14], str.parent
mov dword [esp + 0x10], 0x43f56f
mov dword [esp + 0xc], 0x43f577
mov dword [esp + 8], str.___8.8s___8.8s___8.8s__s_n
mov dword [esp + 4], 0x123
mov dword [esp], eax
call sym._snprintf
lea eax, [ebp - 0x257]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [ebp - 0x260], eax
call eax
mov ecx, dword [ebx + 0x24]
lea edi, [eax + eax]
mov esi, eax
mov eax, dword [ebx + 0x20]
lea edx, [edi + eax]
cmp edx, ecx
ja 0x42c047
mov ecx, dword [ebx + 0x1c]
add ecx, eax
test esi, esi
je 0x42becf
lea eax, [ebp - 0x257]
add esi, eax
mov edx, eax
nop
movzx eax, byte [edx]
add ecx, 2
inc edx
shr al, 4
movzx eax, al
movzx eax, byte [eax + 0x43f30b]
mov byte [ecx - 2], al
movzx eax, byte [edx - 1]
and eax, 0xf
movzx eax, byte [eax + 0x43f30b]
mov byte [ecx - 1], al
cmp edx, esi
jne 0x42bea0
mov eax, dword [ebx + 0x20]
add eax, edi
mov dword [ebx + 0x20], eax
mov eax, ebx
call sym._packet_reply_close
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x42c00e
lea esi, [esi]
mov eax, dword [ebx + 0xa0]
mov esi, 0x3e
mov eax, dword [eax + 0xc]
cmp dword [ebp - 0x12c], eax
mov eax, 0x20
cmovne esi, eax
mov eax, ebx
call sym._packet_reply_open
mov ecx, 1
mov edx, 0x43f39f
mov eax, ebx
call sym._packet_reply_add_data
lea eax, [ebp - 0x110]
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x11c]
mov dword [esp + 8], str._c_08lx___8ld__08lx__s_n
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x120]
mov dword [esp + 4], 0x123
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x12c]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x257]
mov dword [esp], eax
call sym._snprintf
lea eax, [ebp - 0x257]
mov dword [esp], eax
mov eax, dword [ebp - 0x260]
call eax
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
lea esi, [eax + eax]
mov edi, eax
lea eax, [esi + edx]
cmp eax, ecx
ja 0x42c078
mov ecx, dword [ebx + 0x1c]
add ecx, edx
test edi, edi
je 0x42bfdf
lea eax, [ebp - 0x257]
add edi, eax
mov edx, eax
lea esi, cs:[esi]
movzx eax, byte [edx]
add ecx, 2
inc edx
shr al, 4
movzx eax, al
movzx eax, byte [eax + 0x43f30b]
mov byte [ecx - 2], al
movzx eax, byte [edx - 1]
and eax, 0xf
movzx eax, byte [eax + 0x43f30b]
mov byte [ecx - 1], al
cmp edi, edx
jne 0x42bfb0
mov edx, dword [ebx + 0x20]
add edx, esi
mov eax, ebx
mov dword [ebx + 0x20], edx
call sym._packet_reply_close
lea eax, [ebp - 0x134]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x25c]
mov dword [esp], eax
call sym._Process32Next_8
sub esp, 8
test eax, eax
jne 0x42bef0
mov eax, dword [ebp - 0x25c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, ebx
sub esp, 4
call sym._packet_reply_open
mov eax, ebx
mov ecx, 2
mov edx, 0x43f422
call sym._packet_reply_add_data
mov eax, ebx
call sym._packet_reply_close
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ecx + ecx*2]
shr eax, 1
cmp edx, eax
ja 0x42c0ad
mov dword [ebx + 0x24], eax
mov edx, eax
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov dword [ebx + 0x1c], eax
mov ecx, eax
mov eax, dword [ebx + 0x20]
jmp 0x42be8f
lea edx, [ecx + ecx*2]
shr edx, 1
cmp eax, edx
ja 0x42c0a8
mov dword [ebx + 0x24], edx
mov eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov edx, dword [ebx + 0x20]
mov dword [ebx + 0x1c], eax
mov ecx, eax
jmp 0x42bf98
mov dword [ebx + 0x24], eax
jmp 0x42c086
mov dword [ebx + 0x24], edx
jmp 0x42c055