Function at 0x100971b0
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
xor esi, esi
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x25c], esi
push eax
mov edi, 7
mov dword [ebp - 0x24c], esi
push ebx
mov dword [ebp - 0x248], edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x1009756c
lea eax, [ebp - 0x4a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1009756c
nop dword [eax]
nop word [eax + eax]
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 0x10097240
sub eax, edx
lea ecx, [ebp - 0x25c]
sar eax, 1
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.100b2820
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1009753f
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10097395
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x10097395
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x234], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x230], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100972d4
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.100b2820
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 - 0x274]
call fcn.100b3210
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x274]
mov edx, dword [ebp - 0x230]
movups xmmword [ebp - 0x22c], xmm0
movq xmm0, qword [ebp - 0x264]
movq qword [ebp - 0x21c], xmm0
cmp edx, 8
jb 0x100973c5
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10097389
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100975e4
push edx
push ecx
call fcn.100be753
add esp, 8
jmp 0x100973c5
push 0
push 0x100f1188
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
call fcn.100b2ac0
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x1009742c
lea edx, [ebp - 0x22c]
lea ecx, [ebp - 0x274]
call fcn.10095e70
push eax
lea ecx, [ebp - 0x22c]
call fcn.100b23f0
mov edx, dword [ebp - 0x260]
cmp edx, 0x10
jb 0x10097426
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009741c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100975e4
push edx
push ecx
call fcn.100be753
add esp, 8
mov ecx, dword [ebp - 0x21c]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x100975e9
cmp dword [ebp - 0x218], 0x10
lea eax, [ebp - 0x22c]
push 1
cmovae eax, dword [ebp - 0x22c]
push 0x100fa65c
push ecx
push eax
push ecx
push dword [ebp - 0x214]
lea ecx, [ebp - 0x244]
call fcn.100b5240
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b24b0
sub esp, 0x18
lea ecx, [ebp - 0x244]
mov esi, esp
push 0x100faafc
call fcn.100b2330
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.10095f90
mov edx, dword [ebp - 0x230]
add esp, 0x30
cmp edx, 0x10
jb 0x10097505
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100974fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100975e4
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp - 0x218]
cmp edx, 0x10
jb 0x1009753f
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10097535
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100975e4
push edx
push ecx
call fcn.100be753
add esp, 8
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x214], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x10097230
mov edi, dword [ebp - 0x248]
mov esi, dword [ebp - 0x25c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 8
jb 0x100975a3
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x10097599
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100975e4
push ecx
push esi
call fcn.100be753
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100975d3
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100975c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100975e4
push edx
push ecx
call fcn.100be753
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be1f9
mov esp, ebp
pop ebp
ret
call fcn.100ca55d
call fcn.10083390
int3