Function at 0x404c30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4535b6
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x46f020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x104
call fcn.0040ca90
add esp, 4
lea ecx, [ebp - 0x254]
mov ebx, eax
mov dword [ebp - 0x48c], ebx
push esi
call fcn.004040e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x250]
cmp dword [ebp - 0x23c], 0x10
mov edx, ebx
cmovae ecx, dword [ebp - 0x250]
call fcn.00404b40
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x498], ebx
cmp ebx, 0xffffffff
je 0x405013
lea eax, [ebp - 0x484]
mov dword [ebp - 0x484], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x405010
nop word [eax + eax]
push dword [ebp - 0x47c]
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x494], eax
test eax, eax
je 0x404ffa
lea ecx, [ebp - 0x49c]
mov dword [ebp - 0x49c], 0x104
push ecx
lea ecx, [ebp - 0x21c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x404ff2
lea eax, [ebp - 0x485]
mov dword [ebp - 0x238], 0
push 8
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x4a4], eax
call fcn.00402460
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x4a8], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 1
lea esi, [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
lea ecx, [esi + 2]
mov word [ebp - 0x234], ax
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x404dc0
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x404e02
mov dword [ebp - 0x224], esi
lea eax, [ebp - 0x21c]
add esi, esi
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00410670
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x234], ax
jmp 0x404ec9
cmp esi, 0x7ffffffe
ja 0x405080
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x404e25
mov edi, SysReAllocString
lea eax, [edi + 1]
jmp 0x404e3e
cmp edi, 0xa
mov eax, 0xa
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x405085
add eax, eax
push eax
call fcn.00402460
add esp, 4
lea ecx, [ebp - 0x4a0]
mov ebx, eax
push 3
call fcn.0040baa0
mov ecx, dword [ebp - 0x238]
test ecx, ecx
je 0x404e93
cmp dword [ecx + 4], 0
je 0x404e8c
nop dword [eax + eax]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
test eax, eax
jne 0x404e70
mov ecx, dword [ebp - 0x238]
mov dword [ecx + 4], 0
lea ecx, [ebp - 0x4a0]
call fcn.0040bb50
mov dword [ebp - 0x224], esi
lea eax, [ebp - 0x21c]
add esi, esi
mov dword [ebp - 0x220], edi
push esi
push eax
push ebx
call fcn.00410670
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x4a8], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x224]
inc esi
push esi
call fcn.0040ca90
add esp, 4
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
mov edi, eax
cmovae ecx, dword [ebp - 0x234]
push esi
push ecx
push edi
call fcn.0042b000
add esp, 0xc
push 0x104
call fcn.0040ca90
add esp, 4
mov dword [ebp - 0x490], eax
mov edx, eax
mov ecx, edi
call fcn.00404b40
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x48c]
push 0
push 0
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040ca90
add esp, 4
mov ebx, eax
push esi
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x48c]
push 0
push 0
call edi
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x490]
push 0
push 0
call edi
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040ca90
add esp, 4
mov esi, eax
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x490]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x405040
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0
call fcn.004041e0
mov eax, dword [ebp - 0x238]
push 8
push eax
mov dword [ebp - 0x238], 0
call fcn.00402500
mov ebx, dword [ebp - 0x498]
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x494]
call esi
lea eax, [ebp - 0x484]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x404cf0
push ebx
call esi
xor bl, bl
lea ecx, [ebp - 0x254]
call fcn.00401f90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040c1e0
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 0x494]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x498]
call esi
lea ecx, [ebp - 0x238]
call fcn.004041e0
mov eax, dword [ebp - 0x238]
push 8
push eax
mov dword [ebp - 0x238], 0
call fcn.00402500
add esp, 8
mov bl, 1
jmp 0x405015
call fcn.00401950
call fcn.00401860
int3