Function at 0x1007f50
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 [0x100d004]
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 0x1007fa4
test byte [eax + 0x1c], 8
je 0x1007fa4
push ecx
mov ebx, 0x1001bdc
push ebx
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010032c3
jmp 0x1007fa9
mov ebx, 0x1001bdc
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.01006a88
mov edi, eax
test edi, edi
je 0x100800f
mov eax, dword [section..data]
cmp eax, esi
je 0x1007fec
test byte [eax + 0x1c], 8
je 0x1007fec
push edi
push ebx
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006c61
test edi, edi
jle 0x1007ffc
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.0100611f
leave
ret 0xc
mov ecx, dword [ebp - 0x210]
push 1
push dword [ebp - 0x218]
push str.Configuration
call fcn.01003762
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x1008044
mov eax, dword [section..data]
cmp eax, esi
je 0x1007fec
test byte [eax + 0x1c], 8
je 0x1007fec
push edi
push ebx
push 0x20
jmp 0x1007fe1
push 0x20019
push 0x1001d18
push 0x80000001
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
call fcn.0100364e
mov edi, eax
test edi, edi
je 0x10080b8
mov eax, dword [section..data]
cmp eax, esi
je 0x1008094
test byte [eax + 0x1c], 8
je 0x1008094
push edi
push ebx
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006c61
test edi, edi
jle 0x10080a4
and edi, 0xffff
or edi, 0x80070000
mov esi, edi
lea ecx, [ebp - 0x228]
call fcn.01003630
mov eax, esi
jmp 0x1007ffe
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 0x1001d04
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x210], 0x104
call fcn.010036c9
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.01007a42
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.01007a42
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x21c]
call fcn.01007a42
push 0x1001cd4
lea ecx, [ebp - 0x210]
call fcn.01007873
push 0x1001cb8
lea ecx, [ebp - 0x214]
call fcn.01007873
push 0x1001c98
lea ecx, [ebp - 0x21c]
call fcn.01007873
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 0x10081b9
push 0x1001c8c
push dword [ebp + 0xc]
push dword [ebp - 0x218]
call fcn.01007055
push dword [ebp - 0x210]
call edi
mov eax, dword [section..data]
cmp eax, esi
je 0x10081b9
test byte [eax + 0x1c], 0x10
je 0x10081b9
push 0x1001bdc
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006c3b
push dword [ebp - 0x214]
call ebx
cmp eax, 0xffffffff
je 0x1008202
push 0x1001c78
push dword [ebp + 0xc]
push dword [ebp - 0x218]
call fcn.01007055
push dword [ebp - 0x214]
call edi
mov eax, dword [section..data]
cmp eax, esi
je 0x1008202
test byte [eax + 0x1c], 0x10
je 0x1008202
push 0x1001bdc
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006c3b
push dword [ebp - 0x21c]
call ebx
cmp eax, 0xffffffff
je 0x100824b
push 0x1001c58
push dword [ebp + 0xc]
push dword [ebp - 0x218]
call fcn.01007055
push dword [ebp - 0x21c]
call edi
mov eax, dword [section..data]
cmp eax, esi
je 0x100824b
test byte [eax + 0x1c], 0x10
je 0x100824b
push 0x1001bdc
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006c3b
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0100425c
mov ecx, dword [ebp - 0x214]
add ecx, 0xfffffff0
call fcn.0100425c
mov ecx, dword [ebp - 0x210]
add ecx, 0xfffffff0
call fcn.0100425c
xor esi, esi
jmp 0x10080a6