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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d1c6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10063068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x214]
push edx
push esi
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x1002b595
xor eax, eax
mov word [ebp - 0x230], ax
mov edi, 7
lea eax, [ebp - 0x214]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], 0
lea edx, [eax + 2]
jmp 0x1002b4e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002b4e0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x214]
lea esi, [ebp - 0x230]
call fcn.1000a770
mov ecx, esi
lea ebx, [ebp - 0x24c]
mov byte [ebp - 4], 1
call fcn.10026b00
mov byte [ebp - 4], 0
cmp dword [ebp - 0x21c], 8
jb 0x1002b52f
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x23c]
xor edx, edx
push edx
push edx
push edx
push edx
lea ecx, [ebp - 0x234]
push ecx
mov word [ebp - 0x230], dx
inc eax
lea edx, [ebp - 0x214]
push edx
push eax
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x238]
push eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x234], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test ebx, ebx
je 0x1002b4b4
mov edi, dword [ebp - 0x248]
mov esi, dword [ebp - 0x24c]
cmp ebx, 0x103
jne 0x1002b623
mov eax, dword [ebp - 0x24c]
cmp eax, edi
je 0x1002b5d4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [esi + 0x14], 8
jb 0x1002b5bb
mov eax, dword [esi]
jmp 0x1002b5bd
mov eax, esi
mov ecx, dword [ebp - 0x238]
push eax
push ecx
call ebx
add esi, 0x1c
cmp esi, edi
jne 0x1002b5b1
mov eax, dword [ebp - 0x24c]
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1002b61f
mov esi, eax
cmp eax, edi
je 0x1002b615
cmp dword [esi + 0x14], 8
jb 0x1002b5ff
mov edx, dword [esi]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov eax, dword [ebp - 0x24c]
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 0x1002b5e7
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
jmp 0x1002b674
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1002b672
cmp dword [ebp - 0x24c], edi
je 0x1002b662
cmp dword [esi + 0x14], 8
jb 0x1002b648
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 0x1002b636
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10045a28
mov esp, ebp
pop ebp
ret 4