Function at 0x40343c
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.004587ba
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.004587ba
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x466516
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.004587ba
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.004587ba
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x466516
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.004587ba
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x466516
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 0x40354a
push 6
call fcn.004587c6
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403591
push 0
push 0
push 0
push 0x80000301
push 0
push 0
push VariantClear
push 0
push 0x466668
push 3
mov ebx, 0x300
call fcn.0045cb50
add esp, 0x28
mov eax, 0x4664d1
jmp 0x403dc9
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.004587ba
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 0x403654
push 6
call fcn.004587c6
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.0045a3c0
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 0x4036e5
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4036e3
imul eax, dword [edi]
jmp 0x4036d8
mov ecx, eax
cmp ecx, 0x100
jle 0x4036f2
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.004587c0
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x403d9d
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 0x40374c
push 6
call fcn.004587c6
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.004587ba
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 0x403817
push 6
call fcn.004587c6
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.0045a3c0
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 0x40389e
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40389c
imul eax, dword [edi]
jmp 0x403891
mov ecx, eax
cmp ecx, 0x100
jle 0x4038ab
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.0045a3c0
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 0x4038e9
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4038e7
imul eax, dword [edi]
jmp 0x4038dc
mov ecx, eax
cmp ecx, 0x100
jle 0x4038f6
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.004587c0
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.0045a5c0
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 0x40395d
mov eax, 0x4664e3
push eax
push 3
mov ebx, 0x19c
call fcn.0045a9e0
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 0x403989
push ebx
call fcn.004587c0
add esp, 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x80000004
je 0x4039a1
push 5
call fcn.004587c6
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4039b5
push ebx
call fcn.004587c0
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 0x4039db
push 6
call fcn.004587c6
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 0x403c32
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.0045abe0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403a2e
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0xc], 0
je 0x403af9
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x20]
call fcn.004015ab
add esp, 8
cmp eax, 0
jne 0x403af4
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 0x403a78
push 6
call fcn.004587c6
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x466679
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x403aa9
mov eax, 0x4664d1
push eax
push 4
mov ebx, 0x148
call fcn.0045a720
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x403ad3
mov eax, 0x4664d1
jmp 0x403dc9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x403aef
push eax
mov ebx, eax
call fcn.004010c1
inc eax
push eax
call fcn.004587ba
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403dc9
jmp 0x403c32
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x403b0c
mov eax, 0x4664d1
push eax
push 1
mov ebx, 0x154
call fcn.0045b040
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 0x403b37
mov eax, 0x4664d1
push eax
push 1
mov ebx, 0x154
call fcn.0045b040
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x24]
call fcn.004015ab
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 0x403b7a
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403b8a
push ebx
call fcn.004587c0
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x403c32
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 0x403bb6
push 6
call fcn.004587c6
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x466679
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x403be7
mov eax, 0x4664d1
push eax
push 4
mov ebx, 0x148
call fcn.0045a720
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x403c11
mov eax, 0x4664d1
jmp 0x403dc9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x403c2d
push eax
mov ebx, eax
call fcn.004010c1
inc eax
push eax
call fcn.004587ba
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403dc9
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x124
call fcn.004587ba
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 0x403cdf
push 6
call fcn.004587c6
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.0045a3c0
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 0x403d70
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x403d6e
imul eax, dword [edi]
jmp 0x403d63
mov ecx, eax
cmp ecx, 0x100
jle 0x403d7d
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.004587c0
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x40370d
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 0x403dbf
push 6
call fcn.004587c6
add esp, 4
mov eax, 0x4664d1
jmp 0x403dc9
push eax
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004587c0
add esp, 4
pop ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
add ebx, 0x20
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004587c0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004587c0
add esp, 4
pop ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403e22
push ebx
call fcn.004587c0
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403e32
push ebx
call fcn.004587c0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc