Function at 0x459010
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38c
mov eax, dword [0x645bc0]
xor eax, esp
mov dword [esp + 0x388], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push esi
push edi
xor esi, esi
mov dword [esp + 0x14], 0
push esi
push 2
call ebx
mov edi, eax
mov dword [esp + 0x18], 0x128
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x4590cb
nop dword [eax + eax]
mov ecx, str.AndroidEmulatorEx.exe
lea eax, [esp + 0x3c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4590a0
test dl, dl
je 0x45909c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4590a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x459080
xor eax, eax
jmp 0x4590a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4590bb
mov eax, dword [esp + 0x2c]
cmp eax, esi
jle 0x4590bb
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x459070
xor esi, esi
mov dword [esp + 0x10], 0
push esi
push 2
call ebx
mov edi, eax
mov dword [esp + 0x140], 0x128
lea eax, [esp + 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
lea eax, [esp + 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x45917a
nop dword [eax]
mov ecx, str.ProjectTitan.exe
lea eax, [esp + 0x164]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x459140
test dl, dl
je 0x45913c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x459140
add eax, 2
add ecx, 2
test dl, dl
jne 0x459120
xor eax, eax
jmp 0x459145
sbb eax, eax
or eax, 1
test eax, eax
jne 0x459161
mov eax, dword [esp + 0x154]
cmp eax, esi
jle 0x459161
mov ebx, dword [esp + 0x148]
mov esi, eax
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x459110
mov ebx, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edi, edi
xor esi, esi
push edi
push 2
call ebx
mov ebx, eax
mov dword [esp + 0x268], 0x128
lea eax, [esp + 0x268]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
lea eax, [esp + 0x268]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x459210
mov eax, str.AndroidEmulatorEx.exe
lea ecx, [esp + 0x28c]
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4591e0
test dl, dl
je 0x4591dc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4591e0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4591c0
xor eax, eax
jmp 0x4591e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4591fd
mov eax, dword [esp + 0x27c]
cmp eax, edi
jle 0x4591fd
mov esi, dword [esp + 0x270]
mov edi, eax
lea eax, [esp + 0x268]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4591b2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45921d
cmp eax, 1
jne 0x45922d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45922b
cmp eax, 1
cmovne esi, eax
mov eax, esi
mov ecx, dword [esp + 0x394]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005bb374
mov esp, ebp
pop ebp
ret