Function at 0x403390
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52b9bd
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x578ad4]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x578ad4]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
push 0
mov esi, ecx
push 2
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [esp + 0x24], edi
cmp edi, 0xffffffff
jne 0x40344d
call fcn.004042e0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404790
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
xor edi, edi
test byte [eax + 0xc], 6
jne 0x403428
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x403428
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x403449
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x403441
or eax, 4
push 0
push eax
call fcn.004049c0
xor al, al
jmp 0x403466
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x403494
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.0050358b
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
call fcn.004064ed
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4037d5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x170], 0
call fcn.004064ed
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4037d5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x170], 1
call fcn.004064ed
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4037d5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x170], 2
call fcn.004064ed
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4037d5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x170], 3
call fcn.004064ed
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4037d5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x20]
push 0x557a48
push edx
mov byte [esp + 0x17c], 4
call fcn.00404ba0
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push 0x557c6c
push eax
call fcn.00404ba0
mov ecx, dword [esp + 0x58]
add esp, 0xc
push ecx
lea edx, [esp + 0x14]
push 0x557c6c
push edx
call fcn.00404ba0
mov eax, dword [esp + 0x58]
add esp, 0xc
push eax
lea ebx, [esp + 0x2c]
call fcn.004037e0
mov byte [esp + 0x170], 5
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x24]
push 0x557a48
push edx
call fcn.00404ba0
mov byte [esp + 0x17c], 4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40360b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0xc4]
push 0
push 0
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
lea edx, [esp + 0x1c]
push 0x557c6c
push edx
call fcn.00404ba0
add esp, 0xc
push 0
push 0
push 0
push 0
push 0x557814
push 0
add esi, 0xa4
push 1
mov ecx, esi
call fcn.00409fe6
mov eax, dword [esp + 0x18]
push eax
push 0
push 0
mov ecx, esi
call fcn.00409c1c
mov ecx, dword [esp + 0x1c]
push ecx
push 1
push 0
mov ecx, esi
call fcn.00409c1c
mov edx, dword [esp + 0x14]
push edx
push 2
push 0
mov ecx, esi
call fcn.00409c1c
mov ebx, dword [esp + 0x20]
push ebx
push 3
push 0
mov ecx, esi
call fcn.00409c1c
mov eax, dword [esp + 0x10]
push eax
push 4
push 0
mov ecx, esi
call fcn.00409c1c
push edi
lea ecx, [esp + 0x30]
push ecx
call fcn.00403a70
mov byte [esp + 0x170], 6
mov eax, dword [eax]
push eax
push 5
push 0
mov ecx, esi
call fcn.00409c1c
mov byte [esp + 0x170], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4036eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_Process32Next]
add ebx, 0xfffffff0
mov esi, eax
mov byte [esp + 0x170], 3
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403721
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [esp + 0x170], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403749
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x170], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403771
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x170], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403799
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x170], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4037c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x403490
mov edi, dword [esp + 0x24]
jmp 0x40345d
push 0x80004005
call fcn.00401470
int3