Function at 0x431b40
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4511e4
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x27c]
mov dword [esp + 0x28], eax
xor edi, edi
mov eax, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
test byte [0x46b568], al
jne 0x431bc7
or dword [0x46b568], eax
mov dword [esp + 0x274], edi
call fcn.00432360
push 0x452780
call fcn.00433c2f
add esp, 4
mov dword [esp + 0x274], 0xffffffff
cmp dword [0x46b55c], edi
je 0x431bd5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x431d81
mov edx, dword [0x46b558]
mov eax, dword [edx + 4]
push eax
mov ecx, 0x46b540
call fcn.004325f0
mov eax, dword [0x46b558]
mov dword [eax + 4], eax
mov eax, dword [0x46b558]
push 0x228
mov dword [0x46b55c], edi
mov dword [eax], eax
mov eax, dword [0x46b558]
lea ecx, [esp + 0x3c]
push edi
push ecx
mov dword [eax + 8], eax
call fcn.00437380
add esp, 0xc
lea edx, [esp + 0x34]
push edx
push ebp
mov dword [esp + 0x3c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x431d78
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x5c]
call fcn.004308e0
lea ebx, [esp + 0x1c]
mov dword [esp + 0x274], 1
call fcn.00430d40
mov ebx, eax
call fcn.00430dc0
mov edx, dword [esp + 0x1c]
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 0x431c97
mov ecx, esi
lea eax, [esp + 0x1c]
call fcn.00430fc0
mov edx, dword [esp + 0x1c]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.0044e889
add esp, 8
test esi, esi
jl 0x431e45
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax - 8]
jg 0x431e45
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x1c]
xor edx, edx
lea ebx, [esp + 0x1c]
mov word [eax + esi*2], dx
call fcn.00432080
mov esi, eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x431cdc
xor eax, eax
jmp 0x431ce4
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 0x431d00
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x431d1e
cmp ecx, edi
jbe 0x431d09
call fcn.00434833
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.0041ee90
push 0x22c
lea eax, [esp + 0x38]
push 0
push eax
call fcn.00437380
mov dword [esp + 0x280], 0xffffffff
mov eax, dword [esp + 0x28]
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 0x431d65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x431c47
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
call fcn.004308e0
mov dword [esp + 0x274], 2
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 0x431dc1
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00430fc0
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call fcn.0044e889
add esp, 8
cmp esi, edi
jl 0x431e45
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x431e45
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x18]
xor ecx, ecx
lea eax, [esp + 0x2c]
mov word [edx + esi*2], cx
mov ebp, dword [0x46b558]
mov edi, dword [0x46b540]
push eax
lea ebx, [esp + 0x1c]
call fcn.00432170
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x431e0e
cmp eax, edi
je 0x431e13
call fcn.00434833
cmp dword [esi + 4], ebp
je 0x431e4f
lea ebx, [esp + 0x18]
call fcn.00432080
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
je 0x431e4f
call fcn.00432080
push eax
mov eax, dword [esp + 0x24]
call fcn.004321f0
mov esi, 1
jmp 0x431e53
push 0x80070057
call fcn.0040b460
mov esi, dword [esp + 0x24]
mov dword [esp + 0x274], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431e7e
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.00433af9
add esp, 0x264
ret