Function at 0x447853
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x5c
xor esi, esi
push esi
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.DLL_StrRChrW]
mov edi, eax
cmp edi, esi
jne 0x4479f5
push 4
push 0x2001b
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
call fcn.00438f4b
mov ebx, eax
add esp, 0x14
cmp ebx, esi
jne 0x447a29
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.DLL_RegQueryInfoKeyW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jae 0x4478d3
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax*4 + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043dd9c
cmp dword [ebp - 0xc], esi
jne 0x447999
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
dec eax
cmp eax, esi
mov dword [ebp - 8], eax
jl 0x447943
mov eax, dword [ebp - 0x10]
push esi
push esi
push esi
lea eax, [eax*4 + 1]
push esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebp - 8]
mov word [edi], si
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.DLL_RegEnumValueW]
mov ebx, eax
cmp ebx, esi
jne 0x44793e
push edi
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.DLL_RegDeleteValueW]
mov ebx, eax
cmp ebx, esi
je 0x44793e
mov dword [ebp - 0xc], ebx
dec dword [ebp - 8]
jns 0x4478fd
mov eax, dword [ebp - 0x1c]
dec eax
cmp eax, esi
mov dword [ebp - 8], eax
jl 0x447999
mov eax, dword [ebp - 0x10]
push esi
push esi
push esi
lea eax, [eax*4 + 1]
push esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebp - 8]
mov word [edi], si
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.DLL_RegEnumKeyExW]
mov ebx, eax
cmp ebx, esi
je 0x44797e
mov dword [ebp - 0xc], ebx
jmp 0x447994
cmp word [edi], si
je 0x447994
push edi
push dword [ebp - 4]
call dword [0x4c1120]
cmp eax, esi
je 0x447994
mov dword [ebp - 0xc], eax
dec dword [ebp - 8]
jns 0x44794e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
cmp dword [0x4c1124], esi
jne 0x4479ca
push esi
push 0x4c1124
push 0x4ae730
push 0x4a87f8
call fcn.004391ea
add esp, 0x10
cmp dword [0x4c1124], esi
je 0x4479e1
movzx eax, word [0x4c0bc8]
push esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4c1124]
mov ebx, eax
cmp ebx, esi
je 0x4479e8
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x20]
call fcn.00437e1a
mov eax, dword [ebp - 0xc]
jmp 0x447a4f
mov eax, edi
sub eax, ebx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.004464b4
push 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00438f4b
mov ebx, eax
add esp, 0x14
cmp ebx, esi
je 0x447a2d
lea ecx, [ebp - 0x10]
call fcn.00437e1a
mov eax, ebx
jmp 0x447a4f
add edi, 2
push edi
push dword [ebp - 4]
call dword [0x4c1120]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
lea ecx, [ebp - 0x10]
call fcn.00437e1a
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret