Function at 0x1009a770
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x4a8], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x24c], 0
xor eax, eax
mov esi, 7
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x4a8]
push eax
push ebx
mov dword [ebp - 0x248], esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x1009ab5d
lea eax, [ebp - 0x4a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1009ab5d
nop
mov esi, dword [ebp - 0x4a0]
lea eax, [ebp - 0x484]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1009a800
sub eax, edx
lea ecx, [ebp - 0x25c]
sar eax, 1
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.100b2d20
lea eax, [ebp - 0x244]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1009ab30
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1009a956
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1009a956
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009a893
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.100b2d20
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x240]
mov eax, dword [ebp - 0x230]
cmovae ecx, dword [ebp - 0x240]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x240]
cmovae ecx, dword [ebp - 0x240]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x274]
call fcn.100b3a00
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
movups xmm0, xmmword [ebp - 0x274]
mov edx, dword [ebp - 0x22c]
movups xmmword [ebp - 0x228], xmm0
movq xmm0, qword [ebp - 0x264]
movq qword [ebp - 0x218], xmm0
cmp edx, 8
jb 0x1009a989
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009a94a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abd7
push edx
push ecx
call fcn.100bede4
add esp, 8
jmp 0x1009a983
push 0
push 0x100f1e78
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
call fcn.100b2fb0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x218], 0
je 0x1009aaf4
sub esp, 0x18
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call fcn.100b2820
sub esp, 0x18
mov ecx, esp
push 4
push str.ajim
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.100b2fb0
call fcn.10085d50
add esp, 0x30
test eax, eax
jle 0x1009aaf4
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0x274]
call fcn.10096730
push eax
lea ecx, [ebp - 0x228]
call fcn.100b2760
mov edx, dword [ebp - 0x260]
cmp edx, 0x10
jb 0x1009aa30
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009aa26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abd7
push edx
push ecx
call fcn.100bede4
add esp, 8
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
lea ecx, [eax - 4]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.100b2fb0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x228]
call fcn.100b2760
mov edx, dword [ebp - 0x22c]
cmp edx, 0x10
jb 0x1009aac6
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009aabc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abd7
push edx
push ecx
call fcn.100bede4
add esp, 8
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b2820
sub esp, 0x18
lea edx, [ebp - 0x228]
mov ecx, esp
push str.UserDataSettings.sqlite
call fcn.100b36e0
add esp, 4
call fcn.10099160
add esp, 0x30
mov edx, dword [ebp - 0x214]
cmp edx, 0x10
jb 0x1009ab36
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009ab24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abd7
push edx
push ecx
call fcn.100bede4
add esp, 8
jmp 0x1009ab36
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x244], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x1009a7f0
mov esi, dword [ebp - 0x248]
push ebx
call edi
cmp esi, 8
jb 0x1009ab96
mov ecx, dword [ebp - 0x25c]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x1009ab8c
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abd7
push esi
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1009abc6
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009abbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abd7
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
int3