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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004fb26
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10067068]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x10067068]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
xor edi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x60]
push edx
push esi
mov dword [esp + 0x27c], esi
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x1002ac3d
xor eax, eax
mov word [esp + 0x30], ax
mov edi, 7
lea eax, [esp + 0x4c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002aba0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.1000cf60
mov ecx, esi
lea ebx, [esp + 0x20]
mov byte [esp + 0x260], 1
call fcn.10028aa0
mov byte [esp + 0x260], 0
cmp dword [esp + 0x44], 8
jb 0x1002abed
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esp + 0x1c]
xor edx, edx
push edx
push edx
push edx
push edx
lea ecx, [esp + 0x24]
push ecx
mov word [esp + 0x44], dx
inc eax
lea edx, [esp + 0x60]
push edx
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x34], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test ebx, ebx
je 0x1002ab7a
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp ebx, 0x103
jne 0x1002acca
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x1002ac76
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [esi + 0x14], 8
jb 0x1002ac61
mov eax, dword [esi]
jmp 0x1002ac63
mov eax, esi
mov ecx, dword [esp + 0x18]
push eax
push ecx
call ebx
add esi, 0x1c
cmp esi, edi
jne 0x1002ac57
mov eax, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x260], 0xffffffff
cmp eax, ebx
je 0x1002acc6
mov esi, eax
cmp eax, edi
je 0x1002acbc
lea ecx, [ecx]
cmp dword [esi + 0x14], 8
jb 0x1002aca6
mov edx, dword [esi]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x24]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
add esi, 0x1c
cmp esi, edi
jne 0x1002ac90
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
jmp 0x1002ad1c
mov dword [esp + 0x260], 0xffffffff
test esi, esi
je 0x1002ad1a
cmp dword [esp + 0x20], edi
je 0x1002ad0c
nop
cmp dword [esi + 0x14], 8
jb 0x1002acf2
mov edx, dword [esi]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
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, edi
jne 0x1002ace0
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.10048188
mov esp, ebp
pop ebp
ret 4