Function at 0x501030
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa98
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xa98], ecx
mov ecx, dword [ebp - 0xa98]
call fcn.00500d70
test eax, eax
jne 0x50105f
xor eax, eax
jmp 0x501502
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x660], 0
push 0x3fc
push 0
lea eax, [ebp - 0x65c]
push eax
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.00446b40
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0xffffffff
je 0x5012bd
mov dword [ebp - 0x240], 0x22c
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5012b0
xor eax, eax
mov word [ebp - 0x868], ax
push 0x206
push 0
lea ecx, [ebp - 0x866]
push ecx
call fcn.0055e2a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x868]
push edx
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xa98]
call fcn.00500ef0
test eax, eax
je 0x501295
push 0x5f0610
lea ecx, [ebp - 0x868]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x501295
mov edx, dword [ebp - 0x244]
add edx, 1
mov dword [ebp - 0x244], edx
xor eax, eax
mov word [ebp - 0xa70], ax
push 0x206
push 0
lea ecx, [ebp - 0xa6e]
push ecx
call fcn.0055e2a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0xa70]
push edx
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0xa98]
call fcn.00500ef0
test eax, eax
je 0x50124d
push 0x5f0200
lea ecx, [ebp - 0xa70]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x5011f8
push 0x5efff8
lea edx, [ebp - 0xa70]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x5011f8
push 0x5efdf0
lea eax, [ebp - 0xa70]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x5011f8
push 0x5efbe8
lea ecx, [ebp - 0xa70]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x501203
mov edx, dword [ebp - 0x238]
mov dword [ebp - 8], edx
jmp 0x50124b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x238]
mov dword [ebp + eax*4 - 0x660], ecx
lea edx, [ebp - 0xa70]
push edx
lea ecx, [ebp - 0xa7c]
call fcn.00426f30
lea eax, [ebp - 0xa7c]
push eax
lea ecx, [ebp - 0x260]
call fcn.00446c60
lea ecx, [ebp - 0xa7c]
call fcn.00426fe0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x501295
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x238]
mov dword [ebp + edx*4 - 0x660], eax
lea ecx, [ebp - 0xa70]
push ecx
lea ecx, [ebp - 0xa80]
call fcn.00426f30
lea edx, [ebp - 0xa80]
push edx
lea ecx, [ebp - 0x260]
call fcn.00446c60
lea ecx, [ebp - 0xa80]
call fcn.00426fe0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x5010ed
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x244], 1
jne 0x5012e6
mov dword [ebp - 0xa84], 0
lea ecx, [ebp - 0x260]
call fcn.00446ba0
mov eax, dword [ebp - 0xa84]
jmp 0x501502
cmp dword [ebp - 0x244], 2
jb 0x5014e7
cmp dword [ebp - 8], 0
je 0x5014e7
cmp dword [ebp - 4], 0
je 0x5014e7
mov dword [ebp - 0xa74], 0
jmp 0x501322
mov ecx, dword [ebp - 0xa74]
add ecx, 1
mov dword [ebp - 0xa74], ecx
mov edx, dword [ebp - 0xa74]
cmp edx, dword [ebp - 4]
jae 0x5014bf
push 0x5f232c
push 0x650
call fcn.00563fac
add esp, 8
mov dword [ebp - 0xa88], eax
mov eax, dword [ebp - 0xa88]
mov dword [ebp - 0xa78], eax
cmp dword [ebp - 0xa78], 0
jne 0x501363
jmp 0x5014bf
push 0x650
push 0
mov ecx, dword [ebp - 0xa78]
push ecx
call fcn.0055e2a0
add esp, 0xc
push 0x5f0610
push 0x104
mov edx, dword [ebp - 0xa78]
push edx
call fcn.00429540
mov eax, dword [ebp - 0xa74]
push eax
lea ecx, [ebp - 0x260]
call fcn.004956b0
mov ecx, eax
call fcn.004273c0
push eax
push 0x104
mov ecx, dword [ebp - 0xa78]
add ecx, 0x208
push ecx
call fcn.00429540
mov edx, dword [ebp - 0xa78]
mov eax, dword [ebp - 0xa74]
mov ecx, dword [ebp + eax*4 - 0x660]
mov dword [edx + 0x618], ecx
push 0x9c60
lea ecx, [ebp - 0xa8c]
call fcn.00426f30
mov ecx, eax
call fcn.004273c0
push eax
push 0x208
mov edx, dword [ebp - 0xa78]
add edx, 0x410
push edx
call fcn.004b8620
lea ecx, [ebp - 0xa8c]
call fcn.00426fe0
mov eax, dword [ebp - 0xa78]
mov dword [eax + 0x61c], 0x32
mov ecx, dword [ebp - 0xa78]
mov dword [ecx + 0x620], 0
mov edx, dword [ebp - 0xa78]
mov dword [edx + 0x624], 0
mov eax, dword [ebp - 0xa78]
mov dword [eax + 0x628], 0
mov ecx, dword [ebp - 0xa78]
mov dword [ecx + 0x62c], 1
mov edx, dword [ebp - 0xa78]
mov dword [edx + 0x630], 0
push 0x10
push 0
mov eax, dword [ebp - 0xa78]
add eax, 0x634
push eax
call fcn.0055e2a0
add esp, 0xc
mov ecx, dword [ebp - 0xa78]
mov dword [ecx + 0x648], 0
mov edx, dword [ebp - 0xa78]
mov dword [edx + 0x64c], 0x64
lea eax, [ebp - 0xa78]
push eax
mov ecx, dword [ebp + 8]
call fcn.00501db0
jmp 0x501313
lea ecx, [ebp - 0x260]
call fcn.00446cf0
mov dword [ebp - 0xa90], 1
lea ecx, [ebp - 0x260]
call fcn.00446ba0
mov eax, dword [ebp - 0xa90]
jmp 0x501502
mov dword [ebp - 0xa94], 0
lea ecx, [ebp - 0x260]
call fcn.00446ba0
mov eax, dword [ebp - 0xa94]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret 4