Function at 0x1009c410
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x10174603
mov eax, dword fs:[0]
push eax
mov eax, 0x135c
call fcn.1010efa0
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x1358], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c52b4]
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
push eax
pop eax
mov edi, 0x10179548
mov esi, ebp
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1009c4b1
mov ebp, 0x10178a34
mov ebp, ebp
mov esi, eax
mov edi, 0x10179548
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1009c4cd
mov dword [esp + 0x24], 0x10178a34
mov bh, bh
lea ecx, [esp + 0x14]
call fcn.1001fe10
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001fe10
mov byte [esp + 0x1378], 3
push eax
pop eax
cmp ebp, ebx
jne 0x1009c4f9
xor eax, eax
jmp 0x1009c50b
mov eax, ebp
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1009c500
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.100332c0
mov ch, ch
mov edx, dword [esp + 0x24]
cmp edx, ebx
jne 0x1009c524
xor eax, eax
jmp 0x1009c53b
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1009c530
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.100332c0
push edx
pop edx
lea ecx, [esp + 0x14]
call fcn.10063e70
mov bl, bl
lea ecx, [esp + 0x18]
call fcn.10063e70
mov eax, eax
mov ah, ah
mov eax, dword [esp + 0x1388]
lea edx, [esp + 0x116c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x1009c570
mov ebx, ebx
lea ecx, [esp + 0x116c]
push ecx
call fcn.10047d90
add esp, 4
push ecx
pop ecx
push ebx
pop ebx
push 0x1000
lea edx, [esp + 0x2c]
push ebx
push edx
call fcn.1010efd0
add esp, 0xc
push ebx
pop ebx
xor edi, edi
mov dl, dl
push eax
pop eax
push 0x128
lea eax, [esp + 0x1048]
push ebx
push eax
call fcn.1010efd0
add esp, 0xc
mov eax, eax
mov dword [esp + 0x1044], 0x128
xchg ebx, eax
xchg ebx, eax
push ebx
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
mov ebp, ebp
cmp esi, 0xffffffff
jne 0x1009c652
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.10009f70
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001fe80
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001fe80
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x1009c8a1
mov edx, dword [esp + 0x102c]
push edx
jmp 0x1009c899
lea eax, [esp + 0x1044]
push eax
push esi
call sub.KERNEL32.DLL_Process32First
mov bl, bl
cmp eax, ebx
je 0x1009c711
lea ebx, [ebx]
mov eax, eax
xor eax, eax
jmp 0x1009c680
mov cl, byte [esp + eax + 0x1068]
mov byte [esp + eax + 0x126c], cl
add eax, 1
cmp cl, bl
jne 0x1009c680
push edx
pop edx
lea ecx, [esp + 0x126c]
push ecx
call fcn.10047d90
add esp, 4
nop
lea ecx, [esp + 0x116c]
lea eax, [esp + 0x126c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1009c6d6
cmp dl, bl
je 0x1009c6d2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1009c6d6
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x1009c6b6
xor eax, eax
jmp 0x1009c6db
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1009c6f9
mov edx, dword [esp + 0x104c]
mov dword [esp + edi*4 + 0x28], edx
add edi, 1
push eax
pop eax
test byte [esp + 0x1394], 4
jne 0x1009c711
lea eax, [esp + 0x1044]
push eax
push esi
call sub.KERNEL32.DLL_Process32Next
xchg ebx, eax
xchg ebx, eax
cmp eax, ebx
jne 0x1009c670
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dl, dl
cmp edi, ebx
jne 0x1009c78e
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.10009f70
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001fe80
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001fe80
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x1009c8a1
mov edx, dword [esp + 0x102c]
push edx
jmp 0x1009c899
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebp, ebp
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.10094d10
add esp, 0x18
push ecx
pop ecx
test byte [esp + 0x1394], 0x20
mov esi, dword [esp + 0x1c]
je 0x1009c836
push esi
lea ecx, [esp + 0x102c]
call fcn.1009ae80
add esp, 4
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001fe80
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001fe80
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x1009c829
mov edx, dword [esp + 0x102c]
push edx
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x1040], 0xf
jmp 0x1009c8a8
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.10009f70
mov dword [esp + 0x20], 1
mov byte [esp + 0x1378], 2
lea ecx, [esp + 0x18]
call fcn.1001fe80
mov byte [esp + 0x1378], 1
lea ecx, [esp + 0x14]
call fcn.1001fe80
mov byte [esp + 0x1378], bl
cmp dword [esp + 0x1040], 0x10
jb 0x1009c8a1
mov ecx, dword [esp + 0x102c]
push ecx
call fcn.100fcea8
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.1010e4d7
add esp, 0x1368
ret