Function at 0x406ba0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c498
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x49b7f8]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x49b7f8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x160]
push str.BootstrapperQTStudio::DoUninstallApp
push edi
mov dword [esp + 0x18], ebx
call fcn.004087a0
push str.BootstrapperQTStudio::DoUninstallApp___unregisterFileTypes__
push edi
call fcn.004087a0
add esp, 0xc
mov ecx, esi
call fcn.004061c0
push str.BootstrapperQTStudio::DoUninstallApp___UnregisterProtocolHandler
push edi
call fcn.004087a0
mov eax, dword [esi]
add esp, 8
mov ecx, esi
call dword [eax + 0xd0]
mov edx, eax
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
cmp word [edx], ax
jne 0x406c43
xor ecx, ecx
jmp 0x406c63
mov ecx, edx
lea ebx, [ecx + 2]
jmp 0x406c50
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406c50
sub ecx, ebx
mov ebx, dword [esp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0040a280
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x94], 0
call fcn.0041f708
mov dword [esp + 0x90], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x406ca3
push dword [esp + 0x20]
call fcn.0044f82f
add esp, 4
push str.BootstrapperQTStudio::DoUninstallApp___deleteCurVersionKeys
push edi
call fcn.004087a0
add esp, 8
lea ecx, [esp + 0x68]
call fcn.0042e3da
mov dword [esp + 0x90], 1
cmp dword [eax + 0x14], 8
jb 0x406ccd
mov eax, dword [eax]
mov dl, byte [esi + 0x4d]
push eax
mov ecx, edi
call fcn.0042e126
add esp, 4
mov dword [esp + 0x90], 0xffffffff
cmp dword [esp + 0x7c], 8
jb 0x406cf9
push dword [esp + 0x68]
call fcn.0044f82f
add esp, 4
mov ecx, esi
call fcn.00425756
mov edx, str.ROBLOX_Studio_2013
mov ecx, edi
call fcn.0042efe1
mov dl, byte [esi + 0x4d]
push str.ROBLOX_Studio_2013
mov ecx, edi
call fcn.0042f08e
add esp, 4
push str.BootstrapperQTStudio::DoUninstallApp___redirect_to_original_installer
push edi
call fcn.004087a0
mov al, byte [esi + 0x4d]
add esp, 8
mov byte [esp + 0x10], al
push dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
call fcn.00420796
push str.Limb16StudioLauncherBeta.exe
mov edx, eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x94], 2
call fcn.0040b6e0
add esp, 4
mov byte [esp + 0x90], 4
cmp dword [esp + 0x34], 8
jb 0x406d7a
push dword [esp + 0x20]
call fcn.0044f82f
add esp, 4
mov dl, byte [esi + 0x4d]
xor eax, eax
cmp dword [esp + 0x64], 8
push 0
mov word [esp + 0x24], ax
push 0
push ecx
lea eax, [esp + 0x5c]
cmovae eax, dword [esp + 0x5c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
call fcn.0042e668
mov dl, byte [esi + 0x4d]
add esp, 0x14
cmp dword [esp + 0x64], 8
push 0
push 1
push ecx
lea eax, [esp + 0x5c]
cmovae eax, dword [esp + 0x5c]
push eax
push ecx
mov ecx, edi
call fcn.0042e668
mov al, byte [esi + 0x4d]
add esp, 0x14
mov byte [esp + 0x10], al
push dword [esp + 0x10]
lea eax, [esp + 0x6c]
push eax
call fcn.00420796
push str.Limb16StudioLauncherBeta.exe
mov edx, eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 5
call fcn.0040b6e0
add esp, 4
mov byte [esp + 0x90], 7
cmp dword [esp + 0x7c], 8
jb 0x406e20
push dword [esp + 0x68]
call fcn.0044f82f
add esp, 4
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
call fcn.0042e54a
mov byte [esp + 0x90], 8
cmp dword [esp + 0x4c], 8
lea ecx, [esp + 0x38]
cmovae ecx, dword [esp + 0x38]
cmp dword [eax + 0x14], 8
jb 0x406e5e
mov eax, dword [eax]
mov edx, dword [ebx]
push ecx
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0042db09
add esp, 0xc
cmp dword [esp + 0x34], 8
jb 0x406e82
push dword [esp + 0x20]
call fcn.0044f82f
add esp, 4
push 0x47d374
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x406ea8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x18], 0
jb 0x406ec3
push dword [esp + 0x38]
call fcn.0044f82f
add esp, 4
xor eax, eax
cmp dword [esp + 0x64], 8
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
jb 0x406eed
push dword [esp + 0x50]
call fcn.0044f82f
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0044f834
mov esp, ebp
pop ebp
ret 4