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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x4e8
mov eax, dword [0x100fc008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
sub esp, 0x18
mov ecx, esp
push 0x100fe2c8
call fcn.100ae9d0
lea ecx, [ebp - 0x298]
call fcn.10083b80
add esp, 0x18
mov dword [ebp - 0x4c8], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x4c8]
push eax
push esi
mov dword [ebp - 0x4cc], esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x100ab518
lea eax, [ebp - 0x4c8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x100ab518
nop word [eax + eax]
mov esi, dword [ebp - 0x4c0]
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x100ab4eb
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100ab2da
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x100ab2da
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 0x100ab217
sub eax, edx
lea ecx, [ebp - 0x228]
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100aeed0
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 - 0x280]
call fcn.100afb10
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
movaps xmm0, xmmword [ebp - 0x280]
mov edx, dword [ebp - 0x214]
movaps xmmword [ebp - 0x250], xmm0
movq xmm0, qword [ebp - 0x270]
movq qword [ebp - 0x240], xmm0
cmp edx, 8
jb 0x100ab30d
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ab2ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ab564
push edx
push ecx
call fcn.100baf94
add esp, 8
jmp 0x100ab307
push 0
push 0x100ede68
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
call fcn.100af160
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
lea eax, [ebp - 0x250]
mov ecx, esp
push eax
call fcn.100ae9d0
sub esp, 0x18
lea eax, [ebp - 0x298]
mov ecx, esp
push eax
call fcn.100ae9d0
call fcn.100852b0
add esp, 0x30
test eax, eax
jle 0x100ab4af
sub esp, 0x18
mov ecx, esp
push 0x100fde60
call fcn.100ae9d0
lea ecx, [ebp - 0x4e4]
call fcn.10083b80
add esp, 0x18
lea edx, [ebp - 0x250]
push eax
push ecx
lea ecx, [ebp - 0x280]
call fcn.10086050
add esp, 4
lea ecx, [ebp - 0x228]
mov edx, eax
call fcn.100af560
add esp, 4
lea ecx, [ebp - 0x250]
push eax
call fcn.100ae910
mov edx, dword [ebp - 0x214]
cmp edx, 0x10
jb 0x100ab3c8
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ab3be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ab564
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
cmp edx, 0x10
jb 0x100ab41d
mov ecx, dword [ebp - 0x280]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ab413
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ab564
push edx
push ecx
call fcn.100baf94
add esp, 8
mov edx, dword [ebp - 0x4d0]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
cmp edx, 0x10
jb 0x100ab472
mov ecx, dword [ebp - 0x4e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ab468
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ab564
push edx
push ecx
call fcn.100baf94
add esp, 8
cmp dword [ebp - 0x23c], 0x10
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100ab4af
test al, 0x10
je 0x100ab4af
sub esp, 0x18
lea eax, [ebp - 0x250]
mov ecx, esp
push eax
call fcn.100ae9d0
call fcn.100aa690
add esp, 0x18
mov edx, dword [ebp - 0x23c]
cmp edx, 0x10
jb 0x100ab4f1
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ab4df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ab564
push edx
push ecx
call fcn.100baf94
add esp, 8
jmp 0x100ab4f1
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x4cc]
lea eax, [ebp - 0x4c8]
push eax
push esi
mov dword [ebp - 0x254], 0
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x100ab1a0
push esi
call edi
mov edx, dword [ebp - 0x284]
cmp edx, 0x10
jb 0x100ab551
mov ecx, dword [ebp - 0x298]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ab547
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ab564
push edx
push ecx
call fcn.100baf94
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100baa39
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100c79a0
int3