Function at 0x4099b3
Capabilities:
Delete file

Disassembly:
push 0x5c0
mov eax, 0x444209
call fcn.00442b9c
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4f8], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x50c], esi
mov dword [ebp - 0x510], eax
mov dword [ebp - 0x508], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0x40], 8
lea ecx, [ebp + 0x2c]
cmovae ecx, dword [ebp + 0x2c]
cmp dword [ebp + 0x28], 0x10
push ecx
push dword [ebp - 0x4f8]
lea eax, [ebp + 0x14]
cmovae eax, dword [ebp + 0x14]
push eax
lea edx, [esi + 0x150]
push str.BootstrapperClient::deployExtraStudioBootstrapper_name___s__linkName___S__component___S
push edx
call fcn.00402357
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
push str.BootstrapperDeployStudioBootstrapperStarted
call dword [eax + 0xa4]
mov byte [ebp - 4], 2
cmp dword [ebp + 0x40], 8
lea ecx, [ebp + 0x2c]
cmovae ecx, dword [ebp + 0x2c]
cmp dword [ebp + 0x28], 0x10
push ecx
push dword [ebp - 0x4f8]
lea eax, [ebp + 0x14]
cmovae eax, dword [ebp + 0x14]
push eax
lea eax, [esi + 0x150]
push str.BootstrapperClient::deployExtraStudioBootstrapper_name___s__linkName___S__component___S
push eax
call fcn.00402357
add esp, 0x14
lea eax, [ebp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x4bc]
mov dword [ebp - 0x4a8], 0xf
mov dword [ebp - 0x4ac], ebx
mov byte [ebp - 0x4bc], bl
call fcn.00402cbd
mov byte [ebp - 4], 3
mov al, byte [esi + 0x4d]
mov byte [ebp - 0x4fc], al
push dword [ebp - 0x4fc]
lea eax, [ebp - 0x444]
push eax
call fcn.0041a6d3
lea edx, [ebp - 0x4bc]
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 4
call fcn.0040fc50
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 5
call fcn.0040cb16
push ebx
push edi
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 4
call fcn.0040253d
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
lea eax, [ebp - 0x222]
push ebx
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x206
mov word [ebp - 0x42c], ax
lea eax, [ebp - 0x42a]
push ebx
push eax
call sub.MSVCR110.dll_memset
cmp dword [ebp + 0x40], 8
mov dl, byte [esi + 0x4d]
lea eax, [ebp + 0x2c]
cmovae eax, dword [ebp + 0x2c]
add esp, 8
lea ecx, [ebp - 0x42c]
push ecx
push ecx
lea ecx, [ebp - 0x224]
push ecx
push eax
lea ecx, [esi + 0x150]
call fcn.004380df
add esp, 0x14
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [esi + 0x150]
push str.BootstrapperClient::deployExtraStudioBootstrapper___Studio_version___S__url___S
push eax
call fcn.00402357
add esp, 0x10
mov edx, str.ROBLOX_Studio_2013
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 6
call fcn.00438f16
mov dl, byte [esi + 0x4d]
push str.ROBLOX_Studio_2013
lea ecx, [esi + 0x150]
call fcn.00438fc7
pop ecx
jmp 0x409bcb
mov dword [ebp - 4], 4
mov al, byte [esi + 0x32f]
mov byte [ebp - 0x4fc], bl
test al, al
je 0x409c81
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x458], 0x4e40000
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 8
call fcn.00412cf1
test eax, eax
je 0x409c72
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x458]
call fcn.00412e9d
lea edx, [esi + 0x2fc]
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 0x10
jb 0x409c46
mov edx, dword [edx]
lea ecx, [ebp - 0x474]
call fcn.0040d516
mov cl, al
mov eax, dword [ebp - 0x4fc]
movzx eax, al
test cl, cl
cmove eax, edi
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x4fc], eax
call fcn.00402286
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 4
call fcn.00412c2e
xor eax, eax
mov word [ebp - 0x474], ax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x464], ebx
call fcn.0040cbb9
xor eax, eax
mov byte [ebp - 4], 0xa
inc eax
cmp dword [ebp - 0x464], 0
mov dword [ebp - 0x4f4], eax
mov dword [ebp - 0x508], eax
je 0x409d7d
cmp byte [ebp - 0x4fc], 0
jne 0x409d7d
mov eax, dword [esi]
lea ecx, [ebp - 0x4a4]
push ecx
mov ecx, esi
call dword [eax]
mov dword [ebp - 4], 0xb
mov edx, eax
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x508], 3
call fcn.0040fc50
mov edi, eax
push 7
pop eax
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x448], eax
xor eax, eax
mov word [ebp - 0x45c], ax
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x44c], ebx
call fcn.0040cbb9
mov dword [ebp - 4], 0xd
cmp dword [edi + 0x14], 8
push 0xf
pop eax
mov dword [ebp - 0x4f4], eax
mov dword [ebp - 0x508], eax
mov eax, dword [edi + 0x10]
jb 0x409d5e
mov edi, dword [edi]
push eax
push edi
push dword [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x45c]
call fcn.004036d3
mov byte [ebp - 0x4ed], 1
test eax, eax
je 0x409d83
mov byte [ebp - 0x4ed], bl
mov eax, dword [ebp - 0x4f4]
test al, 8
je 0x409daa
push ebx
and eax, 0xfffffff7
push 1
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x4f4], eax
call fcn.0040253d
mov eax, dword [ebp - 0x4f4]
test al, 4
je 0x409dcb
push ebx
and eax, 0xfffffffb
push 1
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x4f4], eax
call fcn.0040253d
mov eax, dword [ebp - 0x4f4]
test al, 2
je 0x409de9
and eax, 0xfffffffd
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x4f4], eax
call fcn.00402286
mov eax, dword [ebp - 0x4f4]
xor edi, edi
inc edi
mov dword [ebp - 4], 4
test al, 1
je 0x409e04
push ebx
push edi
lea ecx, [ebp - 0x474]
call fcn.0040253d
cmp byte [ebp - 0x4ed], 0
je 0x409edd
lea eax, [esi + 0x150]
push str.BootstrapperClient::deployExtraStudioBootstrapper___Studio_bootstrapper_version_is_present_and_URL_is_current_one
push eax
call fcn.00402357
cmp dword [ebp - 0x430], 8
pop ecx
pop ecx
lea ecx, [ebp - 0x444]
cmovae ecx, dword [ebp - 0x444]
call fcn.0042799a
test al, al
je 0x409edd
lea eax, [esi + 0x150]
push str.BootstrapperClient::deployExtraStudioBootstrapper___Studio_bootstrapper_is_present._updating_links_and_leaving
push eax
call fcn.00402357
cmp dword [ebp - 0x430], 8
mov dl, byte [esi + 0x4d]
pop ecx
pop ecx
push edi
push ebx
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
push str._ide
push eax
push dword [ebp - 0x4f8]
lea ecx, [esi + 0x150]
call fcn.00438595
mov dl, byte [esi + 0x4d]
add esp, 0x14
cmp dword [ebp - 0x430], 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
push edi
push str._ide
push eax
push dword [ebp - 0x4f8]
lea ecx, [esi + 0x150]
call fcn.00438595
add esp, 0x14
lea ecx, [ebp - 0x444]
push ebx
push edi
call fcn.0040253d
lea ecx, [ebp - 0x4bc]
call fcn.00402286
jmp 0x40a41e
mov edx, 0x44ed00
lea ecx, [ebp - 0x48c]
call fcn.0040c7f7
push ecx
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x478], 8
push ecx
lea eax, [ebp - 0x48c]
cmovae eax, dword [ebp - 0x48c]
push 0x20
push eax
lea ecx, [ebp - 0x5cc]
call fcn.0040be7f
mov byte [ebp - 4], 0xf
cmp dword [ebp + 0x28], 0x10
lea eax, [ebp + 0x14]
cmovae eax, dword [ebp + 0x14]
push eax
sub esp, 0x18
mov ecx, esp
push str.versionQTStudio
call fcn.0040221e
lea eax, [ebp - 0x4a4]
push eax
mov ecx, esi
call fcn.0041a7c3
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 0x10
jb 0x409f4e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x45c]
push str.__s__s
push eax
call fcn.0040fe1f
add esp, 0x10
lea ecx, [ebp - 0x4a4]
call fcn.00402286
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x4fc], esp
push dword [ebp - 0x4fc]
push fcn.00401000
push ecx
call fcn.0040d538
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
cmovae eax, dword [ebp - 0x45c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x508], esp
push eax
call fcn.0040221e
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov edx, dword [esi]
push esp
mov ecx, esi
call dword [edx + 4]
mov dword [ebp - 0x460], 0xf
mov dword [ebp - 0x464], ebx
mov byte [ebp - 0x474], bl
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x5cc]
push ebx
push eax
lea edx, [ebp - 0x474]
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.0042c74a
add esp, 0x58
lea ecx, [ebp - 0x474]
call fcn.00402286
lea ecx, [ebp - 0x45c]
call fcn.00402286
lea ecx, [ebp - 0x56c]
mov byte [ebp - 4], 0xe
call fcn.0040bf15
lea ecx, [ebp - 0x56c]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebp - 0x430], 8
lea ecx, [ebp - 0x444]
cmovae ecx, dword [ebp - 0x444]
call fcn.0042799a
test al, al
je 0x40a074
lea eax, [esi + 0x150]
push str.BootstrapperClient::deployExtraStudioBootstrapper___deleting_old_studio_bootstrapper
push eax
call fcn.00402357
cmp dword [ebp - 0x430], 8
pop ecx
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x430], 8
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
cmp dword [ebp - 0x478], 8
lea edx, [ebp - 0x48c]
cmovae edx, dword [ebp - 0x48c]
lea ecx, [esi + 0x150]
push eax
call fcn.00437a2f
cmp dword [ebp + 0x40], 8
mov dl, byte [esi + 0x4d]
pop ecx
mov ecx, 0x44c188
push ecx
lea eax, [ebp + 0x2c]
cmovae eax, dword [ebp + 0x2c]
push ecx
push eax
lea ecx, [esi + 0x150]
call fcn.00437f35
mov dl, byte [esi + 0x4d]
add esp, 0xc
cmp dword [ebp - 0x430], 8
push edi
push ebx
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
push str._ide
push eax
push dword [ebp - 0x4f8]
lea ecx, [esi + 0x150]
call fcn.00438595
mov dl, byte [esi + 0x4d]
add esp, 0x14
cmp dword [ebp - 0x430], 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
push edi
push str._ide
push eax
push dword [ebp - 0x4f8]
lea ecx, [esi + 0x150]
call fcn.00438595
add esp, 0x14
lea edx, [ebp + 0x14]
lea ecx, [ebp - 0x4ec]
call fcn.0040fc50
mov byte [ebp - 4], 0x17
mov al, byte [esi + 0x4d]
mov byte [ebp - 0x4fc], al
push dword [ebp - 0x4fc]
lea eax, [ebp - 0x4d4]
push eax
call fcn.0041a6d3
lea ecx, [ebp - 0x4ec]
push ecx
mov edx, eax
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0x18
call fcn.0040d586
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x19
cmp dword [ecx + 0x14], 8
jb 0x40a189
mov ecx, dword [ecx]
mov al, byte [esi + 0x4d]
xor edx, edx
test al, al
sete dl
push ebx
push ecx
push dword [ebp - 0x510]
mov eax, SysReAllocString
lea ecx, [ebp - 0x51c]
add edx, eax
call fcn.004377db
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x4a4]
call fcn.0040253d
push ebx
push edi
lea ecx, [ebp - 0x4d4]
mov byte [ebp - 4], 0x1c
call fcn.0040253d
mov eax, dword [esi]
lea ecx, [ebp - 0x45c]
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, eax
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 0x1d
call fcn.0040fc50
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x14], 8
jb 0x40a1f9
mov eax, dword [eax]
push edi
push eax
push str.install_host
lea ecx, [ebp - 0x51c]
call fcn.0040eac0
mov edx, str.Failed_to_set_install_host_key_value
mov ecx, eax
call fcn.00437621
push ebx
push edi
lea ecx, [ebp - 0x474]
call fcn.0040253d
lea ecx, [ebp - 0x45c]
call fcn.00402286
mov al, byte [esi + 0x4d]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
test al, al
lea eax, [ecx - 1]
cmovne ecx, eax
mov dword [ebp - 0x504], ebx
mov dword [ebp - 0x500], ebx
mov dword [ebp - 0x4fc], ebx
push 0x20006
push dword [ebp - 0x510]
mov byte [ebp - 4], 0x1f
push ecx
lea ecx, [ebp - 0x504]
call fcn.0040ecb4
test eax, eax
jne 0x40a2d1
lea eax, [esi + 0x150]
push str.BootstrapperClient::deployExtraStudioBootstrapper___studio_reg_key_opened
push eax
call fcn.00402357
cmp dword [ebp - 0x430], 8
pop ecx
pop ecx
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
push edi
push eax
push 0x44c188
lea ecx, [ebp - 0x504]
call fcn.0040eac0
test eax, eax
js 0x40a2c9
cmp dword [ebp - 0x430], 8
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
push eax
push str.BootstrapperClient::deployExtraStudioBootstrapper___studio_reg_key_set_to__S
jmp 0x40a2d7
push eax
push str.BootstrapperClient::deployExtraStudioBootstrapper___studio_reg_key_write_failed__error0x_X
jmp 0x40a2d7
push eax
push str.BootstrapperClient::deployExtraStudioBootstrapper___studio_reg_key_open_failed__error0x_X
lea eax, [esi + 0x150]
push eax
call fcn.00402357
add esp, 0xc
lea ecx, [ebp - 0x474]
push dword [ebp - 0x510]
call fcn.0040be02
lea ecx, [ebp - 0x4d4]
mov byte [ebp - 4], 0x20
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov edx, eax
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0x21
call fcn.004383c6
lea ecx, [ebp - 0x474]
push ecx
lea ecx, [ebp - 0x444]
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x22
call fcn.00418fc5
push ebx
push edi
lea ecx, [ebp - 0x4a4]
call fcn.0040253d
lea ecx, [ebp - 0x4d4]
call fcn.00402286
push ebx
push edi
lea ecx, [ebp - 0x474]
call fcn.0040253d
cmp dword [ebp - 0x504], 0
je 0x40a36d
push dword [ebp - 0x504]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x51c], 0
je 0x40a388
push dword [ebp - 0x51c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x51c], ebx
push ebx
push edi
lea ecx, [ebp - 0x4ec]
mov dword [ebp - 0x518], ebx
call fcn.0040253d
push ebx
push edi
lea ecx, [ebp - 0x48c]
call fcn.0040253d
push ebx
push edi
lea ecx, [ebp - 0x444]
call fcn.0040253d
lea ecx, [ebp - 0x4bc]
call fcn.00402286
mov dword [ebp - 4], edi
mov eax, dword [esi]
push str.BootstrapperDeployStudioBootstrapperSuccess
mov ecx, esi
call dword [eax + 0xa4]
jmp 0x40a41e
lea ecx, [ebp + 0x14]
call fcn.00402286
push ebx
push edi
lea ecx, [ebp + 0x2c]
call fcn.0040253d
call fcn.00442aee
ret 0x3c