Function at 0x404745
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45bc78
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x47e180]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x47e180]
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 0x4047aa
push str.We_are_in_bg_update__dont_need_to_start_game.
lea esi, [edi + 0xc8]
call fcn.004081d4
pop ecx
jmp 0x4050a1
push str.www.roblox.com_startRobloxApp
lea eax, [esp + 0x1c]
push eax
call fcn.00401beb
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 0x4048ab
push str.Starting_Roblox...
lea ecx, [esp + 0xc4]
mov byte [esp + 0x34], 1
mov dword [edi + 0x84], 0xa
call fcn.004073f1
push edi
lea ebx, [esp + 0xc4]
mov byte [esp + 0x2fc], 2
call fcn.00413190
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0xc8]
mov byte [esp + 0x300], 1
call fcn.0040860c
lea esi, [edi + 0xc8]
push str.Creating_event
mov dword [esp + 0x18], esi
call fcn.004081d4
mov dword [esp], str.www.roblox.com_robloxStartedEvent
push 1
lea eax, [esp + 0x24]
push eax
call fcn.00401bb0
push str.Resetting_event
mov byte [esp + 0x2fc], 3
call fcn.004081d4
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 0x404929
cmp dword [eax + 0x68], ebx
je 0x404929
cmp dword [eax + 0x6c], 0x10
jb 0x4048d5
mov eax, dword [eax + 0x58]
jmp 0x4048d8
push str.Another_process_is_starting_Roblox._Abandoning_startRobloxApp
lea esi, [edi + 0xc8]
call fcn.004081d4
pop ecx
cmp dword [esp + 0x18], ebx
je 0x4050a1
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4050a1
add eax, 0x58
mov esi, dword [esp + 0x14]
push eax
push str.Play_game__syncGameEventName___s
call fcn.004081d4
mov eax, dword [edi + 0x210]
pop ecx
pop ecx
lea edx, [eax + 0x54]
lea ecx, [esp + 0xc0]
call fcn.00424316
cmp dword [eax + 0x18], 8
jb 0x404909
mov eax, dword [eax + 4]
jmp 0x40490c
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.00408944
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp dword [edi + 0x210], ebx
jne 0x404d55
push str._ide
lea esi, [esp + 0xc4]
call fcn.004074af
cmp dword [eax + 0x18], 8
mov edx, dword [eax + 0x14]
jb 0x40495c
mov ecx, dword [eax + 4]
jmp 0x40495f
lea ecx, [eax + 4]
push edx
lea eax, [edi + 0x178]
push ecx
call fcn.0040889a
push ebx
cmp eax, 0xffffffff
push 1
lea esi, [esp + 0xc8]
setne byte [esp + 0x1b]
call fcn.00408944
cmp byte [esp + 0x13], bl
jne 0x404ac7
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 0x4049ae
mov eax, dword [eax + 4]
jmp 0x4049b1
add eax, 4
push str._Games.aspx
push eax
push str._S_s
lea esi, [esp + 0x94]
call fcn.0042462d
add esp, 0xc
push ebx
push 1
lea ecx, [esp + 0xc8]
mov byte [esp + 0x300], 7
call fcn.0040860c
push 4
push str.www.
mov eax, esi
call fcn.0040889a
test eax, eax
je 0x404a59
push 5
push str.http:
mov eax, esi
call fcn.0040889a
test eax, eax
je 0x404a59
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x404a1e
lea eax, [esp + 0x8c]
push eax
push str.http:___s
lea esi, [esp + 0xac]
call fcn.0042462d
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x90]
mov byte [esp + 0x300], 8
call fcn.00408794
push ebx
push 1
mov byte [esp + 0x300], 7
call fcn.00408944
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x404a71
lea eax, [esp + 0x8c]
mov esi, dword [esp + 0x14]
push eax
push str.Redirectings_to_games_page_url_S
call fcn.004081d4
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
pop ecx
pop ecx
jae 0x404a9a
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.00408944
jmp 0x404f98
push str._ide
lea esi, [esp + 0xc4]
call fcn.004074af
mov ecx, eax
lea eax, [edi + 0x178]
mov byte [esp + 0x2f8], 9
call fcn.0040a778
neg al
sbb al, al
push ebx
inc al
push 1
mov byte [esp + 0x1b], al
mov byte [esp + 0x300], 4
call fcn.00408944
cmp byte [esp + 0x13], bl
je 0x404bf7
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.004081d4
lea esi, [esp + 0x38]
mov dword [esp], str.RobloxPlayerBeta.exe
call fcn.004074af
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.0040a72d
add esp, 0xc
mov byte [esp + 0x2f8], 0xd
cmp dword [edi + 0x190], 8
jb 0x404b91
mov ecx, dword [edi + 0x17c]
jmp 0x404b97
lea ecx, [edi + 0x17c]
cmp dword [eax + 0x18], 8
jb 0x404ba2
mov eax, dword [eax + 4]
jmp 0x404ba5
add eax, 4
push edi
lea edx, [esp + 0x8c]
mov edi, eax
call fcn.004109f5
push ebx
push 1
lea esi, [esp + 0xc8]
call fcn.00408944
push ebx
push 1
lea esi, [esp + 0xac]
call fcn.00408944
push ebx
push 1
lea esi, [esp + 0x3c]
call fcn.00408944
lea esi, [esp + 0x88]
mov byte [esp + 0x2f8], 4
call fcn.00401f6e
jmp 0x404f75
mov esi, dword [esp + 0x14]
push str.Starting_studio_bootstrapper_from_client_bootstrapper
call fcn.004081d4
lea ecx, [esp + 0xc4]
mov dword [esp], 0x462dc4
call fcn.004073f1
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.004142be
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x34]
mov byte [esp + 0x2f8], 0xf
call fcn.00424316
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0x300], 0x10
call fcn.00408657
push ebx
push 1
lea esi, [esp + 0x3c]
mov byte [esp + 0x300], 0xf
call fcn.00408944
cmp dword [esp + 0xbc], 8
mov eax, dword [esp + 0xa8]
jae 0x404c93
lea eax, [esp + 0xa8]
mov esi, dword [esp + 0x14]
push eax
push str.Checking_file_existance__S
call fcn.004081d4
cmp dword [esp + 0xc4], 8
mov eax, dword [esp + 0xb0]
pop ecx
pop ecx
jae 0x404cbc
lea eax, [esp + 0xa8]
push eax
call fcn.00424b4a
pop ecx
test al, al
je 0x404d2a
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 0x404cee
mov eax, dword [eax + 4]
jmp 0x404cf1
add eax, 4
cmp dword [esp + 0xbc], 8
mov esi, dword [esp + 0xa8]
jae 0x404d09
lea esi, [esp + 0xa8]
push edi
lea edx, [esp + 0x8c]
mov ecx, eax
mov edi, esi
call fcn.004109f5
lea esi, [esp + 0x88]
call fcn.00401f6e
mov edi, dword [esp + 0x24]
push ebx
push 1
lea esi, [esp + 0xac]
call fcn.00408944
push ebx
push 1
lea ecx, [esp + 0xc8]
mov byte [esp + 0x300], 4
call fcn.0040860c
jmp 0x404f79
mov ecx, dword [edi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x24]
push str.play
lea ecx, [esp + 0xc4]
call fcn.004073f1
mov esi, dword [esp + 0x14]
push str.Starting_in_play_configuration
mov byte [esp + 0x2fc], 0x12
call fcn.004081d4
mov eax, dword [edi + 0x210]
cmp dword [eax + 0x50], 0x10
pop ecx
jb 0x404d96
mov esi, dword [eax + 0x3c]
jmp 0x404d99
lea esi, [eax + 0x3c]
cmp dword [eax + 0x34], 0x10
jb 0x404da4
mov edx, dword [eax + 0x20]
jmp 0x404da7
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], 0x10
jb 0x404db2
mov eax, dword [eax + 4]
jmp 0x404db5
add eax, 4
cmp dword [esp + 0xd8], 0x10
mov ecx, dword [esp + 0xc4]
jae 0x404dcd
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.0042462d
add esp, 0x14
mov byte [esp + 0x2f8], 0x13
mov eax, dword [edi + 0x210]
cmp dword [eax + 0x84], ebx
je 0x404e44
cmp dword [eax + 0x88], 0x10
jb 0x404e09
mov eax, dword [eax + 0x74]
jmp 0x404e0c
add eax, 0x74
push eax
push str.__w__S
lea esi, [esp + 0x3c]
call fcn.0042462d
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0x300], 0x14
call fcn.00408657
push ebx
push 1
mov byte [esp + 0x300], 0x13
call fcn.00408944
cmp byte [edi + 0x32f], bl
je 0x404e5e
push str.___fast
lea eax, [esp + 0xa8]
push eax
call fcn.004074fd
cmp dword [esp + 0xbc], 8
mov eax, dword [esp + 0xa8]
jae 0x404e76
lea eax, [esp + 0xa8]
mov esi, dword [esp + 0x14]
push eax
push str.playArgs___S
call fcn.004081d4
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
push str.Starting_windows_player__beta_
mov byte [esp + 0x304], 0x15
call fcn.004081d4
add esp, 0xc
push str.RobloxPlayerBeta.exe
lea esi, [esp + 0x54]
call fcn.004074af
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.0040a72d
add esp, 0xc
mov byte [esp + 0x2f8], 0x18
cmp dword [esp + 0xbc], 8
mov ecx, dword [esp + 0xa8]
jae 0x404f03
lea ecx, [esp + 0xa8]
cmp dword [eax + 0x18], 8
jb 0x404f0e
mov eax, dword [eax + 4]
jmp 0x404f11
add eax, 4
push edi
lea edx, [esp + 0x8c]
mov edi, eax
call fcn.004109f5
push ebx
push 1
lea esi, [esp + 0x3c]
call fcn.00408944
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x74]
call fcn.00408944
push ebx
push edi
lea esi, [esp + 0x58]
call fcn.00408944
lea esi, [esp + 0x88]
call fcn.00401f6e
push ebx
push edi
lea esi, [esp + 0xac]
call fcn.00408944
push ebx
push edi
lea ecx, [esp + 0xc8]
mov byte [esp + 0x300], 4
call fcn.0040860c
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
push str.startRobloxApp_waiting_for_robloxStartedEvent
call fcn.004081d4
mov dword [esp], 0x2710
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x210]
cmp eax, ebx
je 0x404fc0
cmp dword [eax + 0x68], ebx
je 0x404fc0
mov esi, dword [esp + 0x14]
push str.Setting_game_ready_event
call fcn.004081d4
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 0x405069
push str._qbgnorun
lea esi, [esp + 0xc4]
call fcn.004074af
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.004081d4
cmp dword [esp + 0xe0], 8
pop ecx
pop ecx
mov ecx, dword [esp + 0xc4]
jae 0x40503a
lea ecx, [esp + 0xc4]
push edi
lea edx, [esp + 0x8c]
lea edi, [esp + 0xe0]
call fcn.004109f5
lea esi, [esp + 0x88]
call fcn.00401f6e
push ebx
push 1
lea esi, [esp + 0xc8]
call fcn.00408944
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], ebx
je 0x40507b
push dword [esp + 0x20]
call esi
cmp dword [esp + 0x1c], ebx
je 0x40508b
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 0x4050a1
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.0043d7ed
mov esp, ebp
pop ebp
ret