Function at 0x404ca5
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.00418062
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.00418062
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x41e36e
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.00418062
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.00418062
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x41e36e
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.00418062
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x41e36e
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 0x404db3
push 6
call fcn.0041806e
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x404dfa
push 0
push 0
push 0
push 0x80000301
push 0
push 0
push VariantClear
push 0
push 0x41e376
push 3
mov ebx, 0x300
call fcn.0041aad0
add esp, 0x28
mov eax, 0x41e200
jmp 0x405632
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.00418062
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, 0x100
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 0x404ebd
push 6
call fcn.0041806e
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.004182b0
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 0x404f4e
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x404f4c
imul eax, dword [edi]
jmp 0x404f41
mov ecx, eax
cmp ecx, 0x100
jle 0x404f5b
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.00418068
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x405606
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 0x404fb5
push 6
call fcn.0041806e
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.00418062
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, 0x100
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, 0x100
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 0x405080
push 6
call fcn.0041806e
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.004182b0
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 0x405107
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x405105
imul eax, dword [edi]
jmp 0x4050fa
mov ecx, eax
cmp ecx, 0x100
jle 0x405114
mov ecx, 0x100
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.004182b0
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 0x405152
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x405150
imul eax, dword [edi]
jmp 0x405145
mov ecx, eax
cmp ecx, 0x100
jle 0x40515f
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.00418068
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.0041adb0
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 0x4051c6
mov eax, 0x41e260
push eax
push 3
mov ebx, 0x19c
call fcn.00418970
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 0x4051f2
push ebx
call fcn.00418068
add esp, 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x80000004
je 0x40520a
push 5
call fcn.0041806e
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40521e
push ebx
call fcn.00418068
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 0x405244
push 6
call fcn.0041806e
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 0x40549b
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.0041a800
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405297
push ebx
call fcn.00418068
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0xc], 0
je 0x405362
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x20]
call fcn.00401010
add esp, 8
cmp eax, 0
jne 0x40535d
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 0x4052e1
push 6
call fcn.0041806e
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x41e387
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x405312
mov eax, 0x41e200
push eax
push 4
mov ebx, 0x148
call fcn.0041ae70
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x40533c
mov eax, 0x41e200
jmp 0x405632
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405358
push eax
mov ebx, eax
call fcn.004010ad
inc eax
push eax
call fcn.00418062
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x405632
jmp 0x40549b
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x405375
mov eax, 0x41e200
push eax
push 1
mov ebx, 0x154
call fcn.0041a710
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 0x4053a0
mov eax, 0x41e200
push eax
push 1
mov ebx, 0x154
call fcn.0041a710
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x24]
call fcn.00401010
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 0x4053e3
push ebx
call fcn.00418068
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4053f3
push ebx
call fcn.00418068
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x40549b
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 0x40541f
push 6
call fcn.0041806e
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x41e387
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x405450
mov eax, 0x41e200
push eax
push 4
mov ebx, 0x148
call fcn.0041ae70
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x40547a
mov eax, 0x41e200
jmp 0x405632
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405496
push eax
mov ebx, eax
call fcn.004010ad
inc eax
push eax
call fcn.00418062
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x405632
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x124
call fcn.00418062
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, 0x100
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 0x405548
push 6
call fcn.0041806e
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.004182b0
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 0x4055d9
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4055d7
imul eax, dword [edi]
jmp 0x4055cc
mov ecx, eax
cmp ecx, 0x100
jle 0x4055e6
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.00418068
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x404f76
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 0x405628
push 6
call fcn.0041806e
add esp, 4
mov eax, 0x41e200
jmp 0x405632
push eax
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00418068
add esp, 4
pop ebx
call fcn.00418068
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
add ebx, 0x20
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00418068
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00418068
add esp, 4
pop ebx
call fcn.00418068
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40568b
push ebx
call fcn.00418068
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40569b
push ebx
call fcn.00418068
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc