Function at 0x45da60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b036
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x5caea4]
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 - 0x468], ecx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x474], eax
test eax, eax
je 0x45de1c
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x464], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x45de14
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [eax + eax]
push dword [ebp - 0x45c]
push 0
push 0x400
call edi
mov ebx, eax
mov dword [ebp - 0x470], ebx
test ebx, ebx
jne 0x45db19
push dword [ebp - 0x45c]
push eax
push 0x1000
call edi
mov ebx, eax
mov dword [ebp - 0x470], eax
test ebx, ebx
je 0x45ddf9
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x45db5f
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
jne 0x45db5f
push ebx
call esi
jmp 0x45ddf9
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x234]
call fcn.00461090
mov dword [ebp - 4], 0
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
mov edi, dword [ebp - 0x234]
mov esi, dword [ebp - 0x224]
cmovae eax, edi
cmovae ecx, edi
lea eax, [eax + esi*2]
lea esi, [ebp - 0x234]
mov edx, eax
cmovae esi, edi
xor edi, edi
sub edx, esi
inc edx
shr edx, 1
cmp esi, eax
cmova edx, edi
mov dword [ebp - 0x21c], edx
test edx, edx
je 0x45dbe6
sub ecx, esi
mov ebx, ecx
movzx eax, word [esi]
push eax
call fcn.00535caa
inc edi
mov word [ebx + esi], ax
add esp, 4
lea esi, [esi + 2]
cmp edi, dword [ebp - 0x21c]
jne 0x45dbc4
mov ebx, dword [ebp - 0x470]
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x234]
mov edi, dword [ebp - 0x234]
cmp esi, 8
mov edx, dword [ebp - 0x224]
push 3
cmovae ecx, edi
push 0x5c07e8
push ecx
call fcn.00452b80
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45dcab
mov edx, dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
cmp esi, 8
push 6
cmovae ecx, edi
push str.backup
push ecx
call fcn.00452b80
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45dcab
mov edx, dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
cmp esi, 8
push 8
cmovae ecx, edi
push str.database
push ecx
call fcn.00452b80
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45dcab
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x218]
push 0x5c07e8
push eax
call esi
test eax, eax
jne 0x45dcab
push str.backup
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x45dcab
push str.database
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x45dda7
xor eax, eax
mov dword [ebp - 0x47c], 0
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x478], 7
mov word [ebp - 0x48c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45dcd1
sub ecx, edx
lea eax, [ebp - 0x440]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48c]
call fcn.0044a1c0
mov eax, dword [ebp - 0x468]
mov byte [ebp - 4], 1
mov esi, dword [eax]
lea eax, [ebp - 0x48c]
push eax
mov edi, dword [esi + 4]
push edi
push esi
call fcn.00454e50
mov ecx, dword [ebp - 0x468]
mov edx, dword [ecx + 4]
mov ecx, 0x7fffffe
sub ecx, edx
cmp ecx, 1
jb 0x45de38
lea ecx, [edx + 1]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x468]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x478]
mov dword [esi + 4], eax
mov dword [edi], eax
cmp edx, 8
jb 0x45dd7e
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45dd74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de42
push edx
push ecx
call fcn.00518d68
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.0045a000
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x45ddf3
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45dde9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de42
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea eax, [ebp - 0x464]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x45dae0
push dword [ebp - 0x474]
call esi
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.00518b27
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.005164bf
call fcn.005343f1
int3