Function at 0x4030ae
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x28
call fcn.0045778b
add esp, 4
mov dword [ebp - 0xc], 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.0045778b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x46553b
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 - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x28
call fcn.0045778b
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
add ebx, 0x20
push ebx
push 0x108
call fcn.0045778b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x46553b
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
add ebx, 4
push ebx
push 0x108
call fcn.0045778b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x46553b
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 - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], esp
push 0
push 0xf
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4031bc
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403203
push 0
push 0
push 0
push 0x80000301
push 0
push 0
push VariantClear
push 0
push 0x4655d2
push 3
mov ebx, 0x300
call fcn.0045bb20
add esp, 0x28
mov eax, 0x4654f7
jmp 0x403a3b
mov dword [ebp - 8], 0
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 0x128
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x124
call fcn.0045778b
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 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]
call dword [sym.imp.KERNEL32.DLL_Process32First]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4032c6
push 6
call fcn.00457797
add esp, 4
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
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.00459390
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 0x403357
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x403355
imul eax, dword [edi]
jmp 0x40334a
mov ecx, eax
cmp ecx, 0x100
jle 0x403364
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.00457791
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x403a0f
inc dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 8
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4033be
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 0x400
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0x18]
push eax
push 0x220
call fcn.0045778b
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 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
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 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 - 0x14]
call dword [sym.imp.KERNEL32.DLL_Module32First]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x403489
push 6
call fcn.00457797
add esp, 4
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
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.00459390
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 0x403510
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40350e
imul eax, dword [edi]
jmp 0x403503
mov ecx, eax
cmp ecx, 0x100
jle 0x40351d
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
push ebx
push edi
push 1
mov eax, 2
call fcn.00459390
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 0x40355b
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x403559
imul eax, dword [edi]
jmp 0x40354e
mov ecx, eax
cmp ecx, 0x100
jle 0x403568
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.00457791
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
add ebx, 0x24
mov dword [ebp - 0x24], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x198
call fcn.00459590
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push VariantCopy
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4035cf
mov eax, 0x465508
push eax
push 3
mov ebx, 0x19c
call fcn.004599b0
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4035fb
push ebx
call fcn.00457791
add esp, 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x80000004
je 0x403613
push 5
call fcn.00457797
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403627
push ebx
call fcn.00457791
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40364d
push 6
call fcn.00457797
add esp, 4
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x4038a4
mov ebx, dword [ebp - 0xc]
add ebx, 0x24
mov dword [ebp - 0x24], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.00459bb0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4036a0
push ebx
call fcn.00457791
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0xc], 0
je 0x40376b
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x20]
call fcn.00401537
add esp, 8
cmp eax, 0
jne 0x403766
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4036ea
push 6
call fcn.00457797
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4655e3
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40371b
mov eax, 0x4654f7
push eax
push 4
mov ebx, 0x148
call fcn.004596f0
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x403745
mov eax, 0x4654f7
jmp 0x403a3b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x403761
push eax
mov ebx, eax
call fcn.0040104d
inc eax
push eax
call fcn.0045778b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403a3b
jmp 0x4038a4
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40377e
mov eax, 0x4654f7
push eax
push 1
mov ebx, 0x154
call fcn.0045a010
add esp, 0x10
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4037a9
mov eax, 0x4654f7
push eax
push 1
mov ebx, 0x154
call fcn.0045a010
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x24]
call fcn.00401537
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4037ec
push ebx
call fcn.00457791
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4037fc
push ebx
call fcn.00457791
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x4038a4
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x403828
push 6
call fcn.00457797
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4655e3
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x403859
mov eax, 0x4654f7
push eax
push 4
mov ebx, 0x148
call fcn.004596f0
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x403883
mov eax, 0x4654f7
jmp 0x403a3b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40389f
push eax
mov ebx, eax
call fcn.0040104d
inc eax
push eax
call fcn.0045778b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403a3b
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x124
call fcn.0045778b
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 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]
call dword [sym.imp.KERNEL32.DLL_Process32Next]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x403951
push 6
call fcn.00457797
add esp, 4
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
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.00459390
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 0x4039e2
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4039e0
imul eax, dword [edi]
jmp 0x4039d5
mov ecx, eax
cmp ecx, 0x100
jle 0x4039ef
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.00457791
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x40337f
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x403a31
push 6
call fcn.00457797
add esp, 4
mov eax, 0x4654f7
jmp 0x403a3b
push eax
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00457791
add esp, 4
pop ebx
call fcn.00457791
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
add ebx, 0x20
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00457791
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00457791
add esp, 4
pop ebx
call fcn.00457791
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403a94
push ebx
call fcn.00457791
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403aa4
push ebx
call fcn.00457791
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc