Function at 0x452990
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x49d4c4
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x27c]
xor ebp, ebp
mov ebx, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebp
test byte [0x4cbfc4], bl
jne 0x452a13
or dword [0x4cbfc4], ebx
mov dword [esp + 0x274], ebp
call fcn.004537c0
push 0x4a0110
call fcn.0047736c
add esp, 4
mov dword [esp + 0x274], 0xffffffff
cmp dword [0x4cb53c], ebp
je 0x452a35
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4cb518]
sub ecx, eax
cmp ecx, 0x1388
jbe 0x452bfb
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, 0xffffffff
je 0x452bfb
mov edx, dword [0x4cb538]
mov eax, dword [edx + 4]
push eax
mov ecx, 0x4cb520
call fcn.00453a70
mov eax, dword [0x4cb538]
mov dword [eax + 4], eax
mov eax, dword [0x4cb538]
push 0x228
mov dword [0x4cb53c], ebp
mov dword [eax], eax
mov eax, dword [0x4cb538]
lea ecx, [esp + 0x3c]
push ebp
push ecx
mov dword [eax + 8], eax
call fcn.0047c020
add esp, 0xc
lea edx, [esp + 0x34]
push edx
push esi
mov dword [esp + 0x3c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x452bf4
jmp 0x452ab0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x5c]
call fcn.004038d0
mov dword [esp + 0x274], ebx
lea ebx, [esp + 0x18]
call fcn.004536a0
mov ebx, eax
call fcn.00453720
mov edx, dword [esp + 0x18]
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 0x452afc
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00403780
mov edx, dword [esp + 0x18]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.00478d4c
add esp, 8
cmp esi, ebp
jl 0x452be6
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x452be6
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x18]
xor edx, edx
lea ebx, [esp + 0x18]
mov word [eax + esi*2], dx
call fcn.00453380
mov esi, eax
mov ecx, dword [esi + 0xc]
cmp ecx, ebp
jne 0x452b41
xor eax, eax
jmp 0x452b49
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x452b65
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x452b83
cmp ecx, edi
jbe 0x452b6e
call fcn.00477ad6
mov eax, dword [esi]
push edi
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x38]
push edx
mov eax, esi
call fcn.0040c560
push 0x22c
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.0047c020
mov dword [esp + 0x280], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x34], 0x22c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452bc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x452bf0
mov ebx, 1
jmp 0x452ab0
push 0x80070057
call fcn.004037d0
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x4a8a70
call fcn.004038d0
lea edi, [esp + 0x1c]
mov dword [esp + 0x274], 2
call fcn.00426000
mov ebp, dword [0x4cb538]
mov edi, dword [0x4cb520]
lea ecx, [esp + 0x2c]
push ecx
lea ebx, [esp + 0x20]
call fcn.004534c0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x452c44
cmp eax, edi
je 0x452c49
call fcn.00477ad6
cmp dword [esi + 4], ebp
je 0x452c7d
lea ebx, [esp + 0x1c]
call fcn.00453380
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
test edx, 0xfffffffc
je 0x452c7d
call fcn.00453380
mov ecx, dword [esp + 0x24]
push ecx
mov ebx, eax
call fcn.00453540
mov esi, 1
jmp 0x452c81
mov esi, dword [esp + 0x28]
mov dword [esp + 0x274], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x452cac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00476dfd
add esp, 0x264
ret