Function at 0x410257
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 0x28
call fcn.00446baf
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
add ebx, 0x24
push ebx
push 0x108
call fcn.00446baf
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48272f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
call fcn.00446bb5
add esp, 4
mov eax, 0x4798e6
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x14], esp
push 0
push 0xf
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410305
push 0x33
push 0x4026941
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x410b38
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0x400
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 8]
push eax
push 0x124
call fcn.00446baf
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, pe_nt_image_headers32
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_Process32First]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4103d8
push 0xd4
push 0x4026941
push 6
call fcn.00446bbb
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.004475d0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x410469
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x410467
imul eax, dword [edi]
jmp 0x41045c
mov ecx, eax
cmp ecx, 0x100
jle 0x410476
mov ecx, pe_nt_image_headers32
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x18], 0
je 0x4107b3
cmp dword [ebp - 0xc], 0
je 0x4107ae
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jle 0x410639
cmp dword [ebp + 0x14], 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4105ba
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x14], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x18]
call fcn.0040457c
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41052c
push ebx
call fcn.00446bb5
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x4105b5
inc dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.004475d0
add esp, 8
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
call fcn.00401b67
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x410588
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x1c]
call fcn.00446bd3
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x20]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
jmp 0x410639
inc dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.004475d0
add esp, 8
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
call fcn.00401b67
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x41060c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x1c]
call fcn.00446bd3
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x20]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 8]
push eax
push 0x124
call fcn.00446baf
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, pe_nt_image_headers32
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4106f0
push 0x33f
push 0x4026941
push 6
call fcn.00446bbb
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.004475d0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x410781
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x41077f
imul eax, dword [edi]
jmp 0x410774
mov ecx, eax
cmp ecx, 0x100
jle 0x41078e
mov ecx, pe_nt_image_headers32
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x41049b
jmp 0x410b38
cmp dword [ebp - 0xc], 0
je 0x410b38
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jle 0x4109c3
cmp dword [ebp + 0x14], 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x410944
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x14], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x410828
mov eax, 0x479858
push eax
push 1
mov ebx, 0x154
call fcn.00448230
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41084e
push ebx
call fcn.00446bb5
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x410863
mov eax, 0x479858
push eax
push 1
mov ebx, 0x154
call fcn.00448230
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
call fcn.0040457c
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4108a6
push ebx
call fcn.00446bb5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4108b6
push ebx
call fcn.00446bb5
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x41093f
inc dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.004475d0
add esp, 8
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
call fcn.00401b67
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x410912
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x1c]
call fcn.00446bd3
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x20]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
jmp 0x4109c3
inc dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.004475d0
add esp, 8
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
call fcn.00401b67
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x410996
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x1c]
call fcn.00446bd3
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x20]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 8]
push eax
push 0x124
call fcn.00446baf
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, pe_nt_image_headers32
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x410a7a
push 0x5cb
push 0x4026941
push 6
call fcn.00446bbb
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.004475d0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x410b0b
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x410b09
imul eax, dword [edi]
jmp 0x410afe
mov ecx, eax
cmp ecx, 0x100
jle 0x410b18
mov ecx, pe_nt_image_headers32
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
call fcn.00446bb5
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x4107b3
push dword [ebp - 4]
call fcn.00410b6c
mov eax, dword [ebp - 0x10]
jmp 0x410b48
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00446bb5
add esp, 4
pop ebx
call fcn.00446bb5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18