Function at 0x100afac0
Capabilities:
Check if file exists
Enumerate processes
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x10102008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
sub esp, 0x18
mov ecx, esp
push 0x10104488
call fcn.100b3780
lea ecx, [ebp - 0x274]
call fcn.10084cd0
add esp, 0x18
mov dword [ebp - 0x4a8], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x4a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x100afeb7
lea eax, [ebp - 0x4a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x100afeb7
nop dword [eax]
mov esi, dword [ebp - 0x4a0]
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x100afe90
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100afc83
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x100afc83
lea eax, [ebp - 0x210]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x21c], 0
lea edx, [eax + 2]
mov dword [ebp - 0x218], 7
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100afbc0
sub eax, edx
lea ecx, [ebp - 0x22c]
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b3af0
cmp dword [ebp - 0x218], 8
lea ecx, [ebp - 0x22c]
mov eax, dword [ebp - 0x21c]
cmovae ecx, dword [ebp - 0x22c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x22c]
cmovae ecx, dword [ebp - 0x22c]
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 - 0x218]
movups xmmword [ebp - 0x244], xmm0
movq xmm0, qword [ebp - 0x24c]
movq qword [ebp - 0x234], xmm0
cmp edx, 8
jb 0x100afcb9
mov ecx, dword [ebp - 0x22c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100afc77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aff31
push edx
push ecx
call fcn.100bfa23
add esp, 8
jmp 0x100afcb3
push 0
push 0x100f3188
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
call fcn.100b3d90
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
lea eax, [ebp - 0x244]
mov ecx, esp
push eax
call fcn.100b3780
sub esp, 0x18
lea eax, [ebp - 0x274]
mov ecx, esp
push eax
call fcn.100b3780
call fcn.10086350
add esp, 0x30
test eax, eax
jle 0x100afe54
sub esp, 0x18
mov ecx, esp
push 0x10103fc0
call fcn.100b3780
lea ecx, [ebp - 0x4c0]
call fcn.10084cd0
add esp, 0x18
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x22c]
mov esi, eax
call fcn.100870e0
push esi
push eax
push dword [ebp - 0x214]
lea ecx, [ebp - 0x25c]
call fcn.100b6330
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x244]
call fcn.100b36c0
mov edx, dword [ebp - 0x248]
cmp edx, 0x10
jb 0x100afd7a
mov ecx, dword [ebp - 0x25c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100afd70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aff31
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edx, dword [ebp - 0x218]
cmp edx, 0x10
jb 0x100afdb4
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100afdaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aff31
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edx, dword [ebp - 0x4ac]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
cmp edx, 0x10
jb 0x100afe09
mov ecx, dword [ebp - 0x4c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100afdff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aff31
push edx
push ecx
call fcn.100bfa23
add esp, 8
cmp dword [ebp - 0x230], 0x10
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100afe54
test al, 0x10
je 0x100afe54
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b3780
sub esp, 0x18
lea eax, [ebp - 0x244]
mov ecx, esp
push eax
call fcn.100b3780
call fcn.100aef80
add esp, 0x30
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x100afe96
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100afe84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aff31
push edx
push ecx
call fcn.100bfa23
add esp, 8
jmp 0x100afe96
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x214], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x100afb40
push ebx
call edi
mov edx, dword [ebp - 0x260]
cmp edx, 0x10
jb 0x100afef0
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100afee6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aff31
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100aff20
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aff16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aff31
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
int3