Function at 0x100a3cd
Capabilities:
Delete registry key

Disassembly:
push 0x20
mov eax, 0x1039570
call fcn.010372df
mov dword [ebp - 0x20], ecx
xor edi, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call fcn.01014810
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x100a649
mov ebx, dword [ebp + 0xc]
cmp ebx, edi
je 0x100a649
mov esi, dword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push edi
push 0x1001a90
push 0x80000002
call esi
cmp eax, edi
je 0x100a469
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100968c
mov ebx, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a5ff
test byte [eax + 0x1c], 1
je 0x100a5ff
push ebx
push 0x10017f0
push 0x59
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x100a5ff
lea eax, [ebp - 0x14]
push eax
push 0x10008
push edi
push dword [ebp + 8]
push dword [ebp - 0x10]
call esi
cmp eax, edi
je 0x100a4b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100968c
mov ebx, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a5ff
test byte [eax + 0x1c], 1
je 0x100a5ff
push ebx
push 0x10017f0
push 0x5a
jmp 0x100a459
lea eax, [ebp - 0x18]
push eax
push 9
push edi
push ebx
push dword [ebp - 0x14]
call esi
cmp eax, edi
je 0x100a4f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100968c
mov ebx, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a5ff
test byte [eax + 0x1c], 1
je 0x100a5ff
push ebx
push 0x10017f0
push 0x5b
jmp 0x100a459
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
push 0x1001e1c
push dword [ebp - 0x18]
call esi
cmp eax, edi
jne 0x100a53e
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a534
test byte [eax + 0x1c], 4
je 0x100a534
push ebx
push dword [ebp + 8]
push 0x10017f0
push 0x5c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008c3a
mov ebx, 0x8007139f
jmp 0x100a5ff
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp + 0x10], edi
je 0x100a54f
push ebx
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push eax
call fcn.0100948e
mov ebx, eax
cmp ebx, edi
jge 0x100a588
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a5ff
test byte [eax + 0x1c], 1
je 0x100a5ff
push ebx
push 0x10017f0
push 0x5d
jmp 0x100a459
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.01014dd1
push 0x1001648
lea ecx, [ebp - 0x2c]
call fcn.01014dd1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.01014dd1
lea ecx, [ebp - 0x2c]
call fcn.01015d45
mov ecx, dword [ebp - 0x20]
push eax
call fcn.0100a07f
mov ebx, eax
cmp ebx, edi
jge 0x100a5f7
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a5ff
test byte [eax + 0x1c], 1
je 0x100a5ff
lea ecx, [ebp - 0x2c]
call fcn.01015d45
push eax
mov eax, dword [section..data]
push ebx
push 0x10017f0
push 0x5e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008b5a
jmp 0x100a5ff
push dword [ebp + 8]
push dword [ebp - 0x10]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], edi
je 0x100a612
push dword [ebp - 0x1c]
call esi
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x10], edi
je 0x100a61f
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x14], edi
je 0x100a62c
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x18], edi
je 0x100a639
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.01014822
mov eax, ebx
jmp 0x100a67e
mov eax, dword [section..data]
cmp eax, section..data
je 0x100a66d
test byte [eax + 0x1c], 1
je 0x100a66d
push 0x10017f0
push 0x58
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.01014822
mov eax, 0x80070057
call fcn.010373cb
ret 0xc