Function at 0x10089290
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x10154403
mov eax, dword fs:[0]
push eax
mov eax, 0x135c
call fcn.100f4ea0
mov eax, dword [0x101a42b4]
xor eax, esp
mov dword [esp + 0x1358], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101a42b4]
xor eax, esp
push eax
lea eax, [esp + 0x1370]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1380]
mov ebp, dword [esp + 0x138c]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1390]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1040], 0xf
mov dword [esp + 0x103c], ebx
mov byte [esp + 0x102c], bl
mov dword [esp + 0x1378], 1
test eax, 0x2722
mov edi, 0x10159380
mov esi, ebp
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10089334
mov ebp, 0x101597f0
test edx, edx
mov esi, eax
mov edi, 0x10159380
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x10089350
mov dword [esp + 0x24], 0x101597f0
mov eax, eax
lea ecx, [esp + 0x14]
call fcn.1001f850
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001f850
mov byte [esp + 0x1378], 3
test eax, eax
cmp ebp, ebx
jne 0x1008937c
xor eax, eax
jmp 0x1008938c
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10089381
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.100305b0
test eax, eax
mov edx, dword [esp + 0x24]
cmp edx, ebx
jne 0x100893a5
xor eax, eax
jmp 0x100893bb
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100893b0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.100305b0
mov bl, bl
lea ecx, [esp + 0x14]
call fcn.10057900
push eax
pop eax
lea ecx, [esp + 0x18]
call fcn.10057900
test cl, cl
nop
mov eax, dword [esp + 0x1388]
lea edx, [esp + 0x116c]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x100893f0
mov ebp, ebp
lea ecx, [esp + 0x116c]
push ecx
call fcn.1003bd60
add esp, 4
test bh, bh
mov esi, esi
push 0x1000
lea edx, [esp + 0x2c]
push ebx
push edx
call fcn.100f4ed0
add esp, 0xc
test dh, dh
xor edi, edi
test eax, eax
mov edx, edx
push 0x128
lea eax, [esp + 0x1048]
push ebx
push eax
call fcn.100f4ed0
add esp, 0xc
mov dh, dh
mov dword [esp + 0x1044], 0x128
test dl, dl
push ebx
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
mov dl, dl
cmp esi, 0xffffffff
jne 0x100894d2
mov esi, dword [esp + 0x1c]
push eax
push ebx
lea ecx, [esp + 0x1030]
mov edi, 0xf
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009fd0
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001f8c0
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001f8c0
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x10089725
mov edx, dword [esp + 0x102c]
push edx
jmp 0x1008971d
lea eax, [esp + 0x1044]
push eax
push esi
call sub.KERNEL32.DLL_Process32First
test al, al
cmp eax, ebx
je 0x10089592
lea ebx, [ebx]
xchg ebx, eax
xchg ebx, eax
xor eax, eax
jmp 0x10089500
mov cl, byte [esp + eax + 0x1068]
mov byte [esp + eax + 0x126c], cl
add eax, 1
cmp cl, bl
jne 0x10089500
mov ecx, ecx
lea ecx, [esp + 0x126c]
push ecx
call fcn.1003bd60
add esp, 4
mov cl, cl
lea ecx, [esp + 0x116c]
lea eax, [esp + 0x126c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10089557
cmp dl, bl
je 0x10089553
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10089557
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x10089537
xor eax, eax
jmp 0x1008955c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1008957a
mov edx, dword [esp + 0x104c]
mov dword [esp + edi*4 + 0x28], edx
add edi, 1
test bh, bh
test byte [esp + 0x1394], 4
jne 0x10089592
lea eax, [esp + 0x1044]
push eax
push esi
call sub.KERNEL32.DLL_Process32Next
mov al, al
cmp eax, ebx
jne 0x100894f0
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, 0x6089
cmp edi, ebx
jne 0x10089612
mov esi, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1030]
mov edi, 0xf
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009fd0
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001f8c0
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001f8c0
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x10089725
mov edx, dword [esp + 0x102c]
push edx
jmp 0x1008971d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
test edi, edi
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1398]
lea edx, [esp + 0x102c]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
call fcn.10085730
add esp, 0x18
test ecx, ecx
test byte [esp + 0x1394], 0x20
mov esi, dword [esp + 0x1c]
je 0x100896ba
push esi
lea ecx, [esp + 0x102c]
call fcn.10087cc0
add esp, 4
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001f8c0
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001f8c0
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x100896ad
mov edx, dword [esp + 0x102c]
push edx
call fcn.100e2dad
add esp, 4
mov dword [esp + 0x1040], 0xf
jmp 0x1008972c
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1030]
mov edi, 0xf
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009fd0
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001f8c0
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001f8c0
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x10089725
mov ecx, dword [esp + 0x102c]
push ecx
call fcn.100e2dad
add esp, 4
mov dword [esp + 0x1040], edi
mov dword [esp + 0x103c], ebx
mov byte [esp + 0x102c], bl
mov eax, esi
mov ecx, dword [esp + 0x1370]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1358]
xor ecx, esp
call fcn.100f43d6
add esp, 0x1368
ret