Function at 0x422907
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
push 0x28
call fcn.004790b3
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.004790b3
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48e319
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
push 0xc
call fcn.004790b3
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4229a9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4229a5
imul eax, dword [ebx]
jmp 0x42299a
mov ecx, eax
test ecx, ecx
je 0x4229ec
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4229c7
push ebx
call fcn.004790b9
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4229db
push ebx
call fcn.004790b9
add esp, 4
pop ebx
call fcn.004790b9
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4229af
call fcn.004790b9
add esp, 4
mov eax, 0x48e2f9
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x14], esp
push 0
push 2
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x422a31
push 0xa1
push 0x40529bb
push 6
call fcn.004790bf
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x422a48
mov eax, 0xffffffff
jmp 0x423310
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.004790b3
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, 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 - 0x14], esp
je 0x422b0e
push 0x1a8
push 0x40529bb
push 6
call fcn.004790bf
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.0047a9b0
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 0x422b9f
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x422b9d
imul eax, dword [edi]
jmp 0x422b92
mov ecx, eax
cmp ecx, 0x100
jle 0x422bac
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.004790b9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4232f9
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
mov ebx, dword [ebp - 0x18]
push dword [ebx]
call fcn.00402f1a
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x422c0f
push ebx
call fcn.004790b9
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x422c22
mov eax, 0x48e230
push eax
push 1
mov ebx, 0x154
call fcn.0047b5b0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x422c48
push ebx
call fcn.004790b9
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x422c5e
push ebx
call fcn.004790b9
add esp, 4
pop eax
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
je 0x42301d
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x14], ebx
push 0x48e230
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call fcn.004012b1
add esp, 8
cmp eax, 0
je 0x422ea4
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
push 0x80000301
push 0
push 1
push VariantClear
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x422cbc
mov eax, 0x48e230
push eax
push 2
mov ebx, 0x134
call fcn.0047adf0
add esp, 0x1c
mov dword [ebp - 0x20], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x422ce5
mov eax, 0x48e230
push eax
push 1
mov ebx, 0x154
call fcn.0047b5b0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x422d0b
push ebx
call fcn.004790b9
add esp, 4
mov eax, dword [0x49258a]
push eax
push dword [ebp - 0x24]
call fcn.004012b1
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x422d3a
push ebx
call fcn.004790b9
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x422da4
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x2c], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.Program_Files
push VariantClear
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x422d80
mov eax, 0x48e230
push eax
push 4
mov ebx, 0x148
call fcn.0047c830
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x422da4
xor eax, eax
jmp 0x422da9
mov eax, 1
test eax, eax
je 0x422ea4
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x40], ebx
push 0x80000301
push 0
push dword [0x4926ae]
push VariantClear
push 0
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebx]
test eax, eax
jne 0x422ddc
mov eax, 0x48e230
push eax
push 2
mov ebx, 0x134
call fcn.0047adf0
add esp, 0x1c
mov dword [ebp - 0x44], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x422e05
mov eax, 0x48e230
push eax
push 1
mov ebx, 0x154
call fcn.0047b5b0
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x422e2b
push ebx
call fcn.004790b9
add esp, 4
push VariantClear
push 0
mov eax, dword [0x492572]
test eax, eax
jne 0x422e40
mov eax, 0x48e230
push eax
push 1
mov ebx, 0x154
call fcn.0047b5b0
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
push dword [ebp - 0x48]
call fcn.004012b1
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x422e83
push ebx
call fcn.004790b9
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x422e93
push ebx
call fcn.004790b9
add esp, 4
cmp dword [ebp - 0x50], 0
je 0x422ea4
mov eax, 1
jmp 0x422ea9
mov eax, 0
test eax, eax
je 0x423018
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x18], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0047aeb0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x422ef7
mov eax, 0x48e230
push eax
push 1
mov ebx, 0x154
call fcn.0047b5b0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x422f1d
push ebx
call fcn.004790b9
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x422f33
push ebx
call fcn.004790b9
add esp, 4
pop eax
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.0047a9b0
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
call fcn.00401b00
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp - 0x18]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x422f96
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x18]
call fcn.004790d1
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x1c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
push edi
push eax
push 0xc
call fcn.004790b3
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x422ff2
push eax
mov ebx, eax
call fcn.004011ea
inc eax
push eax
call fcn.004790b3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x423011
push eax
mov ebx, eax
call fcn.004011ea
inc eax
push eax
call fcn.004790b3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
jmp 0x423184
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x18], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0047aeb0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x423063
mov eax, 0x48e230
push eax
push 1
mov ebx, 0x154
call fcn.0047b5b0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x423089
push ebx
call fcn.004790b9
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42309f
push ebx
call fcn.004790b9
add esp, 4
pop eax
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.0047a9b0
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
call fcn.00401b00
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp - 0x18]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x423102
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x18]
call fcn.004790d1
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x1c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
push edi
push eax
push 0xc
call fcn.004790b3
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x42315e
push eax
mov ebx, eax
call fcn.004011ea
inc eax
push eax
call fcn.004790b3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x42317d
push eax
mov ebx, eax
call fcn.004011ea
inc eax
push eax
call fcn.004790b3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 8]
push eax
push 0x124
call fcn.004790b3
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, 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 - 0x14], esp
je 0x42323b
push 0x67b
push 0x40529bb
push 6
call fcn.004790bf
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.0047a9b0
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 0x4232cc
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4232ca
imul eax, dword [edi]
jmp 0x4232bf
mov ecx, eax
cmp ecx, 0x100
jle 0x4232d9
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.004790b9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x422bc7
push dword [ebp - 4]
call fcn.00402ec6
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00406500
jmp 0x423310
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004790b9
add esp, 4
pop ebx
call fcn.004790b9
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x423344
push ebx
call fcn.004790b9
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x423358
push ebx
call fcn.004790b9
add esp, 4
pop ebx
call fcn.004790b9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc