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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fb35b
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x1010eeb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x680], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov dword [ebp - 0x680], eax
lea eax, [ebp - 0x678]
push 0
push eax
mov dword [ebp - 0x67c], 0x22c
call fcn.100e00b0
add esp, 0xc
lea eax, [ebp - 0x67c]
push eax
push dword [ebp - 0x680]
call sub.KERNEL32.dll_Process32FirstW
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100d0814
nop word [eax + eax]
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x674], eax
jne 0x100d07fa
push dword [ebp - 0x664]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100d07f4
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100e00b0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0
push esi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x43c], 0
movups xmmword [ebp - 0x450], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d06e6
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.100cb7f0
lea eax, [ebp - 0x450]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.100d7580
add esp, 8
mov ecx, dword [ebp - 0x43c]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x100d0769
mov edx, dword [ebp - 0x450]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100d075f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d08da
push ecx
push edx
call fcn.100dde0b
add esp, 8
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100d0796
shr eax, 4
not al
test al, 1
jne 0x100d085b
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x100d07d7
mov edx, dword [ebp - 0x438]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d07cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d08da
push ecx
push edx
call fcn.100dde0b
add esp, 8
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
jmp 0x100d07fa
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x67c]
push eax
push dword [ebp - 0x680]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100d0660
push dword [ebp - 0x680]
call esi
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x100fddd0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.100cb750
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100de133
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x680]
call esi
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
push 0x7e
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.100e0750
add esp, 8
test eax, eax
lea eax, [ebp - 0x438]
push eax
je 0x100d0898
push edi
call fcn.100d1670
add esp, 8
jmp 0x100d089f
mov ecx, edi
call fcn.100cc590
mov ecx, dword [ebp - 0x424]
cmp ecx, 0x10
jb 0x100d083e
mov edx, dword [ebp - 0x438]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d08cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d08da
push ecx
push edx
call fcn.100dde0b
add esp, 8
jmp 0x100d083e
call fcn.100e246f
int3