Function at 0x48a2b0
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc317
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x51a3c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x5223c8
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a2e0
sub ecx, edx
sar ecx, 1
jne 0x48a2f6
call fcn.00489190
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x5223c8
call esi
test eax, eax
je 0x48a33e
lea eax, [ebp - 0x10]
push eax
call fcn.00488a70
add esp, 4
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x48a323
mov byte [0x5225d0], 1
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48a33e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x522640
call fcn.0046bc20
test al, al
je 0x48a4f1
push str.runSetup_silent
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
add esp, 0xc
call fcn.00489870
test al, al
je 0x48a39b
push str.runSetup_isLowerSetup
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x522640
mov dword [0x5223c0], 0
call fcn.0046bc20
test al, al
je 0x48a3b7
xor eax, eax
jmp 0x48a3c4
push 0
push str.360GameAssistantSetupWndClass
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, 0x5223c8
mov dword [0x5223c4], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a3d1
sub ecx, edx
sar ecx, 1
jne 0x48a3e7
call fcn.00489190
mov ecx, 0x5223c8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a3f0
sub ecx, edx
sar ecx, 1
jne 0x48a406
call fcn.00489190
push 0x5223c8
call esi
test eax, eax
mov eax, dword [0x5223c4]
setne byte [0x5225d0]
test eax, eax
je 0x48a469
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x7e9
push eax
call esi
cmp dword [0x5223c0], 0
jl 0x48a443
cmp byte [0x5225d1], 0
jne 0x48a469
mov eax, dword [0x5223c4]
mov dword [0x5223c0], 0
test eax, eax
je 0x48a469
push 0
push 0
push 0x7e8
push eax
mov byte [0x5225d1], 1
call esi
call fcn.00489e70
test al, al
jne 0x48a49c
push str.runInstaller_openEmbeddedFilesArchive_false
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x522640
call fcn.0046bc20
push 0
test al, al
je 0x48a4c3
call fcn.00487dc0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push fcn.00487dc0
push 0
push 0
call fcn.004b29fd
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.runSetup_window
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
add esp, 0xc
push 0
push str.360GameAssistantSetupWndClass
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x48a54c
push str.runSetup_window_already_exist
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
push esi
call fcn.00482b60
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x4e5650
push 0x2c
call fcn.004a44fb
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x48a574
mov ecx, eax
call fcn.00493e40
mov esi, eax
jmp 0x48a576
xor esi, esi
push 0
push 0
push 0x86020000
push 0x4f35d4
push 0
push esi
push str.SetupWnd.xml
push str.SetupWnd
mov dword [ebp - 4], 0xffffffff
call fcn.00407c90
add esp, 0x20
test eax, eax
jne 0x48a5c3
test esi, esi
je 0x48a5b1
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x14]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret