Function at 0x1090ab60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push str.SC_CHAOS_THEORY
push 1
push 0
call dword [0x10c74b6c]
push 0
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1090b432
cmp eax, reloc.ole32.dll_CoCreateGuid
je 0x1090b432
mov ecx, 0x200
mov eax, 0x100
mov dword [0x10c78b8c], ecx
mov dword [0x10c78bc0], ecx
mov dword [0x10c78b70], ecx
mov ecx, dword [0x10c73bf0]
mov edx, 0x20
push 0x10c109d8
mov dword [0x10c78b80], eax
mov dword [0x10c78ba0], eax
mov dword [0x10c78b5c], eax
mov esi, 0x80
mov edi, 0x40
mov dword [0x10c78ba8], eax
mov eax, dword [ecx]
push 0x1f4
mov dword [0x10c78b68], 0x400
mov dword [0x10c78b84], 0x800
mov dword [0x10c78b74], 0x50
mov dword [0x10c78b90], 0x477fff00
mov dword [0x10c78b6c], esi
mov dword [0x10c78b54], edi
mov dword [0x10c78b7c], edx
mov dword [0x10c78b58], esi
mov dword [0x10c78b60], edi
mov dword [0x10c78b78], edx
mov dword [0x10c78bac], 0
call dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x10c9775c], eax
mov eax, dword [ebp + 8]
mov dword [0x10c96904], 1
mov dword [0x10c78b50], eax
mov dword [0x10c97758], eax
call edi
mov ebx, eax
call fcn.1090e6d0
push eax
push str.Launch
call dword [sym.imp.MSVCR70.dll_wcscpy]
add esp, 8
push 0x10c0fe78
mov ecx, 0x40
mov esi, 0x10c9232c
mov eax, ebx
mov dword [0x10c92328], 0
call fcn.109120e0
add esp, 4
test eax, eax
je 0x1090acdd
push 0x10c0fe74
push esi
call dword [sym.imp.MSVCR70.dll_wcsstr]
add esp, 8
test eax, eax
je 0x1090acd6
mov word [eax], 0
add eax, 2
push eax
call dword [sym.imp.MSVCR70.dll__wtoi]
add esp, 4
mov dword [0x10c923ac], eax
mov dword [0x10c92328], 1
call edi
mov word [eax], 0
push str._host
mov ecx, 0x40
mov esi, 0x10c9232c
mov eax, ebx
mov dword [0x10c923b0], 0
call fcn.109120e0
add esp, 4
test eax, eax
je 0x1090ad15
mov dword [0x10c923b0], 1
call edi
mov word [eax], 0
mov esi, dword [sym.imp.MSVCR70.dll_wcsstr]
push str.Autoplay.sds
push ebx
call esi
add esp, 8
test eax, eax
jne 0x1090ad39
push str.Autoplay.sdc
push ebx
call esi
add esp, 8
test eax, eax
je 0x1090ad75
push str._GameMode
push ebx
call esi
add esp, 8
test eax, eax
je 0x1090ad75
push str._team
push ebx
call esi
add esp, 8
test eax, eax
je 0x1090ad75
push 0x10c0fdf4
push ebx
call esi
add esp, 8
test eax, eax
je 0x1090ad75
push 0x10c0fde8
push ebx
call esi
add esp, 8
test eax, eax
jne 0x1090ad7c
call edi
mov word [eax], 0
mov eax, 1
mov dword [0x10c96908], eax
mov dword [0x10c968f8], eax
call fcn.1093f530
call fcn.1095b060
call fcn.1099ebb0
call fcn.10a649c0
call fcn.10a836a0
call fcn.10aea780
call fcn.10afde20
call fcn.10b08730
call fcn.10b12bd0
call fcn.10a70810
call fcn.10b12cf0
call fcn.10b26180
push 0x10c744fc
push 0x10c744f0
push 0x10c73ce0
push 0x10c73cd8
push str.Launch
mov eax, 0x10c7451c
mov edx, ebx
mov dword [0x10c9241c], 0x10cc1568
mov dword [0x10c92420], 0x10cc6ce8
mov dword [0x10c92428], 0x10cc6310
mov dword [0x10c92430], 0x10cc5c80
mov dword [0x10c92434], 0x10cc1680
mov dword [0x10c92438], 0x10c9db60
call fcn.10913e80
mov eax, dword [0x10c946cc]
mov edi, 3
mov dword [eax + 0x68], edi
mov dword [eax + 0x78], edi
mov ecx, dword [eax + 0x68]
add esp, 0x14
dec ecx
lea esi, [eax + 0x5c]
je 0x1090b065
dec ecx
je 0x1090afb3
dec ecx
je 0x1090aeb1
push 0xc
push 1
mov ecx, esi
call fcn.109044e0
mov edx, dword [esi]
lea ecx, [eax + eax*2]
lea ecx, [edx + ecx*4]
test ecx, ecx
je 0x1090ae73
push str..._Packages_Maps_.sds
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
mov ecx, dword [esi]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
test ecx, ecx
je 0x1090ae9d
push str..._Packages_Maps_.sdc
call fcn.109046c0
mov eax, dword [0x10c946cc]
mov dword [eax + 0x80], reloc.ole32.dll_CoCreateGuid
jmp 0x1090b112
push 1
push 1
mov ebx, 0xc
mov eax, esi
call fcn.10904450
mov ecx, dword [esi]
add ecx, ebx
je 0x1090aed1
push str..._System__PC__.u
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
lea edx, [eax + eax*2]
mov eax, dword [esi]
lea ecx, [eax + edx*4]
test ecx, ecx
je 0x1090aefb
push str..._Packages_Textures_.utx
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
mov edx, dword [esi]
lea ecx, [eax + eax*2]
lea ecx, [edx + ecx*4]
test ecx, ecx
je 0x1090af25
push str..._Packages_Textures_.utc
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
mov ecx, dword [esi]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
test ecx, ecx
je 0x1090af4f
push str..._Packages_StaticMeshes_.usx
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
lea edx, [eax + eax*2]
mov eax, dword [esi]
lea ecx, [eax + edx*4]
test ecx, ecx
je 0x1090af79
push str..._Packages_Maps_.sds
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
mov edx, dword [esi]
lea ecx, [eax + eax*2]
lea ecx, [edx + ecx*4]
test ecx, ecx
je 0x1090afa3
push str..._Packages_Maps_.sdc
call fcn.109046c0
mov eax, dword [0x10c946cc]
mov dword [eax + 0x80], edi
jmp 0x1090b112
push 1
push 1
mov ebx, 0xc
mov eax, esi
call fcn.10904450
mov ecx, dword [esi]
add ecx, ebx
je 0x1090afd3
push str..._System_XBOX_.u
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
mov ecx, dword [esi]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
test ecx, ecx
je 0x1090affd
push str..._Packages_TexturesXBOX_.utx
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
lea edx, [eax + eax*2]
mov eax, dword [esi]
lea ecx, [eax + edx*4]
test ecx, ecx
je 0x1090b027
push str..._Packages_StaticMeshesXBOX_.usx
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
mov edx, dword [esi]
lea ecx, [eax + eax*2]
lea ecx, [edx + ecx*4]
test ecx, ecx
je 0x1090b051
push str..._Packages_MapsXBOX_.sds
call fcn.109046c0
mov eax, dword [0x10c946cc]
mov dword [eax + 0x80], 2
jmp 0x1090b112
push 1
push 1
mov ebx, 0xc
mov eax, esi
call fcn.10904450
mov ecx, dword [esi]
add ecx, ebx
je 0x1090b085
push str..._System_PSX2_.u
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
mov ecx, dword [esi]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
test ecx, ecx
je 0x1090b0af
push str..._Packages_TexturesPSX2_.utx
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
lea edx, [eax + eax*2]
mov eax, dword [esi]
lea ecx, [eax + edx*4]
test ecx, ecx
je 0x1090b0d9
push str..._Packages_StaticMeshesPSX2_.usx
call fcn.109046c0
mov esi, dword [0x10c946cc]
push 0xc
add esi, 0x5c
push 1
mov ecx, esi
call fcn.109044e0
mov edx, dword [esi]
lea ecx, [eax + eax*2]
lea ecx, [edx + ecx*4]
test ecx, ecx
je 0x1090b103
push str..._Packages_MapsPSX2_.sds
call fcn.109046c0
mov eax, dword [0x10c946cc]
mov dword [eax + 0x80], 1
cmp dword [eax + 0x68], edi
jne 0x1090b155
push str...packages_soundsPC_
push str...packages_sounds_
call dword [sym.imp.MSVCR70.dll_wcscpy]
mov esi, dword [0x10c946cc]
add esp, 8
push 1
add esi, 0x5c
push 0
mov ebx, 0xc
mov eax, esi
call fcn.10904450
mov esi, dword [esi]
test esi, esi
je 0x1090b155
push str..._packages_soundsPC_.uax
mov ecx, esi
call fcn.109046c0
mov esi, 0x10c0fa68
mov edi, 0x10c92680
mov dword [0x10c968fc], 1
call fcn.109121c0
neg eax
sbb eax, eax
inc eax
mov ebx, 1
mov dword [0x10c968f8], eax
mov dword [0x10c968f0], ebx
je 0x1090b19d
mov esi, str.LAZY
call fcn.109121c0
test eax, eax
mov dword [0x10c96924], 0
je 0x1090b1a3
mov dword [0x10c96924], ebx
push str.SCCT_Versus.bmp
lea eax, [ebp - 0x14]
push eax
push str.Launch
lea ecx, [ebp - 0x20]
push ecx
push 0x10c10928
lea ecx, [ebp - 0x2c]
call fcn.109046c0
push eax
call fcn.10904a10
mov ecx, eax
call fcn.10904990
lea ecx, [ebp - 0x20]
call fcn.109048b0
lea ecx, [ebp - 0x2c]
call fcn.109048b0
mov eax, dword [ebp - 0x10]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x1090b1ee
mov eax, 0x10c10928
mov ecx, dword [0x10c71ab4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
test eax, eax
jge 0x1090b20b
mov edi, str.SCCT_Versus.bmp
lea esi, [ebp - 0x14]
call fcn.10904750
call fcn.1090e6d0
push eax
push str.Launch
call dword [sym.imp.MSVCR70.dll_wcscpy]
add esp, 8
mov esi, str.server
mov edi, 0x10c92680
call fcn.109121c0
test eax, eax
jne 0x1090b24a
mov eax, dword [ebp - 0x10]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x1090b241
mov eax, 0x10c10928
push eax
call fcn.109068b0
add esp, 4
mov ecx, dword [0x10c946c0]
push 0
lea edx, [ebp - 4]
push edx
push str.FirstRun
push 0
mov dword [ebp - 4], 0
mov eax, dword [ecx]
push str.FirstRun
call dword [eax + 4]
mov eax, dword [0x10c968f8]
test eax, eax
je 0x1090b283
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1090b283
call fcn.1090b440
mov eax, dword [0x10c96918]
test eax, eax
je 0x1090b2b1
mov eax, dword [0x10c97150]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x10c78bb0
call fcn.10957780
call fcn.10917db0
call fcn.109140e0
jmp 0x1090b42a
call fcn.10b14440
mov ecx, dword [0x10c73bf0]
mov edx, dword [ecx]
push 0x10c109d8
push 0x2c0
call dword [edx]
mov esi, eax
test esi, esi
je 0x1090b2f8
push ecx
mov ebx, esp
mov dword [ebp + 8], esp
push 1
mov eax, str.GameLog
call fcn.1091ff70
push 0x10c73ce4
push 0x10c73ce8
push esi
xor ecx, ecx
call fcn.109054f0
mov ecx, eax
jmp 0x1090b2fa
xor ecx, ecx
push 0
xor eax, eax
mov dword [0x10c91c88], ecx
call fcn.10b16420
mov ebx, dword [0x10c91c88]
push str.Start
add ebx, 0x3c
mov eax, 0x245
call fcn.10911750
mov eax, dword [0x10c968f8]
xor edi, edi
cmp eax, edi
je 0x1090b342
mov eax, dword [0x10c91c88]
mov ecx, dword [eax + 4]
push 1
push str.IsBrowser
push ecx
call dword [0x10c74c58]
lea ecx, [ebp - 0x44]
call fcn.10904630
lea ecx, [ebp - 0x38]
call fcn.10904630
call fcn.1094a7b0
call fcn.10992fa0
call fcn.10a695b0
call fcn.10a83870
call fcn.10a86890
call fcn.1090a730
mov esi, eax
cmp esi, edi
je 0x1090b3ac
mov ebx, dword [0x10c91c88]
push 0x10c0f9f4
add ebx, 0x3c
mov eax, 0x245
call fcn.10911750
mov edx, dword [0x10c97150]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x10c96918], edi
jne 0x1090b3ac
push esi
call fcn.10908240
add esp, 4
mov eax, dword [0x10c91c88]
mov ecx, dword [eax + 4]
push str.IsBrowser
push ecx
call dword [0x10c74c48]
mov ebx, dword [0x10c91c88]
push 0x10c0f9e8
add ebx, 0x3c
mov eax, 0x245
call fcn.10911750
mov ecx, dword [0x10c91c88]
cmp ecx, edi
je 0x1090b3e9
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 0x10c78bb0
call fcn.10957780
call fcn.10917db0
mov dword [0x10c96908], edi
call fcn.109140e0
mov esi, dword [ebp - 8]
push esi
mov dword [0x10c96904], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp - 0x38]
call fcn.109048b0
lea ecx, [ebp - 0x44]
call fcn.109048b0
lea ecx, [ebp - 0x14]
call fcn.109048b0
xor eax, eax
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10