Function at 0x40474f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45c8fb
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x47f180]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x47f180]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov edi, ecx
mov al, byte [edi + 0x60]
xor ebx, ebx
mov dword [esp + 0x24], edi
cmp al, bl
je 0x4047b4
push str.We_are_in_bg_update__dont_need_to_start_game.
lea esi, [edi + 0xc8]
call fcn.00408201
pop ecx
jmp 0x4050ab
push str.www.roblox.com_startRobloxApp
lea eax, [esp + 0x1c]
push eax
call fcn.00401c0a
mov dword [esp + 0x2f8], ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], bl
push 1
mov byte [esp + 0x2fc], 1
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4048b5
push str.Starting_Rim014...
lea ecx, [esp + 0xc4]
mov byte [esp + 0x34], 1
mov dword [edi + 0x84], 0xa
call fcn.004073fe
push edi
lea ebx, [esp + 0xc4]
mov byte [esp + 0x2fc], 2
call fcn.004131c4
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0xc8]
mov byte [esp + 0x300], 1
call fcn.00408639
lea esi, [edi + 0xc8]
push str.Creating_event
mov dword [esp + 0x18], esi
call fcn.00408201
mov dword [esp], str.www.roblox.com_robloxStartedEvent
push 1
lea eax, [esp + 0x24]
push eax
call fcn.00401bcf
push str.Resetting_event
mov byte [esp + 0x2fc], 3
call fcn.00408201
pop ecx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x2f8], 4
mov eax, dword [edi + 0x210]
cmp eax, ebx
je 0x404933
cmp dword [eax + 0x68], ebx
je 0x404933
cmp dword [eax + 0x6c], 0x10
jb 0x4048df
mov eax, dword [eax + 0x58]
jmp 0x4048e2
push str.Another_process_is_starting_Rim014._Abandoning_startRim014App
lea esi, [edi + 0xc8]
call fcn.00408201
pop ecx
cmp dword [esp + 0x18], ebx
je 0x4050ab
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4050ab
add eax, 0x58
mov esi, dword [esp + 0x14]
push eax
push str.Play_game__syncGameEventName___s
call fcn.00408201
mov eax, dword [edi + 0x210]
pop ecx
pop ecx
lea edx, [eax + 0x54]
lea ecx, [esp + 0xc0]
call fcn.0042502b
cmp dword [eax + 0x18], 8
jb 0x404913
mov eax, dword [eax + 4]
jmp 0x404916
add eax, 4
push eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
push ebx
push 1
lea esi, [esp + 0xc8]
mov dword [esp + 0x28], eax
call fcn.00408971
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp dword [edi + 0x210], ebx
jne 0x404d5f
push str._ide
lea esi, [esp + 0xc4]
call fcn.004074dc
cmp dword [eax + 0x18], 8
mov edx, dword [eax + 0x14]
jb 0x404966
mov ecx, dword [eax + 4]
jmp 0x404969
lea ecx, [eax + 4]
push edx
lea eax, [edi + 0x178]
push ecx
call fcn.004088c7
push ebx
cmp eax, 0xffffffff
push 1
lea esi, [esp + 0xc8]
setne byte [esp + 0x1b]
call fcn.00408971
cmp byte [esp + 0x13], bl
jne 0x404ad1
mov eax, dword [edi]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, edi
call dword [eax]
mov byte [esp + 0x2f8], 5
cmp dword [eax + 0x18], 0x10
jb 0x4049b8
mov eax, dword [eax + 4]
jmp 0x4049bb
add eax, 4
push str._Games.aspx
push eax
push str._S_s
lea esi, [esp + 0x94]
call fcn.00425342
add esp, 0xc
push ebx
push 1
lea ecx, [esp + 0xc8]
mov byte [esp + 0x300], 7
call fcn.00408639
push 4
push str.www.
mov eax, esi
call fcn.004088c7
test eax, eax
je 0x404a63
push 5
push str.http:
mov eax, esi
call fcn.004088c7
test eax, eax
je 0x404a63
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x404a28
lea eax, [esp + 0x8c]
push eax
push str.http:___s
lea esi, [esp + 0xac]
call fcn.00425342
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x90]
mov byte [esp + 0x300], 8
call fcn.004087c1
push ebx
push 1
mov byte [esp + 0x300], 7
call fcn.00408971
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x404a7b
lea eax, [esp + 0x8c]
mov esi, dword [esp + 0x14]
push eax
push str.Redirectings_to_games_page_url_S
call fcn.00408201
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
pop ecx
pop ecx
jae 0x404aa4
lea eax, [esp + 0x8c]
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
push 1
lea esi, [esp + 0x90]
mov byte [esp + 0x300], 4
call fcn.00408971
jmp 0x404fa2
push str._ide
lea esi, [esp + 0xc4]
call fcn.004074dc
mov ecx, eax
lea eax, [edi + 0x178]
mov byte [esp + 0x2f8], 9
call fcn.0040a7b1
neg al
sbb al, al
push ebx
inc al
push 1
mov byte [esp + 0x1b], al
mov byte [esp + 0x300], 4
call fcn.00408971
cmp byte [esp + 0x13], bl
je 0x404c01
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebx
mov esi, dword [esp + 0x14]
push str.Starting_windows_player__beta_
mov byte [esp + 0x2fc], 0xa
call fcn.00408201
lea esi, [esp + 0x38]
mov dword [esp], str.RobloxPlayerBeta.exe
call fcn.004074dc
mov esi, eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2f8], 0xb
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x28]
push esi
push eax
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0x304], 0xc
call fcn.0040a766
add esp, 0xc
mov byte [esp + 0x2f8], 0xd
cmp dword [edi + 0x190], 8
jb 0x404b9b
mov ecx, dword [edi + 0x17c]
jmp 0x404ba1
lea ecx, [edi + 0x17c]
cmp dword [eax + 0x18], 8
jb 0x404bac
mov eax, dword [eax + 4]
jmp 0x404baf
add eax, 4
push edi
lea edx, [esp + 0x8c]
mov edi, eax
call fcn.00410a24
push ebx
push 1
lea esi, [esp + 0xc8]
call fcn.00408971
push ebx
push 1
lea esi, [esp + 0xac]
call fcn.00408971
push ebx
push 1
lea esi, [esp + 0x3c]
call fcn.00408971
lea esi, [esp + 0x88]
mov byte [esp + 0x2f8], 4
call fcn.00401f78
jmp 0x404f7f
mov esi, dword [esp + 0x14]
push str.Starting_studio_bootstrapper_from_client_bootstrapper
call fcn.00408201
lea ecx, [esp + 0xc4]
mov dword [esp], str.Rim014StudioLauncherBeta.exe
call fcn.004073fe
mov byte [esp + 0x2f8], 0xe
mov al, byte [edi + 0x61]
mov byte [esp + 0x28], al
push dword [esp + 0x28]
lea eax, [esp + 0xa8]
push eax
call fcn.004142f2
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x34]
mov byte [esp + 0x2f8], 0xf
call fcn.0042502b
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0x300], 0x10
call fcn.00408684
push ebx
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0x300], 0xf
call fcn.00408971
cmp dword [esp + 0xbc], 8
mov eax, dword [esp + 0xa8]
jae 0x404c9d
lea eax, [esp + 0xa8]
mov esi, dword [esp + 0x14]
push eax
push str.Checking_file_existance__S
call fcn.00408201
cmp dword [esp + 0xc4], 8
mov eax, dword [esp + 0xb0]
pop ecx
pop ecx
jae 0x404cc6
lea eax, [esp + 0xa8]
push eax
call fcn.0042585f
pop ecx
test al, al
je 0x404d34
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebx
lea eax, [edi + 0x178]
mov byte [esp + 0x2f8], 0x11
cmp dword [eax + 0x18], 8
jb 0x404cf8
mov eax, dword [eax + 4]
jmp 0x404cfb
add eax, 4
cmp dword [esp + 0xbc], 8
mov esi, dword [esp + 0xa8]
jae 0x404d13
lea esi, [esp + 0xa8]
push edi
lea edx, [esp + 0x8c]
mov ecx, eax
mov edi, esi
call fcn.00410a24
lea esi, [esp + 0x88]
call fcn.00401f78
mov edi, dword [esp + 0x24]
push ebx
push 1
lea esi, [esp + 0xac]
call fcn.00408971
push ebx
push 1
lea ecx, [esp + 0xc8]
mov byte [esp + 0x300], 4
call fcn.00408639
jmp 0x404f83
mov ecx, dword [edi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x24]
push str.play
lea ecx, [esp + 0xc4]
call fcn.004073fe
mov esi, dword [esp + 0x14]
push str.Starting_in_play_configuration
mov byte [esp + 0x2fc], 0x12
call fcn.00408201
mov eax, dword [edi + 0x210]
cmp dword [eax + 0x50], 0x10
pop ecx
jb 0x404da0
mov esi, dword [eax + 0x3c]
jmp 0x404da3
lea esi, [eax + 0x3c]
cmp dword [eax + 0x34], 0x10
jb 0x404dae
mov edx, dword [eax + 0x20]
jmp 0x404db1
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], 0x10
jb 0x404dbc
mov eax, dword [eax + 4]
jmp 0x404dbf
add eax, 4
cmp dword [esp + 0xd8], 0x10
mov ecx, dword [esp + 0xc4]
jae 0x404dd7
lea ecx, [esp + 0xc4]
push esi
push edx
push eax
push ecx
push str.___S__a__S__t__S__j__S
lea esi, [esp + 0xb8]
call fcn.00425342
add esp, 0x14
mov byte [esp + 0x2f8], 0x13
mov eax, dword [edi + 0x210]
cmp dword [eax + 0x84], ebx
je 0x404e4e
cmp dword [eax + 0x88], 0x10
jb 0x404e13
mov eax, dword [eax + 0x74]
jmp 0x404e16
add eax, 0x74
push eax
push str.__w__S
lea esi, [esp + 0x3c]
call fcn.00425342
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0x300], 0x14
call fcn.00408684
push ebx
push 1
mov byte [esp + 0x300], 0x13
call fcn.00408971
cmp byte [edi + 0x32f], bl
je 0x404e68
push str.___fast
lea eax, [esp + 0xa8]
push eax
call fcn.0040752a
cmp dword [esp + 0xbc], 8
mov eax, dword [esp + 0xa8]
jae 0x404e80
lea eax, [esp + 0xa8]
mov esi, dword [esp + 0x14]
push eax
push str.playArgs___S
call fcn.00408201
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
push str.Starting_windows_player__beta_
mov byte [esp + 0x304], 0x15
call fcn.00408201
add esp, 0xc
push str.RobloxPlayerBeta.exe
lea esi, [esp + 0x54]
call fcn.004074dc
mov esi, eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2f8], 0x16
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x28]
push esi
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x304], 0x17
call fcn.0040a766
add esp, 0xc
mov byte [esp + 0x2f8], 0x18
cmp dword [esp + 0xbc], 8
mov ecx, dword [esp + 0xa8]
jae 0x404f0d
lea ecx, [esp + 0xa8]
cmp dword [eax + 0x18], 8
jb 0x404f18
mov eax, dword [eax + 4]
jmp 0x404f1b
add eax, 4
push edi
lea edx, [esp + 0x8c]
mov edi, eax
call fcn.00410a24
push ebx
push 1
lea esi, [esp + 0x3c]
call fcn.00408971
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x74]
call fcn.00408971
push ebx
push edi
lea esi, [esp + 0x58]
call fcn.00408971
lea esi, [esp + 0x88]
call fcn.00401f78
push ebx
push edi
lea esi, [esp + 0xac]
call fcn.00408971
push ebx
push edi
lea ecx, [esp + 0xc8]
mov byte [esp + 0x300], 4
call fcn.00408639
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
push str.startRim014App_waiting_for_Rim014StartedEvent
call fcn.00408201
mov dword [esp], 0x2710
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x210]
cmp eax, ebx
je 0x404fca
cmp dword [eax + 0x68], ebx
je 0x404fca
mov esi, dword [esp + 0x14]
push str.Setting_game_ready_event
call fcn.00408201
pop ecx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
test al, al
je 0x405073
push str._qbgnorun
lea esi, [esp + 0xc4]
call fcn.004074dc
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebx
push 0x104
lea eax, [esp + 0xe0]
push eax
push ebx
mov byte [esp + 0x304], 0x1a
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xdc]
push eax
push str.Starting_up_pre_deploy_bootstrapper__path___s
call fcn.00408201
cmp dword [esp + 0xe0], 8
pop ecx
pop ecx
mov ecx, dword [esp + 0xc4]
jae 0x405044
lea ecx, [esp + 0xc4]
push edi
lea edx, [esp + 0x8c]
lea edi, [esp + 0xe0]
call fcn.00410a24
lea esi, [esp + 0x88]
call fcn.00401f78
push ebx
push 1
lea esi, [esp + 0xc8]
call fcn.00408971
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], ebx
je 0x405085
push dword [esp + 0x20]
call esi
cmp dword [esp + 0x1c], ebx
je 0x405095
push dword [esp + 0x1c]
call esi
mov dword [esp + 0x1c], ebx
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [esp + 0x18], ebx
je 0x4050ab
push dword [esp + 0x18]
call esi
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.0043e40d
mov esp, ebp
pop ebp
ret