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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49f4d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x224c
call fcn.00442250
push ebx
mov eax, ecx
xor ecx, ecx
push esi
mov ebx, ecx
mov dword [esp + 0xc], eax
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov edi, dword [ebp + 8]
mov dword [esp + 0x2264], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x4c], ecx
mov ecx, eax
push edi
call fcn.00429b7f
mov esi, eax
test esi, esi
js 0x42aa0a
push 0x7d
pop eax
cmp word [edi], ax
je 0x42a9fb
xor eax, eax
push 0x4bbcdc
inc eax
push edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4bbcb0
sbb esi, esi
inc esi
push edi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x42a561
test esi, esi
je 0x42a60b
mov ecx, dword [esp + 0x10]
push edi
call fcn.00429b7f
mov esi, eax
test esi, esi
js 0x42a9fb
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x42a60d
push 0x5c
pop edx
mov ecx, edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.00429b2a
test eax, eax
jne 0x42a9f6
push edi
call fcn.0042a077
test eax, eax
je 0x42a5cd
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x28]
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.004294b3
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
cmp dword [esp + 0x14], esi
je 0x42a605
mov ecx, dword [esp + 0x10]
push edi
call fcn.00429b7f
mov esi, eax
test esi, esi
js 0x42a9fb
mov ecx, dword [esp + 0x10]
push edi
call fcn.0042a0dd
mov esi, eax
test esi, esi
js 0x42a9fb
and dword [esp + 0x2c], 0
jmp 0x42a800
mov dword [esp + 0x2c], esi
jmp 0x42a60d
xor esi, esi
push 0x4bbcc8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42a635
mov ecx, dword [esp + 0x10]
push edi
mov dword [esp + 0x28], esi
call fcn.00429b7f
mov esi, eax
test esi, esi
js 0x42a9fb
push 0x4bbca8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42a769
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x258]
push eax
call fcn.00429b7f
mov esi, eax
test esi, esi
js 0x42a9fb
mov ecx, dword [esp + 0x10]
push edi
call fcn.00429b7f
mov esi, eax
test esi, esi
js 0x42a9fb
push 0x3d
pop eax
cmp word [edi], ax
jne 0x42a9f6
cmp dword [ebp + 0x10], 0
je 0x42a6e4
mov ecx, dword [esp + 0x10]
xor eax, eax
inc eax
mov byte [esp + 0x2264], al
mov eax, dword [ebp + 0xc]
and dword [esp + 0x44], 0
and dword [esp + 0x48], 0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x258]
push edi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00429cd1
mov esi, eax
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
test esi, esi
js 0x42a9fb
mov byte [esp + 0x2264], al
mov dword [esp + 0x44], eax
jmp 0x42a800
cmp dword [ebp + 0x14], 0
jne 0x42a750
cmp dword [esp + 0x24], 0
je 0x42a750
xor esi, esi
lea ecx, [esp + 0x34]
push 0x20006
push esi
push dword [ebp + 0xc]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.00429461
test eax, eax
jne 0x42a9da
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x258]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x42a739
cmp eax, 2
jne 0x42a9ca
test ebx, ebx
je 0x42a748
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], esi
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x10]
push edi
call fcn.0042a0dd
mov esi, eax
test esi, esi
js 0x42a9fb
jmp 0x42a521
push 0x5c
pop edx
mov ecx, edi
call fcn.00429b2a
test eax, eax
jne 0x42a9f6
cmp dword [ebp + 0x10], eax
je 0x42a847
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0x18]
push 0x2001f
push edi
push ebx
call fcn.00429461
test eax, eax
je 0x42a7c5
push 0x20019
push edi
push ebx
lea ecx, [esp + 0x24]
call fcn.00429461
test eax, eax
je 0x42a7c5
sub esp, 0x14
lea ecx, [esp + 0x2c]
push edi
push ebx
call fcn.00429403
test eax, eax
jne 0x42a925
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.00429b7f
mov esi, eax
test esi, esi
js 0x42a9fb
push 0x3d
pop eax
cmp word [edi], ax
jne 0x42a7fc
push edi
push 0
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.00429cd1
mov esi, eax
test esi, esi
js 0x42a9fb
mov ebx, dword [esp + 0x18]
push 0x7b
pop eax
cmp word [edi], ax
jne 0x42a521
push edi
call fcn.00438238
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x42a521
mov ecx, dword [esp + 0x10]
push 0
push dword [ebp + 0x10]
push ebx
push edi
call fcn.0042a4bf
mov esi, eax
test esi, esi
js 0x42a9fb
mov ecx, dword [esp + 0x10]
push edi
call fcn.00429b7f
jmp 0x42a75a
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x42a866
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [esp + 0x24]
call fcn.00429461
mov ebx, dword [esp + 0x18]
jmp 0x42a869
push 2
pop eax
push 1
test eax, eax
mov dword [esp + 0x18], eax
pop eax
push 0xffffffffffffffff
cmovne esi, eax
lea eax, [esp + 0x54]
push edi
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.004389a9
push eax
call fcn.0041a384
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.00429b7f
mov esi, eax
test esi, esi
js 0x42a9fb
mov ecx, dword [esp + 0x10]
push edi
call fcn.0042a0dd
mov esi, eax
test esi, esi
js 0x42a9fb
push 0x7b
pop eax
cmp word [edi], ax
jne 0x42a905
push edi
call fcn.00438238
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x42a905
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push ebx
push edi
call fcn.0042a4bf
mov esi, eax
test esi, esi
jns 0x42a8f1
cmp dword [ebp + 0x14], 0
je 0x42a9fb
mov ecx, dword [esp + 0x10]
push edi
call fcn.00429b7f
mov esi, eax
test esi, esi
js 0x42a9fb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x42a521
test eax, eax
je 0x42a933
test ecx, ecx
jne 0x42a521
mov ecx, eax
call fcn.00429135
mov esi, eax
jmp 0x42a9fb
test ecx, ecx
je 0x42a971
push ebx
call fcn.0042a0a6
test eax, eax
je 0x42a971
lea eax, [esp + 0x50]
push eax
call fcn.0042a077
test eax, eax
je 0x42a521
cmp dword [esp + 0x24], 0
je 0x42a521
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
call fcn.004294b3
jmp 0x42a521
push ebx
call fcn.0042a0a6
mov ecx, eax
xor eax, eax
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x42a994
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x18], ebx
and dword [esp + 0x1c], 0
test eax, eax
jne 0x42a925
cmp dword [esp + 0x24], eax
je 0x42a521
test ecx, ecx
jne 0x42a521
lea eax, [esp + 0x50]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x42a925
jmp 0x42a521
mov ecx, eax
call fcn.00429135
mov esi, eax
test ebx, ebx
je 0x42a9fb
push ebx
jmp 0x42a9ee
mov ecx, eax
call fcn.00429135
cmp dword [esp + 0x34], 0
mov esi, eax
je 0x42a9fb
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42a9fb
mov esi, 0x80020009
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42aa0a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x225c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10