Function at 0x1401d10
Capabilities:
Accept command line arguments
Check mutex on windows
Check os version
Create thread
Get common file path
Initialize winsock library
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x560
mov eax, dword [0x1438030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x558], eax
call fcn.01401c40
push str.filesystem_stdio.dll
push str.filesystem_steam.dll
push esi
call fcn.014031c0
add esp, 0xc
test al, al
jne 0x140237a
push ebx
push str.NexonCSOMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
mov dword [ebp - 0x560], ebx
test ebx, ebx
je 0x1401d72
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401dae
cmp eax, 0x80
je 0x1401dae
push 0x10
push str.Error
push str.Could_not_launch_game._nOnly_one_instance_of_this_game_can_be_run_at_a_time.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.014058fc
mov esp, ebp
pop ebp
ret 0x10
push edi
push 0x94
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x14], 0x6f662d00
push 0
push eax
mov dword [ebp - 0x10], 0x76656372
mov dword [ebp - 0xc], 0x65766c61
mov byte [ebp - 8], 0
call fcn.01405f90
add esp, 0xc
mov dword [ebp - 0x3b0], 0x94
lea eax, [ebp - 0x3b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x3ac], 5
jb 0x1401e8b
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x544]
call fcn.01403260
lea ecx, [ebp - 0x544]
call fcn.014036b0
lea eax, [ebp - 0x31c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edi, [ebp - 0x31c]
add edi, 0xfffffffe
jmp 0x1401e40
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1401e40
mov ecx, 0xa
lea eax, [ebp - 0x31c]
mov esi, 0x142f574
rep movsd dword es:[edi], dword [esi]
push 0x142f59c
push eax
lea ecx, [ebp - 0x544]
call fcn.01403290
lea ecx, [ebp - 0x544]
call fcn.014042e0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x544]
call fcn.01403270
lea eax, [ebp - 0x540]
push eax
push 2
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov ecx, dword [0x1438014]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [section..data]
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, dword [section..data]
push eax
call dword [esi]
mov ecx, dword [section..data]
push 0
push str._steam
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
lea eax, [ebp - 0x114]
push pe_nt_image_headers32
push eax
push 0
setne byte [ebp - 0x55c]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push 0x5c
push eax
call fcn.01406220
lea esi, [eax + 1]
push esi
push str.hl.exe
call fcn.0142e58f
add esp, 0x10
test eax, eax
je 0x1402378
mov ecx, dword [section..data]
push 0
push str._game
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x1401f50
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1401f32
sub ecx, edx
push esi
push str._game
mov byte [ecx + esi - 4], al
mov ecx, dword [section..data]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [section..data]
push 0
push str._game
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x1401f8e
push 5
add eax, 6
push str.czero
push eax
call fcn.014259a8
add esp, 0xc
test eax, eax
jne 0x1401f8e
mov ecx, dword [section..data]
lea edx, [ebp - 0x13]
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [section..data]
push 0x142f5e8
push str._lang
mov eax, dword [ecx]
call dword [eax + 0x10]
push dword [ebp - 0x55c]
lea eax, [ebp - 0x114]
push eax
call fcn.01401930
mov edi, eax
add esp, 8
test edi, edi
je 0x1402353
push 0
push str.VFileSystem009
push edi
call fcn.014017c0
add esp, 4
call eax
mov dword [0x14395a8], eax
add esp, 8
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [0x14395a8]
push 0x142f604
mov esi, dword [eax]
call fcn.01401a60
mov ecx, dword [0x14395a8]
push eax
call dword [esi + 0x10]
mov ecx, dword [0x1438014]
xor bl, bl
mov byte [0x35398c8], bl
xor esi, esi
push str.hw.dll
push str.EngineDLL
mov eax, dword [ecx]
call dword [eax + 0x14]
push str.hw.dll
call fcn.01401830
add esp, 4
mov dword [ebp - 0x548], eax
test eax, eax
je 0x140215b
push eax
call fcn.014017c0
mov ecx, dword [0x14395ac]
add esp, 4
mov dword [ebp - 0x54c], eax
test ecx, ecx
jne 0x1402089
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [ebp - 0x554]
mov dword [ebp - 0x554], esi
push ecx
push esi
push eax
push 0x1402bf0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 1
mov dword [0x35396b4], eax
mov eax, dword [ebp - 0x54c]
mov dword [0x14395ac], ecx
test eax, eax
je 0x14020e7
test ecx, ecx
je 0x14020e9
push 0
push str.VENGINE_LAUNCHER_API_VERSION002
call eax
add esp, 8
mov dword [ebp - 0x54c], eax
test eax, eax
je 0x14020e1
mov esi, dword [eax]
push edi
call fcn.014017c0
add esp, 4
push eax
call fcn.014017e0
mov ecx, dword [section..data]
push eax
push 0x35398c8
mov eax, dword [ecx]
call dword [eax + 4]
push eax
call fcn.01401b20
mov ecx, dword [ebp - 0x54c]
push eax
push dword [ebp - 0x558]
call dword [esi + 4]
mov esi, eax
mov ecx, dword [0x14395ac]
test ecx, ecx
setne al
movzx eax, al
push eax
push dword [0x35396b4]
call fcn.014029a0
add esp, 8
mov dword [ebp - 0x544], 0
lea eax, [ebp - 0x544]
push eax
push dword [0x35396b4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x544], 0x103
jne 0x1402141
push 0
push dword [0x35396b4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x35396b4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x548]
mov dword [0x14395ac], 0
call fcn.01401890
add esp, 4
jmp 0x14021c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [ebp - 0x550]
mov dword [ebp - 0x548], eax
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x14021ba
push dword [ebp - 0x548]
lea eax, [ebp - 0x314]
push str.Loading_Failed_:__u
push eax
call fcn.0140645a
add esp, 0xc
lea eax, [ebp - 0x314]
push 0x40
push eax
push dword [ebp - 0x550]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x550]
call dword [sym.imp.KERNEL32.dll_LocalFree]
sub esi, 0
je 0x14021d5
dec esi
je 0x140238d
dec esi
jne 0x14021d7
xor bl, bl
mov ecx, dword [section..data]
push 0x142f63c
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push str._startwindowed
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push str._windowed
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push str._window
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push str._full
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push str._fullscreen
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push str._soft
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push str._software
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push 0x142f68c
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push str._d3d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push 0x142f698
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push str._width
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push 0x142f6a4
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push str._height
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push str.connect
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push 0
push str._novid
mov eax, dword [ecx]
call dword [eax + 0x14]
push str._game
push 0x35398c8
call fcn.01404f50
add esp, 8
test eax, eax
je 0x14022ff
mov ecx, dword [section..data]
push str._game
mov eax, dword [ecx]
call dword [eax + 0xc]
push str.load
push 0x35398c8
call fcn.01404f50
add esp, 8
test eax, eax
je 0x1402325
mov ecx, dword [section..data]
push str.load
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [section..data]
push 0
push 0x35398c8
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x14395a8]
mov eax, dword [ecx]
call dword [eax + 8]
push edi
call fcn.01401890
add esp, 4
test bl, bl
jne 0x1401fa3
mov ecx, dword [0x1438014]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x560]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.014058fc
mov esp, ebp
pop ebp
ret 0x10
mov bl, 1
jmp 0x14021d7