Function at 0x4562c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1e16
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x677e70]
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 ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x254], eax
test ebx, ebx
jne 0x456322
push ebx
push ebx
push 0x81
push 0x5bcb28
call fcn.0043bc90
add esp, 0x10
mov eax, 0x80070057
jmp 0x456689
test eax, eax
jne 0x45632f
push eax
push eax
push 0x82
jmp 0x45630b
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0
push eax
push 0x5baed8
push 0x5b9d9c
call fcn.0043d550
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x456373
push 0
push 0
push 0x85
push 0x5bcb28
call fcn.0043bc90
add esp, 0x10
jmp 0x456677
mov eax, dword [ebp - 0x240]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x4563a0
push 0
push 0
push 0x87
push 0x5bcb28
call fcn.0043bc90
add esp, 0x10
jmp 0x456677
push ebx
push 0x5ba1d8
push 0x5b9d0c
call fcn.0043d550
mov edi, eax
add esp, 0xc
test edi, edi
jns 0x4563d6
push 0
push 0
push 0x89
push 0x5bcb28
call fcn.0043bc90
add esp, 0x10
mov esi, edi
jmp 0x456677
push dword [ebp - 0x254]
push 0x5ba1d8
push 0x5b9d0c
call fcn.0043d550
mov edi, eax
add esp, 0xc
test edi, edi
jns 0x456411
push 0
push 0
push 0x8a
push 0x5bcb28
call fcn.0043bc90
add esp, 0x10
mov esi, edi
jmp 0x456677
lea ecx, [ebp - 0x25c]
call fcn.00456bf0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jne 0x4565e7
mov ebx, dword [ebp + 8]
nop dword [eax]
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x264]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x244]
call fcn.00404ca0
lea ecx, [ebp - 0x244]
call fcn.0042d670
mov edi, dword [ebx + 0x24]
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebx + 0x24]
call fcn.00417450
mov esi, eax
cmp esi, dword [ebx + 0x24]
je 0x4564ac
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebx + 0x24]
call fcn.004176a0
test al, al
je 0x4564af
mov esi, dword [ebx + 0x24]
cmp esi, edi
je 0x45659f
push dword [ebp - 0x244]
lea ecx, [ebp - 0x260]
call fcn.00405480
mov ecx, dword [ebp - 0x254]
push dword [eax]
mov ecx, dword [ecx]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xdc]
push dword [ebp - 0x260]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4565a5
push 0x22c
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.0057ee10
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x456596
nop
mov eax, dword [ebp - 0x234]
cmp eax, dword [ebp - 0x264]
je 0x456558
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x456530
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4565a5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00404ca0
push dword [ebp - 0x250]
lea eax, [ebp - 0x248]
push eax
push 0
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00456a50
lea ecx, [ebp - 0x248]
call fcn.004041f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4565a5
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x240]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edx, dword [ebp - 0x244]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4565d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x24c]
call edi
test esi, esi
je 0x456430
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ecx]
mov dword [ebp - 0x248], eax
cmp eax, ecx
je 0x456648
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x45660b
xor esi, esi
jmp 0x456618
push eax
call edi
mov esi, eax
test esi, esi
je 0x4566a7
mov eax, dword [ebp - 0x250]
push esi
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push esi
call ebx
lea ecx, [ebp - 0x248]
call fcn.00409c40
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x25c]
cmp eax, ecx
jne 0x456600
xor esi, esi
push ecx
push dword [ecx]
lea eax, [ebp - 0x250]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x25c]
call fcn.004558c0
push dword [ebp - 0x25c]
call fcn.0053e4ac
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x456687
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, 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.0053e4b1
mov esp, ebp
pop ebp
ret 0xc
push 0x8007000e
call fcn.00404b10
int3