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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448606
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x45a028]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x45a028]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x58]
push edx
push esi
mov dword [esp + 0x274], esi
push eax
mov dword [esp + 0x30], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x425078
xor eax, eax
mov word [esp + 0x28], ax
mov edi, 7
lea eax, [esp + 0x44]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424fe5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x2c]
call fcn.00405f90
lea ecx, [esp + 0x28]
lea ebx, [esp + 0x14]
mov byte [esp + 0x258], 1
call fcn.00417ef0
mov byte [esp + 0x258], 0
cmp dword [esp + 0x3c], 8
jb 0x425034
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor edx, edx
push edx
push edx
push edx
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x58]
push ecx
mov word [esp + 0x40], dx
mov edx, dword [esp + 0x3c]
inc esi
push esi
push edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], 0
mov dword [esp + 0x30], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test ebx, ebx
je 0x424fc6
mov edi, dword [esp + 0x18]
cmp ebx, 0x103
jne 0x42510a
mov esi, dword [esp + 0x14]
mov eax, esi
cmp eax, edi
je 0x4250b3
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [esi + 0x14], 8
jb 0x42509e
mov eax, dword [esi]
jmp 0x4250a0
mov eax, esi
push eax
mov eax, dword [esp + 0x28]
push eax
call ebx
add esi, 0x1c
cmp esi, edi
jne 0x425094
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x258], 0xffffffff
cmp eax, ebx
je 0x425106
mov esi, eax
cmp eax, edi
je 0x4250fc
lea ebx, [ebx]
cmp dword [esi + 0x14], 8
jb 0x4250e6
mov ecx, dword [esi]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
mov eax, dword [esp + 0x18]
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0x4250d0
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor eax, eax
jmp 0x42515d
mov dword [esp + 0x258], 0xffffffff
mov esi, dword [esp + 0x14]
test esi, esi
je 0x42515b
cmp esi, edi
je 0x42514d
cmp dword [esi + 0x14], 8
jb 0x425133
mov eax, dword [esi]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
add esi, 0x1c
cmp esi, edi
jne 0x425121
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00441db6
mov esp, ebp
pop ebp
ret 4