Function at 0x457dd0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4de1c7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x225c
call fcn.004b4820
mov eax, dword [0x540c80]
xor eax, esp
mov dword [esp + 0x2258], eax
push ebx
push esi
push edi
mov eax, dword [0x540c80]
xor eax, esp
push eax
lea eax, [esp + 0x2270]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x2278], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x58], ecx
push edi
mov ecx, eax
call fcn.00457280
mov esi, eax
test esi, esi
js 0x4584bb
cmp word [edi], 0x7d
je 0x4584bb
jmp 0x457e70
push 0x51a774
push edi
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x51a748
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x457ea1
test ebx, ebx
je 0x457fb9
mov ecx, dword [esp + 0x10]
push edi
call fcn.00457280
mov esi, eax
test esi, esi
js 0x4584bb
cmp dword [ebp + 0x10], 0
je 0x457fb9
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x2278], 1
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x457f11
lea esp, [esp]
cmp ax, 0x5c
je 0x457f09
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x457ef0
jmp 0x457f11
test ecx, ecx
jne 0x45843c
mov esi, 0x528044
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x457f68
add esi, 4
cmp esi, 0x528074
jl 0x457f16
mov eax, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.004195e0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x457fa9
mov ebx, dword [esp + 0x10]
push edi
mov ecx, ebx
call fcn.00457280
mov esi, eax
test esi, esi
js 0x458454
push edi
mov ecx, ebx
call fcn.00457910
mov esi, eax
test esi, esi
js 0x458454
mov byte [esp + 0x2278], 0
mov dword [esp + 0x28], 0
jmp 0x458216
mov byte [esp + 0x2278], 0
mov dword [esp + 0x28], 0
push 0x51a760
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x457fe3
push edi
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.00457280
mov esi, eax
test esi, esi
js 0x4584bb
push 0x51a740
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x458161
lea eax, [esp + 0x264]
push eax
mov ecx, ebx
call fcn.00457280
mov esi, eax
test esi, esi
js 0x4584bb
push edi
mov ecx, ebx
call fcn.00457280
mov esi, eax
test esi, esi
js 0x4584bb
cmp word [edi], 0x3d
jne 0x45844d
cmp dword [ebp + 0x10], 0
je 0x4580ba
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov byte [esp + 0x2278], 2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
push edi
lea eax, [esp + 0x268]
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.00457410
mov esi, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test esi, esi
js 0x458467
mov byte [esp + 0x2278], 0
mov dword [esp + 0x44], 0
jmp 0x458216
cmp dword [ebp + 0x14], 0
jne 0x45814a
cmp dword [esp + 0x30], 0
je 0x45814a
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0x2278], 3
push 0x20006
push 0
push dword [esp + 0x1c]
lea ecx, [esp + 0x58]
call fcn.00419460
test eax, eax
jne 0x45847a
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x264]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x458127
cmp eax, 2
jne 0x45847a
mov byte [esp + 0x2278], 0
test esi, esi
je 0x458142
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
push edi
mov ecx, ebx
call fcn.00457910
mov esi, eax
test esi, esi
js 0x4584bb
jmp 0x45842d
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x458191
jmp 0x458170
cmp ax, 0x5c
je 0x458189
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x458170
jmp 0x458191
test ecx, ecx
jne 0x45844d
cmp dword [ebp + 0x10], 0
je 0x45826f
mov esi, dword [esp + 0x14]
push 0x2001f
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.00419460
test eax, eax
je 0x4581e5
push 0x20019
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.00419460
test eax, eax
je 0x4581e5
sub esp, 8
push 0x2001f
push 0
push ecx
push edi
push esi
lea ecx, [esp + 0x34]
call fcn.004193e0
test eax, eax
jne 0x4584b2
push edi
mov ecx, ebx
call fcn.00457280
mov esi, eax
test esi, esi
js 0x4584bb
cmp word [edi], 0x3d
jne 0x458216
push edi
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00457410
mov esi, eax
test esi, esi
js 0x4584bb
cmp word [edi], 0x7b
jne 0x45842d
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458225
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x45842d
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esp + 0x20]
push edi
call fcn.00457dd0
mov esi, eax
test esi, esi
js 0x4584bb
push edi
mov ecx, ebx
call fcn.00457280
mov esi, eax
test esi, esi
js 0x4584bb
jmp 0x45842d
cmp dword [ebp + 0x14], 0
jne 0x458290
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.00419460
mov ebx, eax
test ebx, ebx
jne 0x458295
jmp 0x45829c
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.004b3edf
push eax
call fcn.00401a80
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.00457280
mov esi, eax
test esi, esi
js 0x4584bb
mov ecx, dword [esp + 0x10]
push edi
call fcn.00457910
mov esi, eax
test esi, esi
js 0x4584bb
cmp word [edi], 0x7b
jne 0x45833b
mov ecx, edi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4582f0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x45833b
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x20]
push edi
call fcn.00457dd0
mov esi, eax
test esi, esi
jns 0x458327
cmp dword [ebp + 0x14], 0
je 0x4584bb
mov ecx, dword [esp + 0x10]
push edi
call fcn.00457280
mov esi, eax
test esi, esi
js 0x4584bb
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x45842d
test ebx, ebx
je 0x45835e
test eax, eax
jne 0x45842d
mov ecx, ebx
jmp 0x4584b4
test eax, eax
je 0x45839f
push dword [esp + 0x18]
call fcn.004578c0
test eax, eax
je 0x45839f
lea eax, [esp + 0x5c]
push eax
call fcn.00457880
test eax, eax
je 0x45842d
cmp dword [esp + 0x30], 0
je 0x45842d
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004195e0
jmp 0x45842d
push dword [esp + 0x18]
call fcn.004578c0
mov ecx, dword [esp + 0x18]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x4583c1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x4584b2
cmp dword [esp + 0x30], eax
je 0x45842d
test ebx, ebx
jne 0x45842d
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2278], 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00419360
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
test eax, eax
jne 0x458496
mov byte [esp + 0x2278], al
lea ecx, [esp + 0x34]
call fcn.00419340
cmp word [edi], 0x7d
jne 0x457e70
jmp 0x4584bb
mov byte [esp + 0x2278], 0
lea ecx, [esp + 0x24]
call fcn.00419340
mov esi, 0x80020009
jmp 0x4584bb
mov byte [esp + 0x2278], 0
lea ecx, [esp + 0x24]
call fcn.00419340
jmp 0x4584bb
mov byte [esp + 0x2278], 0
lea ecx, [esp + 0x40]
call fcn.00419340
jmp 0x4584bb
mov ecx, eax
call fcn.00456370
mov esi, eax
mov byte [esp + 0x2278], 0
lea ecx, [esp + 0x4c]
call fcn.00419340
jmp 0x4584bb
mov ecx, eax
call fcn.00456370
mov esi, eax
mov byte [esp + 0x2278], 0
lea ecx, [esp + 0x34]
call fcn.00419340
jmp 0x4584bb
mov ecx, eax
call fcn.00456370
mov esi, eax
mov dword [esp + 0x2278], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4584dd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
mov eax, esi
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x2270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2258]
xor ecx, esp
call fcn.004af5ba
mov esp, ebp
pop ebp
ret 0x10