Function at 0x401600
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push dword [ebp + 0x10]
call dword [sym.imp.xEngine.dll_CommandLineToArgvA]
push str.build
push eax
push dword [esp + 0x20]
call dword [sym.imp.xEngine.dll_XEngineInit]
mov edi, eax
add esp, 0x14
mov ecx, dword [edi]
push edi
call dword [ecx + 0x24]
mov ecx, dword [0x41b354]
test cl, 1
jne 0x401664
or ecx, 1
push eax
mov dword [0x41b354], ecx
call fcn.00401280
push 0x411b30
call fcn.00402ad5
add esp, 4
call dword [sym.imp.xWindow.dll_XWindowInit]
mov ecx, dword [edi]
mov ebx, eax
push edi
call dword [ecx + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, eax
mov dword [esp + 0x30], 0xdd8e8bed
mov dword [esp + 0x34], 0x44e85471
lea edx, [esp + 0x30]
mov dword [esp + 0x38], 0x13f4e8a7
mov dword [esp + 0x3c], 0xb676fd5b
mov eax, dword [ecx]
push ebx
push edx
call dword [eax + 0x1c]
mov dword [esp + 0x18], vtable.IXUnknownImplementation_class_IXWindowCallback_.0
lea ecx, [esp + 0x1c]
mov eax, 1
xchg dword [ecx], eax
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CWindowCallback.0
push ecx
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], 0x80000001
mov dword [esp + 0x54], 0x80000001
mov dword [esp + 0x48], 0x320
mov dword [esp + 0x4c], 0x258
mov dword [esp + 0x5c], str.SkyXEngine_build
mov dword [esp + 0x58], 0x26
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0x14]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CEngineCallback.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov esi, dword [edi]
push ecx
mov ecx, dword [eax]
push eax
mov dword [esp + 0x1c], eax
call dword [ecx + 0x14]
push eax
push edi
call dword [esi + 0x18]
mov eax, dword [edi]
push edi
call dword [eax + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
push str.exec_.._config_game.cfg
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [edi]
push edi
call dword [eax + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
push str.exec_.._config_game_user.cfg
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [edi]
push edi
call dword [eax + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
push 1
push str.dir_test.txt
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x58]
mov edx, dword [esi]
mov ecx, esi
push 0x14
push str.fs_test
call dword [edx + 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0x14
push str.fs_test2
call dword [eax + 0x14]
push str.e_38_5_9m_FILESYTEM_TEST__n
call fcn.00402aff
push str._Recursive_iterator_test__n
call fcn.00402aff
mov eax, dword [esi]
add esp, 8
mov ecx, esi
push 0
push str.F:_engine_build_fs_test2
call dword [eax + 0x4c]
mov esi, eax
push esi
mov ecx, dword [esi]
call dword [ecx + 0x18]
test eax, eax
je 0x4017db
push eax
push str._s__n
call fcn.00402aff
mov eax, dword [esi]
add esp, 8
push esi
call dword [eax + 0x18]
test eax, eax
jne 0x4017c3
push str._ne_0m
call fcn.00402aff
mov eax, dword [edi]
add esp, 4
push edi
call dword [eax + 0x14]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
mov ecx, dword [ebx]
push ebx
call dword [ecx + 4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10