Function at 0x4419b7
Capabilities:
Write file on windows

Disassembly:
cmp dword [esi + 0x9dc], 0
push ebx
mov ebx, eax
je 0x441b29
mov eax, dword [esp + 8]
push ebp
push edi
xor edi, edi
test eax, eax
je 0x44196c
cmp eax, 0x3c
mov eax, str.RCVD
je 0x44188f
mov eax, str.SENT
push eax
push str._s_IAC_SB
push esi
call fcn.00428a80
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 3
jb 0x441963
movzx edi, byte [ebx + eax - 2]
movzx ebp, byte [ebx + eax - 1]
cmp edi, 0xff
jne 0x4418c9
cmp ebp, 0xf0
je 0x441963
push str._terminated_by
push esi
call fcn.00428a80
add esp, 8
cmp edi, 0x27
ja 0x4418eb
mov eax, dword [edi*4 + 0x466828]
push eax
push 0x466aac
jmp 0x44190b
lea ecx, [edi - 0xec]
cmp ecx, 0x13
ja 0x441905
mov edx, dword [edi*4 + 0x466518]
push edx
push 0x466aac
jmp 0x44190b
push edi
push 0x466aa8
push esi
call fcn.00428a80
add esp, 0xc
cmp ebp, 0x27
jg 0x441928
mov eax, dword [ebp*4 + 0x466828]
push eax
push 0x46f048
jmp 0x441948
lea ecx, [ebp - 0xec]
cmp ecx, 0x13
ja 0x441942
mov edx, dword [ebp*4 + 0x466518]
push edx
push 0x46f048
jmp 0x441948
push ebp
push 0x46d770
push esi
call fcn.00428a80
add esp, 0xc
push str.__not_IAC_SE__
push esi
call fcn.00428a80
mov eax, dword [esp + 0x1c]
add esp, 8
sub eax, 2
mov dword [esp + 0x14], eax
jmp 0x441970
mov eax, dword [esp + 0x14]
cmp eax, 1
jae 0x441989
pop edi
pop ebp
pop ebx
mov dword [esp + 8], str._Empty_suboption__
mov dword [esp + 4], esi
jmp fcn.00428a80
mov al, byte [ebx]
cmp al, 0x27
ja 0x4419c6
movzx eax, al
lea ecx, [eax - 0x18]
cmp ecx, 0xf
ja case.0x4419a1.25
movzx ecx, byte [ecx + 0x441b34]
jmp dword [ecx*4 + 0x441b2c]
mov edx, dword [eax*4 + 0x466828]
push edx
push 0x46f048
jmp 0x4419d0
mov eax, dword [eax*4 + 0x466828]
push eax
push str._s__unsupported_
jmp 0x4419d0
movzx ecx, byte [edi + ebx]
push ecx
push str._d__unknown_
push esi
call fcn.00428a80
add esp, 0xc
cmp byte [ebx], 0x1f
je 0x441add
movzx eax, byte [ebx + 1]
cmp eax, 3
ja case.default.0x4419eb
jmp dword [eax*4 + 0x441b44]
push 0x466a5c
jmp 0x441a0c
push str._SEND
jmp 0x441a0c
push str._INFO_REPLY
jmp 0x441a0c
push str._NAME
push esi
call fcn.00428a80
add esp, 8
mov al, byte [ebx]
cmp al, 0x18
je 0x441ac1
cmp al, 0x23
je 0x441ac1
cmp al, 0x27
je 0x441a5d
mov ebp, dword [esp + 0x14]
mov edi, 2
cmp ebp, edi
jbe 0x441b0e
lea esp, [esp]
movzx edx, byte [edi + ebx]
push edx
push str.__.2x
push esi
call fcn.00428a80
inc edi
add esp, 0xc
cmp edi, ebp
jb 0x441a40
jmp 0x441b0e
cmp byte [ebx + 1], 0
jne 0x441b0e
push 0x46e900
push esi
call fcn.00428a80
mov ebp, dword [esp + 0x1c]
mov edi, 3
add esp, 8
cmp ebp, edi
jbe 0x441b0e
movzx ecx, byte [edi + ebx]
mov eax, ecx
sub eax, 0
je 0x441aac
dec eax
je 0x441aa5
push ecx
push 0x466a34
push esi
call fcn.00428a80
add esp, 0xc
jmp 0x441aba
push 0x466a30
jmp 0x441ab1
push 0x461fa0
push esi
call fcn.00428a80
add esp, 8
inc edi
cmp edi, ebp
jb 0x441a86
jmp 0x441b0e
mov eax, dword [esp + 0x14]
mov byte [ebx + eax], 0
add ebx, 2
push ebx
push str.___s_
push esi
call fcn.00428a80
add esp, 0xc
jmp 0x441b0e
cmp dword [esp + 0x14], 4
jbe 0x441b0e
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.00428a80
add esp, 0x10
cmp dword [esp + 0x10], 0
pop edi
pop ebp
je 0x441b29
pop ebx
mov dword [esp + 8], 0x464af0
mov dword [esp + 4], esi
jmp fcn.00428a80
pop ebx
ret