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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446f4b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x106c
call fcn.00434bf0
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x103c], eax
mov edi, dword [ebp + 0xc]
mov byte [ebp + 0x10], 0
xor edx, edx
mov dword [ebp - 0x1024], edx
mov dword [ebp - 0x1028], edx
mov dword [ebp - 0x102c], 0x400
mov dword [ebp - 0x1038], edx
mov dword [ebp - 4], edx
cmp eax, edx
je 0x41b313
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, dx
jne 0x41b072
sub eax, esi
sar eax, 1
je 0x41b313
lea esi, [ebp - 0x1078]
call fcn.0041e1c0
mov byte [ebp - 4], 1
cmp byte [eax + 0x18], 0
sete bl
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.0041e2a0
test bl, bl
je 0x41b0b0
mov byte [ebp + 0x10], 0
test edi, edi
jne 0x41b0b9
mov edi, 0x80000002
mov ebx, dword [ebp - 0x103c]
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov dword [ebp - 0x1020], eax
test eax, eax
je 0x41b242
mov dword [ebp - 0x104c], 0xf003f
lea eax, [ebp - 0x1024]
push eax
push 0xf003f
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1020], eax
test eax, eax
je 0x41b116
mov dword [ebp - 0x1048], eax
push 0x459988
lea ecx, [ebp - 0x1048]
push ecx
call fcn.00430c48
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1028]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x1024]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x1020], eax
test eax, eax
je 0x41b15f
mov dword [ebp - 0x1044], eax
push 0x459988
lea ecx, [ebp - 0x1044]
push ecx
call fcn.00430c48
mov esi, dword [ebp - 0x1028]
add esi, 0xffffffff
mov dword [ebp - 0x1030], esi
test esi, esi
jl 0x41b209
push 0x800
push 0
lea edx, [ebp - 0x101c]
push edx
call fcn.00430500
add esp, 0xc
mov dword [ebp - 0x102c], 0x800
lea eax, [ebp - 0x105c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x102c]
push ecx
lea edx, [ebp - 0x101c]
push edx
push esi
mov eax, dword [ebp - 0x1024]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x1020], eax
test eax, eax
jne 0x41b201
push eax
mov ecx, dword [ebp - 0x1024]
push ecx
lea edx, [ebp - 0x101c]
push edx
call fcn.0041b000
add esp, 0xc
mov dword [ebp - 0x1020], eax
test eax, eax
je 0x41b201
mov dword [ebp - 0x1040], eax
push 0x459988
lea eax, [ebp - 0x1040]
push eax
call fcn.00430c48
sub esi, 1
jmp 0x41b168
mov eax, dword [ebp - 0x1024]
test eax, eax
je 0x41b224
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1024], 0
xor eax, eax
je 0x41b234
push eax
push 0x100
push ebx
push edi
call eax
jmp 0x41b23c
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x1020], eax
push 0x800
push 0
lea ecx, [ebp - 0x81c]
push ecx
call fcn.00430500
add esp, 0xc
push ebx
push 0x400
lea edx, [ebp - 0x81c]
push edx
call fcn.0042f50c
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyW]
mov esi, dword [ebp + 0x10]
push 0x5c
lea eax, [ebp - 0x81c]
push eax
call fcn.0043024a
add esp, 8
test eax, eax
je 0x41b2c8
mov word [eax], 0
push esi
push edi
lea edx, [ebp - 0x81c]
call fcn.0041b440
add esp, 8
test al, al
je 0x41b2c8
xor eax, eax
je 0x41b2ba
push eax
push 0x100
lea ecx, [ebp - 0x81c]
push ecx
push edi
call eax
jmp 0x41b2c4
lea edx, [ebp - 0x81c]
push edx
push edi
call ebx
test eax, eax
je 0x41b276
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1024]
test eax, eax
je 0x41b2e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1038]
test eax, eax
je 0x41b2f1
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x1020]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0042f002
mov esp, ebp
pop ebp
ret
mov eax, 0x57
mov dword [ebp - 0x1020], eax
mov dword [ebp - 0x1034], eax
push 0x459988
lea eax, [ebp - 0x1034]
push eax
call fcn.00430c48
mov ecx, dword [ebp - 0x1054]
mov dword [ebp - 0x1020], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, 0x41b34e
ret