Function at 0x10010894
Capabilities:
Check if file exists
Delete file
Delete registry value
Get file attributes

Disassembly:
push 0xa8
mov eax, 0x1005bc00
call fcn.10040d9a
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x84], ebx
mov esi, ecx
mov dword [ebp - 0x74], edi
cmp dword [eax + 0x14], ebx
jne 0x100108fe
push ebx
push ebx
lea eax, [ebp - 0x9c]
call fcn.10030a94
push eax
push str.param_err
push 4
push edi
mov dword [ebp - 4], 3
call fcn.1002b699
add esp, 0x10
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], bl
call fcn.1002fd55
mov eax, edi
jmp 0x100109fc
push eax
lea ecx, [ebp - 0x30]
call fcn.10001206
pop ecx
lea edx, [ebp - 0xb4]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.10010572
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1001092c
lea eax, [ebp - 0x2c]
push eax
push str.test_delete_id:_ls
call fcn.1003b6a0
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xa8]
pop ecx
mov esi, 0x124
pop ecx
cdq
mov ecx, esi
idiv ecx
mov dword [ebp - 0x78], ebx
cmp eax, ebx
je 0x1001099c
mov dword [ebp - 0x70], ebx
cmp ebx, eax
jb 0x10010962
call fcn.1003f4f4
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x70]
lea edi, [eax + ecx]
lea ecx, [ebp - 0x30]
mov eax, edi
call fcn.100131c7
test al, al
jne 0x10010a04
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xa8]
mov ecx, esi
cdq
idiv ecx
inc dword [ebp - 0x78]
add dword [ebp - 0x70], esi
cmp dword [ebp - 0x78], eax
jne 0x1001095b
push ebx
push ebx
lea eax, [ebp - 0x9c]
call fcn.10030a94
push eax
mov byte [ebp - 4], 0x18
push str.not_find_id
push 5
push dword [ebp - 0x74]
call fcn.1002b699
xor edi, edi
inc edi
add esp, 0x10
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x84], edi
mov byte [ebp - 4], 5
call fcn.1002fd55
lea esi, [ebp - 0xb4]
call fcn.100115ac
push dword [ebp - 0xb4]
call fcn.1003f52e
pop ecx
push ebx
push edi
lea esi, [ebp - 0x30]
call fcn.10004dfd
mov eax, dword [ebp - 0x74]
call fcn.10040e1d
ret 4
cmp dword [edi + 0x11c], ebx
je 0x10010ac4
lea eax, [edi + 0xe4]
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov eax, dword [eax]
lea esi, [ebp - 0x80]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], eax
call fcn.10010d5b
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
call fcn.10010ca0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x10010a46
lea eax, [ebp - 0x64]
push eax
push str.disable_uwp_autorun__key:_ls
call fcn.1003b6a0
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
pop ecx
pop ecx
jae 0x10010a5f
lea eax, [ebp - 0x64]
push ebx
push str.State
push eax
push reloc.WS2_32.dll_closesocket
call fcn.10028b5a
push ebx
push ebx
lea eax, [ebp - 0x9c]
call fcn.10030a94
push eax
push str.disable_uwp_porc_success
mov byte [ebp - 4], 9
push ebx
push dword [ebp - 0x74]
call fcn.1002b699
xor edi, edi
inc edi
add esp, 0x10
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x84], edi
mov byte [ebp - 4], 6
call fcn.1002fd55
push ebx
push edi
lea esi, [ebp - 0x4c]
call fcn.10004dfd
push ebx
push edi
lea esi, [ebp - 0x68]
call fcn.10004dfd
jmp 0x100109d8
cmp dword [edi + 0xa8], ebx
jne 0x10010c29
mov eax, dword [edi + 0xf8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 0xe4]
mov dword [ebp - 0x80], eax
mov esi, dword [edi + 0xf8]
mov eax, dword [edi + 0xe4]
cmp dword [ebp - 0x80], ebx
je 0x10010afa
cmp dword [ebp - 0x80], eax
je 0x10010aff
call fcn.1003f4f4
cmp dword [ebp - 0x7c], esi
je 0x10010be5
lea esi, [ebp - 0x80]
call fcn.10010d5b
cmp dword [eax + 0x38], 8
jb 0x10010b1b
mov eax, dword [eax + 0x24]
jmp 0x10010b1e
add eax, 0x24
lea esi, [ebp - 0x80]
mov dword [ebp - 0x70], eax
call fcn.10010d5b
cmp dword [eax + 0x1c], 8
jb 0x10010b34
mov eax, dword [eax + 8]
jmp 0x10010b37
add eax, 8
push dword [ebp - 0x70]
push eax
push str.test_delete_value__key:_ls__value:_ls
call fcn.1003b6a0
add esp, 0xc
lea esi, [ebp - 0x80]
call fcn.10010d5b
cmp dword [eax + 0x38], 8
jb 0x10010b5b
mov eax, dword [eax + 0x24]
jmp 0x10010b5e
add eax, 0x24
lea esi, [ebp - 0x80]
mov dword [ebp - 0x70], eax
call fcn.10010d5b
cmp dword [eax + 0x1c], 8
jb 0x10010b74
mov eax, dword [eax + 8]
jmp 0x10010b77
add eax, 8
lea esi, [ebp - 0x80]
mov dword [ebp - 0x78], eax
call fcn.10010d5b
push dword [ebp - 0x70]
push dword [ebp - 0x78]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
call fcn.10010d5b
cmp dword [eax + 0x38], 8
jb 0x10010ba0
mov eax, dword [eax + 0x24]
jmp 0x10010ba3
add eax, 0x24
lea esi, [ebp - 0x80]
mov dword [ebp - 0x70], eax
call fcn.10010d5b
cmp dword [eax + 0x1c], 8
jb 0x10010bb9
mov eax, dword [eax + 8]
jmp 0x10010bbc
add eax, 8
lea esi, [ebp - 0x80]
mov dword [ebp - 0x78], eax
call fcn.10010d5b
push dword [ebp - 0x70]
push dword [ebp - 0x78]
push dword [eax]
call fcn.10029094
add esp, 0xc
test al, al
jne 0x10010c02
call fcn.1001d043
jmp 0x10010ae4
push ebx
push ebx
lea eax, [ebp - 0x9c]
call fcn.10030a94
push eax
mov byte [ebp - 4], 0xc
push str.delete_registry_success
push ebx
jmp 0x100109b5
push str.delete_reg_cache_failed___
call fcn.1003b6a0
pop ecx
push ebx
push ebx
lea eax, [ebp - 0x9c]
call fcn.10030a94
push eax
mov byte [ebp - 4], 0xf
push str.delete_registry_failed
jmp 0x100109b3
cmp dword [edi + 0xe0], 8
jb 0x10010c3a
mov eax, dword [edi + 0xcc]
jmp 0x10010c40
lea eax, [edi + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0xe0], 8
jb 0x10010c58
mov edi, dword [edi + 0xcc]
jmp 0x10010c5e
add edi, 0xcc
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
cmp eax, 0xffffffff
push ebx
lea eax, [ebp - 0x9c]
je 0x10010c86
call fcn.10030a94
push eax
mov byte [ebp - 4], 0x12
push str.delete_proc_failed
jmp 0x100109b3
call fcn.10030a94
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 0x15
push str.delete_proc_success
jmp 0x10010bfc