Function at 0x4777c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cf86
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 0x477b2c
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x477b25
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 0x477b0f
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 0x477b03
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x234]
call fcn.0047e1c0
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 0x477902
sub ebx, esi
nop dword [eax]
movzx eax, word [esi]
push eax
call fcn.0055412a
inc edi
mov word [ebx + esi], ax
add esp, 4
lea esi, [esi + 2]
cmp edi, dword [ebp - 0x468]
jne 0x4778e0
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 0x5e841c
push 0
call fcn.004547a0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4779c4
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.004547a0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4779c4
push 8
cmp esi, 8
lea ecx, [ebp - 0x234]
push str.database
cmovae ecx, edi
mov edx, ebx
push 0
call fcn.004547a0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4779c4
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x218]
push 0x5e841c
push eax
call ebx
test eax, eax
jne 0x4779c4
push str.backup
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x4779c4
push str.database
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
je 0x477aba
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 0x4779f0
sub ecx, edx
lea eax, [ebp - 0x440]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x488]
call fcn.0044b740
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.0045bd80
mov edx, dword [ebx + 4]
mov ecx, 0x7fffffe
sub ecx, edx
cmp ecx, 1
jb 0x477b48
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 0x477a91
mov ecx, dword [ebp - 0x488]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477a87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477b52
push edx
push ecx
call fcn.00536da7
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.0046b090
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x477afd
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477af3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477b52
push edx
push ecx
call fcn.00536da7
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 0x477830
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.00536b66
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00533fbe
call fcn.00552841
int3