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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
sub esp, 0x18
mov ecx, esp
push 0x10102358
call fcn.100b2700
lea ecx, [ebp - 0x274]
call fcn.10084620
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 0x100aefd0
lea eax, [ebp - 0x4a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x100aefd0
nop dword [eax]
mov esi, dword [ebp - 0x4a0]
lea eax, [ebp - 0x244]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x100aefa9
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100aed8a
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x100aed8a
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 0x100aecc7
sub eax, edx
lea ecx, [ebp - 0x228]
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b2c00
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.100b38e0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
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 0x100aedbd
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100aed7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af04a
push edx
push ecx
call fcn.100becc4
add esp, 8
jmp 0x100aedb7
push 0
push 0x100f1e88
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.100b2e90
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
lea eax, [ebp - 0x240]
mov ecx, esp
push eax
call fcn.100b2700
sub esp, 0x18
lea eax, [ebp - 0x274]
mov ecx, esp
push eax
call fcn.100b2700
call fcn.10085d50
add esp, 0x30
test eax, eax
jle 0x100aef6d
sub esp, 0x18
mov ecx, esp
push 0x10101e90
call fcn.100b2700
lea ecx, [ebp - 0x4c0]
call fcn.10084620
add esp, 0x18
lea edx, [ebp - 0x240]
push eax
push ecx
lea ecx, [ebp - 0x25c]
call fcn.10086b50
add esp, 4
lea ecx, [ebp - 0x228]
mov edx, eax
call fcn.100b3330
add esp, 4
lea ecx, [ebp - 0x240]
push eax
call fcn.100b2640
mov edx, dword [ebp - 0x214]
cmp edx, 0x10
jb 0x100aee78
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aee6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af04a
push edx
push ecx
call fcn.100becc4
add esp, 8
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
cmp edx, 0x10
jb 0x100aeecd
mov ecx, dword [ebp - 0x25c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aeec3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af04a
push edx
push ecx
call fcn.100becc4
add esp, 8
mov edx, dword [ebp - 0x4ac]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], 0
cmp edx, 0x10
jb 0x100aef22
mov ecx, dword [ebp - 0x4c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aef18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af04a
push edx
push ecx
call fcn.100becc4
add esp, 8
cmp dword [ebp - 0x22c], 0x10
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100aef6d
test al, 0x10
je 0x100aef6d
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b2700
sub esp, 0x18
lea eax, [ebp - 0x240]
mov ecx, esp
push eax
call fcn.100b2700
call fcn.100ae090
add esp, 0x30
mov edx, dword [ebp - 0x22c]
cmp edx, 0x10
jb 0x100aefaf
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aef9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af04a
push edx
push ecx
call fcn.100becc4
add esp, 8
jmp 0x100aefaf
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 0x100aec50
push ebx
call edi
mov edx, dword [ebp - 0x260]
cmp edx, 0x10
jb 0x100af009
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aefff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af04a
push edx
push ecx
call fcn.100becc4
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100af039
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100af02f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af04a
push edx
push ecx
call fcn.100becc4
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be769
mov esp, ebp
pop ebp
ret
call fcn.100cb6d0
int3