Function at 0x487800
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1e3c
mov eax, dword fs:[0]
push eax
mov eax, 0x2250
call fcn.00552d20
mov eax, dword [0x62cf50]
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 - 0x2224], 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 - 0x222c], 0
mov dword [ebp - 0x2228], ecx
mov dword [ebp - 0x2220], ebx
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], ebx
push edi
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00486cd0
mov esi, eax
test esi, esi
js 0x48806c
lfence
cmp word [edi], 0x7d
je 0x48806c
nop word [eax + eax]
push 0x5b5754
push edi
mov dword [ebp - 0x2238], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x5b5728
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4878d3
test ebx, ebx
je 0x487a2a
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.00486cd0
mov esi, eax
test esi, esi
js 0x48806c
cmp dword [ebp + 0x10], 0
lfence
je 0x487a2a
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
movzx eax, word [edi]
mov ecx, edi
mov byte [ebp - 4], 1
test ax, ax
je 0x487963
mov edx, eax
nop dword [eax]
cmp dx, 0x5c
je 0x48795b
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x487940
jmp 0x487963
test ecx, ecx
jne 0x488041
mov esi, 0x5b6b6c
nop dword [eax + eax]
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4879d5
add esi, 4
cmp esi, 0x5b6b9c
jl 0x487970
mov eax, dword [ebp - 0x2228]
lea ecx, [ebp - 0x2244]
lfence
push edi
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
call fcn.00487340
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
test ebx, ebx
je 0x487a1c
mov ebx, dword [ebp - 0x2224]
mov ecx, ebx
push edi
lfence
call fcn.00486cd0
mov esi, eax
test esi, esi
js 0x48806c
push edi
mov ecx, ebx
lfence
call fcn.004885d0
mov esi, eax
test esi, esi
js 0x48806c
mov byte [ebp - 4], 0
mov dword [ebp - 0x2240], 0
jmp 0x487cdb
mov byte [ebp - 4], 0
mov dword [ebp - 0x2240], 0
push 0x5b5740
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x2224]
test eax, eax
jne 0x487a58
push edi
mov ecx, ebx
mov dword [ebp - 0x2238], eax
call fcn.00486cd0
mov esi, eax
test esi, esi
js 0x48806c
push 0x5b5720
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x487c0c
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.00486cd0
mov esi, eax
test esi, esi
js 0x48806c
push edi
mov ecx, ebx
lfence
call fcn.00486cd0
mov esi, eax
test esi, esi
js 0x48806c
cmp word [edi], 0x3d
jne 0x488041
cmp dword [ebp + 0x10], 0
je 0x487b3a
lfence
xorps xmm0, xmm0
mov dword [ebp - 0x2248], 0
movq qword [ebp - 0x2250], xmm0
mov eax, dword [ebp - 0x2228]
mov ecx, ebx
mov dword [ebp - 0x2250], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2250]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
call fcn.004843f0
mov esi, eax
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
test esi, esi
js 0x48806c
mov byte [ebp - 4], 0
mov dword [ebp - 0x224c], 0
jmp 0x487cdb
cmp dword [ebp + 0x14], 0
jne 0x487bf2
cmp dword [ebp - 0x2238], 0
je 0x487bf2
xorps xmm0, xmm0
mov dword [ebp - 0x2254], 0
movq qword [ebp - 0x225c], xmm0
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2254], 0
push 0x20006
push 0
push dword [ebp - 0x2228]
lea ecx, [ebp - 0x225c]
mov byte [ebp - 4], 3
call fcn.00486e80
test eax, eax
jne 0x48801f
mov ebx, dword [ebp - 0x225c]
lea eax, [ebp - 0x2218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x487bc9
cmp eax, 2
jne 0x488003
mov byte [ebp - 4], 0
test ebx, ebx
je 0x487be2
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x225c], 0
mov ebx, dword [ebp - 0x2224]
mov dword [ebp - 0x2258], 0
push edi
mov ecx, ebx
lfence
call fcn.004885d0
mov esi, eax
test esi, esi
js 0x48806c
jmp 0x487ff7
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x487c3b
mov edx, eax
cmp dx, 0x5c
je 0x487c33
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x487c18
jmp 0x487c3b
test ecx, ecx
jne 0x488041
cmp dword [ebp + 0x10], 0
je 0x487d3f
mov esi, dword [ebp - 0x2228]
lea ecx, [ebp - 0x2234]
push 0x2001f
push edi
push esi
call fcn.00486e80
test eax, eax
je 0x487c99
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2234]
call fcn.00486e80
test eax, eax
je 0x487c99
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x2234]
call fcn.00485280
test eax, eax
jne 0x488048
push edi
mov ecx, ebx
call fcn.00486cd0
mov esi, eax
test esi, esi
js 0x488053
cmp word [edi], 0x3d
jne 0x487ccf
push edi
push 0
lea eax, [ebp - 0x2234]
mov ecx, ebx
push eax
lfence
call fcn.004843f0
mov esi, eax
test esi, esi
js 0x488053
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2220], eax
cmp word [edi], 0x7b
jne 0x487ff7
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487cf0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x487ff7
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2220]
push edi
call fcn.00487800
mov esi, eax
test esi, esi
js 0x48806c
push edi
mov ecx, ebx
lfence
call fcn.00486cd0
mov esi, eax
test esi, esi
js 0x48806c
jmp 0x487ff7
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x487d6d
push 0x20019
push edi
push dword [ebp - 0x2228]
lea ecx, [ebp - 0x2234]
call fcn.00486e80
mov ebx, eax
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2220], eax
jmp 0x487d72
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 fcn.00410204
push eax
call fcn.00484ab0
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
push edi
call fcn.00486cd0
mov esi, eax
test esi, esi
js 0x48806c
mov ecx, dword [ebp - 0x2224]
push edi
lfence
call fcn.004885d0
mov esi, eax
test esi, esi
js 0x48806c
cmp word [edi], 0x7b
jne 0x487e3d
mov ecx, edi
lfence
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487de0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x487e3d
mov ecx, dword [ebp - 0x2224]
lfence
push dword [ebp - 0x221c]
push 0
push dword [ebp - 0x2220]
push edi
call fcn.00487800
mov esi, eax
test esi, esi
jns 0x487e24
cmp dword [ebp - 0x221c], 0
je 0x48806c
mov ecx, dword [ebp - 0x2224]
push edi
lfence
call fcn.00486cd0
mov esi, eax
test esi, esi
js 0x48806c
cmp ebx, 2
je 0x487ff7
test ebx, ebx
je 0x487e5a
cmp dword [ebp + 0x14], 0
jne 0x487ff7
push ebx
jmp 0x488062
cmp dword [ebp + 0x14], 0
je 0x487ef8
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 dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x487ef8
cmp dword [ebp - 0x221c], eax
jbe 0x487ef8
mov ebx, 0x5b6b6c
push dword [ebx]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x487ff7
add ebx, 4
cmp ebx, 0x5b6b9c
jl 0x487ea6
cmp dword [ebp - 0x2238], 0
je 0x487ff7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2234]
call fcn.00487340
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2220], eax
jmp 0x487ff7
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 dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x487f31
xor ebx, ebx
jmp 0x487f3d
xor eax, eax
cmp eax, dword [ebp - 0x221c]
sbb ebx, ebx
neg ebx
mov ecx, dword [ebp - 0x2220]
xor eax, eax
test ecx, ecx
je 0x487f5e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2220], ecx
mov dword [ebp - 0x2234], ecx
mov dword [ebp - 0x2230], 0
test eax, eax
jne 0x488061
cmp dword [ebp - 0x2238], eax
je 0x487ff7
test ebx, ebx
jne 0x487ff7
cmp byte [0x631b04], bl
jne 0x487fbf
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x487fb0
push 0x5b6b3c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov byte [0x631b04], 1
mov dword [0x631b00], ebx
jmp 0x487fc5
mov ebx, dword [0x631b00]
mov byte [0x631b04], 1
jmp 0x487fc5
mov ebx, dword [0x631b00]
lea eax, [ebp - 0x218]
test ebx, ebx
je 0x487fe6
push 0
push 0
push eax
push dword [ebp - 0x2228]
mov ecx, ebx
call dword [0x5b1854]
call ebx
jmp 0x487ff3
push eax
push dword [ebp - 0x2228]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x488061
cmp word [edi], 0x7d
jne 0x4878a0
jmp 0x48806c
push eax
call fcn.00484b80
add esp, 4
mov byte [ebp - 4], 0
mov esi, eax
test ebx, ebx
je 0x48806c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48806c
push eax
call fcn.00484b80
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x225c]
add esp, 4
test eax, eax
je 0x48806c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48806c
mov esi, 0x80020009
jmp 0x48806c
push eax
call fcn.00484b80
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2220], eax
jmp 0x48806c
push eax
call fcn.00484b80
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x488084
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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 int.004016cd
mov esp, ebp
pop ebp
ret 0x10