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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x547746
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x5a5084]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x5a5084]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
mov edx, dword [ebp + 0x14]
mov eax, ebx
mov dword [esp + 0x458], esi
mov dword [esp + 0x30], edx
call fcn.00432f70
mov edi, eax
cmp edi, esi
jl 0x4336fa
cmp word [ebx], 0x7d
je 0x4336f8
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [esp + 0x1c], 1
call edi
mov esi, eax
neg esi
push str.ForceRemove
sbb esi, esi
push ebx
add esi, 1
call edi
test eax, eax
je 0x433174
test esi, esi
je 0x433284
mov ecx, dword [esp + 0x20]
mov eax, ebx
call fcn.00432f70
mov edi, eax
test edi, edi
jl 0x4336e9
cmp dword [ebp + 0x10], 0
je 0x433284
movzx ecx, word [ebx]
test cx, cx
mov dword [esp + 0x1c], 0
mov eax, ebx
je 0x4331c7
movzx ecx, cx
cmp cx, 0x5c
je 0x4331bf
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x4331a8
jmp 0x4331c7
test eax, eax
jne 0x433680
mov edi, 0x592d34
lea esp, [esp]
mov eax, dword [edi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x433203
add edi, 4
cmp edi, 0x592d64
jl 0x4331d0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
push ebx
lea ecx, [esp + 0x20]
call fcn.00433da0
mov dword [esp + 0x1c], 0
test esi, esi
je 0x433284
mov esi, dword [esp + 0x20]
mov eax, ebx
mov ecx, esi
call fcn.00432f70
mov edi, eax
test edi, edi
jl 0x433699
mov edi, ebx
mov ecx, esi
call fcn.00433cf0
mov edi, eax
test edi, edi
jl 0x433699
cmp word [ebx], 0x7b
jne 0x433612
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x433612
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
push 0
push edx
push eax
push ebx
mov ecx, esi
call fcn.004330c0
mov edi, eax
test edi, edi
jl 0x4336e9
mov eax, ebx
mov ecx, esi
call fcn.00432f70
mov edi, eax
test edi, edi
jl 0x4336e9
jmp 0x433612
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4332ad
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, ebx
call fcn.00432f70
mov edi, eax
test edi, edi
jl 0x4336e9
push 0x592d04
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4333bf
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x23c]
call fcn.00432f70
mov edi, eax
test edi, edi
jl 0x4336e9
mov ecx, dword [esp + 0x20]
mov eax, ebx
call fcn.00432f70
mov edi, eax
test edi, edi
jl 0x4336e9
cmp word [ebx], 0x3d
jne 0x433689
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x433344
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x45c], 1
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.00433770
mov edi, eax
cmp edi, esi
mov dword [esp + 0x14], esi
jl 0x43369f
mov byte [esp + 0x458], 0
jmp 0x433231
cmp dword [ebp + 0x14], esi
jne 0x4333a5
cmp dword [esp + 0x14], esi
je 0x4333a5
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push 0x20006
push esi
push esi
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4336d9
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x23c]
push ecx
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43339a
cmp eax, 2
jne 0x4336d9
test esi, esi
je 0x4333a5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov edi, ebx
call fcn.00433cf0
mov edi, eax
test edi, edi
jl 0x4336e9
jmp 0x433612
movzx ecx, word [ebx]
xor edi, edi
cmp cx, di
mov eax, ebx
je 0x4333ef
movzx ecx, cx
mov edi, edi
cmp cx, 0x5c
je 0x4333e7
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, di
jne 0x4333d0
jmp 0x4333ef
cmp eax, edi
jne 0x433689
cmp dword [ebp + 0x10], edi
je 0x4334ca
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x14]
push edx
push 0x2001f
push edi
push ebx
push eax
mov dword [esp + 0x28], edi
call esi
cmp eax, edi
jne 0x433438
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, edi
je 0x43342a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
je 0x43348a
xor edi, edi
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0x20019
push edi
push ebx
push eax
mov dword [esp + 0x28], edi
call esi
cmp eax, edi
jne 0x433470
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, edi
je 0x433464
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
je 0x43348a
mov edx, dword [esp + 0x24]
push edx
mov edx, ebx
lea esi, [esp + 0x1c]
call fcn.00433720
mov edi, eax
test edi, edi
jne 0x4336b3
mov esi, dword [esp + 0x20]
mov eax, ebx
mov ecx, esi
call fcn.00432f70
mov edi, eax
test edi, edi
jl 0x4336e9
cmp word [ebx], 0x3d
jne 0x433231
push 0
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov edx, esi
call fcn.00433770
mov edi, eax
test edi, edi
jl 0x4336e9
jmp 0x433231
cmp dword [ebp + 0x14], edi
jne 0x4335ce
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push edi
push ebx
push edx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x43350b
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, edi
je 0x433503
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x43351a
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x3c]
push 0x104
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
push eax
call fcn.00403ce0
mov esi, dword [esp + 0x34]
add esp, 0x14
mov eax, ebx
mov ecx, esi
call fcn.00432f70
mov edi, eax
test edi, edi
jl 0x4336e9
mov edi, ebx
mov ecx, esi
call fcn.00433cf0
mov edi, eax
test edi, edi
jl 0x4336e9
cmp word [ebx], 0x7b
jne 0x4335a8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4335a8
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push 0
push ecx
push ebx
mov ecx, esi
call fcn.004330c0
mov edi, eax
test edi, edi
jge 0x433595
cmp dword [ebp + 0x14], 0
je 0x4336e9
mov eax, ebx
mov ecx, esi
call fcn.00432f70
mov edi, eax
test edi, edi
jl 0x4336e9
mov ecx, dword [esp + 0x1c]
cmp ecx, 2
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x14], eax
je 0x433612
test ecx, ecx
je 0x4335db
test eax, eax
jne 0x433612
mov eax, ecx
call fcn.00433f30
mov edi, eax
jmp 0x4336e9
mov dword [esp + 0x1c], 2
jmp 0x433513
test eax, eax
mov esi, dword [esp + 0x18]
je 0x433621
mov ecx, esi
call fcn.00433ef0
test eax, eax
je 0x433621
lea ebx, [esp + 0x34]
call fcn.00433d60
test eax, eax
je 0x43360e
cmp dword [esp + 0x14], 0
je 0x43360e
mov edx, ebx
push edx
lea ecx, [esp + 0x1c]
call fcn.00433da0
mov ebx, dword [esp + 0x28]
cmp word [ebx], 0x7d
jne 0x433141
jmp 0x4336e9
mov ecx, esi
call fcn.00433ef0
test esi, esi
mov dword [esp + 0x1c], eax
je 0x43364b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0
jne 0x4336c5
cmp dword [esp + 0x14], 0
je 0x433612
cmp dword [esp + 0x1c], 0
jne 0x433612
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
mov dword [esp + 0x14], 0
jne 0x4336d9
lea esi, [esp + 0x14]
call fcn.004078a0
jmp 0x433612
lea esi, [esp + 0x1c]
call fcn.004078a0
lea esi, [esp + 0x18]
call fcn.004078a0
mov eax, 0x80020009
jmp 0x4336fa
lea esi, [esp + 0x1c]
jmp 0x4336e4
lea esi, [esp + 0x14]
call fcn.004078a0
lea esi, [esp + 0x18]
call fcn.004078a0
jmp 0x4336f8
lea esi, [esp + 0x18]
call fcn.004078a0
mov eax, edi
call fcn.00433f30
jmp 0x4336fa
lea esi, [esp + 0x18]
call fcn.004078a0
mov eax, dword [esp + 0x2c]
call fcn.00433f30
jmp 0x4336fa
call fcn.00433f30
mov edi, eax
lea esi, [esp + 0x14]
call fcn.004078a0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4336f8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.004726a1
mov esp, ebp
pop ebp
ret 0x10