Function at 0x401dd5
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
push 0x28
call fcn.0042bb49
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 pe_nt_image_headers32
call fcn.0042bb49
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x44934c
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], esp
push 0
push 2
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x401e64
push 0x19
push 0x40527ec
push 6
call fcn.0042bb5b
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4023e9
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x128
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 8]
push eax
push 0x124
call fcn.0042bb49
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 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, 0x100
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 - 0x10], esp
je 0x401f37
push 0xba
push 0x40527ec
push 6
call fcn.0042bb5b
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
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.0042c170
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 0x401fc8
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x401fc6
imul eax, dword [edi]
jmp 0x401fbb
mov ecx, eax
cmp ecx, 0x100
jle 0x401fd5
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
call fcn.0042bb4f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4023bd
cmp dword [ebp + 0xc], 0
je 0x402134
mov ebx, dword [ebp - 8]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], eax
jle 0x40212f
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402030
mov eax, 0x4492e3
push eax
push 1
mov ebx, 0x154
call fcn.0042c530
add esp, 0x10
mov dword [ebp - 0x10], eax
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.0042c600
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x402083
mov eax, 0x4492e3
push eax
push 1
mov ebx, 0x154
call fcn.0042c530
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4020a9
push ebx
call fcn.0042bb4f
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.00401d38
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4020d6
push ebx
call fcn.0042bb4f
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4020e6
push ebx
call fcn.0042bb4f
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x40212f
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x4e8ba6]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40211c
push 0x22c
push 0x40527ec
push 6
call fcn.0042bb5b
add esp, 0xc
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x4023f3
jmp 0x402248
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402149
mov eax, 0x4492e3
push eax
push 1
mov ebx, 0x154
call fcn.0042c530
add esp, 0x10
mov dword [ebp - 0x10], eax
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.0042c600
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40219c
mov eax, 0x4492e3
push eax
push 1
mov ebx, 0x154
call fcn.0042c530
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4021c2
push ebx
call fcn.0042bb4f
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.00401d38
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4021ef
push ebx
call fcn.0042bb4f
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4021ff
push ebx
call fcn.0042bb4f
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x402248
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x4e8ba6]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402235
push 0x328
push 0x40527ec
push 6
call fcn.0042bb5b
add esp, 0xc
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x4023f3
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 8]
push eax
push 0x124
call fcn.0042bb49
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 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, 0x100
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 - 0x10], esp
je 0x4022ff
push 0x3a8
push 0x40527ec
push 6
call fcn.0042bb5b
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
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.0042c170
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 0x402390
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40238e
imul eax, dword [edi]
jmp 0x402383
mov ecx, eax
cmp ecx, 0x100
jle 0x40239d
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
call fcn.0042bb4f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x401ff0
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x4e8ba6]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4023e9
push 0x3de
push 0x40527ec
push 6
call fcn.0042bb5b
add esp, 0xc
mov eax, 0
jmp 0x4023f3
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0042bb4f
add esp, 4
pop ebx
call fcn.0042bb4f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc