Function at 0x470450
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5741c6
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x5ebea4]
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 0x4707b3
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4707ac
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 0x470796
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 0x47078a
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x234]
call fcn.00476d20
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 0x470592
sub ebx, esi
nop dword [eax]
movzx eax, word [esi]
push eax
call fcn.0054c95a
inc edi
mov word [ebx + esi], ax
add esp, 4
lea esi, [esi + 2]
cmp edi, dword [ebp - 0x468]
jne 0x470570
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 0x5dea7c
push ecx
call fcn.004535c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x470651
mov edi, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
cmp esi, 8
mov edx, ebx
push 6
cmovae ecx, edi
push str.backup
push ecx
call fcn.004535c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x470651
cmp esi, 8
lea ecx, [ebp - 0x234]
push 8
cmovae ecx, edi
mov edx, ebx
push str.database
push ecx
call fcn.004535c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x470651
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x218]
push 0x5dea7c
push eax
call ebx
test eax, eax
jne 0x470651
push str.backup
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x470651
push str.database
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
je 0x470741
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]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470677
sub ecx, edx
lea eax, [ebp - 0x440]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x488]
call fcn.0044a910
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.0045a130
mov edx, dword [ebx + 4]
mov ecx, 0x7fffffe
sub ecx, edx
cmp ecx, 1
jb 0x4707cf
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 0x470718
mov ecx, dword [ebp - 0x488]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47070e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4707d9
push edx
push ecx
call fcn.0052f5d6
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.00463ab0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x470784
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47077a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4707d9
push edx
push ecx
call fcn.0052f5d6
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 0x4704c0
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.0052f395
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0052c7ee
call fcn.0054b071
int3