Function at 0x100658b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x1023ebb0]
xor eax, esp
mov dword [esp + 0x260], 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], 0x22c
call ebx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x100659c1
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x100659c1
nop dword [eax + eax]
mov ecx, 0x102307c8
lea eax, [esp + 0x34]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10065956
test dx, dx
je 0x10065952
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10065956
add eax, 4
add ecx, 4
test dx, dx
jne 0x10065930
xor eax, eax
jmp 0x1006595b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100659ac
push dword [esp + 0x18]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100659a6
push 0x28
lea eax, [esp + 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x1006599b
cmp dword [esp + 0x250], 0x11e1a300
ja 0x10065a36
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x100659ac
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x10065920
push edi
call esi
push 0
push 2
mov dword [esp + 0x18], 0x22c
call ebx
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x10065aac
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [esp + 0x10]
push eax
push edi
call ebx
cmp eax, 1
jne 0x10065aac
mov ecx, str.AndroidProcess.exe
lea eax, [esp + 0x34]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10065a49
test dx, dx
je 0x10065a32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10065a49
add eax, 4
add ecx, 4
test dx, dx
jne 0x10065a10
xor eax, eax
jmp 0x10065a4e
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], eax
jmp 0x100659c4
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10065a9b
push dword [esp + 0x18]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10065a95
push 0x28
lea eax, [esp + 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x10065a8a
cmp dword [esp + 0x250], 0x11e1a300
ja 0x10065ad3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x10065a9b
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x10]
push eax
push edi
call ebx
cmp eax, 1
je 0x10065a00
push edi
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10065abc
cmp eax, 1
jne 0x10065abe
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.101b493a
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10065aaf
cmp eax, 1
je 0x10065aaf
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b493a
mov esp, ebp
pop ebp
ret