Function at 0x477cd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d426
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x470], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x46c], ebx
test ebx, ebx
je 0x47803c
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x478035
nop
push dword [ebp - 0x45c]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x47801f
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x238], 0x104
push ecx
lea ecx, [ebp - 0x218]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x478013
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x234]
call fcn.0047e660
mov dword [ebp - 4], 0
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
lea ebx, [ebp - 0x234]
mov edx, dword [ebp - 0x234]
mov esi, dword [ebp - 0x224]
cmovae eax, edx
cmovae ebx, edx
lea eax, [eax + esi*2]
lea esi, [ebp - 0x234]
mov ecx, eax
cmovae esi, edx
xor edi, edi
sub ecx, esi
inc ecx
shr ecx, 1
cmp esi, eax
cmova ecx, edi
mov dword [ebp - 0x468], ecx
test ecx, ecx
je 0x477e12
sub ebx, esi
nop dword [eax]
movzx eax, word [esi]
push eax
call fcn.0055459a
inc edi
mov word [ebx + esi], ax
add esp, 4
lea esi, [esi + 2]
cmp edi, dword [ebp - 0x468]
jne 0x477df0
mov edx, dword [ebp - 0x234]
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x234]
mov ebx, dword [ebp - 0x224]
cmp esi, 8
push 3
cmovae ecx, edx
mov edx, ebx
push 0x5e84b4
push 0
call fcn.00454b60
add esp, 0xc
cmp eax, 0xffffffff
jne 0x477ed4
mov edi, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
push 6
cmp esi, 8
mov edx, ebx
push str.backup
cmovae ecx, edi
push 0
call fcn.00454b60
add esp, 0xc
cmp eax, 0xffffffff
jne 0x477ed4
push 8
cmp esi, 8
lea ecx, [ebp - 0x234]
push str.database
cmovae ecx, edi
mov edx, ebx
push 0
call fcn.00454b60
add esp, 0xc
cmp eax, 0xffffffff
jne 0x477ed4
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x218]
push 0x5e84b4
push eax
call ebx
test eax, eax
jne 0x477ed4
push str.backup
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x477ed4
push str.database
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
je 0x477fca
xor eax, eax
mov dword [ebp - 0x478], 0
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x474], 7
mov word [ebp - 0x488], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477f00
sub ecx, edx
lea eax, [ebp - 0x440]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x488]
call fcn.0044b750
mov ebx, dword [ebp - 0x470]
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 1
push eax
mov esi, dword [ebx]
mov edi, dword [esi + 4]
push edi
push esi
call fcn.0045c260
mov edx, dword [ebx + 4]
mov ecx, 0x7fffffe
sub ecx, edx
cmp ecx, 1
jb 0x478058
lea ecx, [edx + 1]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x474]
mov dword [ebx + 4], ecx
mov dword [esi + 4], eax
mov dword [edi], eax
cmp edx, 8
jb 0x477fa1
mov ecx, dword [ebp - 0x488]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477f97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478062
push edx
push ecx
call fcn.00537216
add esp, 8
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x440]
push eax
push str.___Added_process:__s___s_
call fcn.0046b580
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x47800d
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478003
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478062
push edx
push ecx
call fcn.00537216
add esp, 8
mov ebx, dword [ebp - 0x46c]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x464]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x477d40
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536fd5
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0053442e
call fcn.00552cb1
int3