Function at 0x477000
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 0x47710b
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x47710b
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 0x4770a0
test dl, dl
je 0x47709c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4770a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x477080
xor eax, eax
jmp 0x4770a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4770f6
push dword [esp + 0x18]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4770f0
push 0x28
lea eax, [esp + 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x4770e5
cmp dword [esp + 0x270], 0x11e1a300
ja 0x477190
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x4770f6
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 0x477070
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 0x47720c
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x138]
push eax
push edi
call ebx
cmp eax, 1
jne 0x47720c
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 0x4771a3
test dl, dl
je 0x47718c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4771a3
add eax, 2
add ecx, 2
test dl, dl
jne 0x477170
xor eax, eax
jmp 0x4771a8
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], eax
jmp 0x47710e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4771f8
push dword [esp + 0x140]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4771f2
push 0x28
lea eax, [esp + 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x4771e7
cmp dword [esp + 0x270], 0x11e1a300
ja 0x477234
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x4771f8
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x138]
push eax
push edi
call ebx
cmp eax, 1
je 0x477160
push edi
call esi
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
je 0x47721f
cmp ecx, 1
cmovne eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.005c6b67
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x140]
test eax, eax
je 0x47720f
cmp eax, 1
je 0x47720f
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c6b67
mov esp, ebp
pop ebp
ret