Function at 0x42d340
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x462700]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x3b
xor eax, eax
push str.b5tmain.exe_b5tpopup.exe_jspopup.exe_mini.exe_b5tupdate.exe
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.00401e15
push 0
push 2
mov dword [ebp - 0x268], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x26c], esi
cmp esi, 0xffffffff
jne 0x42d3b4
cmp dword [ebp - 0x28], 8
jb 0x42d5a8
mov ecx, dword [ebp - 0x3c]
push ecx
jmp 0x42d5a0
lea edx, [ebp - 0x268]
push edx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42d58f
push ebx
lea ebx, [ebx]
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x244]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d3f0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00401e15
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, ecx
cmp eax, 8
jae 0x42d4d9
lea edx, [ebp - 0x20]
mov ebx, edx
mov esi, dword [ebp - 0x10]
lea ebx, [ebx + esi*2]
mov esi, ecx
cmp eax, 8
jae 0x42d435
lea esi, [ebp - 0x20]
cmp esi, ebx
je 0x42d463
mov edi, edx
sub edi, esi
lea ecx, [ecx]
movzx edx, word [esi]
push edx
call fcn.00431b79
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x42d440
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x270]
cmp eax, 8
mov eax, ecx
jae 0x42d46d
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040a9d0
cmp eax, 0xffffffff
je 0x42d559
mov eax, dword [edi + 4]
lea edx, [ebp - 0x260]
cmp edx, eax
jae 0x42d500
mov edx, dword [edi]
lea ecx, [ebp - 0x260]
cmp edx, ecx
ja 0x42d500
mov esi, ecx
mov ecx, dword [edi + 8]
sub esi, edx
sar esi, 2
cmp eax, ecx
jne 0x42d4f0
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x42d5ba
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x42d4f0
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x42d4e0
xor ecx, ecx
jmp 0x42d4e2
mov ebx, ecx
jmp 0x42d425
add ecx, edx
cmp ecx, eax
jae 0x42d4e8
mov ecx, eax
push ecx
mov ecx, edi
call fcn.0040b479
mov eax, dword [edi + 4]
test eax, eax
je 0x42d555
mov edx, dword [edi]
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
jmp 0x42d555
mov ecx, dword [edi + 8]
cmp eax, ecx
jne 0x42d546
mov edx, dword [edi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x42d5ba
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x42d546
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x42d536
xor ecx, ecx
jmp 0x42d538
add ecx, edx
cmp ecx, eax
jae 0x42d53e
mov ecx, eax
push ecx
mov ecx, edi
call fcn.0040b479
mov eax, dword [edi + 4]
test eax, eax
je 0x42d555
mov edx, dword [ebp - 0x260]
mov dword [eax], edx
add dword [edi + 4], 4
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x268]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
cmp dword [ebp - 0xc], 8
mov esi, eax
jb 0x42d580
mov edx, dword [ebp - 0x20]
push edx
call fcn.00430677
add esp, 4
test esi, esi
jne 0x42d3d0
mov esi, dword [ebp - 0x26c]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], 8
jb 0x42d5a8
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00430677
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004313d1
mov esp, ebp
pop ebp
ret 4
push str.vector_T__too_long
call fcn.0042f638
int3