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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x462bce
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x488180]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push esi
push edi
mov eax, dword [0x488180]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov edi, ecx
mov al, byte [edi + 0x58]
xor ebx, ebx
mov dword [esp + 0x24], edi
cmp al, bl
je 0x405080
push str.We_are_in_bg_update__dont_need_to_start_game.
lea esi, [edi + 0x188]
call fcn.0040939b
pop ecx
jmp 0x405ad8
mov ecx, dword [edi + 0x15c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
push str.www.roblox.com_startRobloxApp
lea eax, [esp + 0x24]
push eax
call fcn.00401bf3
mov dword [esp + 0x2f0], ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], bl
push 1
mov byte [esp + 0x2f4], 1
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x405187
push str.Starting_ROBLOX...
lea ecx, [esp + 0xa0]
mov byte [esp + 0x48], 1
mov byte [esp + 0x1b], 1
mov dword [edi + 0x7c], 0xa
call fcn.004084cc
push edi
lea ebx, [esp + 0xa0]
mov byte [esp + 0x2f4], 2
call fcn.004155d1
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2f8], 1
call fcn.004097af
lea esi, [edi + 0x188]
push str.Creating_event
mov dword [esp + 0x1c], esi
call fcn.0040939b
mov dword [esp], str.www.roblox.com_robloxStartedEvent
push 1
lea eax, [esp + 0x30]
push eax
call fcn.00401bb8
push str.Resetting_event
mov byte [esp + 0x2f4], 3
call fcn.0040939b
pop ecx
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x2f0], 4
mov eax, dword [edi + 0x230]
cmp eax, ebx
je 0x4051f1
cmp dword [eax + 0x68], ebx
je 0x4051f1
cmp dword [eax + 0x6c], 0x10
jb 0x40519d
mov eax, dword [eax + 0x58]
jmp 0x4051a0
push str.Another_process_is_starting_Roblox._Abandoning_startRobloxApp
lea esi, [edi + 0x188]
call fcn.0040939b
pop ecx
jmp 0x405ac8
add eax, 0x58
mov esi, dword [esp + 0x18]
push eax
push str.Play_game__syncGameEventName___s
call fcn.0040939b
mov eax, dword [edi + 0x230]
pop ecx
pop ecx
lea edx, [eax + 0x54]
lea ecx, [esp + 0xb8]
call fcn.0042a528
cmp dword [eax + 0x18], 8
jb 0x4051d1
mov eax, dword [eax + 4]
jmp 0x4051d4
add eax, 4
push eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
push ebx
push 1
lea esi, [esp + 0xc0]
mov dword [esp + 0x34], eax
call fcn.00409a53
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x2f0], 5
cmp dword [edi + 0x230], ebx
jne 0x405703
push str._ide
lea esi, [esp + 0xbc]
call fcn.0040858a
cmp dword [eax + 0x18], 8
mov edx, dword [eax + 0x14]
jb 0x405234
mov eax, dword [eax + 4]
jmp 0x405237
add eax, 4
push edx
push eax
lea ecx, [edi + 0x16c]
xor eax, eax
call fcn.004099a7
push ebx
cmp eax, 0xffffffff
push 1
lea esi, [esp + 0xc0]
setne byte [esp + 0x27]
call fcn.00409a53
cmp byte [esp + 0x1f], bl
jne 0x4054b1
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], ax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2f0], 6
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
cmp byte [ebp + 8], bl
je 0x4052d8
mov byte [esp + 0x2f0], 7
cmp dword [eax + 0x18], 0x10
jb 0x4052b1
mov eax, dword [eax + 4]
jmp 0x4052b4
add eax, 4
push str._download_thankyou
push eax
push str._S_s
lea esi, [esp + 0xc4]
call fcn.0042a83f
add esp, 0xc
mov byte [esp + 0x2f0], 8
jmp 0x405310
mov byte [esp + 0x2f0], 9
cmp dword [eax + 0x18], 0x10
jb 0x4052eb
mov eax, dword [eax + 4]
jmp 0x4052ee
add eax, 4
push str._Games.aspx
push eax
push str._S_s
lea esi, [esp + 0xc4]
call fcn.0042a83f
add esp, 0xc
mov byte [esp + 0x2f0], 0xa
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
call fcn.004098a1
push ebx
push 1
lea esi, [esp + 0xc0]
call fcn.00409a53
push ebx
push 1
lea ecx, [esp + 0xa4]
call fcn.004097af
mov byte [esp + 0x17], bl
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x18]
push str.Checking_for_launcher_started...
mov byte [esp + 0x2f4], 0xb
call fcn.0040939b
mov dword [esp], str.rbxLauncherStarted
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x405383
push str.Launcher_started.
call fcn.0040939b
pop ecx
mov byte [esp + 0x17], 1
cmp byte [edi + 0x370], bl
je 0x4053b0
cmp byte [esp + 0x17], bl
jne 0x4053b0
mov esi, dword [esp + 0x18]
push str.Showing_install_success_prompt.
call fcn.0040939b
pop ecx
mov ecx, dword [edi + 0x15c]
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x405481
push str.www.
lea eax, [esp + 0x84]
push eax
call fcn.004085d8
test eax, eax
je 0x40542f
push str.http:
lea eax, [esp + 0x84]
push eax
call fcn.004085d8
test eax, eax
je 0x40542f
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
jae 0x4053f4
lea eax, [esp + 0x84]
push eax
push str.http:___s
lea esi, [esp + 0xc0]
call fcn.0042a83f
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x2f8], 0xc
call fcn.004098a1
push ebx
push 1
mov byte [esp + 0x2f8], 0xb
call fcn.00409a53
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
jae 0x405447
lea eax, [esp + 0x84]
mov esi, dword [esp + 0x18]
push eax
push str.Redirectings_to_page_url_S
call fcn.0040939b
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
pop ecx
pop ecx
jae 0x405470
lea eax, [esp + 0x84]
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x17], bl
cmp dword [esp + 0x24], ebx
je 0x405495
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea esi, [esp + 0x88]
mov byte [esp + 0x2f8], 5
call fcn.00409a53
jmp 0x405950
push str._ide
lea esi, [esp + 0xbc]
call fcn.0040858a
mov ecx, eax
lea eax, [edi + 0x16c]
mov byte [esp + 0x2f0], 0xd
call fcn.0040b998
neg al
sbb al, al
push ebx
inc al
push 1
mov byte [esp + 0x27], al
mov byte [esp + 0x2f8], 5
call fcn.00409a53
mov esi, dword [esp + 0x18]
cmp byte [esp + 0x1f], bl
je 0x4055c2
push str.Starting_windows_player__beta_
call fcn.0040939b
lea esi, [esp + 0x84]
mov dword [esp], str.RobloxPlayerBeta.exe
call fcn.0040858a
mov esi, eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2f0], 0xe
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x68]
push esi
push eax
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x2fc], 0xf
call fcn.0040b8bc
add esp, 0xc
mov byte [esp + 0x2f0], 0x10
cmp dword [edi + 0x184], 8
jb 0x405568
mov ecx, dword [edi + 0x170]
jmp 0x40556e
lea ecx, [edi + 0x170]
cmp dword [eax + 0x18], 8
jb 0x405579
mov eax, dword [eax + 4]
jmp 0x40557c
add eax, 4
push edi
lea edx, [esp + 0x34]
mov edi, eax
call fcn.004125d8
push ebx
push 1
lea esi, [esp + 0xc0]
call fcn.00409a53
push ebx
push 1
lea esi, [esp + 0xa4]
call fcn.00409a53
push ebx
push 1
lea esi, [esp + 0x88]
mov byte [esp + 0x2f8], 5
call fcn.00409a53
jmp 0x40594c
push str.Starting_studio_bootstrapper_from_client_bootstrapper
call fcn.0040939b
lea ecx, [esp + 0xbc]
mov dword [esp], 0x46a14c
call fcn.004084cc
mov byte [esp + 0x2f0], 0x11
mov al, byte [edi + 0x59]
mov byte [esp + 0x80], al
push dword [esp + 0x80]
lea eax, [esp + 0xa0]
push eax
call fcn.004170d7
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x80]
mov byte [esp + 0x2f0], 0x12
call fcn.0042a528
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2f8], 0x13
call fcn.004097fa
push ebx
push 1
lea esi, [esp + 0x88]
mov byte [esp + 0x2f8], 0x12
call fcn.00409a53
cmp dword [esp + 0xb4], 8
mov eax, dword [esp + 0xa0]
jae 0x405666
lea eax, [esp + 0xa0]
mov esi, dword [esp + 0x18]
push eax
push str.Checking_file_existance__S
call fcn.0040939b
cmp dword [esp + 0xbc], 8
mov eax, dword [esp + 0xa8]
pop ecx
pop ecx
jae 0x40568f
lea eax, [esp + 0xa0]
push eax
call fcn.0042af75
pop ecx
test al, al
je 0x4056d8
lea eax, [edi + 0x16c]
cmp dword [eax + 0x18], 8
jb 0x4056ab
mov eax, dword [eax + 4]
jmp 0x4056ae
add eax, 4
cmp dword [esp + 0xb4], 8
mov esi, dword [esp + 0xa0]
jae 0x4056c6
lea esi, [esp + 0xa0]
push edi
lea edx, [esp + 0x34]
mov ecx, eax
mov edi, esi
call fcn.004125d8
mov edi, dword [esp + 0x24]
push ebx
push 1
lea esi, [esp + 0xa4]
call fcn.00409a53
push ebx
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0x2f8], 5
call fcn.004097af
jmp 0x405950
mov ecx, dword [edi + 0x15c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push str.play
lea ecx, [esp + 0x84]
call fcn.004084cc
mov esi, dword [esp + 0x18]
push str.Starting_in_play_configuration
mov byte [esp + 0x2f4], 0x14
call fcn.0040939b
mov eax, dword [edi + 0x230]
cmp dword [eax + 0x50], 0x10
pop ecx
jb 0x405747
mov esi, dword [eax + 0x3c]
jmp 0x40574a
lea esi, [eax + 0x3c]
cmp dword [eax + 0x34], 0x10
jb 0x405755
mov edx, dword [eax + 0x20]
jmp 0x405758
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], 0x10
jb 0x405763
mov eax, dword [eax + 4]
jmp 0x405766
add eax, 4
cmp dword [esp + 0x98], 0x10
mov ecx, dword [esp + 0x84]
jae 0x40577e
lea ecx, [esp + 0x84]
push esi
push edx
push eax
push ecx
push str.___S__a__S__t__S__j__S
lea esi, [esp + 0xb0]
call fcn.0042a83f
add esp, 0x14
mov byte [esp + 0x2f0], 0x15
mov eax, dword [edi + 0x230]
cmp dword [eax + 0x84], ebx
je 0x4057f8
cmp dword [eax + 0x88], 0x10
jb 0x4057ba
mov eax, dword [eax + 0x74]
jmp 0x4057bd
add eax, 0x74
push eax
push str.__w__S
lea esi, [esp + 0xc0]
call fcn.0042a83f
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2f8], 0x16
call fcn.004097fa
push ebx
push 1
mov byte [esp + 0x2f8], 0x15
call fcn.00409a53
mov eax, dword [edi + 0x230]
cmp dword [eax + 0xa4], ebx
je 0x405854
add eax, 0x90
cmp dword [eax + 0x18], 0x10
jb 0x405816
mov eax, dword [eax + 4]
jmp 0x405819
add eax, 4
push eax
push str.__b__S
lea esi, [esp + 0xc0]
call fcn.0042a83f
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2f8], 0x17
call fcn.004097fa
push ebx
push 1
mov byte [esp + 0x2f8], 0x15
call fcn.00409a53
cmp dword [esp + 0xb4], 8
mov eax, dword [esp + 0xa0]
jae 0x40586c
lea eax, [esp + 0xa0]
mov esi, dword [esp + 0x18]
push eax
push str.playArgs___S
call fcn.0040939b
push str.Starting_windows_player__beta_
call fcn.0040939b
add esp, 0xc
push str.RobloxPlayerBeta.exe
lea esi, [esp + 0x4c]
call fcn.0040858a
mov esi, eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x2f0], 0x18
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x68]
push esi
push eax
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x2fc], 0x19
call fcn.0040b8bc
add esp, 0xc
mov byte [esp + 0x2f0], 0x1a
cmp dword [esp + 0xb4], 8
mov ecx, dword [esp + 0xa0]
jae 0x4058e6
lea ecx, [esp + 0xa0]
cmp dword [eax + 0x18], 8
jb 0x4058f1
mov eax, dword [eax + 4]
jmp 0x4058f4
add eax, 4
push edi
lea edx, [esp + 0x34]
mov edi, eax
call fcn.004125d8
push ebx
push 1
lea esi, [esp + 0xc0]
call fcn.00409a53
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x6c]
call fcn.00409a53
push ebx
push edi
lea esi, [esp + 0x50]
call fcn.00409a53
push ebx
push edi
lea esi, [esp + 0xa4]
call fcn.00409a53
push ebx
push edi
lea ecx, [esp + 0x88]
mov byte [esp + 0x2f8], 5
call fcn.004097af
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0x15c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
cmp byte [esp + 0x17], bl
je 0x405981
mov esi, dword [esp + 0x18]
push str.startRobloxApp_waiting_for_robloxStartedEvent
call fcn.0040939b
mov dword [esp], 0x2710
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x80]
push eax
push 0x41bf07
mov dword [esp + 0x8c], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x84]
mov dword [edi + 0x158], eax
mov eax, dword [edi + 0x230]
cmp eax, ebx
je 0x4059db
cmp dword [eax + 0x68], ebx
je 0x4059db
mov esi, dword [esp + 0x18]
push str.Setting_game_ready_event
call fcn.0040939b
pop ecx
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x15c]
mov eax, dword [ecx]
push 1
call dword [eax + 0x30]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x54]
test al, al
je 0x405a91
push str._qbgnorun
lea esi, [esp + 0xa0]
call fcn.0040858a
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebx
push 0x104
lea eax, [esp + 0xd8]
push eax
push ebx
mov byte [esp + 0x2fc], 0x1c
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xd4]
push eax
push str.Starting_up_pre_deploy_bootstrapper__path___s
call fcn.0040939b
cmp dword [esp + 0xbc], 8
pop ecx
pop ecx
mov ecx, dword [esp + 0xa0]
jae 0x405a62
lea ecx, [esp + 0xa0]
push edi
lea edx, [esp + 0x84]
lea edi, [esp + 0xd8]
call fcn.004125d8
lea esi, [esp + 0x80]
call fcn.00402285
push ebx
push 1
lea esi, [esp + 0xa4]
call fcn.00409a53
lea esi, [esp + 0x30]
call fcn.00402285
cmp dword [esp + 0x2c], ebx
je 0x405aaa
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x28], ebx
je 0x405abe
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x28], ebx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [esp + 0x20], ebx
je 0x405ad8
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.00443d6d
mov esp, ebp
pop ebp
ret 4