Function at 0xa7b5d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xabc3fc
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0xae6d50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x49
xor eax, eax
xor esi, esi
push 0xadcc50
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], esi
mov word [ebp - 0x248], ax
call fcn.00a51740
mov dword [ebp - 4], esi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], esi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x234], 8
mov eax, dword [ebp - 0x248]
jae 0xa7b65d
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x268]
push ecx
push 0xf003f
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa7b8fc
mov ecx, dword [ebp - 0x268]
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x294]
push edx
push esi
push esi
lea eax, [ebp - 0x270]
push eax
push esi
push esi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x270]
cmp eax, esi
je 0xa7b8b1
xor edi, edi
mov dword [ebp - 0x26c], edi
cmp eax, esi
jbe 0xa7b856
lea ebx, [edi + 2]
mov ecx, dword [ebp - 0x268]
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x210]
push eax
push edi
push ecx
mov dword [ebp - 0x290], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
jne 0xa7b83b
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x248]
xor edx, edx
push eax
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], esi
mov word [ebp - 0x22c], dx
call fcn.00a515e0
push 1
mov eax, 0xac43e0
lea esi, [ebp - 0x22c]
mov byte [ebp - 4], bl
call fcn.00a62040
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0xa7b741
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
lea esi, [ebp - 0x22c]
call fcn.00a62040
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0xa7b772
mov eax, esi
lea ecx, [ebp - 0x274]
push ecx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa7b81f
push eax
mov ecx, dword [ebp - 0x274]
push eax
push eax
push eax
lea edx, [ebp - 0x288]
push edx
push eax
push eax
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x28c], 0
jne 0xa7b80c
cmp dword [ebp - 0x288], 0
jne 0xa7b80c
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x264]
call fcn.00a5ead0
lea ecx, [ebp - 0x264]
lea edi, [ebp - 0x284]
mov byte [ebp - 4], 3
call fcn.00a5ecc0
cmp dword [ebp - 0x250], 8
jb 0xa7b80c
mov eax, dword [ebp - 0x264]
push eax
call fcn.00a9e60d
add esp, 4
mov ecx, dword [ebp - 0x274]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x26c]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x218], 8
jb 0xa7b83b
mov edx, dword [ebp - 0x22c]
push edx
call fcn.00a9e60d
add esp, 4
inc edi
xor esi, esi
mov dword [ebp - 0x26c], edi
cmp edi, dword [ebp - 0x270]
jb 0xa7b6c3
mov ebx, dword [ebp - 0x280]
mov ecx, ebx
sub ecx, dword [ebp - 0x284]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
xor edi, edi
add esi, edx
je 0xa7b8ab
mov ebx, dword [ebp - 0x284]
cmp esi, edi
jbe 0xa7b930
cmp dword [ebx + 0x14], 8
jb 0xa7b88d
mov eax, dword [ebx]
jmp 0xa7b88f
mov eax, ebx
push eax
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
inc edi
add ebx, 0x1c
cmp esi, edi
ja 0xa7b883
mov ebx, dword [ebp - 0x280]
mov edi, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0xa7b8fc
mov esi, edi
cmp edi, ebx
je 0xa7b8f3
cmp dword [esi + 0x14], 8
jb 0xa7b8d9
mov edx, dword [esi]
push edx
call fcn.00a9e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x1c
cmp esi, ebx
jne 0xa7b8c8
push edi
call fcn.00a9e60d
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0xa7b914
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.00a9e60d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00a9e488
mov esp, ebp
pop ebp
ret
push 0xadd254
call fcn.00a89ea8
int3