Function at 0x4606f0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x494f87
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.004865f0
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x2248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x2260]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2274]
mov ebx, dword [esp + 0x2270]
xor esi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2268], esi
mov edx, dword [esp + 0x227c]
mov eax, ebx
mov dword [esp + 0x50], edx
call fcn.00460580
mov ebp, eax
cmp ebp, esi
jge 0x46077e
mov dword [esp + 0x2268], 0xffffffff
jmp 0x460e7c
cmp word [ebx], 0x7d
je 0x460e5a
jmp 0x460790
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [esp + 0x2c], 1
call esi
mov edi, eax
neg edi
push str.ForceRemove
sbb edi, edi
push ebx
inc edi
call esi
test eax, eax
je 0x4607c1
test edi, edi
je 0x460919
mov ecx, dword [esp + 0x20]
mov eax, ebx
call fcn.00460580
mov ebp, eax
test ebp, ebp
jl 0x460e5a
xor ebp, ebp
cmp dword [esp + 0x2278], ebp
je 0x460913
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov byte [esp + 0x2268], 1
movzx ecx, word [ebx]
mov eax, ebx
cmp cx, bp
je 0x460823
mov esi, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, cx
cmp cx, 0x5c
je 0x46081b
push eax
call esi
movzx ecx, word [eax]
cmp cx, bp
jne 0x460808
jmp 0x460823
cmp eax, ebp
jne 0x460da8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebp, 0x4a5d24
mov edi, edi
mov eax, dword [ebp]
push eax
push ebx
call esi
test eax, eax
je 0x460866
add ebp, 4
cmp ebp, str.AddDllDirectory
jl 0x460830
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
xor ebp, ebp
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], ebp
call fcn.004602e0
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
test edi, edi
je 0x460901
mov esi, dword [esp + 0x20]
mov eax, ebx
mov ecx, esi
call fcn.00460580
mov ebp, eax
test ebp, ebp
jl 0x460dd7
mov edi, ebx
mov ecx, esi
call fcn.00460230
mov ebp, eax
test ebp, ebp
jl 0x460dd7
mov byte [esp + 0x2268], 0
mov dword [esp + 0x30], 0
cmp word [ebx], 0x7b
jne 0x4608f2
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4608f2
mov edx, dword [esp + 0x2278]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push 0
push edx
push eax
push ebx
call fcn.004606f0
mov ebp, eax
test ebp, ebp
jl 0x460e5a
mov ecx, dword [esp + 0x20]
mov eax, ebx
call fcn.00460580
mov ebp, eax
test ebp, ebp
jl 0x460e5a
cmp word [ebx], 0x7d
jne 0x460790
jmp 0x460e5a
mov byte [esp + 0x2268], 0
mov dword [esp + 0x30], 0
jmp 0x460919
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.NoRemove
push ebx
call esi
test eax, eax
jne 0x460944
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, ebx
call fcn.00460580
mov ebp, eax
test ebp, ebp
jl 0x460e5a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebp, dword [esp + 0x18]
push 0x4a5cf4
push ebx
xor edi, edi
call esi
test eax, eax
jne 0x460a94
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x25c]
call fcn.00460580
mov ebp, eax
cmp ebp, edi
jl 0x460e5a
mov ecx, dword [esp + 0x20]
mov eax, ebx
call fcn.00460580
mov ebp, eax
test ebp, ebp
jl 0x460e5a
cmp word [ebx], 0x3d
jne 0x460db9
xor esi, esi
cmp dword [esp + 0x2278], esi
je 0x4609f3
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov byte [esp + 0x2268], 2
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push ebx
lea eax, [esp + 0x48]
mov dword [esp + 0x48], edx
push eax
lea edx, [esp + 0x264]
mov dword [esp + 0x50], esi
call fcn.0045fe50
mov ebp, eax
cmp ebp, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
jl 0x460de5
mov byte [esp + 0x2268], 0
mov dword [esp + 0x48], esi
jmp 0x4608a8
cmp dword [esp + 0x227c], esi
jne 0x460a80
cmp dword [esp + 0x24], esi
je 0x460a80
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0x2268], 3
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
push 0x20006
push esi
push esi
push edx
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x460e0e
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x25c]
push eax
mov dword [esp + 0x3c], esi
push edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x460a65
cmp eax, 2
jne 0x460e0e
mov byte [esp + 0x2268], 0
cmp edi, esi
je 0x460a7c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x20]
mov edi, ebx
call fcn.00460230
mov ebp, eax
cmp ebp, esi
jmp 0x4608ec
movzx ecx, word [ebx]
mov eax, ebx
cmp cx, di
je 0x460ac0
movzx ecx, cx
cmp cx, 0x5c
je 0x460ab8
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, di
jne 0x460aa1
jmp 0x460ac0
cmp eax, edi
jne 0x460db9
cmp dword [esp + 0x2278], edi
je 0x460bb0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
push 0x2001f
push edi
push ebx
push edx
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x460b15
xor eax, eax
cmp ebp, edi
je 0x460afd
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x460b71
xor edi, edi
mov ebp, ecx
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
push edx
push 0x20019
push edi
push ebx
push eax
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x460b59
xor eax, eax
cmp ebp, edi
je 0x460b45
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x460b71
mov edx, dword [esp + 0x28]
push edx
mov edx, ebx
lea esi, [esp + 0x1c]
call fcn.0045fc00
test eax, eax
jne 0x460e23
mov ecx, dword [esp + 0x20]
mov eax, ebx
call fcn.00460580
mov ebp, eax
test ebp, ebp
jl 0x460e5a
cmp word [ebx], 0x3d
jne 0x4608a8
mov ecx, dword [esp + 0x20]
push ebx
lea eax, [esp + 0x1c]
push eax
xor edx, edx
call fcn.0045fe50
mov ebp, eax
test ebp, ebp
jl 0x460e5a
jmp 0x4608a8
cmp dword [esp + 0x227c], edi
jne 0x460ccf
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x4c]
push ecx
push 0x20019
push edi
push ebx
push edx
mov dword [esp + 0x60], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x460bfd
xor eax, eax
cmp ebp, edi
je 0x460bed
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov esi, eax
cmp eax, edi
je 0x460c0e
mov dword [esp + 0x227c], 1
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x5c]
push 0x104
push edx
call fcn.004753aa
push eax
call fcn.00408520
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov eax, ebx
call fcn.00460580
mov ebp, eax
cmp ebp, edi
jl 0x460e5a
mov ecx, dword [esp + 0x20]
mov edi, ebx
call fcn.00460230
mov ebp, eax
test ebp, ebp
jl 0x460e5a
cmp word [ebx], 0x7b
jne 0x460ca1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x460ca1
mov edi, dword [esp + 0x227c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push edi
push 0
push eax
push ebx
call fcn.004606f0
mov ebp, eax
test ebp, ebp
jge 0x460c8c
test edi, edi
je 0x460e5a
mov ecx, dword [esp + 0x20]
mov eax, ebx
call fcn.00460580
mov ebp, eax
test ebp, ebp
jl 0x460e5a
mov eax, dword [esp + 0x50]
mov dword [esp + 0x227c], eax
cmp esi, 2
je 0x4608f2
test esi, esi
je 0x460cd9
test eax, eax
jne 0x4608f2
mov eax, esi
call fcn.00461810
mov ebp, eax
jmp 0x460e5a
mov esi, 2
jmp 0x460c03
mov esi, dword [esp + 0x18]
test eax, eax
je 0x460d1c
mov ecx, esi
call fcn.004604b0
test eax, eax
je 0x460d1c
lea ecx, [esp + 0x54]
push ecx
call fcn.004602a0
test eax, eax
je 0x4608f2
cmp dword [esp + 0x24], 0
je 0x4608f2
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x1c]
call fcn.004602e0
jmp 0x4608f2
mov ecx, esi
call fcn.004604b0
mov edi, eax
xor eax, eax
test esi, esi
je 0x460d3a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x460e23
cmp dword [esp + 0x24], eax
je 0x4608f2
test edi, edi
jne 0x4608f2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x2268], 4
mov ecx, dword [esp + 0x28]
lea edi, [esp + 0x54]
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
call fcn.004604f0
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
cmp eax, ecx
jne 0x460e42
mov byte [esp + 0x2268], cl
call fcn.0040f310
jmp 0x4608f2
mov byte [esp + 0x2268], 0
lea esi, [esp + 0x2c]
call fcn.0040f310
mov dword [esp + 0x2268], 0xffffffff
lea esi, [esp + 0x18]
call fcn.0040f310
mov eax, 0x80020009
jmp 0x460e80
mov byte [esp + 0x2268], 0
lea esi, [esp + 0x2c]
jmp 0x460e55
mov byte [esp + 0x2268], 0
lea esi, [esp + 0x44]
call fcn.0040f310
mov dword [esp + 0x2268], 0xffffffff
lea esi, [esp + 0x18]
call fcn.0040f310
mov eax, ebp
jmp 0x460e80
call fcn.00461810
mov ebp, eax
mov byte [esp + 0x2268], 0
lea esi, [esp + 0x34]
jmp 0x460e55
call fcn.00461810
mov edi, eax
mov dword [esp + 0x2268], 0xffffffff
lea esi, [esp + 0x18]
call fcn.0040f310
mov eax, edi
jmp 0x460e80
call fcn.00461810
mov ebp, eax
mov byte [esp + 0x2268], 0
lea esi, [esp + 0x3c]
call fcn.0040f310
mov dword [esp + 0x2268], 0xffffffff
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x460e7a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], esi
mov eax, ebp
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x2260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2248]
xor ecx, esp
call fcn.00471eba
add esp, 0x2258
ret 0x10