Function at 0x43ed9d
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x225c
call fcn.00472480
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x2214], eax
mov ebx, ecx
xor eax, eax
push esi
mov dword [ebp - 0x2240], 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.0043e4f4
mov esi, eax
test esi, esi
js 0x43f343
push 0x7d
pop eax
cmp word [edi], ax
je 0x43f343
xor eax, eax
push str.Delete
inc eax
push edi
mov dword [ebp - 0x2224], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4a9420
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2210], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43ee3c
test esi, esi
je 0x43ef08
push edi
mov ecx, ebx
call fcn.0043e4f4
mov esi, eax
test esi, esi
js 0x43f343
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x43ef0a
push 0x5c
push edi
mov dword [ebp - 0x2220], esi
mov dword [ebp - 0x221c], esi
mov dword [ebp - 0x2218], esi
call fcn.0043fcf8
pop ecx
pop ecx
test eax, eax
jne 0x43f333
push edi
mov ecx, ebx
call fcn.0043dffa
test eax, eax
je 0x43eebf
mov eax, dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
push edi
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x221c], esi
mov dword [ebp - 0x2218], esi
call fcn.0043e95a
mov dword [ebp - 0x2220], esi
mov dword [ebp - 0x221c], esi
mov dword [ebp - 0x2218], esi
cmp dword [ebp - 0x2210], esi
je 0x43eefb
push edi
mov ecx, ebx
call fcn.0043e4f4
mov esi, eax
test esi, esi
js 0x43f32b
push edi
mov ecx, ebx
call fcn.0043fc6f
mov esi, eax
lea ecx, [ebp - 0x2220]
call fcn.0043e0c9
test esi, esi
js 0x43f343
jmp 0x43f2d1
lea ecx, [ebp - 0x2220]
call fcn.0043e0c9
jmp 0x43ef0a
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43ef32
push edi
mov ecx, ebx
mov dword [ebp - 0x2224], esi
call fcn.0043e4f4
mov esi, eax
test esi, esi
js 0x43f343
push 0x4a9438
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43f04d
lea eax, [ebp - 0x220c]
mov ecx, ebx
push eax
call fcn.0043e4f4
mov esi, eax
test esi, esi
js 0x43f343
push edi
mov ecx, ebx
call fcn.0043e4f4
mov esi, eax
test esi, esi
js 0x43f343
push 0x3d
pop eax
cmp word [edi], ax
jne 0x43f33e
cmp dword [ebp + 0x10], 0
je 0x43efd3
mov eax, dword [ebp - 0x2214]
mov ecx, ebx
mov dword [ebp - 0x224c], eax
xor eax, eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
lea eax, [ebp - 0x220c]
push edi
push eax
lea eax, [ebp - 0x224c]
push eax
call fcn.0043d9f8
mov esi, eax
lea ecx, [ebp - 0x224c]
xor eax, eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
jmp 0x43eee9
cmp dword [ebp + 0x14], 0
jne 0x43f040
cmp dword [ebp - 0x2224], 0
je 0x43f040
xor eax, eax
lea ecx, [ebp - 0x2258]
push 0x20006
push eax
push dword [ebp - 0x2214]
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
call fcn.0043e65c
test eax, eax
jne 0x43f363
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x2258]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43f035
cmp eax, 2
jne 0x43f363
lea ecx, [ebp - 0x2258]
call fcn.0043e0c9
push edi
mov ecx, ebx
call fcn.0043fc6f
jmp 0x43edee
push 0x5c
push edi
call fcn.0043fcf8
pop ecx
pop ecx
test eax, eax
jne 0x43f33e
cmp dword [ebp + 0x10], eax
je 0x43f0f1
mov esi, dword [ebp - 0x2214]
lea ecx, [ebp - 0x2230]
push 0x2001f
push edi
push esi
call fcn.0043e65c
test eax, eax
je 0x43f0ba
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2230]
call fcn.0043e65c
test eax, eax
je 0x43f0ba
xor eax, eax
lea ecx, [ebp - 0x2230]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.0043e0e3
test eax, eax
jne 0x43f1e7
push edi
mov ecx, ebx
call fcn.0043e4f4
mov esi, eax
test esi, esi
js 0x43f343
push 0x3d
pop eax
cmp word [edi], ax
jne 0x43f2d1
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x2230]
push eax
call fcn.0043d9f8
mov esi, eax
jmp 0x43eeee
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x43f111
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2230]
call fcn.0043e65c
jmp 0x43f114
push 2
pop eax
push 1
test eax, eax
mov dword [ebp - 0x2210], 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.00472120
push eax
call fcn.0043df55
add esp, 0x14
mov ecx, ebx
push edi
call fcn.0043e4f4
mov esi, eax
test esi, esi
js 0x43f343
push edi
mov ecx, ebx
call fcn.0043fc6f
mov esi, eax
test esi, esi
js 0x43f343
push 0x7b
pop eax
cmp word [edi], ax
jne 0x43f1c3
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2240]
jne 0x43f173
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x43f1c3
push dword [ebp + 0x14]
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp - 0x2230]
push edi
call fcn.0043ed9d
mov esi, eax
test esi, esi
jns 0x43f1b1
cmp dword [ebp + 0x14], 0
je 0x43f343
push edi
mov ecx, ebx
call fcn.0043e4f4
mov esi, eax
test esi, esi
js 0x43f343
mov eax, dword [ebp - 0x2210]
mov ecx, dword [ebp - 0x225c]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x43edf8
test eax, eax
je 0x43f1f5
test ecx, ecx
jne 0x43edf8
push eax
call fcn.0043dfc5
pop ecx
mov esi, eax
jmp 0x43f343
test ecx, ecx
je 0x43f244
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.0043e32b
test eax, eax
je 0x43f244
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0043dffa
test eax, eax
je 0x43edf8
cmp dword [ebp - 0x2224], 0
je 0x43edf8
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2230]
call fcn.0043e95a
jmp 0x43edf8
push dword [ebp - 0x2230]
mov ecx, ebx
call fcn.0043e32b
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2210], eax
call fcn.0043e0c9
test eax, eax
jne 0x43f1e7
cmp dword [ebp - 0x2224], eax
je 0x43edf8
cmp dword [ebp - 0x2210], eax
jne 0x43edf8
mov eax, dword [ebp - 0x2214]
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x223c], eax
xor eax, eax
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043e148
xor ecx, ecx
mov dword [ebp - 0x223c], ecx
mov dword [ebp - 0x2238], ecx
mov dword [ebp - 0x2234], ecx
test eax, eax
jne 0x43f379
lea ecx, [ebp - 0x223c]
call fcn.0043e0c9
cmp dword [ebp + 0x10], 0
je 0x43edf8
push 0x7b
pop eax
cmp word [edi], ax
jne 0x43edf8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2240]
jne 0x43f2ec
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x43edf8
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.0043ed9d
mov esi, eax
test esi, esi
js 0x43f343
mov ecx, ebx
jmp 0x43ede8
lea ecx, [ebp - 0x2220]
jmp 0x43f372
lea ecx, [ebp - 0x2220]
call fcn.0043e0c9
mov esi, 0x80020009
lea ecx, [ebp - 0x2230]
call fcn.0043e0c9
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f685
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.0043dfc5
pop ecx
lea ecx, [ebp - 0x2258]
mov esi, eax
call fcn.0043e0c9
jmp 0x43f343
push eax
call fcn.0043dfc5
pop ecx
lea ecx, [ebp - 0x223c]
jmp 0x43f370