Function at 0x420f46
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x457718
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.0042bd30
mov eax, dword [0x461070]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x461070]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2280], ebx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x48], eax
jmp 0x4214eb
or dword [esp + 0x2280], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00410952
mov eax, esi
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.004224f9
mov esp, ebp
pop ebp
ret 0x10
push 0x40f65c
push edi
mov dword [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push 0x40f680
inc esi
push edi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x42102e
cmp esi, ebx
je 0x4210eb
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00420e19
mov esi, eax
cmp esi, ebx
jl 0x420fc0
cmp dword [ebp + 0x10], ebx
je 0x4210eb
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x2280], 1
push 0x5c
mov eax, edi
call fcn.004205ce
test eax, eax
jne 0x421501
push edi
call fcn.00420be5
test eax, eax
je 0x42109d
mov eax, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00420c1b
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x1c], ebx
je 0x4210db
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00420e19
mov esi, eax
cmp esi, ebx
jl 0x42151b
mov ecx, dword [esp + 0x10]
call fcn.00420b81
mov esi, eax
cmp esi, ebx
jl 0x42151b
mov byte [esp + 0x2280], bl
lea ecx, [esp + 0x2c]
jmp 0x42149f
mov byte [esp + 0x2280], bl
lea ecx, [esp + 0x2c]
call fcn.00410952
push 0x40f66c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x421114
mov ecx, dword [esp + 0x10]
mov eax, edi
mov dword [esp + 0x38], ebx
call fcn.00420e19
mov esi, eax
cmp esi, ebx
jl 0x420fc0
push 0x40f698
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42125a
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x26c]
call fcn.00420e19
mov esi, eax
cmp esi, ebx
jl 0x420fc0
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00420e19
mov esi, eax
cmp esi, ebx
jl 0x420fc0
cmp word [edi], 0x3d
jne 0x421511
cmp dword [ebp + 0x10], ebx
je 0x4211cb
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x2280], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
push edi
lea eax, [esp + 0x270]
push eax
lea edx, [esp + 0x44]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.004206fa
mov esi, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp esi, ebx
jl 0x421528
mov byte [esp + 0x2280], bl
lea ecx, [esp + 0x3c]
call fcn.00410952
jmp 0x4214a8
cmp dword [ebp + 0x14], ebx
jne 0x421234
cmp dword [esp + 0x38], ebx
je 0x421234
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x2280], 3
push 0x20006
push ebx
push dword [esp + 0x1c]
lea ecx, [esp + 0x64]
call fcn.004108fc
cmp eax, ebx
jne 0x42153d
lea eax, [esp + 0x26c]
push eax
push dword [esp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x421224
cmp eax, 2
jne 0x42153d
mov byte [esp + 0x2280], bl
lea ecx, [esp + 0x58]
call fcn.00410952
mov ecx, dword [esp + 0x10]
call fcn.00420b81
mov esi, eax
cmp esi, ebx
jl 0x420fc0
mov edi, dword [esp + 0x18]
cmp word [edi], 0x7d
jne 0x420ff9
jmp 0x420fc0
push 0x5c
mov eax, edi
call fcn.004205ce
test eax, eax
jne 0x421511
cmp dword [ebp + 0x10], ebx
je 0x4212f5
push 0x2001f
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.004108fc
cmp eax, ebx
je 0x4212b8
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.004108fc
cmp eax, ebx
je 0x4212b8
push edi
push dword [esp + 0x18]
lea esi, [esp + 0x28]
call fcn.0041c6fe
cmp eax, ebx
jne 0x4213d8
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00420e19
mov esi, eax
cmp esi, ebx
jl 0x420fc0
cmp word [edi], 0x3d
jne 0x4214a8
mov ecx, dword [esp + 0x10]
push edi
push ebx
lea edx, [esp + 0x28]
call fcn.004206fa
mov esi, eax
cmp esi, ebx
jl 0x420fc0
jmp 0x4214a8
cmp dword [ebp + 0x14], ebx
jne 0x421313
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.004108fc
mov dword [esp + 0x1c], eax
jmp 0x42131b
mov dword [esp + 0x1c], 2
cmp dword [esp + 0x1c], ebx
je 0x421328
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.00423bd1
add esp, 0x10
call fcn.0041c54a
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00420e19
mov esi, eax
cmp esi, ebx
jl 0x420fc0
mov ecx, dword [esp + 0x10]
call fcn.00420b81
mov esi, eax
cmp esi, ebx
jl 0x420fc0
mov edi, dword [esp + 0x18]
cmp word [edi], 0x7b
jne 0x4213b6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4213b6
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push ebx
push dword [esp + 0x28]
push edi
call fcn.00420f46
mov esi, eax
cmp esi, ebx
jge 0x4213a1
cmp dword [ebp + 0x14], ebx
je 0x420fc0
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00420e19
mov esi, eax
cmp esi, ebx
jl 0x420fc0
mov eax, dword [esp + 0x48]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x1c]
cmp eax, 2
je 0x42124b
cmp eax, ebx
je 0x4213e4
cmp dword [esp + 0x48], ebx
jne 0x42124b
call fcn.00420e05
mov esi, eax
jmp 0x420fc0
cmp dword [esp + 0x48], ebx
je 0x421426
push dword [esp + 0x20]
call fcn.00420d00
test eax, eax
je 0x421426
lea eax, [esp + 0x64]
push eax
call fcn.00420be5
test eax, eax
je 0x42124b
cmp dword [esp + 0x38], ebx
je 0x42124b
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x24]
call fcn.00420c1b
jmp 0x42124b
push dword [esp + 0x20]
call fcn.00420d00
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00410952
cmp eax, ebx
jne 0x4213d8
cmp dword [esp + 0x38], ebx
je 0x421247
cmp edi, ebx
jne 0x421247
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x2280], 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x64]
push eax
lea edi, [esp + 0x50]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.00420d90
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
cmp eax, ebx
jne 0x421551
mov byte [esp + 0x2280], bl
mov ecx, edi
call fcn.00410952
mov edi, dword [esp + 0x18]
cmp dword [ebp + 0x10], ebx
je 0x42124b
cmp word [edi], 0x7b
jne 0x42124b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x42124b
mov ecx, dword [esp + 0x10]
push ebx
push dword [ebp + 0x10]
push dword [esp + 0x28]
push edi
call fcn.00420f46
mov esi, eax
cmp esi, ebx
jl 0x420fc0
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00420e19
mov esi, eax
cmp esi, ebx
jl 0x420fc0
jmp 0x42124b
mov byte [esp + 0x2280], bl
lea ecx, [esp + 0x2c]
call fcn.00410952
mov esi, 0x80020009
jmp 0x420fc0
mov byte [esp + 0x2280], bl
lea ecx, [esp + 0x2c]
jmp 0x421533
mov byte [esp + 0x2280], bl
lea ecx, [esp + 0x3c]
call fcn.00410952
jmp 0x420fc0
call fcn.00420e05
mov esi, eax
mov byte [esp + 0x2280], bl
lea ecx, [esp + 0x58]
jmp 0x421533
call fcn.00420e05
mov esi, eax
mov byte [esp + 0x2280], bl
lea ecx, [esp + 0x4c]
jmp 0x421533