Function at 0x42a900
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44b386
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2254
call fcn.0043aa10
push ebx
push esi
mov eax, ecx
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [esp + 0x54], ecx
push edi
mov ecx, eax
mov dword [esp + 0x2270], 0
call fcn.0042a770
mov esi, eax
test esi, esi
js 0x42af71
cmp word [edi], 0x7d
je 0x42af60
jmp 0x42a980
push str.Delete
push edi
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x45840c
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x42a9b1
test ebx, ebx
je 0x42aaa9
mov ecx, dword [esp + 0x10]
push edi
call fcn.0042a770
mov esi, eax
test esi, esi
js 0x42af60
cmp dword [ebp + 0x10], 0
je 0x42aaa9
movzx eax, word [edi]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov ecx, edi
test ax, ax
je 0x42aa12
cmp ax, 0x5c
je 0x42aa0a
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x42a9f1
jmp 0x42aa12
test ecx, ecx
jne 0x42af09
mov esi, 0x458394
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x42aa68
add esi, 4
cmp esi, 0x4583c4
jl 0x42aa17
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.0042a4e0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x42aaa1
mov ebx, dword [esp + 0x10]
push edi
mov ecx, ebx
call fcn.0042a770
mov esi, eax
test esi, esi
js 0x42af19
push edi
mov ecx, ebx
call fcn.0042a360
mov esi, eax
test esi, esi
js 0x42af19
mov dword [esp + 0x28], 0
jmp 0x42ad12
mov dword [esp + 0x28], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x42aad3
push edi
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0042a770
mov esi, eax
test esi, esi
js 0x42af60
push 0x458404
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42ac1f
lea eax, [esp + 0x260]
push eax
mov ecx, ebx
call fcn.0042a770
mov esi, eax
test esi, esi
js 0x42af60
push edi
mov ecx, ebx
call fcn.0042a770
mov esi, eax
test esi, esi
js 0x42af60
cmp word [edi], 0x3d
jne 0x42af12
cmp dword [ebp + 0x10], 0
je 0x42ab8d
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x226c], 1
mov dword [esp + 0x48], eax
push edi
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call fcn.0042a000
mov esi, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
test esi, esi
js 0x42af24
mov byte [esp + 0x226c], 0
mov dword [esp + 0x4c], 0
jmp 0x42ad12
cmp dword [ebp + 0x14], 0
jne 0x42ac08
cmp dword [esp + 0x14], 0
je 0x42ac08
push 0x20006
push 0
push dword [ebp + 0xc]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call fcn.0042a470
test eax, eax
jne 0x42af2f
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x260]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x42abed
cmp eax, 2
jne 0x42af2f
test esi, esi
je 0x42ac00
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
push edi
mov ecx, ebx
call fcn.0042a360
mov esi, eax
test esi, esi
js 0x42af60
jmp 0x42aefd
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x42ac51
lea esp, [esp]
cmp ax, 0x5c
je 0x42ac49
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x42ac30
jmp 0x42ac51
test ecx, ecx
jne 0x42af12
cmp dword [ebp + 0x10], 0
je 0x42ad6b
mov ecx, dword [esp + 0x20]
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
push 0x2001f
test ecx, ecx
je 0x42ac82
push ecx
push edi
push esi
call fcn.0042a400
jmp 0x42ac8c
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42acb3
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42ac9f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
test eax, eax
je 0x42acdd
push 0x20019
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.0042a470
test eax, eax
je 0x42acdd
sub esp, 0x14
lea ecx, [esp + 0x2c]
push edi
push esi
call fcn.00429d10
test eax, eax
jne 0x42af57
mov ebx, dword [esp + 0x10]
push edi
mov ecx, ebx
call fcn.0042a770
mov esi, eax
test esi, esi
js 0x42af60
cmp word [edi], 0x3d
jne 0x42ad12
push edi
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.0042a000
mov esi, eax
test esi, esi
js 0x42af60
cmp word [edi], 0x7b
jne 0x42aefd
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ad21
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x42aefd
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esp + 0x20]
push edi
call fcn.0042a900
mov esi, eax
test esi, esi
js 0x42af60
push edi
mov ecx, ebx
call fcn.0042a770
mov esi, eax
test esi, esi
js 0x42af60
jmp 0x42aefd
cmp dword [ebp + 0x14], 0
jne 0x42ad8b
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [esp + 0x24]
call fcn.0042a470
mov ebx, eax
test ebx, ebx
jne 0x42ad90
jmp 0x42ad97
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x60]
push 0x104
push eax
call fcn.00434d16
push eax
call fcn.00401fd0
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.0042a770
mov esi, eax
test esi, esi
js 0x42af60
mov ecx, dword [esp + 0x10]
push edi
call fcn.0042a360
mov esi, eax
test esi, esi
js 0x42af60
cmp word [edi], 0x7b
jne 0x42ae30
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ade5
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x42ae30
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x20]
push edi
call fcn.0042a900
mov esi, eax
test esi, esi
jns 0x42ae1c
cmp dword [ebp + 0x14], 0
je 0x42af60
mov ecx, dword [esp + 0x10]
push edi
call fcn.0042a770
mov esi, eax
test esi, esi
js 0x42af60
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x42aefd
test ebx, ebx
je 0x42ae53
test eax, eax
jne 0x42aefd
mov ecx, ebx
jmp 0x42af59
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x42ae8e
push ebx
call fcn.0042a5d0
test eax, eax
je 0x42ae8e
lea eax, [esp + 0x58]
push eax
call fcn.0042a3c0
test eax, eax
je 0x42aefd
cmp dword [esp + 0x14], 0
je 0x42aefd
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
call fcn.0042a4e0
jmp 0x42aefd
push ebx
call fcn.0042a5d0
mov ecx, dword [esp + 0x18]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x42aead
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x42af57
cmp dword [esp + 0x14], eax
je 0x42aefd
test ebx, ebx
jne 0x42aefd
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.0042a6a0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
test eax, eax
jne 0x42af43
lea ecx, [esp + 0x3c]
call fcn.0042a620
cmp word [edi], 0x7d
jne 0x42a980
jmp 0x42af60
lea ecx, [esp + 0x24]
call fcn.0042a620
mov esi, 0x80020009
jmp 0x42af60
lea ecx, [esp + 0x24]
call fcn.0042a620
jmp 0x42af60
lea ecx, [esp + 0x48]
call fcn.0042a620
jmp 0x42af60
mov ecx, eax
call fcn.0042a730
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.0042a620
jmp 0x42af60
mov ecx, eax
call fcn.0042a730
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.0042a620
jmp 0x42af60
mov ecx, eax
call fcn.0042a730
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42af6f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x2264]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10