Function at 0x100be03
Capabilities:
Check if file exists
Delete file
Get file attributes
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1010004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x210], edi
mov eax, dword [section..data]
mov esi, section..data
cmp eax, esi
je 0x100be57
test byte [eax + 0x1c], 8
je 0x100be57
push ecx
mov ebx, 0x100221c
push ebx
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006bb8
jmp 0x100be5c
mov ebx, 0x100221c
lea eax, [ebp - 0x214]
push eax
xor eax, eax
push eax
push 3
push eax
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAccessibility
push 0x80000001
mov ecx, edi
call fcn.0100aa30
mov edi, eax
test edi, edi
je 0x100bec2
mov eax, dword [section..data]
cmp eax, esi
je 0x100be9f
test byte [eax + 0x1c], 8
je 0x100be9f
push edi
push ebx
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ae83
test edi, edi
jle 0x100beaf
and edi, 0xffff
or edi, 0x80070000
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01009ae9
leave
ret 0xc
mov ecx, dword [ebp - 0x210]
push 1
push dword [ebp - 0x218]
push str.Configuration
call fcn.0100aae7
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x100bef7
mov eax, dword [section..data]
cmp eax, esi
je 0x100be9f
test byte [eax + 0x1c], 8
je 0x100be9f
push edi
push ebx
push 0x20
jmp 0x100be94
push 0x20019
push 0x1002450
push 0x80000001
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
call fcn.0100a16e
mov edi, eax
test edi, edi
je 0x100bf6b
mov eax, dword [section..data]
cmp eax, esi
je 0x100bf47
test byte [eax + 0x1c], 8
je 0x100bf47
push edi
push ebx
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ae83
test edi, edi
jle 0x100bf57
and edi, 0xffff
or edi, 0x80070000
mov esi, edi
lea ecx, [ebp - 0x228]
call fcn.0100a150
mov eax, esi
jmp 0x100beb1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x100243c
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x210], 0x104
call fcn.0100a1aa
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.0100a8b6
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.0100a8b6
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0100a8b6
push 0x100240c
lea ecx, [ebp - 0x210]
call fcn.0100a678
push 0x10023f0
lea ecx, [ebp - 0x214]
call fcn.0100a678
push 0x10023d0
lea ecx, [ebp - 0x21c]
call fcn.0100a678
push dword [ebp - 0x210]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 0xffffffff
je 0x100c06c
push 0x10023c4
push dword [ebp + 0xc]
push dword [ebp - 0x218]
call fcn.0100b29f
push dword [ebp - 0x210]
call edi
mov eax, dword [section..data]
cmp eax, esi
je 0x100c06c
test byte [eax + 0x1c], 0x10
je 0x100c06c
push 0x100221c
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ae5d
push dword [ebp - 0x214]
call ebx
cmp eax, 0xffffffff
je 0x100c0b5
push 0x10023b0
push dword [ebp + 0xc]
push dword [ebp - 0x218]
call fcn.0100b29f
push dword [ebp - 0x214]
call edi
mov eax, dword [section..data]
cmp eax, esi
je 0x100c0b5
test byte [eax + 0x1c], 0x10
je 0x100c0b5
push 0x100221c
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ae5d
push dword [ebp - 0x21c]
call ebx
cmp eax, 0xffffffff
je 0x100c0fe
push 0x1002390
push dword [ebp + 0xc]
push dword [ebp - 0x218]
call fcn.0100b29f
push dword [ebp - 0x21c]
call edi
mov eax, dword [section..data]
cmp eax, esi
je 0x100c0fe
test byte [eax + 0x1c], 0x10
je 0x100c0fe
push 0x100221c
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ae5d
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.01006a15
mov ecx, dword [ebp - 0x214]
add ecx, 0xfffffff0
call fcn.01006a15
mov ecx, dword [ebp - 0x210]
add ecx, 0xfffffff0
call fcn.01006a15
xor esi, esi
jmp 0x100bf59