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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5743bc
mov eax, dword fs:[0]
push eax
mov eax, 0x2250
call fcn.0053d080
mov eax, dword [0x5edd38]
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.00481420
mov esi, eax
test esi, esi
js 0x4827bc
lfence
cmp word [edi], 0x7d
je 0x4827bc
nop word [eax + eax]
push 0x584adc
push edi
mov dword [ebp - 0x2238], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x584ab0
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x482023
test ebx, ebx
je 0x48217a
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.00481420
mov esi, eax
test esi, esi
js 0x4827bc
cmp dword [ebp + 0x10], 0
lfence
je 0x48217a
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 0x4820b3
mov edx, eax
nop dword [eax]
cmp dx, 0x5c
je 0x4820ab
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x482090
jmp 0x4820b3
test ecx, ecx
jne 0x482791
mov esi, 0x586194
nop dword [eax + eax]
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x482125
add esi, 4
cmp esi, 0x5861c4
jl 0x4820c0
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.00481a90
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
test ebx, ebx
je 0x48216c
mov ebx, dword [ebp - 0x2224]
mov ecx, ebx
push edi
lfence
call fcn.00481420
mov esi, eax
test esi, esi
js 0x4827bc
push edi
mov ecx, ebx
lfence
call fcn.00482d20
mov esi, eax
test esi, esi
js 0x4827bc
mov byte [ebp - 4], 0
mov dword [ebp - 0x2240], 0
jmp 0x48242b
mov byte [ebp - 4], 0
mov dword [ebp - 0x2240], 0
push 0x584ac8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x2224]
test eax, eax
jne 0x4821a8
push edi
mov ecx, ebx
mov dword [ebp - 0x2238], eax
call fcn.00481420
mov esi, eax
test esi, esi
js 0x4827bc
push 0x584aa8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x48235c
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.00481420
mov esi, eax
test esi, esi
js 0x4827bc
push edi
mov ecx, ebx
lfence
call fcn.00481420
mov esi, eax
test esi, esi
js 0x4827bc
cmp word [edi], 0x3d
jne 0x482791
cmp dword [ebp + 0x10], 0
je 0x48228a
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.0047eaf0
mov esi, eax
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
test esi, esi
js 0x4827bc
mov byte [ebp - 4], 0
mov dword [ebp - 0x224c], 0
jmp 0x48242b
cmp dword [ebp + 0x14], 0
jne 0x482342
cmp dword [ebp - 0x2238], 0
je 0x482342
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.004815d0
test eax, eax
jne 0x48276f
mov ebx, dword [ebp - 0x225c]
lea eax, [ebp - 0x2218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x482319
cmp eax, 2
jne 0x482753
mov byte [ebp - 4], 0
test ebx, ebx
je 0x482332
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.00482d20
mov esi, eax
test esi, esi
js 0x4827bc
jmp 0x482747
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x48238b
mov edx, eax
cmp dx, 0x5c
je 0x482383
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x482368
jmp 0x48238b
test ecx, ecx
jne 0x482791
cmp dword [ebp + 0x10], 0
je 0x48248f
mov esi, dword [ebp - 0x2228]
lea ecx, [ebp - 0x2234]
push 0x2001f
push edi
push esi
call fcn.004815d0
test eax, eax
je 0x4823e9
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2234]
call fcn.004815d0
test eax, eax
je 0x4823e9
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x2234]
call fcn.0047f970
test eax, eax
jne 0x482798
push edi
mov ecx, ebx
call fcn.00481420
mov esi, eax
test esi, esi
js 0x4827a3
cmp word [edi], 0x3d
jne 0x48241f
push edi
push 0
lea eax, [ebp - 0x2234]
mov ecx, ebx
push eax
lfence
call fcn.0047eaf0
mov esi, eax
test esi, esi
js 0x4827a3
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2220], eax
cmp word [edi], 0x7b
jne 0x482747
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482440
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x482747
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2220]
push edi
call fcn.00481f50
mov esi, eax
test esi, esi
js 0x4827bc
push edi
mov ecx, ebx
lfence
call fcn.00481420
mov esi, eax
test esi, esi
js 0x4827bc
jmp 0x482747
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x4824bd
push 0x20019
push edi
push dword [ebp - 0x2228]
lea ecx, [ebp - 0x2234]
call fcn.004815d0
mov ebx, eax
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2220], eax
jmp 0x4824c2
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.0040e527
push eax
call fcn.0047f1b0
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
push edi
call fcn.00481420
mov esi, eax
test esi, esi
js 0x4827bc
mov ecx, dword [ebp - 0x2224]
push edi
lfence
call fcn.00482d20
mov esi, eax
test esi, esi
js 0x4827bc
cmp word [edi], 0x7b
jne 0x48258d
mov ecx, edi
lfence
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482530
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x48258d
mov ecx, dword [ebp - 0x2224]
lfence
push dword [ebp - 0x221c]
push 0
push dword [ebp - 0x2220]
push edi
call fcn.00481f50
mov esi, eax
test esi, esi
jns 0x482574
cmp dword [ebp - 0x221c], 0
je 0x4827bc
mov ecx, dword [ebp - 0x2224]
push edi
lfence
call fcn.00481420
mov esi, eax
test esi, esi
js 0x4827bc
cmp ebx, 2
je 0x482747
test ebx, ebx
je 0x4825aa
cmp dword [ebp + 0x14], 0
jne 0x482747
push ebx
jmp 0x4827b2
cmp dword [ebp + 0x14], 0
je 0x482648
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 0x482648
cmp dword [ebp - 0x221c], eax
jbe 0x482648
mov ebx, 0x586194
push dword [ebx]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x482747
add ebx, 4
cmp ebx, 0x5861c4
jl 0x4825f6
cmp dword [ebp - 0x2238], 0
je 0x482747
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2234]
call fcn.00481a90
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2220], eax
jmp 0x482747
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 0x482681
xor ebx, ebx
jmp 0x48268d
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 0x4826ae
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 0x4827b1
cmp dword [ebp - 0x2238], eax
je 0x482747
test ebx, ebx
jne 0x482747
cmp byte [0x5f16d4], bl
jne 0x48270f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x482700
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov byte [0x5f16d4], 1
mov dword [0x5f16d0], ebx
jmp 0x482715
mov ebx, dword [0x5f16d0]
mov byte [0x5f16d4], 1
jmp 0x482715
mov ebx, dword [0x5f16d0]
lea eax, [ebp - 0x218]
test ebx, ebx
je 0x482736
push 0
push 0
push eax
push dword [ebp - 0x2228]
mov ecx, ebx
call dword [0x5817c0]
call ebx
jmp 0x482743
push eax
push dword [ebp - 0x2228]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4827b1
cmp word [edi], 0x7d
jne 0x481ff0
jmp 0x4827bc
push eax
call fcn.0047f280
add esp, 4
mov byte [ebp - 4], 0
mov esi, eax
test ebx, ebx
je 0x4827bc
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4827bc
push eax
call fcn.0047f280
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x225c]
add esp, 4
test eax, eax
je 0x4827bc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4827bc
mov esi, 0x80020009
jmp 0x4827bc
push eax
call fcn.0047f280
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2220], eax
jmp 0x4827bc
push eax
call fcn.0047f280
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4827d4
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 fcn.00401682
mov esp, ebp
pop ebp
ret 0x10