Function at 0x4529e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fdd4
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5e6468]
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 eax, dword [ebp + 8]
xor edi, edi
test byte [0x5f4b54], 1
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x258], edi
jne 0x452a56
or dword [0x5f4b54], 1
push 0x5f4af0
mov dword [ebp - 4], edi
call fcn.00455f80
push 0x5a5da0
call fcn.0056214b
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x5f4b0c], edi
je 0x452a7e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x5f466c]
sub edx, eax
cmp edx, 0x1388
ja 0x452a7e
cmp dword [ebp + 0xc], 1
jne 0x452c5a
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x248], esi
cmp esi, 0xffffffff
je 0x452c5a
mov eax, dword [0x5f4b08]
mov ecx, dword [eax + 4]
push ecx
mov ecx, 0x5f4af0
call fcn.00456230
mov eax, dword [0x5f4b08]
mov dword [eax + 4], eax
mov eax, dword [0x5f4b08]
push 0x228
mov dword [0x5f4b0c], edi
mov dword [eax], eax
mov eax, dword [0x5f4b08]
lea edx, [ebp - 0x238]
push edi
push edx
mov dword [eax + 8], eax
call fcn.0055e2a0
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x452c53
jmp 0x452b00
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00426f30
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 1
call fcn.00447760
mov ecx, eax
call fcn.004477b0
mov edx, dword [ebp - 0x240]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x452b57
push esi
lea ecx, [ebp - 0x240]
call fcn.00427e70
mov edx, dword [ebp - 0x240]
lea eax, [esi + 1]
push eax
push edx
call fcn.00564615
add esp, 8
cmp esi, edi
jl 0x452cf6
mov eax, dword [ebp - 0x240]
cmp esi, dword [eax - 8]
jg 0x452cf6
mov dword [eax - 0xc], esi
mov edx, dword [ebp - 0x240]
xor ecx, ecx
mov word [edx + esi*2], cx
lea ecx, [ebp - 0x240]
call fcn.00455430
mov esi, eax
mov ecx, dword [esi + 0xc]
cmp ecx, edi
jne 0x452ba2
xor eax, eax
jmp 0x452baa
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [esi + 0x10]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x452bc8
mov eax, dword [ebp - 0x234]
mov dword [ebx], eax
add ebx, 4
mov dword [esi + 0x10], ebx
jmp 0x452bea
cmp ecx, ebx
jbe 0x452bd1
call fcn.0055e4b6
mov eax, dword [esi]
lea ecx, [ebp - 0x234]
push ecx
push ebx
push eax
lea edx, [ebp - 0x260]
push edx
mov eax, esi
call fcn.00456390
push 0x22c
lea eax, [ebp - 0x23c]
push edi
push eax
call fcn.0055e2a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452c32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x248]
lea ecx, [ebp - 0x23c]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x452b00
mov esi, dword [ebp - 0x248]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x244]
call fcn.00426f30
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 2
call fcn.00446840
mov ecx, dword [0x5f4b08]
mov edi, dword [0x5f4af0]
lea edx, [ebp - 0x260]
push edx
lea ebx, [ebp - 0x244]
mov dword [ebp - 0x24c], ecx
call fcn.004555c0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x452cae
cmp eax, edi
je 0x452cb3
call fcn.0055e4b6
mov eax, dword [ebp - 0x24c]
cmp dword [esi + 4], eax
je 0x452d00
lea ecx, [ebp - 0x244]
call fcn.00455430
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
je 0x452d00
lea ecx, [ebp - 0x244]
call fcn.00455430
mov ebx, eax
mov eax, dword [ebp - 0x254]
call fcn.00455630
mov esi, 1
jmp 0x452d06
push 0x80070057
call fcn.00425c60
mov esi, dword [ebp - 0x258]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x452d2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0055e289
mov esp, ebp
pop ebp
ret