Function at 0x45cda5
Capabilities:
Accept command line arguments

Disassembly:
push 0x2c
mov eax, 0x471cf1
call fcn.0044f632
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.0046c317
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0x49ccf0
call fcn.00406102
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c386
push str.autorun
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x24], 0
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jne 0x45ce17
push 0x489f0c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45ce31
and dword [0x49d988], 0
lea ecx, [ebp - 0x10]
push 0x489f10
mov dword [0x49d948], ebx
call fcn.00406715
push str.uselocal
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45ce5d
push str._uselocal
lea ecx, [ebp - 0x10]
mov dword [0x49d9e0], ebx
call fcn.00406715
push 0x489f48
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45ce8a
and dword [0x49d95c], 0
lea ecx, [ebp - 0x10]
push str._standard
call fcn.00406715
push str.fast
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45ceb7
and dword [0x49d988], 0
lea ecx, [ebp - 0x10]
push str._fast
call fcn.00406715
push str.clean
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45cee3
push str._clean
lea ecx, [ebp - 0x10]
mov dword [0x49d968], ebx
call fcn.00406715
mov esi, 0x489f98
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
mov edi, 0x48a9dc
cmp eax, dword [ebp - 0x2c]
je 0x45cf6b
push edi
lea ecx, [ebp - 0x18]
call fcn.0040651c
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0046c657
test al, al
mov eax, dword [ebp - 0x18]
je 0x45cf60
cmp dword [eax - 0xc], 0
je 0x45cf60
push eax
mov dword [0x49d964], ebx
call fcn.0045ffe0
push str._lan:
lea ecx, [ebp - 0x10]
call fcn.00406715
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.0040404b
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040630c
mov eax, dword [ebp - 0x18]
lea ecx, [eax - 0x10]
mov byte [ebp - 4], bl
call fcn.0040630c
push str.continue
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45cf9d
push str._continue
lea ecx, [ebp - 0x10]
mov dword [0x49d988], ebx
mov dword [0x49d984], ebx
call fcn.00406715
push str.skipcs3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45cfc9
push str._skipcs3
lea ecx, [ebp - 0x10]
mov dword [0x49d988], ebx
call fcn.00406715
push str.skipcs3force
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45cff5
push str._forceskipcs3
lea ecx, [ebp - 0x10]
mov dword [0x49d98c], ebx
call fcn.00406715
push str.reupdate
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45d021
push str._reupdate
lea ecx, [ebp - 0x10]
mov dword [0x49d994], ebx
call fcn.00406715
push str.reupdateforce
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45d054
and dword [0x49d9a8], 0
lea ecx, [ebp - 0x10]
push str._reupdateforce
mov dword [0x49d994], ebx
call fcn.00406715
push str.networkrestart
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45d080
push str._networkrestart
lea ecx, [ebp - 0x10]
mov dword [0x49d9dc], ebx
call fcn.00406715
push str.filter
lea ecx, [ebp - 0x34]
call fcn.0046c688
push eax
lea ecx, [ebp - 0x14]
call fcn.0040651c
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x45d152
lea ecx, [ebp - 0x14]
call fcn.00406f35
xor ebx, ebx
lea ecx, [ebp - 0x14]
push ebx
mov edi, 0x48a0e4
push edi
call fcn.004066db
or esi, 0xffffffff
cmp eax, esi
je 0x45d0cd
push edi
call fcn.00460050
push ebx
mov edi, str.data
lea ecx, [ebp - 0x14]
push edi
call fcn.004066db
cmp eax, esi
je 0x45d0e6
push edi
call fcn.00460050
push ebx
mov edi, 0x48a0f8
lea ecx, [ebp - 0x14]
push edi
call fcn.004066db
cmp eax, esi
je 0x45d0ff
push edi
call fcn.00460050
push ebx
mov edi, str.fast
lea ecx, [ebp - 0x14]
push edi
call fcn.004066db
cmp eax, esi
je 0x45d118
push edi
call fcn.00460050
push ebx
mov edi, str.defend
lea ecx, [ebp - 0x14]
push edi
call fcn.004066db
cmp eax, esi
je 0x45d131
push edi
call fcn.00460050
push str._channel_type_filter:
lea ecx, [ebp - 0x10]
call fcn.00406715
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.004067c8
mov edi, 0x48a9dc
push str.channel
lea ecx, [ebp - 0x34]
call fcn.0046c688
push eax
lea ecx, [ebp - 0x20]
call fcn.0040651c
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x45d197
push eax
call fcn.0046008c
push str._channel_name_filter:
lea ecx, [ebp - 0x10]
call fcn.00406715
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.004067c8
mov esi, str.update
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
je 0x45d221
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040651c
push edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0040651c
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0046c657
lea eax, [ebp - 0x18]
push eax
push str.listen
lea ecx, [ebp - 0x34]
call fcn.0046c657
push dword [ebp - 0x18]
call fcn.00430153
pop ecx
push dword [ebp - 0x1c]
mov ecx, 0x49da78
mov esi, eax
call fcn.004064f3
mov ecx, dword [ebp - 0x18]
mov dword [0x49da74], esi
lea ecx, [ecx - 0x10]
call fcn.0040630c
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040630c
push str.manual
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c2ad
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [0x49d948]
cmp eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
push esi
cmovne ecx, edx
push str.ParseCommandLine:_ws
push 0x49db70
mov dword [0x49d948], ecx
call fcn.0046ad90
mov ecx, dword [ebp - 0x20]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.0040630c
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040630c
lea ecx, [esi - 0x10]
call fcn.0040630c
lea ecx, [ebp - 0x34]
call fcn.0046c35f
xor eax, eax
call fcn.0044f60c
ret