Function at 0x406380
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x443040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.Init___n
mov esi, ecx
call fcn.00401a70
mov eax, dword [vtable.CCommandLine.0]
add esp, 4
mov ecx, 0x48b974
push 0
push str._debug
call dword [eax + 8]
test eax, eax
jne 0x406401
push eax
mov eax, dword [vtable.CCommandLine.0]
mov ecx, 0x48b974
push str._dev
call dword [eax + 8]
test eax, eax
jne 0x406401
push eax
mov eax, dword [vtable.CCommandLine.0]
mov ecx, 0x48b974
push str.developer_1
call dword [eax + 8]
test eax, eax
jne 0x406401
push eax
mov eax, dword [vtable.CCommandLine.0]
mov ecx, 0x48b974
push str._developer
call dword [eax + 8]
test eax, eax
je 0x40648e
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
call fcn.004157d4
add esp, 4
push eax
push 0x43bbf4
push str.CONIN_
call fcn.0041aa0c
add esp, 0xc
push 1
call fcn.004157d4
add esp, 4
push eax
push 0x43e564
push str.CONOUT_
call fcn.0041aa0c
add esp, 0xc
push 2
call fcn.004157d4
add esp, 4
push eax
push 0x43e564
push str.CONOUT_
call fcn.0041aa0c
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 0x43d3a0
push 0
call fcn.0041ac87
add esp, 8
push 0x1c
lea eax, [ebp - 0x30]
mov dword [0x48cd00], esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, dword [0x48cd00]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x2c]
mov dword [0x48ccf8], eax
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x50]
mov ecx, 0x48b974
mov dword [0x48cc28], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [vtable.CCommandLine.0]
push 0x43e69c
call dword [eax + 8]
test eax, eax
je 0x4064e5
mov eax, dword [ebp - 8]
test eax, eax
je 0x4064e5
push 0x10
push eax
jmp 0x4064ec
push 0xa
push str.127.0.0.1
push 0x48cbd8
call fcn.0041b1c0
add esp, 0xc
lea eax, [ebp - 0xc]
mov ecx, 0x48b974
push eax
mov eax, dword [vtable.CCommandLine.0]
push str._port
call dword [eax + 8]
test eax, eax
je 0x40651f
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x40651f
push 6
push eax
jmp 0x406526
push 6
push str.30002
push 0x48cc60
call fcn.0041b1c0
mov eax, dword [vtable.CCommandLine.0]
add esp, 0xc
mov ecx, 0x48b974
push 0
push str._register
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
lea eax, [ebp - 0x10]
push eax
mov eax, dword [vtable.CCommandLine.0]
setne byte [0x48cc39]
push str._login
call dword [eax + 8]
test eax, eax
je 0x406593
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x406593
push 0x40
push eax
push 0x48cc70
call fcn.0041b1c0
add esp, 0xc
push 0x48cc70
push str.g_pLogin___s_n
call fcn.00401a70
add esp, 8
lea eax, [ebp - 0x14]
mov ecx, 0x48b974
push eax
mov eax, dword [vtable.CCommandLine.0]
push str._password
call dword [eax + 8]
test eax, eax
je 0x4065d6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4065d6
push 0x40
push eax
push 0x48ccb0
call fcn.0041b1c0
add esp, 0xc
push 0x48ccb0
push str.g_pPassword___s_n
call fcn.00401a70
add esp, 8
mov eax, dword [vtable.CCommandLine.0]
mov ecx, 0x48b974
push 0
push str._useoriginalserver
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpmetadata
setne byte [0x48cc6e]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._ignoremetadata
setne byte [0x48cc6c]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpquest
setne byte [0x48cc20]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpumsg
setne byte [0x48cc6d]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpalarm
setne byte [0x48cc3a]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpitem
setne byte [0x48cc21]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpall
setne byte [0x48cbf2]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._dumpcrypt
setne byte [0x48cc38]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._disableauthui
setne byte [0x48cc3b]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._usessl
setne byte [0x48cbf1]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
setne byte [0x48cc6f]
push str._writemetadata
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._loadzbskillfromfile
setne byte [0x48cc23]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._loadallstarfromfile
setne byte [0x48cc67]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._loadmodeeventfromfile
setne byte [0x48cbf0]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._loadzombie5fromfile
setne byte [0x48cc22]
call dword [eax + 8]
test eax, eax
mov ecx, 0x48b974
mov eax, dword [vtable.CCommandLine.0]
push 0
push str._nonghook
setne byte [0x48cc66]
call dword [eax + 8]
push 0x48cc60
test eax, eax
push 0x48cbd8
push str.g_pServerIP___s__g_pServerPort___s_n
setne byte [0x48cbf3]
call fcn.00401a70
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.0040fc87
mov esp, ebp
pop ebp
ret