Function at 0x404c07
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 0x467df3
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x48e190]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
mov eax, dword [0x48e190]
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 0x404c6c
push str.We_are_in_bg_update__dont_need_to_start_game.
lea esi, [edi + 0x1ac]
call fcn.00408ffd
pop ecx
jmp 0x4057b7
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
push str.www.bloxx16.se_startRobloxApp
lea eax, [esp + 0x20]
push eax
call fcn.00401c15
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 0x404d73
push str.Starting_ROBLOX...
lea ecx, [esp + 0x98]
mov byte [esp + 0x40], 1
mov byte [esp + 0x16], 1
mov dword [edi + 0x7c], 0xa
call fcn.00408140
push edi
lea ebx, [esp + 0x98]
mov byte [esp + 0x2ec], 2
call fcn.00417e44
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2f0], 1
call fcn.00409477
lea esi, [edi + 0x1ac]
push str.Creating_event
mov dword [esp + 0x18], esi
call fcn.00408ffd
mov dword [esp], str.www.bloxx16.se_robloxStartedEvent
push 1
lea eax, [esp + 0x28]
push eax
call fcn.00401bda
push str.Resetting_event
mov byte [esp + 0x2ec], 3
call fcn.00408ffd
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 0x404ddd
cmp dword [eax + 0x68], ebx
je 0x404ddd
cmp dword [eax + 0x6c], 0x10
jb 0x404d89
mov eax, dword [eax + 0x58]
jmp 0x404d8c
push str.Another_process_is_starting_Roblox._Abandoning_startRobloxApp
lea esi, [edi + 0x1ac]
call fcn.00408ffd
pop ecx
jmp 0x4057a7
add eax, 0x58
mov esi, dword [esp + 0x14]
push eax
push str.Play_game__syncGameEventName___s
call fcn.00408ffd
mov eax, dword [edi + 0x250]
pop ecx
pop ecx
lea edx, [eax + 0x54]
lea ecx, [esp + 0xb0]
call fcn.0042c5ed
cmp dword [eax + 0x18], 8
jb 0x404dbd
mov eax, dword [eax + 4]
jmp 0x404dc0
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.0040970f
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 0x4052f4
push str._ide
lea eax, [esp + 0xb4]
call fcn.004081ea
cmp dword [eax + 0x18], 8
mov edx, dword [eax + 0x14]
jb 0x404e20
mov eax, dword [eax + 4]
jmp 0x404e23
add eax, 4
push edx
push eax
lea ecx, [edi + 0x170]
xor eax, eax
call fcn.00409663
push ebx
cmp eax, 0xffffffff
push 1
lea esi, [esp + 0xb8]
setne byte [esp + 0x1b]
call fcn.0040970f
cmp byte [esp + 0x13], bl
jne 0x4050a4
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 0x404ee6
mov byte [esp + 0x2e8], 7
cmp dword [eax + 0x18], 0x10
jb 0x404e9a
mov eax, dword [eax + 4]
jmp 0x404e9d
add eax, 4
push str._download_thankyou
push eax
push str._S_s
lea esi, [esp + 0xbc]
call fcn.0042c90a
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0x7c]
push ecx
xor ebx, ebx
mov byte [esp + 0x2f0], 8
call fcn.00409567
push ebx
push 1
call fcn.0040970f
push ebx
push 1
lea ecx, [esp + 0x9c]
call fcn.00409477
jmp 0x404f43
mov byte [esp + 0x2e8], 9
cmp dword [eax + 0x18], 0x10
jb 0x404ef9
mov eax, dword [eax + 4]
jmp 0x404efc
add eax, 4
push str._Games.aspx
push eax
push str._S_s
lea esi, [esp + 0xbc]
call fcn.0042c90a
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0x7c]
push ecx
xor ebx, ebx
mov byte [esp + 0x2f0], 0xa
call fcn.00409567
push ebx
push 1
call fcn.0040970f
push ebx
push 1
lea ecx, [esp + 0x9c]
call fcn.00409477
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.00408ffd
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 0x404f89
push str.Launcher_started.
call fcn.00408ffd
pop ecx
mov byte [esp + 0x12], 1
cmp byte [edi + 0x3b0], bl
je 0x404fb7
cmp byte [esp + 0x12], bl
jne 0x404fb7
cmp byte [ebp + 8], bl
je 0x404fb7
push str.Showing_install_success_prompt.
call fcn.00408ffd
pop ecx
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x405072
push 0x46f1f8
lea eax, [esp + 0x7c]
push eax
call fcn.0040823d
test eax, eax
je 0x405029
push str.http:
lea eax, [esp + 0x7c]
push eax
call fcn.0040823d
test eax, eax
je 0x405029
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x404fef
lea eax, [esp + 0x7c]
push eax
push str.http:___s
lea esi, [esp + 0xb8]
call fcn.0042c90a
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x7c]
push ecx
xor ebx, ebx
mov byte [esp + 0x2f0], 0xc
call fcn.00409567
push ebx
push 1
mov byte [esp + 0x2f0], 0xb
call fcn.0040970f
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x40503b
lea eax, [esp + 0x7c]
mov esi, dword [esp + 0x14]
push eax
push str.Redirectings_to_page_url_S
call fcn.00408ffd
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
pop ecx
pop ecx
jae 0x405061
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 0x405086
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.0040970f
xor ebx, ebx
jmp 0x405549
push str._ide
lea eax, [esp + 0xb4]
call fcn.004081ea
mov ecx, eax
lea eax, [edi + 0x170]
mov byte [esp + 0x2e8], 0xd
call fcn.0040b424
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.0040970f
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x13], bl
je 0x4051bc
push str.Starting_windows_player__beta_
call fcn.00408ffd
lea eax, [esp + 0x7c]
mov dword [esp], str.RobloxPlayerBeta.exe
call fcn.004081ea
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.0040b348
add esp, 0xc
mov byte [esp + 0x2e8], 0x10
cmp dword [edi + 0x188], 8
jb 0x405162
mov ecx, dword [edi + 0x174]
jmp 0x405168
lea ecx, [edi + 0x174]
cmp dword [eax + 0x18], 8
jb 0x405173
mov eax, dword [eax + 4]
jmp 0x405176
add eax, 4
push edi
lea edx, [esp + 0x2c]
mov edi, eax
call fcn.0041424d
push ebx
push 1
lea esi, [esp + 0xb8]
call fcn.0040970f
push ebx
push 1
lea esi, [esp + 0x9c]
call fcn.0040970f
push ebx
push 1
lea esi, [esp + 0x80]
mov byte [esp + 0x2f0], 5
call fcn.0040970f
jmp 0x405545
push str.Starting_studio_bootstrapper_from_client_bootstrapper
call fcn.00408ffd
lea ecx, [esp + 0xb4]
mov dword [esp], 0x46f2a4
call fcn.00408140
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.00419e24
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x78]
mov byte [esp + 0x2e8], 0x12
call fcn.0042c5ed
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x9c]
mov byte [esp + 0x2f0], 0x13
call fcn.004094c2
push ebx
push 1
lea esi, [esp + 0x80]
mov byte [esp + 0x2f0], 0x12
call fcn.0040970f
cmp dword [esp + 0xac], 8
mov eax, dword [esp + 0x98]
jae 0x405257
lea eax, [esp + 0x98]
mov esi, dword [esp + 0x14]
push eax
push str.Checking_file_existance__S
call fcn.00408ffd
cmp dword [esp + 0xb4], 8
mov eax, dword [esp + 0xa0]
pop ecx
pop ecx
jae 0x405280
lea eax, [esp + 0x98]
push eax
call fcn.0042d04e
pop ecx
test al, al
je 0x4052c9
lea eax, [edi + 0x170]
cmp dword [eax + 0x18], 8
jb 0x40529c
mov eax, dword [eax + 4]
jmp 0x40529f
add eax, 4
cmp dword [esp + 0xac], 8
mov esi, dword [esp + 0x98]
jae 0x4052b7
lea esi, [esp + 0x98]
push edi
lea edx, [esp + 0x2c]
mov ecx, eax
mov edi, esi
call fcn.0041424d
mov edi, dword [esp + 0x18]
push ebx
push 1
lea esi, [esp + 0x9c]
call fcn.0040970f
push ebx
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2f0], 5
call fcn.00409477
jmp 0x405549
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push str.play
lea ecx, [esp + 0x7c]
call fcn.00408140
mov esi, dword [esp + 0x14]
push str.Starting_in_play_configuration
mov byte [esp + 0x2ec], 0x14
call fcn.00408ffd
mov eax, dword [edi + 0x250]
cmp dword [eax + 0x50], 0x10
pop ecx
jb 0x405335
mov esi, dword [eax + 0x3c]
jmp 0x405338
lea esi, [eax + 0x3c]
cmp dword [eax + 0x34], 0x10
jb 0x405343
mov edx, dword [eax + 0x20]
jmp 0x405346
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], 0x10
jb 0x405351
mov eax, dword [eax + 4]
jmp 0x405354
add eax, 4
cmp dword [esp + 0x90], 0x10
mov ecx, dword [esp + 0x7c]
jae 0x405366
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.0042c90a
add esp, 0x14
mov byte [esp + 0x2e8], 0x15
mov eax, dword [edi + 0x250]
cmp dword [eax + 0x84], ebx
je 0x4053e7
cmp dword [eax + 0x88], 0x10
jb 0x4053a2
mov eax, dword [eax + 0x74]
jmp 0x4053a5
add eax, 0x74
push eax
push str.__w__S
lea esi, [esp + 0xb8]
call fcn.0042c90a
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x9c]
mov byte [esp + 0x2f0], 0x16
call fcn.004094c2
push ebx
push 1
lea esi, [esp + 0xb8]
mov byte [esp + 0x2f0], 0x15
call fcn.0040970f
mov eax, dword [edi + 0x250]
cmp dword [eax + 0xa4], ebx
je 0x40544a
add eax, 0x90
cmp dword [eax + 0x18], 0x10
jb 0x405405
mov eax, dword [eax + 4]
jmp 0x405408
add eax, 4
push eax
push str.__b__S
lea esi, [esp + 0xb8]
call fcn.0042c90a
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x9c]
mov byte [esp + 0x2f0], 0x17
call fcn.004094c2
push ebx
push 1
lea esi, [esp + 0xb8]
mov byte [esp + 0x2f0], 0x15
call fcn.0040970f
cmp dword [esp + 0xac], 8
mov eax, dword [esp + 0x98]
jae 0x405462
lea eax, [esp + 0x98]
mov esi, dword [esp + 0x14]
push eax
push str.playArgs___S
call fcn.00408ffd
push str.Starting_windows_player__beta_
call fcn.00408ffd
add esp, 0xc
push str.RobloxPlayerBeta.exe
lea eax, [esp + 0x44]
call fcn.004081ea
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.0040b348
add esp, 0xc
mov byte [esp + 0x2e8], 0x1a
cmp dword [esp + 0xac], 8
mov ecx, dword [esp + 0x98]
jae 0x4054df
lea ecx, [esp + 0x98]
cmp dword [eax + 0x18], 8
jb 0x4054ea
mov eax, dword [eax + 4]
jmp 0x4054ed
add eax, 4
push edi
lea edx, [esp + 0x2c]
mov edi, eax
call fcn.0041424d
push ebx
push 1
lea esi, [esp + 0xb8]
call fcn.0040970f
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x64]
call fcn.0040970f
push ebx
push edi
lea esi, [esp + 0x48]
call fcn.0040970f
push ebx
push edi
lea esi, [esp + 0x9c]
call fcn.0040970f
push ebx
push edi
lea ecx, [esp + 0x80]
mov byte [esp + 0x2f0], 5
call fcn.00409477
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 0x405675
mov esi, dword [esp + 0x14]
push str.startRobloxApp_waiting_for_robloxStartedEvent
call fcn.00408ffd
pop ecx
push edi
call fcn.004156ea
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
test eax, eax
jge 0x405586
fadd dword [0x47c920]
fdiv qword [0x47c918]
mov dword [esp + 0x84], 0x4206
fstp qword [esp + 0x78]
push str.WaitingForAppStart
lea ecx, [esp + 0xb4]
mov byte [esp + 0x2ec], 0x1b
call fcn.00408140
lea ecx, [esp + 0xb0]
lea eax, [edi + 0x18c]
push ecx
push eax
lea esi, [esp + 0x80]
mov byte [esp + 0x2f0], 0x1c
call fcn.0042d32b
push ebx
push 1
lea ecx, [esp + 0xb8]
call fcn.00409477
push 0x2710
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call fcn.004156ea
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
test eax, eax
jge 0x40560d
fadd dword [0x47c920]
fdiv qword [0x47c918]
mov dword [esp + 0x84], 0x4206
fstp qword [esp + 0x78]
push str.WaitingForAppEnd
lea ecx, [esp + 0xb4]
mov byte [esp + 0x2ec], 0x1d
call fcn.00408140
lea eax, [esp + 0xb0]
push eax
lea eax, [edi + 0x18c]
push eax
lea esi, [esp + 0x80]
mov byte [esp + 0x2f0], 0x1e
call fcn.0042d32b
push ebx
push 1
lea ecx, [esp + 0xb8]
call fcn.00409477
mov byte [esp + 0x2e8], 5
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
push eax
push 0x41f23b
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 0x4056c6
cmp dword [eax + 0x68], ebx
je 0x4056c6
mov esi, dword [esp + 0x14]
push str.Setting_game_ready_event
call fcn.00408ffd
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 0x405770
push str._qbgnorun
lea eax, [esp + 0x98]
call fcn.004081ea
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.00408ffd
cmp dword [esp + 0xb4], 8
pop ecx
pop ecx
mov ecx, dword [esp + 0x98]
jae 0x405747
lea ecx, [esp + 0x98]
push edi
lea edx, [esp + 0x7c]
lea edi, [esp + 0xd0]
call fcn.0041424d
lea esi, [esp + 0x78]
call fcn.0040231a
push ebx
push 1
lea esi, [esp + 0x9c]
call fcn.0040970f
lea esi, [esp + 0x28]
call fcn.0040231a
cmp dword [esp + 0x24], ebx
je 0x405789
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], ebx
je 0x40579d
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 0x4057b7
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.0044763d
mov esp, ebp
pop ebp
ret 4