Function at 0x489fc0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0e2c
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.004af1f0
mov eax, dword [0x532804]
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, ecx
mov dword [ebp - 0x2228], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x2234], xmm0
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2238], ecx
mov dword [ebp - 0x2224], ebx
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], ebx
mov dword [ebp - 4], ebx
mov ecx, eax
push edi
call fcn.00487dd0
mov esi, eax
test esi, esi
js 0x48a561
lfence
cmp word [edi], 0x7d
je 0x48a561
nop word [eax + eax]
push str.Delete
push edi
mov dword [ebp - 0x2248], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4ed778
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x48a093
test ebx, ebx
je 0x48a1f0
mov ecx, dword [ebp - 0x2228]
push edi
call fcn.00487dd0
mov esi, eax
test esi, esi
js 0x48a561
cmp dword [ebp + 0x10], 0
lfence
je 0x48a1f0
xorps xmm0, xmm0
mov dword [ebp - 0x223c], 0
movq qword [ebp - 0x2244], xmm0
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov byte [ebp - 4], 1
mov ecx, edi
movzx eax, word [edi]
test ax, ax
je 0x48a123
mov edx, eax
nop dword [eax]
cmp dx, 0x5c
je 0x48a11b
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x48a100
jmp 0x48a123
test ecx, ecx
jne 0x48a98c
mov esi, 0x4ed858
nop dword [eax + eax]
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x48a195
add esi, 4
cmp esi, 0x4ed888
jl 0x48a130
mov eax, dword [ebp - 0x2238]
lea ecx, [ebp - 0x2244]
lfence
push edi
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
call fcn.00489a80
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
test ebx, ebx
je 0x48a1e2
mov ebx, dword [ebp - 0x2228]
mov ecx, ebx
push edi
lfence
call fcn.00487dd0
mov esi, eax
test esi, esi
js 0x48a9a4
push edi
mov ecx, ebx
lfence
call fcn.0048ab30
mov esi, eax
test esi, esi
js 0x48a9a4
mov byte [ebp - 4], 0
mov ebx, dword [ebp - 0x2224]
mov dword [ebp - 0x2240], 0
jmp 0x48a5ff
mov byte [ebp - 4], 0
mov dword [ebp - 0x2240], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x2228]
test eax, eax
jne 0x48a21e
push edi
mov ecx, ebx
mov dword [ebp - 0x2248], eax
call fcn.00487dd0
mov esi, eax
test esi, esi
js 0x48a561
push 0x4ed770
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x48a3f6
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.00487dd0
mov esi, eax
test esi, esi
js 0x48a561
push edi
mov ecx, ebx
lfence
call fcn.00487dd0
mov esi, eax
test esi, esi
js 0x48a561
cmp word [edi], 0x3d
jne 0x48a99a
cmp dword [ebp + 0x10], 0
je 0x48a324
lfence
xorps xmm0, xmm0
mov dword [ebp - 0x224c], 0
movq qword [ebp - 0x2254], xmm0
mov dword [ebp - 0x2254], 0
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
mov byte [ebp - 4], 2
mov ecx, ebx
mov eax, dword [ebp - 0x2238]
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2254]
mov dword [ebp - 0x2250], 0
push eax
mov dword [ebp - 0x224c], 0
call fcn.00486c50
mov esi, eax
mov dword [ebp - 0x2254], 0
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
test esi, esi
js 0x48a9b7
mov byte [ebp - 4], 0
mov ebx, dword [ebp - 0x2224]
mov dword [ebp - 0x2250], 0
jmp 0x48a5ff
cmp dword [ebp + 0x14], 0
jne 0x48a3dc
cmp dword [ebp - 0x2248], 0
je 0x48a3dc
xorps xmm0, xmm0
mov dword [ebp - 0x2258], 0
movq qword [ebp - 0x2260], xmm0
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2258], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2260]
push 0x20006
push 0
push dword [ebp - 0x2238]
call fcn.00451f40
test eax, eax
jne 0x48a9fd
mov ebx, dword [ebp - 0x2260]
lea eax, [ebp - 0x2218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x48a3b3
cmp eax, 2
jne 0x48a9ca
mov byte [ebp - 4], 0
test ebx, ebx
je 0x48a3cc
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2260], 0
mov ebx, dword [ebp - 0x2228]
mov dword [ebp - 0x225c], 0
push edi
mov ecx, ebx
lfence
call fcn.0048ab30
mov esi, eax
test esi, esi
js 0x48a561
jmp 0x48a97d
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x48a425
mov edx, eax
cmp dx, 0x5c
je 0x48a41d
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x48a402
jmp 0x48a425
test ecx, ecx
jne 0x48a99a
cmp dword [ebp + 0x10], 0
je 0x48a660
mov ebx, dword [ebp - 0x2238]
lea ecx, [ebp - 0x2234]
push 0x2001f
push edi
push ebx
call fcn.00451f40
test eax, eax
je 0x48a5ad
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x2234]
call fcn.00451f40
test eax, eax
je 0x48a5ad
mov esi, dword [ebp - 0x222c]
mov dword [ebp - 0x2224], 0
test esi, esi
je 0x48a4e6
cmp dword [esi], 0
je 0x48a4d9
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48aa36
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x48a4df
push 0
push dword [esi]
lea eax, [ebp - 0x2220]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2224]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x2238]
call dword [0x4da544]
call ebx
jmp 0x48a509
cmp dword [esi + 4], 0
jne 0x48a4e6
mov eax, 1
jmp 0x48a509
lea eax, [ebp - 0x2220]
push eax
lea eax, [ebp - 0x2224]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, dword [ebp - 0x2234]
test eax, eax
jne 0x48aa4c
test ecx, ecx
je 0x48a52c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2234], 0
mov ebx, dword [ebp - 0x2224]
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2224], ebx
mov dword [ebp - 0x2230], 0
test eax, eax
je 0x48a5b9
push eax
call fcn.00487390
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2224]
test eax, eax
je 0x48a583
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2234], 0
mov eax, esi
mov dword [ebp - 0x2230], 0
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.004aeb30
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp - 0x2234]
mov dword [ebp - 0x2224], ebx
mov ecx, dword [ebp - 0x2228]
push edi
call fcn.00487dd0
mov esi, eax
test esi, esi
js 0x48a561
cmp word [edi], 0x3d
jne 0x48a5ff
mov ecx, dword [ebp - 0x2228]
lea eax, [ebp - 0x2234]
push edi
push 0
push eax
lfence
call fcn.00486c50
mov esi, eax
test esi, esi
js 0x48aa57
mov ebx, dword [ebp - 0x2234]
mov dword [ebp - 0x2224], ebx
cmp word [edi], 0x7b
jne 0x48a97d
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a610
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x48a97d
push 0
push dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp - 0x2228]
mov ecx, ebx
push edi
call fcn.00489fc0
mov esi, eax
test esi, esi
js 0x48a561
push edi
mov ecx, ebx
lfence
call fcn.00487dd0
mov esi, eax
test esi, esi
js 0x48a561
jmp 0x48a97d
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x48a68e
push 0x20019
push edi
push dword [ebp - 0x2238]
lea ecx, [ebp - 0x2234]
call fcn.00451f40
mov ebx, eax
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2224], eax
jmp 0x48a693
mov ebx, 2
test ebx, ebx
mov eax, 1
push 0xffffffffffffffff
cmove eax, esi
push edi
mov dword [ebp - 0x221c], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [0x4d95d0]
push eax
call fcn.004146a0
mov ecx, dword [ebp - 0x2228]
add esp, 0x14
push edi
call fcn.00487dd0
mov esi, eax
test esi, esi
js 0x48a561
mov ecx, dword [ebp - 0x2228]
push edi
lfence
call fcn.0048ab30
mov esi, eax
test esi, esi
js 0x48a561
cmp word [edi], 0x7b
jne 0x48a75d
mov ecx, edi
lfence
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a700
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x48a75d
mov ecx, dword [ebp - 0x2228]
lfence
push dword [ebp - 0x221c]
push 0
push dword [ebp - 0x2224]
push edi
call fcn.00489fc0
mov esi, eax
test esi, esi
jns 0x48a744
cmp dword [ebp - 0x221c], 0
je 0x48a561
mov ecx, dword [ebp - 0x2228]
push edi
lfence
call fcn.00487dd0
mov esi, eax
test esi, esi
js 0x48a561
cmp ebx, 2
je 0x48a97d
test ebx, ebx
je 0x48a77a
cmp dword [ebp + 0x14], 0
jne 0x48a97d
push ebx
jmp 0x48a557
cmp dword [ebp + 0x14], 0
mov ebx, dword [ebp - 0x2224]
je 0x48a80f
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x48a80f
cmp dword [ebp - 0x221c], eax
jbe 0x48a80f
mov ecx, dword [ebp - 0x2228]
lea eax, [ebp - 0x218]
push eax
lfence
call fcn.004873b0
test eax, eax
je 0x48a97d
cmp dword [ebp - 0x2248], 0
je 0x48a97d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2234]
call fcn.00489a80
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2224], eax
jmp 0x48a97d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x48a843
xor ebx, ebx
jmp 0x48a84f
xor eax, eax
cmp eax, dword [ebp - 0x221c]
sbb ebx, ebx
neg ebx
mov ecx, dword [ebp - 0x2224]
xor eax, eax
test ecx, ecx
je 0x48a870
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 0x2234], ecx
mov dword [ebp - 0x2230], 0
test eax, eax
jne 0x48a556
cmp dword [ebp - 0x2248], eax
je 0x48a97d
test ebx, ebx
jne 0x48a97d
xorps xmm0, xmm0
mov dword [ebp - 0x2264], ebx
movq qword [ebp - 0x226c], xmm0
mov dword [ebp - 0x226c], ebx
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2238]
mov dword [ebp - 0x226c], eax
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
cmp byte [0x53b0ac], bl
jne 0x48a924
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48a90f
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov byte [0x53b0ac], 1
mov eax, dword [ebp - 0x2238]
mov dword [0x53b0a8], ebx
jmp 0x48a92a
mov ebx, dword [0x53b0a8]
mov eax, dword [ebp - 0x2238]
mov byte [0x53b0ac], 1
jmp 0x48a92a
mov ebx, dword [0x53b0a8]
lea ecx, [ebp - 0x218]
test ebx, ebx
je 0x48a946
push 0
push 0
push ecx
push eax
mov ecx, ebx
call dword [0x4da544]
call ebx
jmp 0x48a94e
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x226c], 0
mov dword [ebp - 0x2268], 0
mov dword [ebp - 0x2264], 0
test eax, eax
jne 0x48aa68
mov byte [ebp - 4], al
mov dword [ebp - 0x2268], eax
cmp word [edi], 0x7d
jne 0x48a060
jmp 0x48a561
mov byte [ebp - 4], 0
mov dword [ebp - 0x2240], 0
mov esi, 0x80020009
jmp 0x48a561
mov byte [ebp - 4], 0
mov dword [ebp - 0x2240], 0
jmp 0x48a561
mov byte [ebp - 4], 0
mov dword [ebp - 0x2250], 0
jmp 0x48a561
push eax
call fcn.00487390
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0
test ebx, ebx
je 0x48aa27
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x225c], 0
jmp 0x48a561
push eax
call fcn.00487390
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2260]
test eax, eax
je 0x48aa27
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x225c], 0
jmp 0x48a561
mov ebx, dword [ebp - 0x2234]
mov eax, 1
mov dword [ebp - 0x2224], ebx
jmp 0x48a556
mov dword [ebp - 0x2224], ecx
jmp 0x48a556
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2224], eax
jmp 0x48a561
push eax
call fcn.00487390
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2268], 0
jmp 0x48a561