Function at 0x408963
Capabilities:
Terminate process

Disassembly:
jmp 0x417980
sub esp, 0x18
mov ecx, dword [esp + 0x24]
push ebp
push esi
lea eax, [esp + 0x10]
mov dword [esp + 8], eax
push edi
mov eax, str.client
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
mov esi, 1
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], 0
call fcn.005da470
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, esi
je 0x417cfd
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
je 0x417cfd
mov esi, dword [esp + 0x28]
cmp byte [eax], 0x2d
jne case.0x417a66.26
cmp byte [eax + 1], 0x2d
jne case.0x417a66.26
push 0x3d
push eax
call fcn.0062b650
mov cl, byte [eax]
add esp, 8
xor edi, edi
test cl, cl
je 0x417a1e
lea edi, [eax + 1]
mov byte [eax], 0
mov eax, dword [ebp]
push 0x5f
push eax
call fcn.0062b650
mov cl, byte [eax]
add esp, 8
test cl, cl
je 0x417a46
push 0x5f
push eax
mov byte [eax], 0x2d
call fcn.0062b650
mov cl, byte [eax]
add esp, 8
test cl, cl
jne 0x417a32
mov eax, dword [ebp]
push 2
add eax, 2
push 0x81913c
push eax
call fcn.005da710
add esp, 0xc
dec eax
cmp eax, 0x21
ja case.0x417a66.26
jmp dword [eax*4 + 0x417d14]
test edi, edi
je case.0x417a66.26
push edi
call fcn.006cf355
add esp, 4
mov dword [esi + 0xc], eax
jmp case.0x417a66.26
test edi, edi
je case.0x417a66.26
mov ecx, dword [esi + 0x24]
push ecx
call fcn.005d8be0
push 0x10
push edi
call fcn.005d8c40
add esp, 0xc
mov dword [esi + 0x24], eax
jmp case.0x417a66.26
mov eax, dword [esi + 0x14]
or eax, 0x20
mov byte [esi + 0x5d], 1
mov dword [esi + 0x14], eax
jmp case.0x417a66.26
test edi, edi
je case.0x417a66.26
mov edx, dword [esi + 0x20]
push edx
call fcn.005d8be0
push 0x10
push edi
call fcn.005d8c40
add esp, 0xc
mov dword [esi + 0x20], eax
jmp case.0x417a66.26
mov dword [esi + 0x10], 3
test edi, edi
je case.0x417a66.26
push edi
call fcn.006cf355
add esp, 4
mov dword [esi], eax
jmp case.0x417a66.26
test edi, edi
je case.0x417a66.26
mov eax, dword [esi + 0x1c]
push eax
call fcn.005d8be0
push 0x10
push edi
call fcn.005d8c40
add esp, 0xc
mov dword [esi + 0x1c], eax
jmp case.0x417a66.26
push edi
call fcn.00417900
add esp, 4
jmp case.0x417a66.26
test edi, edi
je case.0x417a66.26
mov ecx, dword [esi + 0x18]
push ecx
call fcn.005d8be0
push 0x10
push edi
call fcn.005d8c40
add esp, 0xc
mov dword [esi + 0x18], eax
jmp case.0x417a66.26
test edi, edi
je case.0x417a66.26
mov edx, dword [esi + 0x28]
push edx
call fcn.005d8be0
push 0x10
push edi
call fcn.005d8c40
add esp, 0xc
mov dword [esi + 0x28], eax
jmp case.0x417a66.26
or dword [esi + 0x14], 2
jmp case.0x417a66.26
mov eax, dword [esi + 0x40]
push eax
call fcn.005d8be0
push 0x10
push edi
call fcn.005d8c40
add esp, 0xc
mov dword [esi + 0x40], eax
jmp case.0x417a66.26
mov ecx, dword [esi + 0x44]
push ecx
call fcn.005d8be0
push 0x10
push edi
call fcn.005d8c40
add esp, 0xc
mov dword [esi + 0x44], eax
jmp case.0x417a66.26
mov edx, dword [esi + 0x48]
push edx
call fcn.005d8be0
push 0x10
push edi
call fcn.005d8c40
add esp, 0xc
mov dword [esi + 0x48], eax
jmp case.0x417a66.26
mov eax, dword [esi + 0x4c]
push eax
call fcn.005d8be0
push 0x10
push edi
call fcn.005d8c40
add esp, 0xc
mov dword [esi + 0x4c], eax
jmp case.0x417a66.26
mov ecx, dword [esi + 0x38]
push ecx
call fcn.005d8be0
push 0x10
push edi
call fcn.005d8c40
add esp, 0xc
mov dword [esi + 0x38], eax
jmp case.0x417a66.26
mov edx, dword [esi + 0x3c]
push edx
call fcn.005d8be0
push 0x10
push edi
call fcn.005d8c40
add esp, 0xc
mov dword [esi + 0x3c], eax
jmp case.0x417a66.26
or dword [esi + 0x14], 0x400
jmp case.0x417a66.26
test edi, edi
je 0x417c53
push edi
call fcn.006cf355
add esp, 4
test eax, eax
jne 0x417c53
and dword [esi + 0x14], 0xffffff7f
jmp case.0x417a66.26
or dword [esi + 0x14], 0x80
jmp case.0x417a66.26
mov byte [esi + 0x5f], 1
jmp case.0x417a66.26
mov byte [esi + 0x61], 0
jmp case.0x417a66.26
mov byte [esi + 0x60], 1
jmp case.0x417a66.26
test edi, edi
je case.0x417a66.26
push edi
call fcn.006cf355
add esp, 4
mov dword [esi + 0x58], eax
jmp case.0x417a66.26
push 0
push 0x819160
push edi
call fcn.005da710
add esp, 0xc
test eax, eax
mov dword [esi + 0x10], eax
ja case.0x417a66.26
push edi
push str.Unknown_option_to_protocol:__s_n
push 0x93e408
call fcn.006cf108
add esp, 0xc
push 1
call fcn.006cf0c8
or dword [esi + 0x14], 0x20000
jmp case.0x417a66.26
or dword [esi + 0x14], 0x30000
jmp case.0x417a66.26
mov byte [esi + 0x6c], 1
jmp case.0x417a66.26
test edi, edi
je 0x417ce7
push edi
call fcn.006cf355
add esp, 4
neg eax
sbb eax, eax
neg eax
jmp 0x417cec
mov eax, 1
mov byte [esi + 0x6d], al
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
jne 0x4179f2
mov eax, dword [esp + 0xc]
push eax
call fcn.005d9550
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x18
ret