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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440228
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x466034]
xor eax, esp
mov dword [esp + 0x340], eax
push ebx
push esi
push edi
mov eax, dword [0x466034]
xor eax, esp
push eax
lea eax, [esp + 0x358]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov al, byte [esi + 0x4c]
test al, al
je 0x408fb6
lea eax, [esi + 0x150]
push str.We_are_in_bg_update__dont_need_to_start_game.
push eax
call fcn.00402357
pop ecx
pop ecx
jmp 0x409c13
mov ecx, dword [esi + 0x11c]
xor ebx, ebx
mov eax, dword [ecx]
push ebx
call dword [eax + 0x30]
push str.www.projex.zip_startRobloxApp
push ecx
push ecx
lea ecx, [esp + 0x28]
call fcn.004063d9
mov dword [esp + 0x360], ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], bl
push 1
mov byte [esp + 0x364], 1
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x409bef
push str.Starting_Project_X...
lea ecx, [esp + 0x70]
mov byte [esp + 0x44], 1
mov byte [esp + 0x1b], 1
mov dword [esi + 0x6c], 0xa
call fcn.0040221e
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
mov byte [esp + 0x364], 2
call fcn.0042403f
lea ecx, [esp + 0x6c]
mov byte [esp + 0x360], 1
call fcn.00402286
lea edi, [esi + 0x150]
push str.Creating_event
push edi
mov dword [esp + 0x28], edi
call fcn.00402357
pop ecx
pop ecx
push str.www.projex.zip_robloxStartedEvent
push ebx
push 1
push ebx
mov byte [esp + 0x370], 3
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 0x24], ebx
test eax, eax
jne 0x40908e
call fcn.00401019
push str.Resetting_event
push edi
mov byte [esp + 0x368], 4
call fcn.00402357
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor edi, edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x360], 5
mov eax, dword [esi + 0x210]
test eax, eax
je 0x40911f
cmp dword [eax + 0x70], edi
je 0x40911f
add eax, 0x60
cmp dword [eax + 0x14], 0x10
jb 0x4090d2
mov eax, dword [eax]
push eax
lea eax, [esi + 0x150]
push str.Play_game__syncGameEventName___s
push eax
call fcn.00402357
mov edx, dword [esi + 0x210]
add esp, 0xc
add edx, 0x60
lea ecx, [esp + 0x6c]
call fcn.0040eacb
cmp dword [eax + 0x14], 8
jb 0x409101
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 + 0x74]
mov dword [esp + 0x30], edi
call fcn.0040253d
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x360], 6
cmp dword [esi + 0x210], eax
jne 0x4095d4
push str._ide
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
call fcn.0040b98c
push dword [esp + 0x54]
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push 0
lea ecx, [esi + 0x130]
push eax
call fcn.0040ba0b
push 0
cmp eax, 0xffffffff
push 1
lea ecx, [esp + 0x4c]
setne byte [esp + 0x1e]
call fcn.0040253d
and dword [esp + 0x54], 0
xor eax, eax
mov dword [esp + 0x58], 7
mov word [esp + 0x44], ax
cmp byte [esp + 0x16], al
jne 0x4093ab
lea ecx, [esp + 0x84]
mov byte [esp + 0x360], 7
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
cmp byte [ebp + 8], 0
je 0x4091ea
mov byte [esp + 0x360], 8
cmp dword [eax + 0x14], 0x10
jb 0x4091e3
mov eax, dword [eax]
push str._download_thankyou
jmp 0x4091ff
mov byte [esp + 0x360], 9
cmp dword [eax + 0x14], 0x10
jb 0x4091fa
mov eax, dword [eax]
push str._Games
push eax
lea eax, [esp + 0x74]
push str._S_s
push eax
call fcn.0040ee15
add esp, 0x10
lea ecx, [esp + 0x44]
push eax
call fcn.0040ab8c
push 0
push 1
lea ecx, [esp + 0x74]
call fcn.0040253d
lea ecx, [esp + 0x84]
call fcn.00402286
and dword [esp + 0x5c], 0
mov byte [esp + 0x16], 0
push str.Checking_for_launcher_started...
push dword [esp + 0x24]
mov byte [esp + 0x368], 0xa
call fcn.00402357
pop ecx
pop ecx
push str.rbxLauncherStarted
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
mov dword [esp + 0x5c], esi
test esi, esi
je 0x409284
push str.Launcher_started.
push dword [esp + 0x24]
call fcn.00402357
pop ecx
pop ecx
mov dl, 1
jmp 0x409288
mov dl, byte [esp + 0x16]
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x334]
test al, al
je 0x4092c6
test dl, dl
jne 0x4092c6
cmp byte [ebp + 8], dl
je 0x4092c6
lea eax, [ecx + 0x150]
push str.Showing_install_success_prompt.
push eax
call fcn.00402357
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, dword [eax + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x40937d
mov ecx, 0x44a8c0
call fcn.00405e95
push eax
push 0
push 0x44a8c0
lea ecx, [esp + 0x50]
call fcn.0040ba0b
test eax, eax
je 0x40933c
mov ecx, str.http:
call fcn.00405e95
push eax
push 0
push str.http:
lea ecx, [esp + 0x50]
call fcn.0040ba0b
test eax, eax
je 0x40933c
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x70]
push str.http:___s
push eax
call fcn.0040ee15
add esp, 0xc
lea ecx, [esp + 0x44]
push eax
call fcn.0040ab8c
push 0
push 1
lea ecx, [esp + 0x74]
call fcn.0040253d
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 + 0x28]
call fcn.00402357
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 0x40938d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x368], 6
call fcn.0040253d
mov esi, dword [esp + 0x18]
jmp 0x409988
push str._ide
lea ecx, [esp + 0x48]
call fcn.0040b98c
mov byte [esp + 0x360], 0xb
cmp dword [esp + 0x58], 8
push dword [esp + 0x54]
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
lea ecx, [esi + 0x130]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.004036d3
push 0
test eax, eax
push 1
lea ecx, [esp + 0x4c]
setne byte [esp + 0x1e]
mov byte [esp + 0x368], 6
call fcn.0040253d
cmp byte [esp + 0x16], 0
lea eax, [esi + 0x150]
je 0x4094e9
push str.Starting_windows_player__beta_
push eax
call fcn.00402357
and dword [esp + 0xb4], 0
pop ecx
pop ecx
xor eax, eax
push str.ProjectXPlayerBeta.exe
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb4], 7
mov word [esp + 0xa0], ax
call fcn.0040b98c
lea ecx, [esp + 0x84]
mov byte [esp + 0x360], 0xc
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xa0]
lea ecx, [esp + 0x9c]
push ecx
mov edx, eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x364], 0xd
call fcn.0040c240
pop ecx
mov ecx, eax
lea eax, [esi + 0x130]
mov byte [esp + 0x360], 0xe
cmp dword [eax + 0x14], 8
jb 0x409499
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x4094a1
mov ecx, dword [ecx]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0042031a
push 0
push 1
lea ecx, [esp + 0x74]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0x8c]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x368], 6
call fcn.0040253d
jmp 0x409988
push str.Starting_studio_bootstrapper_from_client_bootstrapper
push eax
call fcn.00402357
pop ecx
pop ecx
push 0x44a96c
lea ecx, [esp + 0x70]
call fcn.0040221e
mov byte [esp + 0x360], 0xf
mov al, byte [esi + 0x4d]
mov byte [esp + 0x5c], al
push dword [esp + 0x5c]
lea eax, [esp + 0x48]
push eax
call fcn.00426028
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x84]
mov byte [esp + 0x360], 0x10
call fcn.0040eacb
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x36c], 0x11
call fcn.0040b885
push 0
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x368], 0x10
call fcn.0040253d
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.00402357
add esp, 0xc
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x44]
cmovae ecx, dword [esp + 0x44]
call fcn.00434543
test al, al
je 0x4095cb
lea ecx, [esi + 0x130]
cmp dword [ecx + 0x14], 8
jb 0x4095af
mov ecx, dword [ecx]
cmp dword [esp + 0x58], 8
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push ecx
push eax
mov ecx, esi
call fcn.0042031a
lea ecx, [esp + 0x44]
jmp 0x40996e
mov ecx, dword [esi + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push str.play
lea ecx, [esp + 0x70]
call fcn.0040221e
mov byte [esp + 0x360], 0x12
and dword [esp + 0xac], 0
xor eax, eax
push 0x449c4c
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb4], 7
mov word [esp + 0xa0], ax
call fcn.0040b98c
mov byte [esp + 0x360], 0x13
mov edx, dword [esi + 0x210]
cmp dword [edx + 0x5c], 0x10
jb 0x40963c
mov ecx, dword [edx + 0x48]
jmp 0x40963f
lea ecx, [edx + 0x48]
mov eax, dword [edx + 0x58]
add eax, ecx
lea ecx, [edx + 0x48]
cmp dword [ecx + 0x14], 0x10
jb 0x40964f
mov ecx, dword [ecx]
push dword [esp + 0x24]
and dword [esp + 0xe0], 0
push eax
xor edx, edx
push ecx
lea ecx, [esp + 0xd8]
mov dword [esp + 0xec], 7
mov word [esp + 0xd8], dx
call fcn.0040cdef
lea eax, [esi + 0x150]
push str.Starting_in_play_configuration
push eax
mov byte [esp + 0x368], 0x14
call fcn.00402357
and dword [esp + 0xfc], 0
pop ecx
pop ecx
xor eax, eax
push str.ProjectXPlayerBeta.exe
lea ecx, [esp + 0xe8]
mov dword [esp + 0xfc], 7
mov word [esp + 0xe8], ax
call fcn.0040b98c
lea ecx, [esp + 0xb4]
mov byte [esp + 0x360], 0x15
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xa0]
lea ecx, [esp + 0x9c]
push ecx
mov edx, eax
lea ecx, [esp + 0x130]
mov byte [esp + 0x364], 0x16
call fcn.0040c30a
pop ecx
lea ecx, [esp + 0xcc]
push ecx
mov edx, eax
lea ecx, [esp + 0x118]
mov byte [esp + 0x364], 0x17
call fcn.0040c30a
pop ecx
lea ecx, [esp + 0x9c]
push ecx
mov edx, eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x364], 0x18
call fcn.0040c30a
pop ecx
lea ecx, [esp + 0xe4]
push ecx
mov edx, eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x364], 0x19
call fcn.0040c240
pop ecx
push 0
push 1
lea ecx, [esp + 0x104]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0x11c]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0x134]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0xbc]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0xec]
mov byte [esp + 0x368], 0x1f
call fcn.0040253d
mov ecx, dword [esi + 0x210]
lea eax, [ecx + 0x30]
mov dword [esp + 0x5c], eax
cmp dword [eax + 0x14], 0x10
jb 0x4097ce
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
lea edx, [ecx + 0x18]
cmp dword [edx + 0x14], 0x10
jb 0x4097d9
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
jb 0x4097e1
mov ecx, dword [ecx]
push dword [esp + 0x5c]
cmp dword [esp + 0x84], 0x10
push edx
push ecx
lea eax, [esp + 0x78]
cmovae eax, dword [esp + 0x78]
push eax
lea eax, [esp + 0x54]
push str.___S__a__S__t__S__j__S
push eax
call fcn.0040ee15
add esp, 0x18
mov byte [esp + 0x360], 0x20
mov eax, dword [esi + 0x210]
cmp dword [eax + 0x88], 0
je 0x409871
add eax, 0x78
cmp dword [eax + 0x14], 0x10
jb 0x40982d
mov eax, dword [eax]
push eax
lea eax, [esp + 0xb8]
push str.__w__S
push eax
call fcn.0040ee15
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x36c], 0x21
call fcn.0040b885
push 0
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x368], 0x20
call fcn.0040253d
mov eax, dword [esi + 0x210]
cmp dword [eax + 0xa4], 0
je 0x4098d1
add eax, 0x94
cmp dword [eax + 0x14], 0x10
jb 0x40988d
mov eax, dword [eax]
push eax
lea eax, [esp + 0xb8]
push str.__b__S
push eax
call fcn.0040ee15
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x36c], 0x22
call fcn.0040b885
push 0
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x368], 0x20
call fcn.0040253d
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
lea eax, [esi + 0x150]
push str.playArgs___S
push eax
call fcn.00402357
add esp, 0xc
lea eax, [esi + 0x150]
push str.Starting_windows_player__beta_
push eax
call fcn.00402357
cmp dword [esp + 0x60], 8
pop ecx
pop ecx
lea ecx, [esp + 0x44]
cmovae ecx, dword [esp + 0x44]
cmp dword [esp + 0x98], 8
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x88]
cmovae eax, dword [esp + 0x88]
push ecx
push eax
mov ecx, esi
call fcn.0042031a
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0x8c]
call fcn.0040253d
push 0
push 1
lea ecx, [esp + 0xd4]
call fcn.0040253d
lea ecx, [esp + 0x9c]
push 0
push 1
call fcn.0040253d
lea ecx, [esp + 0x6c]
mov byte [esp + 0x360], 6
call fcn.00402286
mov ecx, dword [esi + 0x11c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp byte [esp + 0x17], 0
je 0x409aba
push str.startRobloxApp_waiting_for_robloxStartedEvent
push dword [esp + 0x24]
call fcn.00402357
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
pop ecx
call esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], 0x4206
sub eax, dword [ecx + 0x68]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x454e20]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x454e08]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x5c], xmm0
push str.WaitingForAppStart
lea ecx, [esp + 0x70]
mov byte [esp + 0x364], 0x23
call fcn.0040221e
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x70]
push ecx
lea ecx, [eax + 0x148]
mov byte [esp + 0x368], 0x24
call fcn.00434812
lea ecx, [esp + 0x6c]
call fcn.00402286
push 0x2710
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x68], 0x4206
sub eax, dword [esi + 0x68]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x454e20]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x454e08]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x5c], xmm0
push str.WaitingForAppEnd
lea ecx, [esp + 0x70]
mov byte [esp + 0x364], 0x25
call fcn.0040221e
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esi + 0x148]
mov byte [esp + 0x368], 0x26
call fcn.00434812
lea ecx, [esp + 0x6c]
call fcn.00402286
mov byte [esp + 0x360], 6
mov eax, dword [esp + 0x34]
and dword [esp + 0x60], 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
push 0x42b202
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x60]
mov dword [esi + 0x118], eax
mov eax, dword [esi + 0x210]
test eax, eax
je 0x409b0b
cmp dword [eax + 0x70], 0
je 0x409b0b
lea eax, [esi + 0x150]
push str.Setting_game_ready_event
push eax
call fcn.00402357
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 0x409bc4
and dword [esp + 0x54], 0
xor eax, eax
push str._qbgnorun
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
call fcn.0040b98c
xor ecx, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ecx
push 0x104
lea eax, [esp + 0x148]
push eax
push ecx
mov byte [esp + 0x36c], 0x28
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x144]
push eax
lea eax, [esi + 0x150]
push str.Starting_up_pre_deploy_bootstrapper__path___s
push eax
call fcn.00402357
add esp, 0xc
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
lea eax, [esp + 0x14c]
push eax
mov ecx, esi
call fcn.0042031a
lea ecx, [esp + 0x5c]
call fcn.004067fb
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.0040253d
lea ecx, [esp + 0x2c]
call fcn.004067fb
test edi, edi
je 0x409bd8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x409be3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x409c02
lea eax, [esi + 0x150]
push str.Another_process_is_starting_Project_X._Abandoning_startRobloxApp
push eax
call fcn.00402357
pop ecx
pop ecx
cmp dword [esp + 0x1c], 0
je 0x409c13
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x358]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x340]
xor ecx, esp
call fcn.0043b9da
mov esp, ebp
pop ebp
ret 4