Function at 0x497c60
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x294]
sub esp, 0x294
push 0xffffffffffffffff
push 0x5d1890
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6d26f8]
xor eax, ebp
mov dword [ebp + 0x290], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x6ead7c]
push 0x104
lea ecx, [ebp + 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x497ea8
mov dword [ebp - 4], 0
lea eax, [ebp + 0x38]
lea ecx, [ebp]
call fcn.0040b2d0
mov byte [ebp - 4], 1
push 1
lea ebx, [ebp]
call fcn.004984d0
cmp eax, 0xffffffff
je 0x497e9c
mov ecx, dword [ebp + 0x14]
dec ecx
lea edx, [eax + 1]
lea eax, [ebp - 0x2c]
push eax
mov eax, ebx
push eax
call fcn.0040b590
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0040d430
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2c]
call fcn.00440d90
lea ecx, [ebp + 0x240]
push ecx
mov ecx, 0x693f78
call fcn.0042b380
add esp, 4
mov eax, str.AppID_
lea ecx, [ebp - 0x2c]
call fcn.0040b2d0
mov byte [ebp - 4], 3
push eax
lea edx, [ebp + 0x1c]
push edx
lea edi, [ebp + 0x240]
call fcn.00468ce0
add esp, 8
mov byte [ebp - 4], 5
lea esi, [ebp - 0x2c]
call fcn.00440d90
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x29c], 0
je 0x497da3
mov esi, 8
cmp dword [ebp + 0x34], esi
jae 0x497d6d
lea eax, [ebp + 0x20]
push eax
mov ecx, str.VibraniumService
mov edx, 0x692fd0
call fcn.00498390
add esp, 4
cmp dword [ebp + 0x34], esi
mov ecx, dword [ebp + 0x20]
jae 0x497d8b
lea ecx, [ebp + 0x20]
push 1
push 0x22
mov edi, str.VibraniumService
mov eax, str.LocalService
call fcn.0042b2e0
add esp, 8
jmp 0x497db8
cmp dword [ebp + 0x34], 8
jae 0x497dac
lea eax, [ebp + 0x20]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, str.AppID_
lea ecx, [ebp - 0x48]
call fcn.0040b2d0
mov bl, 6
mov byte [ebp - 4], bl
lea ecx, [ebp]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
call fcn.004137c0
add esp, 0xc
mov byte [ebp - 4], 7
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x1c]
call fcn.0040d430
mov byte [ebp - 4], bl
lea esi, [ebp - 0x2c]
call fcn.00440d90
mov byte [ebp - 4], 5
lea esi, [ebp - 0x48]
call fcn.00440d90
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x29c], 0
je 0x497e6b
mov esi, 8
cmp dword [ebp + 0x34], esi
jae 0x497e1b
lea eax, [ebp + 0x20]
push eax
mov ecx, 0x692fd0
mov edx, ecx
call fcn.00498390
add esp, 4
cmp dword [ebp + 0x34], esi
mov ecx, dword [ebp + 0x20]
jae 0x497e36
lea ecx, [ebp + 0x20]
lea eax, [ebp + 0x240]
lea esi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x497e40
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push 1
push eax
lea edi, [ebp + 0x240]
mov eax, str.AppID
call fcn.0042b2e0
add esp, 8
jmp 0x497e80
cmp dword [ebp + 0x34], 8
jae 0x497e74
lea eax, [ebp + 0x20]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov byte [ebp - 4], 1
lea esi, [ebp + 0x1c]
call fcn.00440d90
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00440d90
xor eax, eax
jmp 0x497ead
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00440d90
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x290]
xor ecx, ebp
call fcn.0059393a
add ebp, 0x294
mov esp, ebp
pop ebp
ret