Function at 0x1008a920
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x10154d4e
mov eax, dword fs:[0]
push eax
mov eax, 0x1354
call fcn.100f5ae0
mov eax, dword [0x101a53c4]
xor eax, esp
mov dword [esp + 0x1350], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101a53c4]
xor eax, esp
push eax
lea eax, [esp + 0x1368]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1378]
mov ebp, dword [esp + 0x1384]
mov ebx, dword [esp + 0x1388]
lea ecx, [esp + 0x1024]
mov dword [esp + 0x20], 0
mov edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1034], ecx
mov dword [esp + 0x1038], edx
mov dword [esp + 0x1370], 1
mov eax, dword [esp + 0x1034]
mov byte [eax], 0
mov dword [esp + 0x1370], 2
mov cl, cl
mov edi, 0x1015a440
mov esi, ebp
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1008a9d2
mov ebp, 0x1015a888
mov esi, esi
mov edi, 0x1015a440
mov esi, ebx
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1008a9eb
mov ebx, 0x1015a888
push ecx
pop ecx
lea ecx, [esp + 0x18]
call fcn.1001d610
mov byte [esp + 0x1370], 3
lea ecx, [esp + 0x14]
call fcn.1001d610
mov byte [esp + 0x1370], 4
mov eax, eax
test ebp, ebp
jne 0x1008aa17
xor eax, eax
jmp 0x1008aa2b
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008aa20
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.1002e030
push edx
pop edx
test ebx, ebx
jne 0x1008aa40
xor eax, eax
jmp 0x1008aa50
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008aa45
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.1002e030
mov ebx, ebx
lea ecx, [esp + 0x18]
call fcn.100604e0
nop
lea ecx, [esp + 0x14]
call fcn.100604e0
push ebx
pop ebx
mov eax, eax
mov eax, dword [esp + 0x1380]
lea edx, [esp + 0x1164]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1008aa84
mov dl, dl
lea ecx, [esp + 0x1164]
push ecx
call fcn.100417f0
add esp, 4
push ecx
pop ecx
push eax
pop eax
push 0x1000
lea edx, [esp + 0x28]
push 0
push edx
call fcn.100f5b10
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
xor edi, edi
xchg ebx, eax
xchg ebx, eax
mov cl, cl
push 0x128
lea eax, [esp + 0x1040]
push edi
push eax
call fcn.100f5b10
add esp, 0xc
push eax
pop eax
mov dword [esp + 0x103c], 0x128
mov eax, eax
push edi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
push edx
pop edx
cmp esi, 0xffffffff
jne 0x1008ab10
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x1024]
push ecx
mov ecx, esi
call fcn.10009530
jmp 0x1008ac31
lea edx, [esp + 0x103c]
push edx
push esi
call sub.KERNEL32.DLL_Process32First
push edx
pop edx
test eax, eax
mov ebx, dword [esp + 0x138c]
je 0x1008abcd
nop
mov cl, cl
xor eax, eax
jmp 0x1008ab40
mov cl, byte [esp + eax + 0x1060]
mov byte [esp + eax + 0x1264], cl
add eax, 1
test cl, cl
jne 0x1008ab40
mov edx, edx
lea eax, [esp + 0x1264]
push eax
call fcn.100417f0
add esp, 4
mov eax, eax
lea ecx, [esp + 0x1164]
lea eax, [esp + 0x1264]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1008ab97
test dl, dl
je 0x1008ab93
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1008ab97
add eax, 2
add ecx, 2
test dl, dl
jne 0x1008ab77
xor eax, eax
jmp 0x1008ab9c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1008abb5
mov ecx, dword [esp + 0x1044]
mov dword [esp + edi*4 + 0x24], ecx
add edi, 1
mov dl, dl
test bl, 4
jne 0x1008abcd
lea edx, [esp + 0x103c]
push edx
push esi
call sub.KERNEL32.DLL_Process32Next
xchg ebx, eax
xchg ebx, eax
test eax, eax
jne 0x1008ab30
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, eax
test edi, edi
je 0x1008ac1e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1028]
push edx
mov edx, dword [esp + 0x20]
push ebx
push ecx
push edx
push eax
call fcn.10088e60
add esp, 0x18
mov dl, dl
test bl, 0x20
je 0x1008ac1e
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x1024]
mov ecx, esi
call fcn.10089630
jmp 0x1008ac31
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1024]
push eax
mov ecx, esi
call fcn.10009530
mov dword [esp + 0x20], 1
mov byte [esp + 0x1370], 3
lea ecx, [esp + 0x14]
call fcn.1001d680
mov byte [esp + 0x1370], 2
lea ecx, [esp + 0x18]
call fcn.1001d680
mov byte [esp + 0x1370], 0
lea ecx, [esp + 0x1024]
call fcn.100067f0
mov eax, esi
mov ecx, dword [esp + 0x1368]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1350]
xor ecx, esp
call fcn.100f5016
add esp, 0x1360
ret