Function at 0x420ab0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, dword [ebp - 4]
mov esi, eax
cmp ebx, 1
jne 0x420ae9
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, esi
call fcn.00420910
cmp eax, 1
jne 0x420b08
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, esi
call fcn.00420a50
mov edx, dword [ebp - 4]
push edx
push esi
mov eax, str.server
call fcn.00420970
mov edi, eax
test edi, edi
jne 0x420b3a
mov edi, str.localhost
call fcn.004225e0
mov ebx, dword [ebp + 8]
mov dword [ebx + 0xc0], eax
jmp 0x420b55
call fcn.004225e0
mov ecx, dword [ebp + 8]
push edi
mov dword [ecx + 0xc0], eax
call dword [sym.imp.MSVCR100.dll_free]
mov ebx, dword [ebp + 8]
add esp, 4
mov edx, dword [ebp - 4]
push edx
push esi
mov eax, str.game
call fcn.00420970
mov edi, eax
test edi, edi
jne 0x420b7c
mov edi, str.nyxquest_kindred_spirits
call fcn.004225e0
mov dword [ebx + 0xc4], eax
jmp 0x420b91
call fcn.004225e0
push edi
mov dword [ebx + 0xc4], eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, str.token
call fcn.00420970
mov edi, eax
test edi, edi
jne 0x420bb8
mov edi, 0x47e30c
call fcn.004225e0
mov dword [ebx + 0xc8], eax
jmp 0x420bcd
call fcn.004225e0
push edi
mov dword [ebx + 0xc8], eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
push esi
mov eax, str.session_type
call fcn.00420970
mov edi, eax
test edi, edi
jne 0x420bea
mov dword [ebx + 0xd8], eax
jmp 0x420c01
push edi
call dword [sym.imp.MSVCR100.dll__wtoi]
push edi
mov dword [ebx + 0xd8], eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 8
mov edx, dword [ebp - 4]
push edx
push esi
mov eax, str.game_id
call fcn.00420970
mov edi, dword [sym.imp.MSVCR100.dll__wcsdup]
mov dword [ebp + 8], eax
test eax, eax
jne 0x420c2f
push 0x47e30c
call edi
add esp, 4
mov dword [ebx + 0xd4], eax
jmp 0x420c45
push eax
call edi
mov dword [ebx + 0xd4], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
push esi
mov eax, str.room_code
call fcn.00420970
mov dword [ebp + 8], eax
test eax, eax
jne 0x420c6d
push 0x47e30c
call edi
add esp, 4
mov dword [ebx + 0xd0], eax
jmp 0x420c83
push eax
call edi
mov edx, dword [ebp + 8]
push edx
mov dword [ebx + 0xd0], eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 8
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, str.profile_id
call fcn.00420970
mov dword [ebp + 8], eax
test eax, eax
jne 0x420cab
push 0x47e30c
call edi
add esp, 4
mov dword [ebx + 0xcc], eax
jmp 0x420cc1
push eax
call edi
mov ecx, dword [ebp + 8]
push ecx
mov dword [ebx + 0xcc], eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 8
mov edx, dword [ebp - 4]
push edx
push esi
mov eax, str.backend
call fcn.00420970
mov dword [ebp + 8], eax
test eax, eax
je 0x420cec
push eax
call edi
mov dword [0x1445a10], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [ebx + 0xd8]
cmp ebx, 1
je 0x420d08
mov eax, 2
cmp ebx, 2
jne 0x420d0d
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4