Function at 0x436634
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3c24
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.00494df0
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], ebx
mov dword [ebp - 0x2228], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2268], eax
jmp 0x436bed
push str.Delete
push edi
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4366d6
cmp esi, ebx
je 0x4367ae
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004357cc
mov esi, eax
cmp esi, ebx
jl 0x436c69
cmp dword [ebp + 0x10], ebx
je 0x4367ae
push 0x5c
push edi
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
call fcn.00435757
pop ecx
pop ecx
test eax, eax
jne 0x436c05
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004358e2
test eax, eax
je 0x43675f
mov eax, dword [ebp - 0x2224]
push edi
lea ecx, [ebp - 0x2240]
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
call fcn.00435a9c
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
cmp dword [ebp - 0x2220], ebx
je 0x4367a3
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004357cc
mov esi, eax
cmp esi, ebx
jl 0x436c17
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00435946
lea ecx, [ebp - 0x2240]
mov esi, eax
call fcn.00435423
cmp esi, ebx
jl 0x436c69
jmp 0x436bb0
lea ecx, [ebp - 0x2240]
call fcn.00435423
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4367da
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2234], ebx
call fcn.004357cc
mov esi, eax
cmp esi, ebx
jl 0x436c69
push 0x4bdb04
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x436909
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.004357cc
mov esi, eax
cmp esi, ebx
jl 0x436c69
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004357cc
mov esi, eax
cmp esi, ebx
jl 0x436c69
cmp word [edi], 0x3d
jne 0x436c10
cmp dword [ebp + 0x10], ebx
je 0x43688f
mov eax, dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2258], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2258]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2250], ebx
call fcn.004362eb
mov esi, eax
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2250], ebx
lea ecx, [ebp - 0x2258]
cmp esi, ebx
jl 0x436c64
mov byte [ebp - 4], bl
jmp 0x436bab
cmp dword [ebp + 0x14], ebx
jne 0x4368f8
cmp dword [ebp - 0x2234], ebx
je 0x4368f8
push 0x20006
push ebx
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2264]
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
mov dword [ebp - 0x225c], ebx
call fcn.004354a6
cmp eax, ebx
jne 0x436c1f
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2264]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x4368ed
cmp eax, 2
jne 0x436c1f
lea ecx, [ebp - 0x2264]
call fcn.00435423
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00435946
jmp 0x436bf3
push 0x5c
push edi
call fcn.00435757
pop ecx
pop ecx
test eax, eax
jne 0x436c10
cmp dword [ebp + 0x10], ebx
je 0x4369b7
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.004354a6
test eax, eax
je 0x43697c
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.004354a6
test eax, eax
je 0x43697c
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.0043543e
mov esi, eax
cmp esi, ebx
jne 0x436c2e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004357cc
mov esi, eax
cmp esi, ebx
jl 0x436c69
cmp word [edi], 0x3d
jne 0x436bb0
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea eax, [ebp - 0x2230]
push eax
call fcn.004362eb
mov esi, eax
jmp 0x436796
cmp dword [ebp + 0x14], ebx
jne 0x4369db
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.004354a6
mov dword [ebp - 0x2220], eax
jmp 0x4369e5
mov dword [ebp - 0x2220], 2
cmp dword [ebp - 0x2220], ebx
je 0x4369f4
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00497708
push eax
call fcn.00434c9b
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.004357cc
mov esi, eax
cmp esi, ebx
jl 0x436c69
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00435946
mov esi, eax
cmp esi, ebx
jl 0x436c69
cmp word [edi], 0x7b
jne 0x436a8a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x436a8a
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp - 0x2230]
push edi
call fcn.00436634
mov esi, eax
cmp esi, ebx
jge 0x436a74
cmp dword [ebp + 0x14], ebx
je 0x436c69
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004357cc
mov esi, eax
cmp esi, ebx
jl 0x436c69
cmp dword [ebp - 0x2220], 2
mov eax, dword [ebp - 0x2268]
mov dword [ebp + 0x14], eax
je 0x436bf9
cmp dword [ebp - 0x2220], ebx
je 0x436ac3
cmp eax, ebx
jne 0x436bf9
push dword [ebp - 0x2220]
call fcn.004351d9
pop ecx
mov esi, eax
jmp 0x436c69
cmp eax, ebx
je 0x436b19
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.00435911
test eax, eax
je 0x436b19
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.004358e2
test eax, eax
je 0x436bf9
cmp dword [ebp - 0x2234], ebx
je 0x436bf9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.00435a9c
jmp 0x436bf9
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.00435911
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x226c], eax
call fcn.00435423
mov dword [ebp - 0x2220], eax
cmp eax, ebx
jne 0x436c42
cmp dword [ebp - 0x2234], ebx
je 0x436bf9
cmp dword [ebp - 0x226c], ebx
jne 0x436bf9
mov eax, dword [ebp - 0x2224]
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224c]
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
call fcn.004353b3
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
cmp eax, ebx
jne 0x436c55
lea ecx, [ebp - 0x224c]
call fcn.00435423
cmp dword [ebp + 0x10], ebx
je 0x436bf9
cmp word [edi], 0x7b
jne 0x436bf9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x436bf9
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.00436634
mov esi, eax
cmp esi, ebx
jl 0x436c69
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004357cc
mov esi, eax
cmp esi, ebx
jl 0x436c69
cmp word [edi], 0x7d
jne 0x43669d
jmp 0x436c69
lea ecx, [ebp - 0x2240]
call fcn.00435423
mov esi, 0x80020009
jmp 0x436c69
lea ecx, [ebp - 0x2240]
jmp 0x436c64
push eax
call fcn.004351d9
pop ecx
lea ecx, [ebp - 0x2264]
jmp 0x436c62
lea ecx, [ebp - 0x2230]
call fcn.00435423
push esi
call fcn.004351d9
pop ecx
jmp 0x436c76
lea ecx, [ebp - 0x2230]
call fcn.00435423
push dword [ebp - 0x2220]
jmp 0x436c3a
push eax
call fcn.004351d9
pop ecx
lea ecx, [ebp - 0x224c]
mov esi, eax
call fcn.00435423
lea ecx, [ebp - 0x2230]
call fcn.00435423
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004927bf
leave
ret 0x10