Function at 0x5db6f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63771b
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 0
push 0x6a2f3c
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x2f8], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00417150
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x2f8], edi
cmp edi, 0xffffffff
jne 0x5db7a6
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2f0], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x5db803
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x28]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov byte [ebp - 0x28], 0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.00417a20
jmp 0x5db789
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0xc4], eax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5db820
sub ecx, edx
lea eax, [ebp - 0xc0]
sar ecx, 1
push 0x80
push eax
lea eax, [ebp - 0xc4]
lea edi, [ecx + 1]
lea esi, [edi*4]
push esi
push eax
call fcn.00413f80
add esp, 0x10
lea eax, [ebp - 0x2cc]
push 0
push 0
push esi
push dword [ebp - 0xc4]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
push eax
push 0
push 3
call esi
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x2f4], ecx
test eax, eax
jne 0x5db8f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x5db8ea
push 0
push 0
push 0
push 0
push edi
lea eax, [ebp - 0x2cc]
push eax
push 0
push 3
call esi
mov esi, eax
lea eax, [ebp - 0xc0]
push 0x80
push eax
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.00413f80
add esp, 0x10
lea eax, [ebp - 0x2cc]
push 0
push 0
push esi
push dword [ebp - 0xc4]
push edi
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x5db8f0
mov ecx, dword [ebp - 0x2f4]
test ecx, ecx
jne 0x5dbad2
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x40], cl
mov ecx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0xf
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5db914
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00417150
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 3
cmp eax, ecx
je 0x5db944
push eax
call fcn.006140b6
add esp, 4
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x40]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x30]
cmovae ecx, esi
cmp dword [ebp - 0x14], 0x10
mov edi, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x2f4], esi
mov dword [ebp - 0x2fc], ecx
mov dword [ebp - 0x308], edx
cmp eax, edi
ja 0x5dba42
test eax, eax
je 0x5dba72
movsx ecx, byte [ecx]
sub edi, eax
inc edi
mov dword [ebp - 0x304], ecx
add edi, edx
mov dword [ebp - 0x300], edi
sub edi, edx
push edi
push ecx
push edx
call fcn.005ff1a0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5dba42
nop
mov esi, dword [ebp - 0x30]
mov edx, edi
mov ecx, dword [ebp - 0x2fc]
sub esi, 4
jb 0x5db9d1
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x5db9d6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x5db9c0
cmp esi, 0xfffffffc
je 0x5dba0a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x5dba03
cmp esi, 0xfffffffd
je 0x5dba0a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x5dba03
cmp esi, 0xfffffffe
je 0x5dba0a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x5dba03
cmp esi, 0xffffffff
je 0x5dba0a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x5dba0a
sbb eax, eax
or eax, 1
jmp 0x5dba0c
xor eax, eax
test eax, eax
je 0x5dba31
mov eax, dword [ebp - 0x300]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x304]
push edi
call fcn.005ff1a0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x5db9b0
jmp 0x5dba3c
sub edi, dword [ebp - 0x308]
cmp edi, 0xffffffff
jne 0x5dba6c
mov esi, dword [ebp - 0x2f4]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, esi
lea ecx, [ebp - 0x28]
push eax
call fcn.00417520
push 1
push 0x6acd14
lea ecx, [ebp - 0x28]
call fcn.00417520
mov esi, dword [ebp - 0x40]
jmp 0x5dba72
mov esi, dword [ebp - 0x2f4]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x5dbaa5
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x5dba9b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5dbaf1
push ecx
push esi
call fcn.005c385c
add esp, 8
mov edi, dword [ebp - 0x2f8]
lea eax, [ebp - 0x2f0]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x5db803
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x30c]
jmp 0x5db7c8
push 0x80
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0xc4]
call fcn.00413de0
add esp, 0xc
call fcn.00416570
call fcn.00606fc9
int3