Function at 0x441357
Capabilities:
Write file on windows

Disassembly:
cmp dword [esi + 0x9dc], 0
push ebx
mov ebx, eax
je 0x4414c9
mov eax, dword [esp + 8]
push ebp
push edi
xor edi, edi
test eax, eax
je 0x44130c
cmp eax, 0x3c
mov eax, str.RCVD
je 0x44122f
mov eax, str.SENT
push eax
push str._s_IAC_SB
push esi
call fcn.004283c0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 3
jb 0x441303
movzx edi, byte [ebx + eax - 2]
movzx ebp, byte [ebx + eax - 1]
cmp edi, 0xff
jne 0x441269
cmp ebp, 0xf0
je 0x441303
push str._terminated_by
push esi
call fcn.004283c0
add esp, 8
cmp edi, 0x27
ja 0x44128b
mov eax, dword [edi*4 + 0x466828]
push eax
push 0x466aac
jmp 0x4412ab
lea ecx, [edi - 0xec]
cmp ecx, 0x13
ja 0x4412a5
mov edx, dword [edi*4 + 0x466518]
push edx
push 0x466aac
jmp 0x4412ab
push edi
push 0x466aa8
push esi
call fcn.004283c0
add esp, 0xc
cmp ebp, 0x27
jg 0x4412c8
mov eax, dword [ebp*4 + 0x466828]
push eax
push 0x46eff0
jmp 0x4412e8
lea ecx, [ebp - 0xec]
cmp ecx, 0x13
ja 0x4412e2
mov edx, dword [ebp*4 + 0x466518]
push edx
push 0x46eff0
jmp 0x4412e8
push ebp
push 0x46d770
push esi
call fcn.004283c0
add esp, 0xc
push str.__not_IAC_SE__
push esi
call fcn.004283c0
mov eax, dword [esp + 0x1c]
add esp, 8
sub eax, 2
mov dword [esp + 0x14], eax
jmp 0x441310
mov eax, dword [esp + 0x14]
cmp eax, 1
jae 0x441329
pop edi
pop ebp
pop ebx
mov dword [esp + 8], str._Empty_suboption__
mov dword [esp + 4], esi
jmp fcn.004283c0
mov al, byte [ebx]
cmp al, 0x27
ja 0x441366
movzx eax, al
lea ecx, [eax - 0x18]
cmp ecx, 0xf
ja case.0x441341.25
movzx ecx, byte [ecx + 0x4414d4]
jmp dword [ecx*4 + 0x4414cc]
mov edx, dword [eax*4 + 0x466828]
push edx
push 0x46eff0
jmp 0x441370
mov eax, dword [eax*4 + 0x466828]
push eax
push str._s__unsupported_
jmp 0x441370
movzx ecx, byte [edi + ebx]
push ecx
push str._d__unknown_
push esi
call fcn.004283c0
add esp, 0xc
cmp byte [ebx], 0x1f
je 0x44147d
movzx eax, byte [ebx + 1]
cmp eax, 3
ja case.default.0x44138b
jmp dword [eax*4 + 0x4414e4]
push 0x466a5c
jmp 0x4413ac
push str._SEND
jmp 0x4413ac
push str._INFO_REPLY
jmp 0x4413ac
push str._NAME
push esi
call fcn.004283c0
add esp, 8
mov al, byte [ebx]
cmp al, 0x18
je 0x441461
cmp al, 0x23
je 0x441461
cmp al, 0x27
je 0x4413fd
mov ebp, dword [esp + 0x14]
mov edi, 2
cmp ebp, edi
jbe 0x4414ae
lea esp, [esp]
movzx edx, byte [edi + ebx]
push edx
push str.__.2x
push esi
call fcn.004283c0
inc edi
add esp, 0xc
cmp edi, ebp
jb 0x4413e0
jmp 0x4414ae
cmp byte [ebx + 1], 0
jne 0x4414ae
push 0x46e8a8
push esi
call fcn.004283c0
mov ebp, dword [esp + 0x1c]
mov edi, 3
add esp, 8
cmp ebp, edi
jbe 0x4414ae
movzx ecx, byte [edi + ebx]
mov eax, ecx
sub eax, 0
je 0x44144c
dec eax
je 0x441445
push ecx
push 0x466a34
push esi
call fcn.004283c0
add esp, 0xc
jmp 0x44145a
push 0x466a30
jmp 0x441451
push 0x461fa0
push esi
call fcn.004283c0
add esp, 8
inc edi
cmp edi, ebp
jb 0x441426
jmp 0x4414ae
mov eax, dword [esp + 0x14]
mov byte [ebx + eax], 0
add ebx, 2
push ebx
push str.___s_
push esi
call fcn.004283c0
add esp, 0xc
jmp 0x4414ae
cmp dword [esp + 0x14], 4
jbe 0x4414ae
movzx ecx, byte [ebx + 3]
movzx edx, byte [ebx + 4]
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, edx
push ecx
movzx ecx, byte [ebx + 2]
shl eax, 8
or eax, ecx
push eax
push str.Width:__d___Height:__d
push esi
call fcn.004283c0
add esp, 0x10
cmp dword [esp + 0x10], 0
pop edi
pop ebp
je 0x4414c9
pop ebx
mov dword [esp + 8], 0x464af0
mov dword [esp + 4], esi
jmp fcn.004283c0
pop ebx
ret