Function at 0x434f40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x5cdde4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x228
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x434]
push 0
push eax
mov dword [ebp - 0x444], ebx
call fcn.0053c9e0
add esp, 0xc
mov dword [ebp - 0x438], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x438]
push eax
push edi
mov dword [ebp - 0x440], edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x434fcc
cmp edi, 0xffffffff
je 0x434fb9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523ae4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x438]
mov byte [ebp - 0x439], 0
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x435174
nop dword [eax + eax]
mov ecx, dword [ebp - 0x448]
call fcn.00436390
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00549567
add esp, 8
test eax, eax
jne 0x43515f
cmp dword [ebx + 0x10], eax
jne 0x435097
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x430]
cmp ecx, eax
jae 0x43506a
mov ecx, dword [esi]
lea edx, [ebp - 0x430]
cmp ecx, edx
ja 0x43506a
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x435046
push 1
mov ecx, esi
call fcn.00436410
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x435054
mov eax, dword [esi]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
mov edi, dword [ebp - 0x440]
add dword [esi + 4], 4
mov byte [ebp - 0x439], 1
jmp 0x43515f
cmp eax, dword [esi + 8]
jne 0x435078
push 1
mov ecx, esi
call fcn.00436410
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x435087
mov eax, dword [ebp - 0x430]
mov dword [ecx], eax
add dword [esi + 4], 4
mov byte [ebp - 0x439], 1
jmp 0x43515f
push dword [ebp - 0x430]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x435159
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0053c9e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x435159
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x460]
call fcn.00421e50
cmp dword [ebx + 0x14], 8
mov edx, dword [ebx + 0x10]
jb 0x435100
mov ecx, dword [ebx]
jmp 0x435102
mov ecx, ebx
push edx
push 0
push ecx
mov ecx, eax
call fcn.00426560
mov ecx, dword [ebp - 0x44c]
mov ebx, eax
cmp ecx, 8
jb 0x43512d
inc ecx
push ecx
push dword [ebp - 0x460]
lea ecx, [ebp - 0x460]
call fcn.004256a0
cmp ebx, 0xffffffff
je 0x435147
lea eax, [ebp - 0x430]
mov ecx, esi
push eax
call fcn.00436880
mov byte [ebp - 0x439], 1
cmp edi, 0xffffffff
je 0x435153
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x444]
mov edi, dword [ebp - 0x440]
lea eax, [ebp - 0x438]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x434ff0
cmp edi, 0xffffffff
je 0x435180
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x439]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00523ae4
mov esp, ebp
pop ebp
ret