Function at 0x492ef0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x502bb7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.004e5180
mov eax, dword [0x54c2c0]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x54c2c0]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2280], ebx
mov edx, dword [ebp + 0x14]
mov eax, esi
mov dword [esp + 0x48], edx
call fcn.00492d80
mov edi, eax
cmp edi, ebx
jge 0x492f80
mov dword [esp + 0x2280], 0xffffffff
jmp 0x493662
cmp word [esi], 0x7d
je 0x493642
push str.Delete
push esi
mov dword [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb edi, edi
push str.ForceRemove
inc edi
push esi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x492fbf
cmp edi, ebx
je 0x4930ff
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00492d80
mov edi, eax
cmp edi, ebx
jl 0x493642
cmp dword [ebp + 0x10], ebx
je 0x4930ff
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x2280], 1
movzx ecx, word [esi]
mov eax, esi
cmp cx, bx
je 0x49301f
jmp 0x493000
cmp cx, 0x5c
je 0x493017
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x493000
jmp 0x49301f
cmp eax, ebx
jne 0x493607
mov edi, 0x522e64
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x493063
add edi, 4
cmp edi, 0x522e94
jl 0x493024
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00492a20
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x10], ebx
je 0x4930f4
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00492d80
mov edi, eax
cmp edi, ebx
jl 0x493632
mov ecx, dword [esp + 0x14]
mov edi, esi
call fcn.004928a0
mov edi, eax
cmp edi, ebx
jl 0x493632
mov byte [esp + 0x2280], bl
mov dword [esp + 0x2c], ebx
cmp word [esi], 0x7b
jne 0x49355c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x49355c
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
push edx
push eax
push esi
call fcn.00492ef0
mov edi, eax
cmp edi, ebx
jl 0x493642
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00492d80
mov edi, eax
cmp edi, ebx
jl 0x493642
jmp 0x49355c
mov byte [esp + 0x2280], bl
mov dword [esp + 0x2c], ebx
push str.NoRemove
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x493128
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0x38], ebx
call fcn.00492d80
mov edi, eax
cmp edi, ebx
jl 0x493642
push 0x522e40
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x49326c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x26c]
call fcn.00492d80
mov edi, eax
cmp edi, ebx
jl 0x493642
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00492d80
mov edi, eax
cmp edi, ebx
jl 0x493642
cmp word [esi], 0x3d
jne 0x493617
cmp dword [ebp + 0x10], ebx
je 0x4931dc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x2280], 2
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.00492330
mov edi, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp edi, ebx
jl 0x49368c
mov byte [esp + 0x2280], bl
mov dword [esp + 0x40], ebx
jmp 0x4930a2
cmp dword [ebp + 0x14], ebx
jne 0x493252
cmp dword [esp + 0x38], ebx
je 0x493252
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x2280], 3
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x58]
push edx
mov edx, 0x20006
xor eax, eax
call fcn.004929b0
cmp eax, ebx
jne 0x4936b4
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x26c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x493238
cmp eax, 2
jne 0x4936b4
mov byte [esp + 0x2280], bl
cmp edi, ebx
je 0x49324e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x14]
mov edi, esi
call fcn.004928a0
mov edi, eax
cmp edi, ebx
jl 0x493642
jmp 0x49355c
movzx ecx, word [esi]
mov eax, esi
cmp cx, bx
je 0x493295
cmp cx, 0x5c
je 0x49328d
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x493276
jmp 0x493295
cmp eax, ebx
jne 0x493617
cmp dword [ebp + 0x10], ebx
je 0x4933d5
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x20], ebx
je 0x4932c8
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
push ecx
lea edi, [esp + 0x18]
mov ebx, 0x2001f
call fcn.00492940
mov esi, dword [esp + 0x34]
xor ebx, ebx
jmp 0x4932df
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0x2001f
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x493310
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x4932f8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x493396
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x20], ebx
je 0x49333a
mov edx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
push edx
lea edi, [esp + 0x18]
mov ebx, 0x20019
call fcn.00492940
mov esi, dword [esp + 0x34]
xor ebx, ebx
jmp 0x493351
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x49337e
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x49336a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x493396
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
mov eax, esi
call fcn.00492130
cmp eax, ebx
jne 0x4936cb
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00492d80
mov edi, eax
cmp edi, ebx
jl 0x493642
cmp word [esi], 0x3d
jne 0x4930a2
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00492330
mov edi, eax
cmp edi, ebx
jl 0x493642
jmp 0x4930a2
cmp dword [ebp + 0x14], ebx
jne 0x493483
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x20], ebx
je 0x493408
mov edx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
push edx
lea edi, [esp + 0x18]
mov ebx, 0x20019
call fcn.00492940
mov esi, dword [esp + 0x34]
xor ebx, ebx
jmp 0x49341f
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x493448
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x493438
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x493457
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.004e4b70
add esp, 0x10
cmp eax, 0x50
ja case.0x49347c.107
movzx ecx, byte [eax + 0x493720]
jmp dword [ecx*4 + 0x493710]
mov dword [esp + 0x10], 2
jmp 0x493450
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00492d80
mov edi, eax
cmp edi, ebx
jl 0x493642
mov ecx, dword [esp + 0x14]
mov edi, esi
call fcn.004928a0
mov edi, eax
cmp edi, ebx
jl 0x493642
cmp word [esi], 0x7b
jne 0x493501
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x493501
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ebx
push eax
push esi
call fcn.00492ef0
mov edi, eax
cmp edi, ebx
jge 0x4934ec
cmp dword [ebp + 0x14], ebx
je 0x493642
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.00492d80
mov edi, eax
cmp edi, ebx
jl 0x493642
cmp dword [esp + 0x10], 2
mov ecx, dword [esp + 0x48]
mov dword [ebp + 0x14], ecx
je 0x49355c
cmp dword [esp + 0x10], ebx
je 0x493529
cmp ecx, ebx
jne 0x49355c
mov eax, dword [esp + 0x10]
call fcn.00492d40
mov edi, eax
jmp 0x493642
cmp ecx, ebx
je 0x49356b
mov ecx, dword [esp + 0x18]
call fcn.00492c20
test eax, eax
je 0x49356b
lea ebx, [esp + 0x64]
call fcn.00492900
test eax, eax
je 0x49355a
cmp dword [esp + 0x38], 0
je 0x49355a
mov edx, ebx
push edx
lea ecx, [esp + 0x1c]
call fcn.00492a20
xor ebx, ebx
cmp word [esi], 0x7d
jne 0x492f8a
jmp 0x493642
mov ecx, dword [esp + 0x18]
call fcn.00492c20
mov dword [esp + 0x10], eax
xor eax, eax
cmp dword [esp + 0x18], ebx
je 0x49358f
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
jne 0x4936cb
cmp dword [esp + 0x38], ebx
je 0x49355c
cmp dword [esp + 0x10], ebx
jne 0x49355c
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x2280], 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
lea ebx, [esp + 0x64]
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], ecx
call fcn.00492c90
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
cmp eax, ebx
jne 0x4936e8
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x4c]
call fcn.00492c70
mov esi, dword [esp + 0x34]
jmp 0x49355a
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x28]
call fcn.00492c70
mov dword [esp + 0x2280], 0xffffffff
lea esi, [esp + 0x18]
call fcn.00492c70
mov eax, 0x80020009
jmp 0x493666
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x28]
call fcn.00492c70
mov dword [esp + 0x2280], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x493660
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov eax, edi
mov dword [esp + 0x1c], ebx
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.004e0a00
mov esp, ebp
pop ebp
ret 0x10
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x3c]
call fcn.00492c70
mov dword [esp + 0x2280], 0xffffffff
lea esi, [esp + 0x18]
call fcn.00492c70
mov eax, edi
jmp 0x493666
call fcn.00492d40
mov edi, eax
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x58]
jmp 0x49363d
call fcn.00492d40
mov edi, eax
jmp 0x49369c
push 0x8007000e
call fcn.00459ec0
push 0x80070057
call fcn.00459ec0
call fcn.00492d40
mov edi, eax
mov byte [esp + 0x2280], bl
lea esi, [esp + 0x4c]
call fcn.00492c70
xor ebx, ebx
jmp 0x493642
push 0x80004005
call fcn.00459ec0
lea esi, [ecx + ecx*2]
add ah, dl
dec ecx
add dh, bl
dec ecx
add byte [esi], al
aaa
dec ecx
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3