Function at 0x106ad26
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x1075004]
mov edi, 0x1075004
mov esi, 0x10064f8
cmp eax, edi
je 0x106ad65
test byte [eax + 0x1c], 2
je 0x106ad65
cmp byte [eax + 0x19], 5
jb 0x106ad65
push esi
push 0x69
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
lea eax, [ebp - 8]
push eax
push 0x20006
push ebx
push 0x1006948
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
xor eax, eax
cmp ebx, eax
je 0x106adb7
mov eax, dword [0x1075004]
cmp eax, edi
je 0x106b02f
test byte [eax + 0x1c], 2
je 0x106b02f
cmp byte [eax + 0x19], 2
jb 0x106b02f
push ebx
push esi
push 0x6a
push dword [eax + 0x14]
push dword [eax + 0x10]
jmp 0x106b02a
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0x2000000
push eax
push eax
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test ebx, ebx
je 0x106ae0f
mov eax, dword [0x1075004]
cmp eax, edi
je 0x106af7d
test byte [eax + 0x1c], 2
je 0x106af7d
cmp byte [eax + 0x19], 2
jb 0x106af7d
push ebx
push dword [ebp + 0xc]
push esi
push 0x6b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091cb
jmp 0x106af7d
push dword [ebp + 0xc]
push 0x1006594
push dword [ebp - 4]
call fcn.01060035
test eax, eax
jne 0x106ae55
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x106af7d
test byte [eax + 0x1c], 2
je 0x106af7d
cmp byte [eax + 0x19], 2
jb 0x106af7d
push ebx
push esi
push 0x6c
jmp 0x106af4a
push dword [ebp + 0x10]
push 0x10065cc
push dword [ebp - 4]
call fcn.01060055
test eax, eax
jne 0x106ae9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x106af7d
test byte [eax + 0x1c], 2
je 0x106af7d
cmp byte [eax + 0x19], 2
jb 0x106af7d
push ebx
push esi
push 0x6d
jmp 0x106af4a
push dword [ebp + 0x14]
push 0x10065b0
push dword [ebp - 4]
call fcn.01060035
test eax, eax
jne 0x106aede
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x106af7d
test byte [eax + 0x1c], 2
je 0x106af7d
cmp byte [eax + 0x19], 2
jb 0x106af7d
push ebx
push esi
push 0x6e
jmp 0x106af4a
push dword [ebp + 8]
push 0x1006588
push dword [ebp - 4]
call fcn.01060035
test eax, eax
jne 0x106af15
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x106af7d
test byte [eax + 0x1c], 2
je 0x106af7d
cmp byte [eax + 0x19], 2
jb 0x106af7d
push ebx
push esi
push 0x6f
jmp 0x106af4a
push dword [ebp + 0x18]
push 0x10065e0
push dword [ebp - 4]
call fcn.0105ff37
test eax, eax
jne 0x106af57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x106af7d
test byte [eax + 0x1c], 2
je 0x106af7d
cmp byte [eax + 0x19], 2
jb 0x106af7d
push ebx
push esi
push 0x70
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
jmp 0x106af7d
mov eax, dword [0x1075004]
cmp eax, edi
je 0x106afbf
test byte [eax + 0x1c], 2
je 0x106afbf
cmp byte [eax + 0x19], 5
jb 0x106afbf
push dword [ebp + 0xc]
push esi
push 0x71
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100915e
xor eax, eax
cmp ebx, eax
je 0x106afbf
cmp dword [ebp - 8], eax
je 0x106aff7
push eax
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x106afbf
mov ecx, dword [0x1075004]
cmp ecx, edi
je 0x106afbf
test byte [ecx + 0x1c], 2
je 0x106afbf
cmp byte [ecx + 0x19], 2
jb 0x106afbf
push eax
push esi
push 0x72
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101463a
cmp dword [ebp - 8], 0
je 0x106aff7
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x106aff7
mov ecx, dword [0x1075004]
cmp ecx, edi
je 0x106aff7
test byte [ecx + 0x1c], 2
je 0x106aff7
cmp byte [ecx + 0x19], 2
jb 0x106aff7
push eax
push esi
push 0x73
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101463a
cmp dword [ebp - 4], 0
je 0x106b02f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x106b02f
mov ecx, dword [0x1075004]
cmp ecx, edi
je 0x106b02f
test byte [ecx + 0x1c], 2
je 0x106b02f
cmp byte [ecx + 0x19], 2
jb 0x106b02f
push eax
push esi
push 0x74
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101463a
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14