Function at 0x403546
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452f0d
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.00439260
mov eax, dword [0x46fb40]
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 0x403aff
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 0x4035e8
cmp esi, ebx
je 0x4036c0
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004024f6
mov esi, eax
cmp esi, ebx
jl 0x403b7b
cmp dword [ebp + 0x10], ebx
je 0x4036c0
push 0x5c
push edi
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
call fcn.00402481
pop ecx
pop ecx
test eax, eax
jne 0x403b17
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040260c
test eax, eax
je 0x403671
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.00402782
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
cmp dword [ebp - 0x2220], ebx
je 0x4036b5
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004024f6
mov esi, eax
cmp esi, ebx
jl 0x403b29
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00402670
lea ecx, [ebp - 0x2240]
mov esi, eax
call fcn.0040214d
cmp esi, ebx
jl 0x403b7b
jmp 0x403ac2
lea ecx, [ebp - 0x2240]
call fcn.0040214d
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4036ec
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2234], ebx
call fcn.004024f6
mov esi, eax
cmp esi, ebx
jl 0x403b7b
push 0x4596a0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40381b
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.004024f6
mov esi, eax
cmp esi, ebx
jl 0x403b7b
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004024f6
mov esi, eax
cmp esi, ebx
jl 0x403b7b
cmp word [edi], 0x3d
jne 0x403b22
cmp dword [ebp + 0x10], ebx
je 0x4037a1
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.00403176
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 0x403b76
mov byte [ebp - 4], bl
jmp 0x403abd
cmp dword [ebp + 0x14], ebx
jne 0x40380a
cmp dword [ebp - 0x2234], ebx
je 0x40380a
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.004021d0
cmp eax, ebx
jne 0x403b31
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2264]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x4037ff
cmp eax, 2
jne 0x403b31
lea ecx, [ebp - 0x2264]
call fcn.0040214d
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00402670
jmp 0x403b05
push 0x5c
push edi
call fcn.00402481
pop ecx
pop ecx
test eax, eax
jne 0x403b22
cmp dword [ebp + 0x10], ebx
je 0x4038c9
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.004021d0
test eax, eax
je 0x40388e
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.004021d0
test eax, eax
je 0x40388e
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00402168
mov esi, eax
cmp esi, ebx
jne 0x403b40
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004024f6
mov esi, eax
cmp esi, ebx
jl 0x403b7b
cmp word [edi], 0x3d
jne 0x403ac2
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea eax, [ebp - 0x2230]
push eax
call fcn.00403176
mov esi, eax
jmp 0x4036a8
cmp dword [ebp + 0x14], ebx
jne 0x4038ed
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.004021d0
mov dword [ebp - 0x2220], eax
jmp 0x4038f7
mov dword [ebp - 0x2220], 2
cmp dword [ebp - 0x2220], ebx
je 0x403906
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00439188
push eax
call fcn.0040108c
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.004024f6
mov esi, eax
cmp esi, ebx
jl 0x403b7b
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00402670
mov esi, eax
cmp esi, ebx
jl 0x403b7b
cmp word [edi], 0x7b
jne 0x40399c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40399c
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp - 0x2230]
push edi
call fcn.00403546
mov esi, eax
cmp esi, ebx
jge 0x403986
cmp dword [ebp + 0x14], ebx
je 0x403b7b
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004024f6
mov esi, eax
cmp esi, ebx
jl 0x403b7b
cmp dword [ebp - 0x2220], 2
mov eax, dword [ebp - 0x2268]
mov dword [ebp + 0x14], eax
je 0x403b0b
cmp dword [ebp - 0x2220], ebx
je 0x4039d5
cmp eax, ebx
jne 0x403b0b
push dword [ebp - 0x2220]
call fcn.00401f03
pop ecx
mov esi, eax
jmp 0x403b7b
cmp eax, ebx
je 0x403a2b
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.0040263b
test eax, eax
je 0x403a2b
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.0040260c
test eax, eax
je 0x403b0b
cmp dword [ebp - 0x2234], ebx
je 0x403b0b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.00402782
jmp 0x403b0b
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.0040263b
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x226c], eax
call fcn.0040214d
mov dword [ebp - 0x2220], eax
cmp eax, ebx
jne 0x403b54
cmp dword [ebp - 0x2234], ebx
je 0x403b0b
cmp dword [ebp - 0x226c], ebx
jne 0x403b0b
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.004020dd
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
cmp eax, ebx
jne 0x403b67
lea ecx, [ebp - 0x224c]
call fcn.0040214d
cmp dword [ebp + 0x10], ebx
je 0x403b0b
cmp word [edi], 0x7b
jne 0x403b0b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x403b0b
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.00403546
mov esi, eax
cmp esi, ebx
jl 0x403b7b
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004024f6
mov esi, eax
cmp esi, ebx
jl 0x403b7b
cmp word [edi], 0x7d
jne 0x4035af
jmp 0x403b7b
lea ecx, [ebp - 0x2240]
call fcn.0040214d
mov esi, 0x80020009
jmp 0x403b7b
lea ecx, [ebp - 0x2240]
jmp 0x403b76
push eax
call fcn.00401f03
pop ecx
lea ecx, [ebp - 0x2264]
jmp 0x403b74
lea ecx, [ebp - 0x2230]
call fcn.0040214d
push esi
call fcn.00401f03
pop ecx
jmp 0x403b88
lea ecx, [ebp - 0x2230]
call fcn.0040214d
push dword [ebp - 0x2220]
jmp 0x403b4c
push eax
call fcn.00401f03
pop ecx
lea ecx, [ebp - 0x224c]
mov esi, eax
call fcn.0040214d
lea ecx, [ebp - 0x2230]
call fcn.0040214d
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.00438fdb
leave
ret 0x10