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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4673d3
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x4977b8]
xor eax, esp
mov dword [esp + 0x2b8], eax
push ebx
push esi
push edi
mov eax, dword [0x4977b8]
xor eax, esp
push eax
lea eax, [esp + 0x2d0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov al, byte [esi + 0x4c]
test al, al
je 0x404a53
lea eax, [esi + 0x150]
push str.We_are_in_bg_update__dont_need_to_start_game.
push eax
call fcn.00408d80
pop ecx
pop ecx
jmp 0x4054f1
mov ecx, dword [esi + 0x11c]
xor ebx, ebx
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
push str.www.roblox.com_startRobloxApp
push ecx
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401c67
mov dword [esp + 0x2d8], ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], bl
push 1
mov byte [esp + 0x2dc], 1
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4054cd
push str.Starting_ROBLOX...
lea ecx, [esp + 0x60]
mov byte [esp + 0x40], 1
mov byte [esp + 0x1b], 1
mov dword [esi + 0x6c], 0xa
call fcn.00407cc8
lea eax, [esp + 0x5c]
push eax
mov ecx, esi
mov byte [esp + 0x2dc], 2
call fcn.004182b1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2d8], 1
call fcn.00407d52
lea edi, [esi + 0x150]
push str.Creating_event
push edi
mov dword [esp + 0x24], edi
call fcn.00408d80
pop ecx
pop ecx
push str.www.roblox.com_robloxStartedEvent
push ebx
push 1
push ebx
mov byte [esp + 0x2e8], 3
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 0x40], ebx
test eax, eax
jne 0x404b2b
call fcn.0040c7c5
push str.Resetting_event
push edi
mov byte [esp + 0x2e0], 4
call fcn.00408d80
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor edi, edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x2d8], 5
mov eax, dword [esi + 0x210]
test eax, eax
je 0x404bbc
cmp dword [eax + 0x58], edi
je 0x404bbc
add eax, 0x48
cmp dword [eax + 0x14], 0x10
jb 0x404b6f
mov eax, dword [eax]
push eax
lea eax, [esi + 0x150]
push str.Play_game__syncGameEventName___s
push eax
call fcn.00408d80
mov edx, dword [esi + 0x210]
add esp, 0xc
lea edx, [edx + 0x48]
lea ecx, [esp + 0x5c]
call fcn.0042a7a8
cmp dword [eax + 0x14], 8
jb 0x404b9e
mov eax, dword [eax]
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
push 0
mov edi, eax
push 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x2c], edi
call fcn.00409522
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x2d8], 6
cmp dword [esi + 0x210], eax
jne 0x40503d
push str._ide
lea ecx, [esp + 0x60]
call fcn.00408227
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x404bfd
mov ecx, dword [ecx]
push edx
lea eax, [esi + 0x130]
push 0
push ecx
mov ecx, eax
mov dword [esp + 0x80], eax
call fcn.0040947f
push 0
cmp eax, 0xffffffff
push 1
lea ecx, [esp + 0x64]
setne byte [esp + 0x1e]
call fcn.00409522
cmp byte [esp + 0x16], 0
jne 0x404e39
and dword [esp + 0x54], 0
xor eax, eax
mov dword [esp + 0x58], 7
mov word [esp + 0x44], ax
lea ecx, [esp + 0x74]
mov byte [esp + 0x2d8], 7
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
cmp byte [ebp + 8], 0
je 0x404c79
mov byte [esp + 0x2d8], 8
cmp dword [eax + 0x14], 0x10
jb 0x404c72
mov eax, dword [eax]
push str._download_thankyou
jmp 0x404c8e
mov byte [esp + 0x2d8], 9
cmp dword [eax + 0x14], 0x10
jb 0x404c89
mov eax, dword [eax]
push str._Games.aspx
push eax
lea eax, [esp + 0x64]
push str._S_s
push eax
call fcn.0042ab25
add esp, 0x10
lea ecx, [esp + 0x44]
push eax
call fcn.0040827d
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.00409522
lea ecx, [esp + 0x74]
call fcn.00407d52
and dword [esp + 0x74], 0
mov byte [esp + 0x16], 0
push str.Checking_for_launcher_started...
push dword [esp + 0x20]
mov byte [esp + 0x2e0], 0xa
call fcn.00408d80
pop ecx
pop ecx
push str.rbxLauncherStarted
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
mov dword [esp + 0x74], esi
test esi, esi
je 0x404d10
push str.Launcher_started.
push dword [esp + 0x20]
call fcn.00408d80
pop ecx
pop ecx
mov dl, 1
jmp 0x404d14
mov dl, byte [esp + 0x16]
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x334]
test al, al
je 0x404d52
test dl, dl
jne 0x404d52
cmp byte [ebp + 8], dl
je 0x404d52
lea eax, [ecx + 0x150]
push str.Showing_install_success_prompt.
push eax
call fcn.00408d80
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, dword [eax + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x404e0b
push 0x478118
call fcn.004010b3
pop ecx
push eax
push 0
push 0x478118
lea ecx, [esp + 0x50]
call fcn.0040947f
test eax, eax
je 0x404dca
push str.http:
call fcn.004010b3
pop ecx
push eax
push 0
push str.http:
lea ecx, [esp + 0x50]
call fcn.0040947f
test eax, eax
je 0x404dca
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push str.http:___s
push eax
call fcn.0042ab25
add esp, 0xc
lea ecx, [esp + 0x44]
push eax
call fcn.0040827d
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.00409522
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
push str.Redirectings_to_page_url_S
push dword [esp + 0x24]
call fcn.00408d80
add esp, 0xc
cmp dword [esp + 0x58], 8
push 1
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
xor ecx, ecx
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x17], 0
test esi, esi
je 0x404e1b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2e0], 6
call fcn.00409522
mov esi, dword [esp + 0x18]
jmp 0x405274
push str._ide
lea ecx, [esp + 0x60]
call fcn.00408227
mov byte [esp + 0x2d8], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x404e5a
mov eax, dword [eax]
push ecx
lea ecx, [esi + 0x130]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.0040b425
push 0
test eax, eax
push 1
lea ecx, [esp + 0x64]
setne byte [esp + 0x1e]
mov byte [esp + 0x2e0], 6
call fcn.00409522
cmp byte [esp + 0x16], 0
je 0x404f4c
push str.Starting_windows_player__beta_
push dword [esp + 0x20]
call fcn.00408d80
pop ecx
pop ecx
push str.RobloxPlayerBeta.exe
lea ecx, [esp + 0x90]
call fcn.00408227
mov esi, eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x44]
mov byte [esp + 0x2d8], 0xc
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xa8]
push esi
mov edx, eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x2dc], 0xd
call fcn.0040a9b4
pop ecx
mov ecx, eax
mov byte [esp + 0x2d8], 0xe
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x14], 8
jb 0x404efb
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x404f03
mov ecx, dword [ecx]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00414070
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.00409522
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00409522
push 0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x2e0], 6
call fcn.00409522
jmp 0x405274
lea eax, [esi + 0x150]
push str.Starting_studio_bootstrapper_from_client_bootstrapper
push eax
call fcn.00408d80
pop ecx
pop ecx
push 0x4781c4
lea ecx, [esp + 0x60]
call fcn.00407cc8
mov byte [esp + 0x2d8], 0xf
mov al, byte [esi + 0x4d]
mov byte [esp + 0x74], al
push dword [esp + 0x74]
lea eax, [esp + 0x48]
push eax
call fcn.0041a3e7
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2d8], 0x10
call fcn.0042a7a8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2e4], 0x11
call fcn.00409346
push 0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x2e0], 0x10
call fcn.00409522
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
lea eax, [esi + 0x150]
push str.Checking_file_existance__S
push eax
call fcn.00408d80
add esp, 0xc
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x44]
cmovae ecx, dword [esp + 0x44]
call fcn.0042b382
test al, al
je 0x405256
lea ecx, [esi + 0x130]
cmp dword [ecx + 0x14], 8
jb 0x40501c
mov ecx, dword [ecx]
cmp dword [esp + 0x58], 8
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push ecx
push eax
mov ecx, esi
call fcn.00414070
jmp 0x405256
mov ecx, dword [esi + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push str.play
lea ecx, [esp + 0x60]
call fcn.00407cc8
lea eax, [esi + 0x150]
push str.Starting_in_play_configuration
push eax
mov byte [esp + 0x2e0], 0x12
call fcn.00408d80
pop ecx
pop ecx
mov ecx, dword [esi + 0x210]
lea eax, [ecx + 0x30]
mov dword [esp + 0x74], eax
cmp dword [eax + 0x14], 0x10
jb 0x40508a
mov eax, dword [eax]
mov dword [esp + 0x74], eax
lea edx, [ecx + 0x18]
cmp dword [edx + 0x14], 0x10
jb 0x405095
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
jb 0x40509d
mov ecx, dword [ecx]
push dword [esp + 0x74]
cmp dword [esp + 0x74], 0x10
push edx
push ecx
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
push eax
lea eax, [esp + 0x54]
push str.___S__a__S__t__S__j__S
push eax
call fcn.0042ab25
add esp, 0x18
mov byte [esp + 0x2d8], 0x13
mov eax, dword [esi + 0x210]
cmp dword [eax + 0x70], 0
je 0x405127
add eax, 0x60
cmp dword [eax + 0x14], 0x10
jb 0x4050e3
mov eax, dword [eax]
push eax
lea eax, [esp + 0x90]
push str.__w__S
push eax
call fcn.0042ab25
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2e4], 0x14
call fcn.00409346
push 0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x2e0], 0x13
call fcn.00409522
mov eax, dword [esi + 0x210]
cmp dword [eax + 0x8c], 0
je 0x405185
add eax, 0x7c
cmp dword [eax + 0x14], 0x10
jb 0x405141
mov eax, dword [eax]
push eax
lea eax, [esp + 0x90]
push str.__b__S
push eax
call fcn.0042ab25
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2e4], 0x15
call fcn.00409346
push 0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x2e0], 0x13
call fcn.00409522
cmp dword [esp + 0x58], 8
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
push str.playArgs___S
push esi
call fcn.00408d80
add esp, 0xc
push str.Starting_windows_player__beta_
push esi
call fcn.00408d80
pop ecx
pop ecx
push str.RobloxPlayerBeta.exe
lea ecx, [esp + 0xa8]
call fcn.00408227
mov esi, eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x74]
mov byte [esp + 0x2d8], 0x16
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xa8]
push esi
mov edx, eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x2dc], 0x17
call fcn.0040a9b4
pop ecx
mov byte [esp + 0x2d8], 0x18
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x44]
cmovae ecx, dword [esp + 0x44]
cmp dword [eax + 0x14], 8
jb 0x405217
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
push ecx
push eax
mov ecx, esi
call fcn.00414070
push 0
push 1
lea ecx, [esp + 0x94]
call fcn.00409522
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.00409522
push 0
push 1
lea ecx, [esp + 0xac]
call fcn.00409522
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00409522
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2d8], 6
call fcn.00407d52
mov ecx, dword [esi + 0x11c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp byte [esp + 0x17], 0
je 0x4053ac
push str.startRobloxApp_waiting_for_robloxStartedEvent
push dword [esp + 0x20]
call fcn.00408d80
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
pop ecx
call esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], 0x4206
sub eax, dword [ecx + 0x68]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x485b60]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x485b48]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x74], xmm0
push str.WaitingForAppStart
lea ecx, [esp + 0x60]
mov byte [esp + 0x2dc], 0x19
call fcn.00407cc8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [eax + 0x148]
mov byte [esp + 0x2e0], 0x1a
call fcn.0042b650
lea ecx, [esp + 0x5c]
call fcn.00407d52
push 0x2710
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x80], 0x4206
sub eax, dword [esi + 0x68]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x485b60]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x485b48]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x74], xmm0
push str.WaitingForAppEnd
lea ecx, [esp + 0x60]
mov byte [esp + 0x2dc], 0x1b
call fcn.00407cc8
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esi + 0x148]
mov byte [esp + 0x2e0], 0x1c
call fcn.0042b650
lea ecx, [esp + 0x5c]
call fcn.00407d52
mov byte [esp + 0x2d8], 6
mov eax, dword [esp + 0x30]
and dword [esp + 0x78], 0
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
push 0x41f741
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x78]
mov dword [esi + 0x118], eax
mov eax, dword [esi + 0x210]
test eax, eax
je 0x4053fd
cmp dword [eax + 0x58], 0
je 0x4053fd
lea eax, [esi + 0x150]
push str.Setting_game_ready_event
push eax
call fcn.00408d80
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x11c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4054a2
push str._qbgnorun
lea ecx, [esp + 0x60]
call fcn.00408227
xor ecx, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], ecx
push 0x104
lea eax, [esp + 0xc0]
push eax
push ecx
mov byte [esp + 0x2e4], 0x1e
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xbc]
push eax
lea eax, [esi + 0x150]
push str.Starting_up_pre_deploy_bootstrapper__path___s
push eax
call fcn.00408d80
add esp, 0xc
cmp dword [esp + 0x70], 8
lea ecx, [esp + 0x74]
push ecx
lea eax, [esp + 0x60]
cmovae eax, dword [esp + 0x60]
push eax
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
call fcn.00414070
lea ecx, [esp + 0x74]
call fcn.004023bb
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.00409522
lea ecx, [esp + 0x28]
call fcn.004023bb
test edi, edi
je 0x4054b6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4054c1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x4054e0
lea eax, [esi + 0x150]
push str.Another_process_is_starting_Roblox._Abandoning_startRobloxApp
push eax
call fcn.00408d80
pop ecx
pop ecx
cmp dword [esp + 0x20], 0
je 0x4054f1
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.0044a9a4
mov esp, ebp
pop ebp
ret 4