Function at 0x450dc0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x529ed1
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x56fcac]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x56fcac]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push edi
lea esi, [esp + 0x28]
mov dword [esp + 0xb4], eax
call fcn.00455c40
cmp dword [eax + 0x18], 8
jb 0x450e29
mov ebx, dword [eax + 4]
jmp 0x450e2c
lea ebx, [eax + 4]
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, dword [edi + 0x20]
je 0x450e46
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0x2001f
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x450e74
cmp eax, 2
mov dword [esp + 0x18], eax
jne 0x450e78
push ebx
push esi
lea esi, [esp + 0x1c]
call fcn.004014e0
jmp 0x450e82
mov al, 1
jmp 0x450e82
mov dword [esp + 0x14], 0
xor al, al
test al, al
sete bl
cmp dword [esp + 0x3c], 8
jb 0x450e9b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004aaa59
add esp, 4
test bl, bl
je 0x450f6b
mov eax, dword [esp + 0x18]
cmp eax, 5
je 0x451111
xor ecx, ecx
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ecx
mov word [esp + 0x88], cx
push eax
push str.Operate_registry_failed__d_
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb8], 1
call fcn.00404ec0
add esp, 8
xor eax, eax
lea ecx, [esp + 0x84]
lea edx, [esp + 0x68]
call fcn.0043f0e0
mov byte [esp + 0xb0], 2
cmp dword [eax + 0x18], 0x10
jb 0x450f0e
mov edx, dword [eax + 4]
jmp 0x450f11
lea edx, [eax + 4]
mov eax, edx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea esi, [eax + 1]
jmp 0x450f30
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x450f30
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00402890
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], 3
call fcn.00450a40
push 0x561cec
lea eax, [esp + 0x44]
push eax
call fcn.004eae0a
cmp byte [edi + 0x40], 0
je 0x450fab
push edi
lea esi, [esp + 0x28]
call fcn.00455c40
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x450f8a
mov eax, dword [eax + 4]
jmp 0x450f8d
add eax, 4
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [esp + 0x3c], esi
jb 0x450fab
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004aaa59
add esp, 4
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.0042d570
test eax, eax
jbe 0x45109f
mov dword [esp + 0x20], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x450fef
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x1c], eax
jb 0x450ff4
call fcn.004ec14b
mov ebx, dword [edi + 4]
add ebx, dword [esp + 0x20]
lea esi, [esp + 0x24]
cmp byte [ebx + 0x68], 0
push ebx
je 0x45103e
call fcn.0043d330
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x45101a
mov eax, dword [eax + 4]
jmp 0x45101d
add eax, 4
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x451031
mov dword [esp + 0x18], eax
cmp dword [esp + 0x3c], esi
jb 0x451080
mov eax, dword [esp + 0x28]
push eax
jmp 0x451078
call fcn.0043d330
mov byte [esp + 0xb0], 4
cmp dword [eax + 0x18], 8
jb 0x451056
mov eax, dword [eax + 4]
jmp 0x451059
add eax, 4
push ebx
push eax
lea ebx, [esp + 0x1c]
call fcn.004015b0
mov byte [esp + 0xb0], 0
cmp dword [esp + 0x3c], 8
jb 0x451080
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004aaa59
add esp, 4
mov esi, dword [esp + 0x1c]
add dword [esp + 0x20], 0x70
add esi, 1
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.0042d570
cmp esi, eax
jb 0x450fca
cmp byte [ebp + 0xc], 0
je 0x451111
xor esi, esi
xor ebx, ebx
lea esp, [esp]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x451111
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x451111
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4510f2
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4510f7
call fcn.004ec14b
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0x14]
push edx
add eax, ebx
push eax
call fcn.00450dc0
add esp, 8
add esi, 1
add ebx, 0x44
jmp 0x4510b0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x451120
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004ead41
mov esp, ebp
pop ebp
ret