Function at 0x40797f
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.00448c3b
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.00448c3b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x45787a
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.00448c3b
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.00448c3b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x45787a
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.00448c3b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x45787a
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 0x407a8d
push 6
call fcn.00448c47
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x407ad4
push 0
push 0
push 0
push 0x80000301
push 0
push 0
push VariantClear
push 0
push 0x4580ad
push 3
mov ebx, 0x300
call fcn.0044bff0
add esp, 0x28
mov eax, 0x45754b
jmp 0x40830c
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.00448c3b
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 0x407b97
push 6
call fcn.00448c47
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.0044a860
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 0x407c28
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x407c26
imul eax, dword [edi]
jmp 0x407c1b
mov ecx, eax
cmp ecx, 0x100
jle 0x407c35
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.00448c41
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4082e0
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 0x407c8f
push 6
call fcn.00448c47
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.00448c3b
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 0x407d5a
push 6
call fcn.00448c47
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.0044a860
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 0x407de1
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x407ddf
imul eax, dword [edi]
jmp 0x407dd4
mov ecx, eax
cmp ecx, 0x100
jle 0x407dee
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.0044a860
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 0x407e2c
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x407e2a
imul eax, dword [edi]
jmp 0x407e1f
mov ecx, eax
cmp ecx, 0x100
jle 0x407e39
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.00448c41
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.0044aab0
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x407ea0
mov eax, 0x457237
push eax
push 3
mov ebx, 0x19c
call fcn.0044c2f0
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 0x407ecc
push ebx
call fcn.00448c41
add esp, 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x80000004
je 0x407ee4
push 5
call fcn.00448c47
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407ef8
push ebx
call fcn.00448c41
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 0x407f1e
push 6
call fcn.00448c47
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 0x408175
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.0044afd0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x407f71
push ebx
call fcn.00448c41
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0xc], 0
je 0x40803c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x20]
call fcn.004025a5
add esp, 8
cmp eax, 0
jne 0x408037
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 0x407fbb
push 6
call fcn.00448c47
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4580be
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x407fec
mov eax, 0x45754b
push eax
push 4
mov ebx, 0x148
call fcn.0044ac10
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x408016
mov eax, 0x45754b
jmp 0x40830c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408032
push eax
mov ebx, eax
call fcn.00401946
inc eax
push eax
call fcn.00448c3b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40830c
jmp 0x408175
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40804f
mov eax, 0x45754b
push eax
push 1
mov ebx, 0x154
call fcn.0044b2a0
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 0x40807a
mov eax, 0x45754b
push eax
push 1
mov ebx, 0x154
call fcn.0044b2a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x24]
call fcn.004025a5
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 0x4080bd
push ebx
call fcn.00448c41
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4080cd
push ebx
call fcn.00448c41
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x408175
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 0x4080f9
push 6
call fcn.00448c47
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x4580be
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40812a
mov eax, 0x45754b
push eax
push 4
mov ebx, 0x148
call fcn.0044ac10
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x408154
mov eax, 0x45754b
jmp 0x40830c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408170
push eax
mov ebx, eax
call fcn.00401946
inc eax
push eax
call fcn.00448c3b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40830c
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x124
call fcn.00448c3b
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 0x408222
push 6
call fcn.00448c47
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.0044a860
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 0x4082b3
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4082b1
imul eax, dword [edi]
jmp 0x4082a6
mov ecx, eax
cmp ecx, 0x100
jle 0x4082c0
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.00448c41
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x407c50
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 0x408302
push 6
call fcn.00448c47
add esp, 4
mov eax, 0x45754b
jmp 0x40830c
push eax
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00448c41
add esp, 4
pop ebx
call fcn.00448c41
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
add ebx, 0x20
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00448c41
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00448c41
add esp, 4
pop ebx
call fcn.00448c41
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x408365
push ebx
call fcn.00448c41
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408375
push ebx
call fcn.00448c41
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc