Function at 0x46bd40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
mov eax, dword [0x645bc0]
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 0x46be4b
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x46be4b
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 0x46bde0
test dl, dl
je 0x46bddc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46bde0
add eax, 2
add ecx, 2
test dl, dl
jne 0x46bdc0
xor eax, eax
jmp 0x46bde5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x46be36
push dword [esp + 0x18]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x46be30
push 0x28
lea eax, [esp + 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x46be25
cmp dword [esp + 0x270], 0x11e1a300
ja 0x46bed0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x46be36
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 0x46bdb0
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 0x46bf4c
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x138]
push eax
push edi
call ebx
cmp eax, 1
jne 0x46bf4c
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 0x46bee3
test dl, dl
je 0x46becc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46bee3
add eax, 2
add ecx, 2
test dl, dl
jne 0x46beb0
xor eax, eax
jmp 0x46bee8
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], eax
jmp 0x46be4e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x46bf38
push dword [esp + 0x140]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x46bf32
push 0x28
lea eax, [esp + 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x46bf27
cmp dword [esp + 0x270], 0x11e1a300
ja 0x46bf74
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x46bf38
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x138]
push eax
push edi
call ebx
cmp eax, 1
je 0x46bea0
push edi
call esi
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
je 0x46bf5f
cmp ecx, 1
cmovne eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.005bb374
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x140]
test eax, eax
je 0x46bf4f
cmp eax, 1
je 0x46bf4f
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005bb374
mov esp, ebp
pop ebp
ret