Function at 0x408ee1
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4428c5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x46a034]
xor eax, esp
mov dword [esp + 0x2b8], eax
push ebx
push esi
push edi
mov eax, dword [0x46a034]
xor eax, esp
push eax
lea eax, [esp + 0x2d0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov al, byte [esi + 0x4c]
test al, al
je 0x408f46
lea eax, [esi + 0x150]
push str.We_are_in_bg_update__dont_need_to_start_game.
push eax
call fcn.00402357
pop ecx
pop ecx
jmp 0x409a15
mov ecx, dword [esi + 0x11c]
xor ebx, ebx
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
push str.www.cobalt.rip_startRobloxApp
push ecx
push ecx
lea ecx, [esp + 0x28]
call fcn.00406433
mov dword [esp + 0x2d8], ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], bl
push 1
mov byte [esp + 0x2dc], 1
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4099f1
push str.Starting_ROBLOX...
lea ecx, [esp + 0x78]
mov byte [esp + 0x40], 1
mov byte [esp + 0x1b], 1
mov dword [esi + 0x6c], 0xa
call fcn.0040221e
lea eax, [esp + 0x74]
push eax
mov ecx, esi
mov byte [esp + 0x2dc], 2
call fcn.0042562b
lea ecx, [esp + 0x74]
mov byte [esp + 0x2d8], 1
call fcn.00402286
lea edi, [esi + 0x150]
push str.Creating_event
push edi
mov dword [esp + 0x28], edi
call fcn.00402357
pop ecx
pop ecx
push str.www.cobalt.rip_robloxStartedEvent
push ebx
push 1
push ebx
mov byte [esp + 0x2e8], 3
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 0x40], ebx
test eax, eax
jne 0x40901e
call fcn.00401019
push str.Resetting_event
push edi
mov byte [esp + 0x2e0], 4
call fcn.00402357
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor edi, edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x2d8], 5
mov eax, dword [esi + 0x210]
test eax, eax
je 0x4090af
cmp dword [eax + 0x58], edi
je 0x4090af
add eax, 0x48
cmp dword [eax + 0x14], 0x10
jb 0x409062
mov eax, dword [eax]
push eax
lea eax, [esi + 0x150]
push str.Play_game__syncGameEventName___s
push eax
call fcn.00402357
mov edx, dword [esi + 0x210]
add esp, 0xc
add edx, 0x48
lea ecx, [esp + 0x74]
call fcn.0041002b
cmp dword [eax + 0x14], 8
jb 0x409091
mov eax, dword [eax]
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
push 0
mov edi, eax
push 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x2c], edi
call fcn.0040253d
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x2d8], 6
cmp dword [esi + 0x210], eax
jne 0x409540
push str._ide
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
call fcn.0040cf95
push dword [esp + 0x54]
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push 0
lea ecx, [esi + 0x130]
push eax
call fcn.0040d014
push 0
cmp eax, 0xffffffff
push 1
lea ecx, [esp + 0x4c]
setne byte [esp + 0x1e]
call fcn.0040253d
and dword [esp + 0x54], 0
xor eax, eax
mov dword [esp + 0x58], 7
mov word [esp + 0x44], ax
cmp byte [esp + 0x16], al
jne 0x409335
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2d8], 7
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
cmp byte [ebp + 8], 0
je 0x409177
mov byte [esp + 0x2d8], 8
cmp dword [eax + 0x14], 0x10
jb 0x409170
mov eax, dword [eax]
push str._download_thankyou
jmp 0x40918c
mov byte [esp + 0x2d8], 9
cmp dword [eax + 0x14], 0x10
jb 0x409187
mov eax, dword [eax]
push str._Games.aspx
push eax
lea eax, [esp + 0x7c]
push str._S_s
push eax
call fcn.00410375
add esp, 0x10
lea ecx, [esp + 0x44]
push eax
call fcn.0040c1c6
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.0040253d
lea ecx, [esp + 0x5c]
call fcn.00402286
and dword [esp + 0x5c], 0
mov byte [esp + 0x16], 0
push str.Checking_for_launcher_started...
push dword [esp + 0x24]
mov byte [esp + 0x2e0], 0xa
call fcn.00402357
pop ecx
pop ecx
push str.rbxLauncherStarted
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
mov dword [esp + 0x5c], esi
test esi, esi
je 0x40920e
push str.Launcher_started.
push dword [esp + 0x24]
call fcn.00402357
pop ecx
pop ecx
mov dl, 1
jmp 0x409212
mov dl, byte [esp + 0x16]
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x334]
test al, al
je 0x409250
test dl, dl
jne 0x409250
cmp byte [ebp + 8], dl
je 0x409250
lea eax, [ecx + 0x150]
push str.Showing_install_success_prompt.
push eax
call fcn.00402357
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, dword [eax + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x409307
mov ecx, 0x44d850
call fcn.00405eec
push eax
push 0
push 0x44d850
lea ecx, [esp + 0x50]
call fcn.0040d014
test eax, eax
je 0x4092c6
mov ecx, str.http:
call fcn.00405eec
push eax
push 0
push str.http:
lea ecx, [esp + 0x50]
call fcn.0040d014
test eax, eax
je 0x4092c6
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push str.http:___s
push eax
call fcn.00410375
add esp, 0xc
lea ecx, [esp + 0x44]
push eax
call fcn.0040c1c6
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.0040253d
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
push str.Redirectings_to_page_url_S
push dword [esp + 0x28]
call fcn.00402357
add esp, 0xc
cmp dword [esp + 0x58], 8
push 1
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
xor ecx, ecx
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x17], 0
test esi, esi
je 0x409317
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2e0], 6
call fcn.0040253d
mov esi, dword [esp + 0x18]
jmp 0x40978a
push str._ide
lea ecx, [esp + 0x48]
call fcn.0040cf95
mov byte [esp + 0x2d8], 0xb
cmp dword [esp + 0x58], 8
push dword [esp + 0x54]
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
lea ecx, [esi + 0x130]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.0040372a
push 0
test eax, eax
push 1
lea ecx, [esp + 0x4c]
setne byte [esp + 0x1e]
mov byte [esp + 0x2e0], 6
call fcn.0040253d
cmp byte [esp + 0x16], 0
lea eax, [esi + 0x150]
je 0x40945b
push str.Starting_windows_player__beta_
push eax
call fcn.00402357
and dword [esp + 0x5c], 0
pop ecx
pop ecx
xor eax, eax
push str.RobloxPlayerBeta.exe
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
call fcn.0040cf95
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2d8], 0xc
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xa0]
lea ecx, [esp + 0x44]
push ecx
mov edx, eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x2dc], 0xd
call fcn.0040d849
pop ecx
mov ecx, eax
lea eax, [esi + 0x130]
mov byte [esp + 0x2d8], 0xe
cmp dword [eax + 0x14], 8
jb 0x409411
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x409419
mov ecx, dword [ecx]
lea edx, [esp + 0x28]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00421908
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2e0], 6
call fcn.0040253d
jmp 0x40978a
push str.Starting_studio_bootstrapper_from_client_bootstrapper
push eax
call fcn.00402357
pop ecx
pop ecx
push 0x44d8fc
lea ecx, [esp + 0x78]
call fcn.0040221e
mov byte [esp + 0x2d8], 0xf
mov al, byte [esi + 0x4d]
mov byte [esp + 0x5c], al
push dword [esp + 0x5c]
lea eax, [esp + 0x48]
push eax
call fcn.00427614
lea edx, [esp + 0x74]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2d8], 0x10
call fcn.0041002b
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2e4], 0x11
call fcn.0040cef2
push 0
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x2e0], 0x10
call fcn.0040253d
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
lea eax, [esi + 0x150]
push str.Checking_file_existance__S
push eax
call fcn.00402357
add esp, 0xc
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x44]
cmovae ecx, dword [esp + 0x44]
call fcn.00436b58
test al, al
je 0x40976c
lea ecx, [esi + 0x130]
cmp dword [ecx + 0x14], 8
jb 0x40951f
mov ecx, dword [ecx]
cmp dword [esp + 0x58], 8
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push ecx
push eax
mov ecx, esi
call fcn.00421908
jmp 0x40976c
mov ecx, dword [esi + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push str.play
lea ecx, [esp + 0x78]
call fcn.0040221e
lea eax, [esi + 0x150]
push str.Starting_in_play_configuration
push eax
mov byte [esp + 0x2e0], 0x12
call fcn.00402357
pop ecx
pop ecx
mov ecx, dword [esi + 0x210]
lea eax, [ecx + 0x30]
mov dword [esp + 0x5c], eax
cmp dword [eax + 0x14], 0x10
jb 0x40958d
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
lea edx, [ecx + 0x18]
cmp dword [edx + 0x14], 0x10
jb 0x409598
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
jb 0x4095a0
mov ecx, dword [ecx]
push dword [esp + 0x5c]
cmp dword [esp + 0x8c], 0x10
push edx
push ecx
lea eax, [esp + 0x80]
cmovae eax, dword [esp + 0x80]
push eax
lea eax, [esp + 0x54]
push str.___S__a__S__t__S__j__S
push eax
call fcn.00410375
add esp, 0x18
mov byte [esp + 0x2d8], 0x13
mov eax, dword [esi + 0x210]
cmp dword [eax + 0x70], 0
je 0x40962d
add eax, 0x60
cmp dword [eax + 0x14], 0x10
jb 0x4095ef
mov eax, dword [eax]
push eax
lea eax, [esp + 0x60]
push str.__w__S
push eax
call fcn.00410375
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2e4], 0x14
call fcn.0040cef2
push 0
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x2e0], 0x13
call fcn.0040253d
mov eax, dword [esi + 0x210]
cmp dword [eax + 0x8c], 0
je 0x409685
add eax, 0x7c
cmp dword [eax + 0x14], 0x10
jb 0x409647
mov eax, dword [eax]
push eax
lea eax, [esp + 0x60]
push str.__b__S
push eax
call fcn.00410375
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2e4], 0x15
call fcn.0040cef2
push 0
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x2e0], 0x13
call fcn.0040253d
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
lea eax, [esi + 0x150]
push str.playArgs___S
push eax
call fcn.00402357
add esp, 0xc
lea eax, [esi + 0x150]
push str.Starting_windows_player__beta_
push eax
call fcn.00402357
and dword [esp + 0x74], 0
pop ecx
pop ecx
xor eax, eax
push str.RobloxPlayerBeta.exe
lea ecx, [esp + 0x60]
mov dword [esp + 0x74], 7
mov word [esp + 0x60], ax
call fcn.0040cf95
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2d8], 0x16
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xa0]
lea ecx, [esp + 0x5c]
push ecx
mov edx, eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x2dc], 0x17
call fcn.0040d849
pop ecx
mov byte [esp + 0x2d8], 0x18
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x44]
cmovae ecx, dword [esp + 0x44]
cmp dword [eax + 0x14], 8
jb 0x409731
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push ecx
push eax
mov ecx, esi
call fcn.00421908
push 0
push 1
lea ecx, [esp + 0xac]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0x94]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.0040253d
lea ecx, [esp + 0x74]
mov byte [esp + 0x2d8], 6
call fcn.00402286
mov ecx, dword [esi + 0x11c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp byte [esp + 0x17], 0
je 0x4098bc
push str.startRobloxApp_waiting_for_robloxStartedEvent
push dword [esp + 0x24]
call fcn.00402357
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
pop ecx
call esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], 0x4206
sub eax, dword [ecx + 0x68]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x458fa0]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x458f90]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x5c], xmm0
push str.WaitingForAppStart
lea ecx, [esp + 0x78]
mov byte [esp + 0x2dc], 0x19
call fcn.0040221e
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x78]
push ecx
lea ecx, [eax + 0x148]
mov byte [esp + 0x2e0], 0x1a
call fcn.00436e27
lea ecx, [esp + 0x74]
call fcn.00402286
push 0x2710
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x68], 0x4206
sub eax, dword [esi + 0x68]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x458fa0]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x458f90]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x5c], xmm0
push str.WaitingForAppEnd
lea ecx, [esp + 0x78]
mov byte [esp + 0x2dc], 0x1b
call fcn.0040221e
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esi + 0x148]
mov byte [esp + 0x2e0], 0x1c
call fcn.00436e27
lea ecx, [esp + 0x74]
call fcn.00402286
mov byte [esp + 0x2d8], 6
mov eax, dword [esp + 0x30]
and dword [esp + 0x60], 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
push 0x42c9c9
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x60]
mov dword [esi + 0x118], eax
mov eax, dword [esi + 0x210]
test eax, eax
je 0x40990d
cmp dword [eax + 0x58], 0
je 0x40990d
lea eax, [esi + 0x150]
push str.Setting_game_ready_event
push eax
call fcn.00402357
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x11c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4099c6
and dword [esp + 0x54], 0
xor eax, eax
push str._qbgnorun
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
call fcn.0040cf95
xor ecx, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ecx
push 0x104
lea eax, [esp + 0xc0]
push eax
push ecx
mov byte [esp + 0x2e4], 0x1e
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xbc]
push eax
lea eax, [esi + 0x150]
push str.Starting_up_pre_deploy_bootstrapper__path___s
push eax
call fcn.00402357
add esp, 0xc
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
call fcn.00421908
lea ecx, [esp + 0x5c]
call fcn.00406855
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.0040253d
lea ecx, [esp + 0x28]
call fcn.00406855
test edi, edi
je 0x4099da
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4099e5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x409a04
lea eax, [esi + 0x150]
push str.Another_process_is_starting_Roblox._Abandoning_startRobloxApp
push eax
call fcn.00402357
pop ecx
pop ecx
cmp dword [esp + 0x1c], 0
je 0x409a15
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.0043dfee
mov esp, ebp
pop ebp
ret 4