Function at 0x47af60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
mov eax, dword [0x65ebc0]
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 0x47b06b
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x47b06b
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 0x47b000
test dl, dl
je 0x47affc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47b000
add eax, 2
add ecx, 2
test dl, dl
jne 0x47afe0
xor eax, eax
jmp 0x47b005
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47b056
push dword [esp + 0x18]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x47b050
push 0x28
lea eax, [esp + 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x47b045
cmp dword [esp + 0x270], 0x11e1a300
ja 0x47b0f0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x47b056
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 0x47afd0
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 0x47b16c
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x138]
push eax
push edi
call ebx
cmp eax, 1
jne 0x47b16c
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 0x47b103
test dl, dl
je 0x47b0ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47b103
add eax, 2
add ecx, 2
test dl, dl
jne 0x47b0d0
xor eax, eax
jmp 0x47b108
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], eax
jmp 0x47b06e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47b158
push dword [esp + 0x140]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x47b152
push 0x28
lea eax, [esp + 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x47b147
cmp dword [esp + 0x270], 0x11e1a300
ja 0x47b194
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x47b158
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x138]
push eax
push edi
call ebx
cmp eax, 1
je 0x47b0c0
push edi
call esi
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
je 0x47b17f
cmp ecx, 1
cmovne eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.005ca9f7
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x140]
test eax, eax
je 0x47b16f
cmp eax, 1
je 0x47b16f
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005ca9f7
mov esp, ebp
pop ebp
ret