Function at 0x4239a9
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x225c
call fcn.0042d2d0
mov eax, dword [0x46a264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x2210], eax
mov ebx, ecx
xor eax, eax
push esi
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x225c], eax
push edi
call fcn.00423152
mov esi, eax
test esi, esi
js 0x423f4f
push 0x7d
pop eax
cmp word [edi], ax
je 0x423f4f
xor eax, eax
push str.Delete
inc eax
push edi
mov dword [ebp - 0x2218], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4542b4
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2214], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x423a48
test esi, esi
je 0x423b14
push edi
mov ecx, ebx
call fcn.00423152
mov esi, eax
test esi, esi
js 0x423f4f
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x423b16
push 0x5c
push edi
mov dword [ebp - 0x2224], esi
mov dword [ebp - 0x2220], esi
mov dword [ebp - 0x221c], esi
call fcn.00424123
pop ecx
pop ecx
test eax, eax
jne 0x423f3f
push edi
mov ecx, ebx
call fcn.00422d48
test eax, eax
je 0x423acb
mov eax, dword [ebp - 0x2210]
lea ecx, [ebp - 0x2224]
push edi
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x2220], esi
mov dword [ebp - 0x221c], esi
call fcn.00423566
mov dword [ebp - 0x2224], esi
mov dword [ebp - 0x2220], esi
mov dword [ebp - 0x221c], esi
cmp dword [ebp - 0x2214], esi
je 0x423b07
push edi
mov ecx, ebx
call fcn.00423152
mov esi, eax
test esi, esi
js 0x423f37
push edi
mov ecx, ebx
call fcn.0042409a
mov esi, eax
lea ecx, [ebp - 0x2224]
call fcn.00422e15
test esi, esi
js 0x423f4f
jmp 0x423edd
lea ecx, [ebp - 0x2224]
call fcn.00422e15
jmp 0x423b16
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x423b3e
push edi
mov ecx, ebx
mov dword [ebp - 0x2218], esi
call fcn.00423152
mov esi, eax
test esi, esi
js 0x423f4f
push 0x4542ac
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x423c59
lea eax, [ebp - 0x220c]
mov ecx, ebx
push eax
call fcn.00423152
mov esi, eax
test esi, esi
js 0x423f4f
push edi
mov ecx, ebx
call fcn.00423152
mov esi, eax
test esi, esi
js 0x423f4f
push 0x3d
pop eax
cmp word [edi], ax
jne 0x423f4a
cmp dword [ebp + 0x10], 0
je 0x423bdf
mov eax, dword [ebp - 0x2210]
mov ecx, ebx
mov dword [ebp - 0x2240], eax
xor eax, eax
mov dword [ebp - 0x223c], eax
mov dword [ebp - 0x2238], eax
lea eax, [ebp - 0x220c]
push edi
push eax
lea eax, [ebp - 0x2240]
push eax
call fcn.0042278b
mov esi, eax
lea ecx, [ebp - 0x2240]
xor eax, eax
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], eax
mov dword [ebp - 0x2238], eax
jmp 0x423af5
cmp dword [ebp + 0x14], 0
jne 0x423c4c
cmp dword [ebp - 0x2218], 0
je 0x423c4c
xor eax, eax
lea ecx, [ebp - 0x2258]
push 0x20006
push eax
push dword [ebp - 0x2210]
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
call fcn.00423291
test eax, eax
jne 0x423f6f
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x2258]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x423c41
cmp eax, 2
jne 0x423f6f
lea ecx, [ebp - 0x2258]
call fcn.00422e15
push edi
mov ecx, ebx
call fcn.0042409a
jmp 0x4239fa
push 0x5c
push edi
call fcn.00424123
pop ecx
pop ecx
test eax, eax
jne 0x423f4a
cmp dword [ebp + 0x10], eax
je 0x423cfd
mov esi, dword [ebp - 0x2210]
lea ecx, [ebp - 0x2230]
push 0x2001f
push edi
push esi
call fcn.00423291
test eax, eax
je 0x423cc6
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2230]
call fcn.00423291
test eax, eax
je 0x423cc6
xor eax, eax
lea ecx, [ebp - 0x2230]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.00422e2f
test eax, eax
jne 0x423df3
push edi
mov ecx, ebx
call fcn.00423152
mov esi, eax
test esi, esi
js 0x423f4f
push 0x3d
pop eax
cmp word [edi], ax
jne 0x423edd
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x2230]
push eax
call fcn.0042278b
mov esi, eax
jmp 0x423afa
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x423d1d
push 0x20019
push edi
push dword [ebp - 0x2210]
lea ecx, [ebp - 0x2230]
call fcn.00423291
jmp 0x423d20
push 2
pop eax
push 1
test eax, eax
mov dword [ebp - 0x2214], eax
pop eax
push 0xffffffffffffffff
cmovne esi, eax
lea eax, [ebp - 0x20c]
push edi
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.00437038
push eax
call fcn.00422ca0
add esp, 0x14
mov ecx, ebx
push edi
call fcn.00423152
mov esi, eax
test esi, esi
js 0x423f4f
push edi
mov ecx, ebx
call fcn.0042409a
mov esi, eax
test esi, esi
js 0x423f4f
push 0x7b
pop eax
cmp word [edi], ax
jne 0x423dcf
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2234]
jne 0x423d7f
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x423dcf
push dword [ebp + 0x14]
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp - 0x2230]
push edi
call fcn.004239a9
mov esi, eax
test esi, esi
jns 0x423dbd
cmp dword [ebp + 0x14], 0
je 0x423f4f
push edi
mov ecx, ebx
call fcn.00423152
mov esi, eax
test esi, esi
js 0x423f4f
mov eax, dword [ebp - 0x2214]
mov ecx, dword [ebp - 0x225c]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x423a04
test eax, eax
je 0x423e01
test ecx, ecx
jne 0x423a04
push eax
call fcn.00422d10
pop ecx
mov esi, eax
jmp 0x423f4f
test ecx, ecx
je 0x423e50
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.0042309b
test eax, eax
je 0x423e50
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.00422d48
test eax, eax
je 0x423a04
cmp dword [ebp - 0x2218], 0
je 0x423a04
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2230]
call fcn.00423566
jmp 0x423a04
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.0042309b
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2214], eax
call fcn.00422e15
test eax, eax
jne 0x423df3
cmp dword [ebp - 0x2218], eax
je 0x423a04
cmp dword [ebp - 0x2214], eax
jne 0x423a04
mov eax, dword [ebp - 0x2210]
lea ecx, [ebp - 0x224c]
mov dword [ebp - 0x224c], eax
xor eax, eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00422ea0
xor ecx, ecx
mov dword [ebp - 0x224c], ecx
mov dword [ebp - 0x2248], ecx
mov dword [ebp - 0x2244], ecx
test eax, eax
jne 0x423f85
lea ecx, [ebp - 0x224c]
call fcn.00422e15
cmp dword [ebp + 0x10], 0
je 0x423a04
push 0x7b
pop eax
cmp word [edi], ax
jne 0x423a04
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2234]
jne 0x423ef8
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x423a04
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.004239a9
mov esi, eax
test esi, esi
js 0x423f4f
mov ecx, ebx
jmp 0x4239f4
lea ecx, [ebp - 0x2224]
jmp 0x423f7e
lea ecx, [ebp - 0x2224]
call fcn.00422e15
mov esi, 0x80020009
lea ecx, [ebp - 0x2230]
call fcn.00422e15
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d2b3
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.00422d10
pop ecx
lea ecx, [ebp - 0x2258]
mov esi, eax
call fcn.00422e15
jmp 0x423f4f
push eax
call fcn.00422d10
pop ecx
lea ecx, [ebp - 0x224c]
jmp 0x423f7c