Function at 0x1009d140
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x10174778
mov eax, dword fs:[0]
push eax
sub esp, 0xa58
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0xa54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c52b4]
xor eax, esp
push eax
lea eax, [esp + 0xa6c]
mov dword fs:[0], eax
mov edi, dword [esp + 0xa7c]
mov esi, dword [esp + 0xa84]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x83c], 0xf
mov dword [esp + 0x838], ebx
mov byte [esp + 0x828], bl
mov dword [esp + 0xa74], 1
push ebx
pop ebx
mov edx, edx
push 0x800
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.1010efd0
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0x18], ebx
mov edx, edx
mov edx, edx
push 0x128
lea ecx, [esp + 0x844]
push ebx
push ecx
call fcn.1010efd0
add esp, 0xc
mov edx, edx
mov dword [esp + 0x840], 0x128
mov bh, bh
push ebx
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebp, eax
mov ch, ch
cmp ebp, 0xffffffff
jne 0x1009d262
push eax
push ebx
lea edx, [esp + 0x82c]
mov esi, 0xf
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push edx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.10009f70
mov dword [esp + 0x1c], 1
mov byte [esp + 0xa74], bl
cmp dword [esp + 0x83c], 0x10
jb 0x1009d256
mov eax, dword [esp + 0x828]
push eax
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x83c], esi
jmp 0x1009d428
lea ecx, [esp + 0x14]
call fcn.1001fe10
mov byte [esp + 0xa74], 2
mov bh, bh
cmp esi, ebx
jne 0x1009d27d
xor eax, eax
jmp 0x1009d28d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1009d282
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.100332c0
mov cl, cl
lea ecx, [esp + 0x14]
call fcn.10063e70
mov bh, bh
lea ecx, [esp + 0x840]
push ecx
push ebp
call sub.KERNEL32.DLL_Process32First
mov bh, bh
cmp eax, ebx
je 0x1009d35d
lea ecx, [ecx]
mov eax, eax
xor eax, eax
jmp 0x1009d2d0
mov cl, byte [esp + eax + 0x864]
mov byte [esp + eax + 0x968], cl
add eax, 1
cmp cl, bl
jne 0x1009d2d0
mov dl, dl
lea edx, [esp + 0x968]
push edx
call fcn.10047d90
add esp, 4
mov ch, ch
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x968]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1009d324
cmp dl, bl
je 0x1009d320
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1009d324
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x1009d304
xor eax, eax
jmp 0x1009d329
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1009d345
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x848]
mov dword [esp + eax*4 + 0x24], ecx
add eax, 1
mov dword [esp + 0x18], eax
mov ch, ch
lea edx, [esp + 0x840]
push edx
push ebp
call sub.KERNEL32.DLL_Process32Next
push ebx
pop ebx
cmp eax, ebx
jne 0x1009d2c0
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ah, ah
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x1009d3d5
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x82c]
mov esi, 0xf
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov byte [edi + 4], bl
call fcn.10009f70
mov dword [esp + 0x1c], 1
mov byte [esp + 0xa74], 1
lea ecx, [esp + 0x14]
call fcn.1001fe80
mov byte [esp + 0xa74], bl
cmp dword [esp + 0x83c], 0x10
jb 0x1009d256
mov ecx, dword [esp + 0x828]
push ecx
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x83c], esi
jmp 0x1009d428
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.1009b5d0
add esp, 8
mov dword [esp + 0x1c], 1
mov byte [esp + 0xa74], 1
lea ecx, [esp + 0x14]
call fcn.1001fe80
mov byte [esp + 0xa74], bl
cmp dword [esp + 0x83c], 0x10
jb 0x1009d41d
mov edx, dword [esp + 0x828]
push edx
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x83c], 0xf
mov dword [esp + 0x838], ebx
mov byte [esp + 0x828], bl
mov eax, edi
mov ecx, dword [esp + 0xa6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa54]
xor ecx, esp
call fcn.1010e4d7
add esp, 0xa64
ret