Function at 0x477580
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
mov eax, dword [0x659bc0]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor eax, eax
push esi
push edi
push eax
push 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x128
call ebx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x47768b
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x47768b
nop dword [eax + eax]
mov ecx, str.aow_exe.exe
lea eax, [esp + 0x34]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x477620
test dl, dl
je 0x47761c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x477620
add eax, 2
add ecx, 2
test dl, dl
jne 0x477600
xor eax, eax
jmp 0x477625
sbb eax, eax
or eax, 1
test eax, eax
jne 0x477676
push dword [esp + 0x18]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x477670
push 0x28
lea eax, [esp + 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x477665
cmp dword [esp + 0x270], 0x11e1a300
ja 0x477710
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x477676
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x4775f0
push edi
call esi
push 0
push 2
mov dword [esp + 0x140], 0x128
call ebx
mov edi, eax
lea eax, [esp + 0x138]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x47778c
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x138]
push eax
push edi
call ebx
cmp eax, 1
jne 0x47778c
nop dword [eax]
nop word [eax + eax]
mov ecx, str.AndroidProcess.exe
lea eax, [esp + 0x15c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x477723
test dl, dl
je 0x47770c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x477723
add eax, 2
add ecx, 2
test dl, dl
jne 0x4776f0
xor eax, eax
jmp 0x477728
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], eax
jmp 0x47768e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x477778
push dword [esp + 0x140]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x477772
push 0x28
lea eax, [esp + 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x477767
cmp dword [esp + 0x270], 0x11e1a300
ja 0x4777b4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x477778
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x138]
push eax
push edi
call ebx
cmp eax, 1
je 0x4776e0
push edi
call esi
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
je 0x47779f
cmp ecx, 1
cmovne eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.005c70c7
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x140]
test eax, eax
je 0x47778f
cmp eax, 1
je 0x47778f
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c70c7
mov esp, ebp
pop ebp
ret