Function at 0x405ca0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x442040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.Init___n
mov esi, ecx
call fcn.004016d0
mov eax, dword [vtable.CCommandLine.0]
add esp, 4
mov ecx, 0x488c3c
push 0
push str._debug
call dword [eax + 8]
test eax, eax
jne 0x405d21
push eax
mov eax, dword [vtable.CCommandLine.0]
mov ecx, 0x488c3c
push str._dev
call dword [eax + 8]
test eax, eax
jne 0x405d21
push eax
mov eax, dword [vtable.CCommandLine.0]
mov ecx, 0x488c3c
push str.developer_1
call dword [eax + 8]
test eax, eax
jne 0x405d21
push eax
mov eax, dword [vtable.CCommandLine.0]
mov ecx, 0x488c3c
push str._developer
call dword [eax + 8]
test eax, eax
je 0x405dae
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
call fcn.00414e04
add esp, 4
push eax
push 0x43abf4
push str.CONIN_
call fcn.0041a03c
add esp, 0xc
push 1
call fcn.00414e04
add esp, 4
push eax
push 0x43d310
push str.CONOUT_
call fcn.0041a03c
add esp, 0xc
push 2
call fcn.00414e04
add esp, 4
push eax
push 0x43d310
push str.CONOUT_
call fcn.0041a03c
add esp, 0xc
push str.CSO_launcher_debug_console
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push 0x43c3a0
push 0
call fcn.0041a2b7
add esp, 8
push 0x1c
lea eax, [ebp - 0x30]
mov dword [0x489fd0], esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, dword [0x489fd0]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x2c]
mov dword [0x489fc8], eax
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x50]
mov ecx, 0x488c3c
mov dword [0x489ef8], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [vtable.CCommandLine.0]
push 0x43d448
call dword [eax + 8]
test eax, eax
je 0x405e05
mov eax, dword [ebp - 8]
test eax, eax
je 0x405e05
push 0x10
push eax
jmp 0x405e0c
push 0xa
push str.127.0.0.1
push 0x489ea8
call fcn.0041a7f0
add esp, 0xc
lea eax, [ebp - 0xc]
mov ecx, 0x488c3c
push eax
mov eax, dword [vtable.CCommandLine.0]
push str._port
call dword [eax + 8]
test eax, eax
je 0x405e3f
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x405e3f
push 6
push eax
jmp 0x405e46
push 6
push str.30002
push 0x489f30
call fcn.0041a7f0
mov eax, dword [vtable.CCommandLine.0]
add esp, 0xc
mov ecx, 0x488c3c
push 0
push str._register
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [vtable.CCommandLine.0]
setne byte [0x489f14]
push str._login
call dword [eax + 8]
test eax, eax
je 0x405eb3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x405eb3
push 0x40
push eax
push 0x489f40
call fcn.0041a7f0
add esp, 0xc
push 0x489f40
push str.g_pLogin___s_n
call fcn.004016d0
add esp, 8
lea eax, [ebp - 0x14]
mov ecx, 0x488c3c
push eax
mov eax, dword [vtable.CCommandLine.0]
push str._password
call dword [eax + 8]
test eax, eax
je 0x405ef6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x405ef6
push 0x40
push eax
push 0x489f80
call fcn.0041a7f0
add esp, 0xc
push 0x489f80
push str.g_pPassword___s_n
call fcn.004016d0
add esp, 8
mov eax, dword [vtable.CCommandLine.0]
mov ecx, 0x488c3c
push 0
push str._useoriginalserver
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpmetadata
setne byte [0x489f3c]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._ignoremetadata
setne byte [0x489f36]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpquest
setne byte [0x489ef0]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpumsg
setne byte [0x489f37]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpalarm
setne byte [0x489f15]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpitem
setne byte [0x489ef1]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpall
setne byte [0x489ec2]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpcrypt
setne byte [0x489ef3]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._disableauthui
setne byte [0x489f16]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._usessl
setne byte [0x489ec1]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
setne byte [0x489f3d]
push str._writemetadata
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._loadzbskillfromfile
setne byte [0x489ef2]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._loadallstarfromfile
setne byte [0x489f17]
call dword [eax + 8]
test eax, eax
mov ecx, 0x488c3c
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._nonghook
setne byte [0x489ec0]
call dword [eax + 8]
push 0x489f30
test eax, eax
push 0x489ea8
push str.g_pServerIP___s__g_pServerPort___s_n
setne byte [0x489ec3]
call fcn.004016d0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.0040f2b7
mov esp, ebp
pop ebp
ret