Function at 0x404c50
Capabilities:
Check for time delay via gettickcount
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466bb4
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x48d190]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
mov eax, dword [0x48d190]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov edi, ecx
mov al, byte [edi + 0x58]
xor ebx, ebx
mov dword [esp + 0x18], edi
cmp al, bl
je 0x404cb5
push str.We_are_in_bg_update__dont_need_to_start_game.
lea esi, [edi + 0x1ac]
call fcn.0040892e
pop ecx
jmp 0x405800
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
push str.www.roblox.com_startRobloxApp
lea eax, [esp + 0x20]
push eax
call fcn.00401c7a
mov dword [esp + 0x2e8], ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], bl
push 1
mov byte [esp + 0x2ec], 1
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x404dbc
push str.Starting_Hexagon...
lea ecx, [esp + 0x98]
mov byte [esp + 0x40], 1
mov byte [esp + 0x16], 1
mov dword [edi + 0x7c], 0xa
call fcn.00407a73
push edi
lea ebx, [esp + 0x98]
mov byte [esp + 0x2ec], 2
call fcn.00417732
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2f0], 1
call fcn.00408daf
lea esi, [edi + 0x1ac]
push str.Creating_event
mov dword [esp + 0x18], esi
call fcn.0040892e
mov dword [esp], str.www.roblox.com_robloxStartedEvent
push 1
lea eax, [esp + 0x28]
push eax
call fcn.00401c3f
push str.Resetting_event
mov byte [esp + 0x2ec], 3
call fcn.0040892e
pop ecx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x2e8], 4
mov eax, dword [edi + 0x250]
cmp eax, ebx
je 0x404e26
cmp dword [eax + 0x68], ebx
je 0x404e26
cmp dword [eax + 0x6c], 0x10
jb 0x404dd2
mov eax, dword [eax + 0x58]
jmp 0x404dd5
push str.Another_process_is_starting_Roblox._Abandoning_startRobloxApp
lea esi, [edi + 0x1ac]
call fcn.0040892e
pop ecx
jmp 0x4057f0
add eax, 0x58
mov esi, dword [esp + 0x14]
push eax
push str.Play_game__syncGameEventName___s
call fcn.0040892e
mov eax, dword [edi + 0x250]
pop ecx
pop ecx
lea edx, [eax + 0x54]
lea ecx, [esp + 0xb0]
call fcn.0042b3fc
cmp dword [eax + 0x18], 8
jb 0x404e06
mov eax, dword [eax + 4]
jmp 0x404e09
add eax, 4
push eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
push ebx
push 1
lea esi, [esp + 0xb8]
mov dword [esp + 0x2c], eax
call fcn.00409047
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2e8], 5
cmp dword [edi + 0x250], ebx
jne 0x40533d
push str._ide
lea eax, [esp + 0xb4]
call fcn.00407b1d
cmp dword [eax + 0x18], 8
mov edx, dword [eax + 0x14]
jb 0x404e69
mov eax, dword [eax + 4]
jmp 0x404e6c
add eax, 4
push edx
push eax
lea ecx, [edi + 0x170]
xor eax, eax
call fcn.00408f9b
push ebx
cmp eax, 0xffffffff
push 1
lea esi, [esp + 0xb8]
setne byte [esp + 0x1b]
call fcn.00409047
cmp byte [esp + 0x13], bl
jne 0x4050ed
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], ax
lea ecx, [esp + 0x94]
mov byte [esp + 0x2e8], 6
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
cmp byte [ebp + 8], bl
je 0x404f2f
mov byte [esp + 0x2e8], 7
cmp dword [eax + 0x18], 0x10
jb 0x404ee3
mov eax, dword [eax + 4]
jmp 0x404ee6
add eax, 4
push str._games
push eax
push str._S_s
lea esi, [esp + 0xbc]
call fcn.0042b719
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0x7c]
push ecx
xor ebx, ebx
mov byte [esp + 0x2f0], 8
call fcn.00408e9f
push ebx
push 1
call fcn.00409047
push ebx
push 1
lea ecx, [esp + 0x9c]
call fcn.00408daf
jmp 0x404f8c
mov byte [esp + 0x2e8], 9
cmp dword [eax + 0x18], 0x10
jb 0x404f42
mov eax, dword [eax + 4]
jmp 0x404f45
add eax, 4
push str._games
push eax
push str._S_s
lea esi, [esp + 0xbc]
call fcn.0042b719
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0x7c]
push ecx
xor ebx, ebx
mov byte [esp + 0x2f0], 0xa
call fcn.00408e9f
push ebx
push 1
call fcn.00409047
push ebx
push 1
lea ecx, [esp + 0x9c]
call fcn.00408daf
mov byte [esp + 0x12], bl
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x14]
push str.Checking_for_launcher_started...
mov byte [esp + 0x2ec], 0xb
call fcn.0040892e
mov dword [esp], str.rbxLauncherStarted
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x404fd2
push str.Launcher_started.
call fcn.0040892e
pop ecx
mov byte [esp + 0x12], 1
cmp byte [edi + 0x3b0], bl
je 0x405000
cmp byte [esp + 0x12], bl
jne 0x405000
cmp byte [ebp + 8], bl
je 0x405000
push str.Showing_install_success_prompt.
call fcn.0040892e
pop ecx
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x4050bb
push 0x46e1c0
lea eax, [esp + 0x7c]
push eax
call fcn.00407b70
test eax, eax
je 0x405072
push str.http:
lea eax, [esp + 0x7c]
push eax
call fcn.00407b70
test eax, eax
je 0x405072
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x405038
lea eax, [esp + 0x7c]
push eax
push str.http:___s
lea esi, [esp + 0xb8]
call fcn.0042b719
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x7c]
push ecx
xor ebx, ebx
mov byte [esp + 0x2f0], 0xc
call fcn.00408e9f
push ebx
push 1
mov byte [esp + 0x2f0], 0xb
call fcn.00409047
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x405084
lea eax, [esp + 0x7c]
mov esi, dword [esp + 0x14]
push eax
push str.Redirectings_to_page_url_S
call fcn.0040892e
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
pop ecx
pop ecx
jae 0x4050aa
lea eax, [esp + 0x7c]
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x12], bl
cmp dword [esp + 0x18], ebx
je 0x4050cf
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea esi, [esp + 0x80]
mov byte [esp + 0x2f0], 5
call fcn.00409047
xor ebx, ebx
jmp 0x405592
push str._ide
lea eax, [esp + 0xb4]
call fcn.00407b1d
mov ecx, eax
lea eax, [edi + 0x170]
mov byte [esp + 0x2e8], 0xd
call fcn.0040ad35
neg al
sbb al, al
push ebx
inc al
push 1
lea esi, [esp + 0xb8]
mov byte [esp + 0x1b], al
mov byte [esp + 0x2f0], 5
call fcn.00409047
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x13], bl
je 0x405205
push str.Starting_windows_player__beta_
call fcn.0040892e
lea eax, [esp + 0x7c]
mov dword [esp], str.RobloxPlayerBeta.exe
call fcn.00407b1d
mov esi, eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x2e8], 0xe
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xa0]
push esi
push eax
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x2f4], 0xf
call fcn.0040ac59
add esp, 0xc
mov byte [esp + 0x2e8], 0x10
cmp dword [edi + 0x188], 8
jb 0x4051ab
mov ecx, dword [edi + 0x174]
jmp 0x4051b1
lea ecx, [edi + 0x174]
cmp dword [eax + 0x18], 8
jb 0x4051bc
mov eax, dword [eax + 4]
jmp 0x4051bf
add eax, 4
push edi
lea edx, [esp + 0x2c]
mov edi, eax
call fcn.00413b26
push ebx
push 1
lea esi, [esp + 0xb8]
call fcn.00409047
push ebx
push 1
lea esi, [esp + 0x9c]
call fcn.00409047
push ebx
push 1
lea esi, [esp + 0x80]
mov byte [esp + 0x2f0], 5
call fcn.00409047
jmp 0x40558e
push str.Starting_studio_bootstrapper_from_client_bootstrapper
call fcn.0040892e
lea ecx, [esp + 0xb4]
mov dword [esp], 0x46e26c
call fcn.00407a73
mov byte [esp + 0x2e8], 0x11
mov al, byte [edi + 0x59]
mov byte [esp + 0x78], al
push dword [esp + 0x78]
lea eax, [esp + 0x98]
push eax
call fcn.0041970f
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x78]
mov byte [esp + 0x2e8], 0x12
call fcn.0042b3fc
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x9c]
mov byte [esp + 0x2f0], 0x13
call fcn.00408dfa
push ebx
push 1
lea esi, [esp + 0x80]
mov byte [esp + 0x2f0], 0x12
call fcn.00409047
cmp dword [esp + 0xac], 8
mov eax, dword [esp + 0x98]
jae 0x4052a0
lea eax, [esp + 0x98]
mov esi, dword [esp + 0x14]
push eax
push str.Checking_file_existance__S
call fcn.0040892e
cmp dword [esp + 0xb4], 8
mov eax, dword [esp + 0xa0]
pop ecx
pop ecx
jae 0x4052c9
lea eax, [esp + 0x98]
push eax
call fcn.0042be58
pop ecx
test al, al
je 0x405312
lea eax, [edi + 0x170]
cmp dword [eax + 0x18], 8
jb 0x4052e5
mov eax, dword [eax + 4]
jmp 0x4052e8
add eax, 4
cmp dword [esp + 0xac], 8
mov esi, dword [esp + 0x98]
jae 0x405300
lea esi, [esp + 0x98]
push edi
lea edx, [esp + 0x2c]
mov ecx, eax
mov edi, esi
call fcn.00413b26
mov edi, dword [esp + 0x18]
push ebx
push 1
lea esi, [esp + 0x9c]
call fcn.00409047
push ebx
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2f0], 5
call fcn.00408daf
jmp 0x405592
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push str.play
lea ecx, [esp + 0x7c]
call fcn.00407a73
mov esi, dword [esp + 0x14]
push str.Starting_in_play_configuration
mov byte [esp + 0x2ec], 0x14
call fcn.0040892e
mov eax, dword [edi + 0x250]
cmp dword [eax + 0x50], 0x10
pop ecx
jb 0x40537e
mov esi, dword [eax + 0x3c]
jmp 0x405381
lea esi, [eax + 0x3c]
cmp dword [eax + 0x34], 0x10
jb 0x40538c
mov edx, dword [eax + 0x20]
jmp 0x40538f
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], 0x10
jb 0x40539a
mov eax, dword [eax + 4]
jmp 0x40539d
add eax, 4
cmp dword [esp + 0x90], 0x10
mov ecx, dword [esp + 0x7c]
jae 0x4053af
lea ecx, [esp + 0x7c]
push esi
push edx
push eax
push ecx
push str.___S__a__S__t__S__j__S
lea esi, [esp + 0xa8]
call fcn.0042b719
add esp, 0x14
mov byte [esp + 0x2e8], 0x15
mov eax, dword [edi + 0x250]
cmp dword [eax + 0x84], ebx
je 0x405430
cmp dword [eax + 0x88], 0x10
jb 0x4053eb
mov eax, dword [eax + 0x74]
jmp 0x4053ee
add eax, 0x74
push eax
push str.__w__S
lea esi, [esp + 0xb8]
call fcn.0042b719
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x9c]
mov byte [esp + 0x2f0], 0x16
call fcn.00408dfa
push ebx
push 1
lea esi, [esp + 0xb8]
mov byte [esp + 0x2f0], 0x15
call fcn.00409047
mov eax, dword [edi + 0x250]
cmp dword [eax + 0xa4], ebx
je 0x405493
add eax, 0x90
cmp dword [eax + 0x18], 0x10
jb 0x40544e
mov eax, dword [eax + 4]
jmp 0x405451
add eax, 4
push eax
push str.__b__S
lea esi, [esp + 0xb8]
call fcn.0042b719
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x9c]
mov byte [esp + 0x2f0], 0x17
call fcn.00408dfa
push ebx
push 1
lea esi, [esp + 0xb8]
mov byte [esp + 0x2f0], 0x15
call fcn.00409047
cmp dword [esp + 0xac], 8
mov eax, dword [esp + 0x98]
jae 0x4054ab
lea eax, [esp + 0x98]
mov esi, dword [esp + 0x14]
push eax
push str.playArgs___S
call fcn.0040892e
push str.Starting_windows_player__beta_
call fcn.0040892e
add esp, 0xc
push str.RobloxPlayerBeta.exe
lea eax, [esp + 0x44]
call fcn.00407b1d
mov esi, eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2e8], 0x18
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xa0]
push esi
push eax
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x2f4], 0x19
call fcn.0040ac59
add esp, 0xc
mov byte [esp + 0x2e8], 0x1a
cmp dword [esp + 0xac], 8
mov ecx, dword [esp + 0x98]
jae 0x405528
lea ecx, [esp + 0x98]
cmp dword [eax + 0x18], 8
jb 0x405533
mov eax, dword [eax + 4]
jmp 0x405536
add eax, 4
push edi
lea edx, [esp + 0x2c]
mov edi, eax
call fcn.00413b26
push ebx
push 1
lea esi, [esp + 0xb8]
call fcn.00409047
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x64]
call fcn.00409047
push ebx
push edi
lea esi, [esp + 0x48]
call fcn.00409047
push ebx
push edi
lea esi, [esp + 0x9c]
call fcn.00409047
push ebx
push edi
lea ecx, [esp + 0x80]
mov byte [esp + 0x2f0], 5
call fcn.00408daf
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
cmp byte [esp + 0x12], bl
je 0x4056be
mov esi, dword [esp + 0x14]
push str.startRobloxApp_waiting_for_robloxStartedEvent
call fcn.0040892e
pop ecx
push edi
call fcn.00414fbe
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
test eax, eax
jge 0x4055cf
fadd dword [0x47b1a8]
fdiv qword [0x47b1a0]
mov dword [esp + 0x84], 0x4206
fstp qword [esp + 0x78]
push str.WaitingForAppStart
lea ecx, [esp + 0xb4]
mov byte [esp + 0x2ec], 0x1b
call fcn.00407a73
lea ecx, [esp + 0xb0]
lea eax, [edi + 0x18c]
push ecx
push eax
lea esi, [esp + 0x80]
mov byte [esp + 0x2f0], 0x1c
call fcn.0042c135
push ebx
push 1
lea ecx, [esp + 0xb8]
call fcn.00408daf
push 0x2710
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call fcn.00414fbe
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
test eax, eax
jge 0x405656
fadd dword [0x47b1a8]
fdiv qword [0x47b1a0]
mov dword [esp + 0x84], 0x4206
fstp qword [esp + 0x78]
push str.WaitingForAppEnd
lea ecx, [esp + 0xb4]
mov byte [esp + 0x2ec], 0x1d
call fcn.00407a73
lea eax, [esp + 0xb0]
push eax
lea eax, [edi + 0x18c]
push eax
lea esi, [esp + 0x80]
mov byte [esp + 0x2f0], 0x1e
call fcn.0042c135
push ebx
push 1
lea ecx, [esp + 0xb8]
call fcn.00408daf
mov byte [esp + 0x2e8], 5
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
push eax
push 0x41eb24
mov dword [esp + 0x84], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x7c]
mov dword [edi + 0x15c], eax
mov eax, dword [edi + 0x250]
cmp eax, ebx
je 0x40570f
cmp dword [eax + 0x68], ebx
je 0x40570f
mov esi, dword [esp + 0x14]
push str.Setting_game_ready_event
call fcn.0040892e
pop ecx
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
push 1
call dword [eax + 0x30]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
test al, al
je 0x4057b9
push str._qbgnorun
lea eax, [esp + 0x98]
call fcn.00407b1d
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
push 0x104
lea eax, [esp + 0xd0]
push eax
push ebx
mov byte [esp + 0x2f4], 0x20
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xcc]
push eax
push str.Starting_up_pre_deploy_bootstrapper__path___s
call fcn.0040892e
cmp dword [esp + 0xb4], 8
pop ecx
pop ecx
mov ecx, dword [esp + 0x98]
jae 0x405790
lea ecx, [esp + 0x98]
push edi
lea edx, [esp + 0x7c]
lea edi, [esp + 0xd0]
call fcn.00413b26
lea esi, [esp + 0x78]
call fcn.0040237f
push ebx
push 1
lea esi, [esp + 0x9c]
call fcn.00409047
lea esi, [esp + 0x28]
call fcn.0040237f
cmp dword [esp + 0x24], ebx
je 0x4057d2
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], ebx
je 0x4057e6
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x20], ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [esp + 0x1c], ebx
je 0x405800
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.004465ad
mov esp, ebp
pop ebp
ret 4