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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44117b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x467034]
xor eax, esp
mov dword [esp + 0x2b8], eax
push ebx
push esi
push edi
mov eax, dword [0x467034]
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 0x408edc
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 0x4099ab
mov ecx, dword [esi + 0x11c]
xor ebx, ebx
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
push str.www.roblox.com_startRobloxApp
push ecx
push ecx
lea ecx, [esp + 0x28]
call fcn.004063d9
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 0x409987
push str.Starting_BloxD...
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.0042470c
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.roblox.com_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 0x408fb4
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 0x409045
cmp dword [eax + 0x58], edi
je 0x409045
add eax, 0x48
cmp dword [eax + 0x14], 0x10
jb 0x408ff8
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.0040f191
cmp dword [eax + 0x14], 8
jb 0x409027
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 0x4094d6
push str._ide
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
call fcn.0040c0fb
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.0040c17a
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 0x4092cb
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 0x40910d
mov byte [esp + 0x2d8], 8
cmp dword [eax + 0x14], 0x10
jb 0x409106
mov eax, dword [eax]
push str._download_thankyou
jmp 0x409122
mov byte [esp + 0x2d8], 9
cmp dword [eax + 0x14], 0x10
jb 0x40911d
mov eax, dword [eax]
push str._Games.aspx
push eax
lea eax, [esp + 0x7c]
push str._S_s
push eax
call fcn.0040f4db
add esp, 0x10
lea ecx, [esp + 0x44]
push eax
call fcn.0040b38f
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 0x4091a4
push str.Launcher_started.
push dword [esp + 0x24]
call fcn.00402357
pop ecx
pop ecx
mov dl, 1
jmp 0x4091a8
mov dl, byte [esp + 0x16]
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x334]
test al, al
je 0x4091e6
test dl, dl
jne 0x4091e6
cmp byte [ebp + 8], dl
je 0x4091e6
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 0x40929d
mov ecx, 0x44b838
call fcn.00405e95
push eax
push 0
push 0x44b838
lea ecx, [esp + 0x50]
call fcn.0040c17a
test eax, eax
je 0x40925c
mov ecx, str.http:
call fcn.00405e95
push eax
push 0
push str.http:
lea ecx, [esp + 0x50]
call fcn.0040c17a
test eax, eax
je 0x40925c
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.0040f4db
add esp, 0xc
lea ecx, [esp + 0x44]
push eax
call fcn.0040b38f
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 0x4092ad
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 0x409720
push str._ide
lea ecx, [esp + 0x48]
call fcn.0040c0fb
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.004036d3
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 0x4093f1
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.0040c0fb
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.0040c9af
pop ecx
mov ecx, eax
lea eax, [esi + 0x130]
mov byte [esp + 0x2d8], 0xe
cmp dword [eax + 0x14], 8
jb 0x4093a7
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x4093af
mov ecx, dword [ecx]
lea edx, [esp + 0x28]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004209d7
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 0x409720
push str.Starting_studio_bootstrapper_from_client_bootstrapper
push eax
call fcn.00402357
pop ecx
pop ecx
push 0x44b8e4
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.004266f4
lea edx, [esp + 0x74]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2d8], 0x10
call fcn.0040f191
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2e4], 0x11
call fcn.0040c058
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.004355b5
test al, al
je 0x409702
lea ecx, [esi + 0x130]
cmp dword [ecx + 0x14], 8
jb 0x4094b5
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.004209d7
jmp 0x409702
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 0x409523
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
lea edx, [ecx + 0x18]
cmp dword [edx + 0x14], 0x10
jb 0x40952e
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
jb 0x409536
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.0040f4db
add esp, 0x18
mov byte [esp + 0x2d8], 0x13
mov eax, dword [esi + 0x210]
cmp dword [eax + 0x70], 0
je 0x4095c3
add eax, 0x60
cmp dword [eax + 0x14], 0x10
jb 0x409585
mov eax, dword [eax]
push eax
lea eax, [esp + 0x60]
push str.__w__S
push eax
call fcn.0040f4db
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2e4], 0x14
call fcn.0040c058
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 0x40961b
add eax, 0x7c
cmp dword [eax + 0x14], 0x10
jb 0x4095dd
mov eax, dword [eax]
push eax
lea eax, [esp + 0x60]
push str.__b__S
push eax
call fcn.0040f4db
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2e4], 0x15
call fcn.0040c058
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.0040c0fb
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.0040c9af
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 0x4096c7
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push ecx
push eax
mov ecx, esi
call fcn.004209d7
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 0x409852
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 + 0x4564c0]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4564a8]
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.00435884
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 + 0x4564c0]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4564a8]
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.00435884
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 0x42bccf
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 0x4098a3
cmp dword [eax + 0x58], 0
je 0x4098a3
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 0x40995c
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.0040c0fb
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.004209d7
lea ecx, [esp + 0x5c]
call fcn.004067fb
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.0040253d
lea ecx, [esp + 0x28]
call fcn.004067fb
test edi, edi
je 0x409970
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x40997b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x40999a
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 0x4099ab
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.0043ca4a
mov esp, ebp
pop ebp
ret 4