Function at 0x4295b0
Capabilities:
Initialize winsock library
Read file on windows
Read pipe
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x29c
mov eax, dword [esp + 0x2b0]
mov ebp, dword [eax]
mov eax, dword [eax + 0x194]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x7d4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2b4]
mov byte [eax], 1
mov dword [esp + 4], 0x1ebc
mov dword [esp], 1
call dword [0x45bc84]
test eax, eax
je 0x42a130
mov ebx, eax
mov eax, dword [esp + 0x2b0]
lea edi, [esp + 0x84]
mov ecx, 0x1f
mov edx, dword [eax]
lea eax, [ebx + 0x1cb0]
mov dword [edx + 0x12c], ebx
mov dword [ebx + 0x1eb0], eax
mov eax, dword [ebp + 0x12c]
mov dword [ebx + 0x1eb8], 0
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [ebx + 0x814], 1
mov dword [ebx + 0x1414], 1
mov dword [ebx + 0x808], 1
mov dword [ebx + 0x1408], 1
mov dword [ebx + 0x140c], 1
mov dword [ebx + 0x1884], 1
mov dword [esp + 0x80], 0
rep stosd dword es:[edi], eax
mov ecx, 0x3f
lea edi, [esp + 0x104]
mov dword [esp + 0x100], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2b0]
cmp byte [eax + 0x260], 0
jne 0x429b38
mov esi, dword [edx + 0x3bc]
test esi, esi
je 0x4297bf
lea eax, [ebx + 0x1c08]
mov dword [esp + 0x30], ebp
mov ebp, edx
lea edi, [esp + 0x80]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x100]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], str._127________255s
mov eax, dword [esi]
mov dword [esp], eax
call sym._sscanf_2
cmp eax, 2
jne 0x429a3c
mov dword [esp + 4], str.TTYPE
mov dword [esp], edi
call sym._Curl_strcasecompare
test eax, eax
jne 0x429780
mov dword [esp + 4], str.XDISPLOC
mov dword [esp], edi
call sym._Curl_strcasecompare
test eax, eax
jne 0x429a88
mov dword [esp + 4], str.NEW_ENV
mov dword [esp], edi
call sym._Curl_strcasecompare
test eax, eax
je 0x4299f0
lea eax, [esp + 0x100]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1cac]
mov dword [esp], eax
call sym._curl_slist_append
test eax, eax
je 0x429b00
mov dword [ebx + 0x1cac], eax
mov dword [ebx + 0x8a4], 1
jmp 0x4297b0
lea eax, [esp + 0x100]
mov dword [esp + 8], 0x1f
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym._strncpy
mov byte [ebx + 0x1c27], 0
mov dword [ebx + 0x868], 1
mov esi, dword [esi + 4]
test esi, esi
jne 0x4296d8
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x100]
mov dword [esp], 2
mov dword [esp + 4], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 8
test eax, eax
jne 0x429b10
call dword [sym.imp.WS2_32.dll_WSACleanup]
movzx eax, word [esp + 0x100]
cmp al, 2
jne 0x429ba0
shr ax, 8
jne 0x429ba0
mov dword [esp], str.WS2_32.DLL
call sym._Curl_load_library
mov dword [esp + 0x44], eax
test eax, eax
je 0x42a09e
mov eax, dword [esp + 0x44]
mov dword [esp + 4], str.WSACreateEvent
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp], eax
call esi
sub esp, 8
mov edi, eax
test eax, eax
je 0x42a0bd
mov eax, dword [esp + 0x44]
mov dword [esp + 4], str.WSACloseEvent
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp + 0x5c], eax
test eax, eax
je 0x42a0ec
mov eax, dword [esp + 0x44]
mov dword [esp + 4], str.WSAEventSelect
mov dword [esp], eax
call esi
sub esp, 8
mov ebx, eax
test eax, eax
je 0x42a100
mov eax, dword [esp + 0x44]
mov dword [esp + 4], str.WSAEnumNetworkEvents
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x42a13d
call edi
mov dword [esp + 0x54], eax
test eax, eax
je 0x42a154
mov eax, dword [esp + 0x54]
mov dword [esp + 8], 0x21
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call ebx
sub esp, 0xc
cmp eax, 0xffffffff
je 0x429c08
mov dword [esp], 0xfffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
sub esp, 4
mov edx, dword [esp + 0x54]
mov dword [esp + 0x40], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
sub esp, 4
cmp eax, 3
je 0x42a04b
cmp dword [ebp + 0x198], 1
sbb eax, eax
and eax, 0x384
add eax, 0x64
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x198]
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x48], eax
lea edi, [esp + 0x80]
mov dword [esp + 0x28], 0
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x50], edi
lea esi, cs:[esi]
nop
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0x498]
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub esp, 0x10
cmp eax, 1
je 0x429d40
cmp eax, 0x102
je 0x429c38
test eax, eax
je 0x429e10
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x1e0]
test edi, edi
je 0x429950
call sym._Curl_now
mov ecx, dword [esp + 0x2b0]
mov ebx, dword [ecx + 0x190]
mov ecx, dword [ecx + 0x18c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call sym._Curl_timediff
mov edx, dword [esp + 0x3c]
cmp dword [edx + 0x1e0], eax
jg 0x429950
mov ebp, edx
jmp 0x429f38
mov dword [esp + 4], 0x4619a5
mov dword [esp], edi
call sym._Curl_strcasecompare
test eax, eax
je 0x429ac0
lea eax, [ebx + 0x1caa]
mov dword [esp + 4], str._hu__xX__hu
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x1ca8]
mov dword [esp + 8], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
call sym._sscanf_2
cmp eax, 2
je 0x429bb8
mov eax, dword [esi]
mov dword [esp + 4], str.Syntax_error_in_telnet_option:__s
mov dword [esp], ebp
mov dword [esp + 8], eax
call sym._Curl_failf
mov dword [esp + 0x28], 0x31
mov eax, dword [ebx + 0x1cac]
mov dword [esp], eax
call sym._curl_slist_free_all
mov dword [ebx + 0x1cac], 0
mov eax, dword [esp + 0x28]
add esp, 0x29c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x100]
mov dword [esp + 8], 0x7f
mov dword [esp + 4], eax
lea eax, [ebx + 0x1c28]
mov dword [esp], eax
call sym._strncpy
mov byte [ebx + 0x1ca7], 0
mov dword [ebx + 0x894], 1
jmp 0x4297b0
mov dword [esp + 4], str.BINARY
mov dword [esp], edi
call sym._Curl_strcasecompare
test eax, eax
jne 0x429bd0
mov eax, dword [esi]
mov dword [esp + 4], str.Unknown_telnet_option__s
mov dword [esp], ebp
mov dword [esp + 8], eax
call sym._Curl_failf
mov dword [esp + 0x28], 0x30
jmp 0x429a5a
mov dword [esp + 0x28], 0x1b
jmp 0x429a5a
mov dword [esp + 8], eax
mov dword [esp + 4], str.WSAStartup_failed___d_
mov dword [esp], ebp
call sym._Curl_failf
mov dword [esp + 0x28], 2
jmp 0x429a72
mov eax, dword [eax + 0x16c]
mov dword [esp + 8], 0x461971
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0x28], edx
call sym._curl_msnprintf
lea eax, [esp + 0x100]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1cac]
mov dword [esp], eax
call sym._curl_slist_append
mov edx, dword [esp + 0x28]
test eax, eax
je 0x42a114
mov dword [ebx + 0x1cac], eax
mov dword [ebx + 0x8a4], 1
jmp 0x4296b3
mov dword [esp + 4], str.insufficient_winsock_version_to_support_telnet
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x429b24
mov dword [ebx + 0x884], 1
jmp 0x4297b0
lea eax, [esp + 0x100]
mov dword [esp], eax
call sym._atoi
cmp eax, 1
je 0x4297b0
mov dword [ebx + 0x808], 0
mov dword [ebx + 0x1408], 0
jmp 0x4297b0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
call eax
sub esp, 4
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 4
mov dword [esp + 0x28], 0
jmp 0x429a72
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x30], esi
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
jmp 0x429caf
mov eax, dword [esi + 0xa24]
mov dword [esp + 4], 1
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call dword [esi + 0xa20]
mov ecx, eax
cmp eax, 0x10000000
je 0x429ee8
test eax, eax
je 0x429e88
cmp eax, 0x10000001
je 0x429e88
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2b0]
mov edx, edi
call sym._send_telnet_data
mov ebx, eax
test eax, eax
jne 0x42a040
mov eax, dword [esi + 0x198]
test eax, eax
jne 0x429c50
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x78]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
sub esp, 0x18
test eax, eax
je 0x429ee8
mov eax, dword [esp + 0x78]
test eax, eax
je 0x429e88
lea edx, [esp + 0x78]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp], eax
call ebp
sub esp, 0x14
test eax, eax
je 0x429ee8
mov ecx, dword [esp + 0x78]
jmp 0x429c97
lea eax, [esp + 0x78]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
jne 0x429f58
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 0x1e0]
test eax, eax
jne 0x42a030
mov dword [esp + 0x28], 0x1a
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
call eax
sub esp, 4
test eax, eax
je 0x42a07f
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 4
test eax, eax
je 0x42a060
mov eax, dword [esp + 0x2b0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._Curl_setup_transfer
jmp 0x429a72
lea eax, [esp + 0x100]
mov dword [esp + 0x100], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
call eax
sub esp, 0xc
cmp eax, 0xffffffff
je 0x429ff8
mov esi, dword [esp + 0x100]
test esi, 1
jne 0x429f80
shr esi, 5
xor esi, 1
and esi, 1
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1e0]
test ecx, ecx
jne 0x429ea8
mov eax, esi
test al, al
jne 0x429950
mov ebp, dword [esp + 0x3c]
jmp 0x429d8e
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], ebx
mov eax, dword [eax + 0x1e0]
test eax, eax
je 0x429950
mov esi, 1
lea esi, cs:[esi]
call sym._Curl_now
mov ecx, dword [esp + 0x2b0]
mov ebx, dword [ecx + 0x190]
mov ecx, dword [ecx + 0x18c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call sym._Curl_timediff
mov edx, dword [esp + 0x3c]
cmp eax, dword [edx + 0x1e0]
jl 0x429e71
mov ebp, edx
jmp 0x429f38
mov dword [esp + 0x28], 0x1a
mov ebp, esi
mov edx, dword [ebp + 0x1e0]
test edx, edx
je 0x429d8e
call sym._Curl_now
mov ecx, dword [esp + 0x2b0]
mov ebx, dword [ecx + 0x190]
mov ecx, dword [ecx + 0x18c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call sym._Curl_timediff
cmp dword [ebp + 0x1e0], eax
jg 0x429d8e
mov dword [esp + 4], str.Time_out
mov dword [esp], ebp
call sym._Curl_failf
mov dword [esp + 0x28], 0x1c
jmp 0x429d8e
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x2b0]
call sym._send_telnet_data
test eax, eax
mov dword [esp + 0x28], eax
sete al
mov esi, eax
jmp 0x429e63
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x498]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2b0]
mov dword [esp], eax
call sym._Curl_read
mov dword [esp + 0x28], eax
cmp eax, 0x51
je 0x42999e
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x429fda
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
test eax, eax
jg 0x42a16b
mov ebp, dword [esp + 0x3c]
mov ebx, dword [ebp + 0x1e0]
test ebx, ebx
je 0x429d8e
jmp 0x429f00
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2734
je 0x42999e
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.WSAEnumNetworkEvents_failed___d_
mov dword [esp], ebp
call sym._Curl_infof
mov eax, dword [ebp + 0x1e0]
test eax, eax
je 0x429d86
nop
mov dword [esp + 0x28], 0x1a
jmp 0x429f00
mov dword [esp + 0x28], eax
mov ebp, esi
jmp 0x429ef2
mov dword [esp + 0x4c], 0x64
mov dword [esp + 0x48], 1
jmp 0x429930
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.FreeLibrary_wsock2__failed___u_
mov dword [esp + 8], eax
mov dword [esp], ebp
call sym._Curl_infof
jmp 0x429dbe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 4], str.WSACloseEvent_failed___d_
mov dword [esp + 8], eax
mov dword [esp], ebp
call sym._Curl_infof
jmp 0x429da6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.failed_to_load_WS2_32.DLL___u_
mov dword [esp + 8], eax
mov dword [esp], ebp
call sym._Curl_failf
jmp 0x429b24
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.failed_to_find_WSACreateEvent_function___u_
mov dword [esp + 8], eax
mov dword [esp], ebp
call sym._Curl_failf
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 4
jmp 0x429b24
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.failed_to_find_WSACloseEvent_function___u_
mov dword [esp + 8], eax
jmp 0x42a0cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.failed_to_find_WSAEventSelect_function___u_
mov dword [esp + 8], eax
jmp 0x42a0cf
mov eax, dword [ebx + 0x1cac]
mov dword [esp], eax
call sym._curl_slist_free_all
mov dword [ebx + 0x1cac], 0
lea esi, [esi]
mov dword [esp + 0x28], 0x1b
jmp 0x429a72
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.failed_to_find_WSAEnumNetworkEvents_function___u_
mov dword [esp + 8], eax
jmp 0x42a0cf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 4], str.WSACreateEvent_failed___d_
mov dword [esp + 8], eax
jmp 0x42a0cf
mov eax, dword [esp + 0x2b0]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x64], 0xffffffff
xor ebx, ebx
mov eax, dword [eax]
mov esi, dword [eax + 0x12c]
mov dword [esp + 0x60], eax
lea eax, [esi + 0x1eb0]
mov dword [esp + 0x6c], eax
lea esi, cs:[esi]
nop
cmp dword [esi + 0x1eb8], 8
movzx edx, byte [ebp + ebx]
ja case.default.0x42a1b4
mov eax, dword [esi + 0x1eb8]
jmp dword [eax*4 + 0x461c0c]
cmp dl, 0xff
je 0x42a680
mov eax, dword [esi + 0x1eb0]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jae case.default.0x42a1b4
lea ecx, [eax + 1]
mov dword [esi + 0x1eb0], ecx
mov byte [eax], dl
lea esi, [esi]
add ebx, 1
cmp dword [esp + 0x30], ebx
jne 0x42a1a0
mov edx, dword [esp + 0x64]
cmp edx, 0xffffffff
jne 0x42a878
mov eax, dword [esp + 0x38]
mov ebx, dword [eax]
test ebx, ebx
je 0x42a20f
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 4]
test esi, esi
je 0x42aa4f
mov esi, dword [esp + 0x100]
jmp 0x429e5a
mov dword [esi + 0x1eb8], 0
test dl, dl
jne 0x42a358
cmp dword [esp + 0x64], 0xffffffff
jne 0x42a84f
mov dword [esp + 0x64], 0xffffffff
jmp case.default.0x42a1b4
mov eax, dword [esp + 0x60]
movzx edi, dl
cmp byte [eax + 0x4e0], 0
je 0x42a264
mov dword [esp], edi
mov ecx, 0xfe
mov edx, str.RCVD
call sym._printoption.part.0
mov eax, dword [esp + 0x2b0]
mov dword [esi], 1
mov eax, dword [eax]
mov eax, dword [eax + 0x12c]
mov edx, dword [eax + edi*4 + 8]
cmp edx, 2
je 0x42a743
cmp edx, 3
je 0x42a702
cmp edx, 1
je 0x42a7d3
lea esi, cs:[esi]
mov dword [esi + 0x1eb8], 0
jmp case.default.0x42a1b4
mov eax, dword [esp + 0x60]
movzx edi, dl
cmp byte [eax + 0x4e0], 0
je 0x42a2d1
mov dword [esp], edi
mov ecx, 0xfd
mov edx, str.RCVD
call sym._printoption.part.0
mov eax, dword [esp + 0x2b0]
mov dword [esi], 1
mov eax, dword [eax]
mov eax, dword [eax + 0x12c]
lea eax, [eax + edi*4]
mov dword [esp + 0x68], eax
mov eax, dword [eax + 8]
cmp eax, 2
je 0x42a7a0
cmp eax, 3
je 0x42a76d
test eax, eax
jne 0x42a2a0
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x808], 1
je 0x42aa1f
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x1808], 1
je 0x42a9f2
mov eax, dword [esp + 0x2b0]
mov ecx, edi
mov edx, 0xfc
call sym._send_negotiation
jmp 0x42a2a0
cmp dl, 0xff
je 0x42a624
cmp dl, 0xd
jne 0x42a358
mov dword [esi + 0x1eb8], 6
cmp dword [esp + 0x64], 0xffffffff
jne case.default.0x42a1b4
mov dword [esp + 0x64], ebx
jmp case.default.0x42a1b4
mov eax, dword [esi + 0x1eb0]
cmp dl, 0xf0
je 0x42a5ce
cmp dl, 0xff
je 0x42a5ab
mov edi, dword [esp + 0x6c]
cmp eax, edi
jae 0x42a3b3
lea ecx, [eax + 1]
mov dword [esi + 0x1eb0], ecx
mov byte [eax], 0xff
mov eax, dword [esi + 0x1eb0]
cmp eax, edi
jae 0x42a3b3
lea ecx, [eax + 1]
mov dword [esi + 0x1eb0], ecx
mov byte [eax], dl
mov eax, dword [esi + 0x1eb0]
mov ecx, dword [esp + 0x60]
sub eax, 2
movzx edi, dl
mov dword [esi + 0x1eb4], eax
lea eax, [esi + 0x1cb0]
cmp byte [ecx + 0x4e0], 0
mov dword [esi + 0x1eb0], eax
je 0x42a413
lea eax, [edi - 0xec]
mov byte [esp + 0x68], dl
cmp eax, 0x13
ja 0x42a920
mov eax, dword [eax*4 + 0x461d00]
mov dword [esp + 8], str.In_SUBOPTION_processing__RCVD
mov dword [esp + 4], str._s_IAC__s_n
mov dword [esp + 0xc], eax
mov dword [esp], ecx
call sym._Curl_infof
movzx edx, byte [esp + 0x68]
mov eax, dword [esp + 0x2b0]
mov byte [esp + 0x68], dl
call sym._suboption
movzx edx, byte [esp + 0x68]
lea eax, [edx + 6]
cmp dl, 0xfa
jb case.default.0x42a437
movzx eax, al
jmp dword [eax*4 + 0x461c30]
mov eax, dword [esp + 0x60]
movzx edi, dl
cmp byte [eax + 0x4e0], 0
je 0x42a460
mov dword [esp], edi
mov ecx, 0xfb
mov edx, str.RCVD
call sym._printoption.part.0
mov eax, dword [esp + 0x2b0]
mov dword [esi], 1
mov eax, dword [eax]
mov eax, dword [eax + 0x12c]
lea eax, [eax + edi*4]
mov edx, dword [eax + 0xc08]
cmp edx, 2
je 0x42a821
cmp edx, 3
je 0x42a7f3
test edx, edx
jne 0x42a2a0
cmp dword [eax + 0x1408], 1
je 0x42a98a
mov eax, dword [esp + 0x2b0]
mov ecx, edi
mov edx, 0xfe
call sym._send_negotiation
jmp 0x42a2a0
mov eax, dword [esp + 0x60]
movzx edi, dl
cmp byte [eax + 0x4e0], 0
je 0x42a4df
mov dword [esp], edi
mov ecx, 0xfc
mov edx, str.RCVD
call sym._printoption.part.0
mov eax, dword [esp + 0x2b0]
lea edx, [edi + 0x300]
mov dword [esi], 1
mov dword [esp + 0x68], edx
mov eax, dword [eax]
mov eax, dword [eax + 0x12c]
mov ecx, dword [eax + edx*4 + 8]
cmp ecx, 2
je 0x42a6d4
cmp ecx, 3
je 0x42a68f
cmp ecx, 1
jne 0x42a2a0
mov dword [eax + edx*4 + 8], 0
mov ecx, edi
mov eax, dword [esp + 0x2b0]
mov edx, 0xfe
call sym._send_negotiation
jmp 0x42a2a0
movzx edi, dl
jmp 0x42a428
mov dword [esi + 0x1eb8], 5
jmp case.default.0x42a1b4
mov dword [esi + 0x1eb8], 2
jmp case.default.0x42a1b4
mov dword [esi + 0x1eb8], 7
lea eax, [esi + 0x1cb0]
mov dword [esi + 0x1eb0], eax
jmp case.default.0x42a1b4
mov dword [esi + 0x1eb8], 0
jmp 0x42a358
mov dword [esi + 0x1eb8], 4
jmp case.default.0x42a1b4
mov dword [esi + 0x1eb8], 3
jmp case.default.0x42a1b4
mov edx, dword [esp + 0x6c]
cmp eax, edx
jae 0x42a5bf
lea edx, [eax + 1]
mov dword [esi + 0x1eb0], edx
mov byte [eax], 0xff
mov dword [esi + 0x1eb8], 7
jmp case.default.0x42a1b4
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jae 0x42a5fe
lea edx, [eax + 1]
mov dword [esi + 0x1eb0], edx
mov byte [eax], 0xff
mov eax, dword [esi + 0x1eb0]
cmp eax, ecx
jae 0x42a5fe
lea edx, [eax + 1]
mov dword [esi + 0x1eb0], edx
mov byte [eax], 0xf0
mov eax, dword [esi + 0x1eb0]
sub eax, 2
mov dword [esi + 0x1eb4], eax
lea eax, [esi + 0x1cb0]
mov dword [esi + 0x1eb0], eax
mov eax, dword [esp + 0x2b0]
call sym._suboption
jmp 0x42a2a0
mov dword [esi + 0x1eb8], 1
mov edx, dword [esp + 0x64]
cmp edx, 0xffffffff
je 0x42a238
mov eax, ebx
sub eax, edx
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
lea eax, [ebp + edx]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2b0]
mov dword [esp], eax
call sym._Curl_client_write
test eax, eax
je 0x42a238
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x3c]
jmp 0x429ef2
mov dword [esi + 0x1eb8], 8
jmp case.default.0x42a1b4
lea ecx, [edi + 0x400]
mov edx, dword [eax + ecx*4 + 8]
test edx, edx
je 0x42a85a
cmp edx, 1
jne 0x42a2a0
mov edx, dword [esp + 0x68]
mov dword [eax + edx*4 + 8], 2
xor edx, edx
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x2b0]
mov ecx, edi
mov edx, 0xfd
call sym._send_negotiation
jmp 0x42a2a0
add edi, 0x400
mov ecx, dword [eax + edi*4 + 8]
test ecx, ecx
je 0x42a85a
cmp ecx, 1
jne 0x42a2a0
mov edx, dword [esp + 0x68]
xor ecx, ecx
mov dword [eax + edx*4 + 8], ecx
mov dword [eax + edi*4 + 8], ecx
jmp 0x42a2a0
lea edx, [edi + 0x100]
mov ecx, dword [eax + edx*4 + 8]
test ecx, ecx
je 0x42a86b
cmp ecx, 1
jne 0x42a2a0
xor ecx, ecx
mov dword [eax + edi*4 + 8], 2
mov dword [eax + edx*4 + 8], ecx
mov eax, dword [esp + 0x2b0]
mov ecx, edi
mov edx, 0xfb
call sym._send_negotiation
jmp 0x42a2a0
lea edx, [edi + 0x100]
mov ecx, dword [eax + edx*4 + 8]
test ecx, ecx
je 0x42a86b
cmp ecx, 1
jne 0x42a2a0
xor ecx, ecx
mov dword [eax + edi*4 + 8], ecx
mov dword [eax + edx*4 + 8], ecx
jmp 0x42a2a0
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x408]
test eax, eax
je 0x42a9d7
cmp eax, 1
jne 0x42a2a0
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov dword [eax + 8], 1
mov dword [eax + 0x408], ecx
jmp 0x42a2a0
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x408]
test eax, eax
je 0x42a9ac
cmp eax, 1
jne 0x42a2a0
mov eax, dword [esp + 0x68]
xor edx, edx
mov dword [eax + 8], 3
mov dword [eax + 0x1008], edx
jmp 0x42a328
mov dword [eax + edi*4 + 8], 0
mov ecx, edi
mov eax, dword [esp + 0x2b0]
mov edx, 0xfc
call sym._send_negotiation
jmp 0x42a2a0
mov edx, dword [eax + 0x1008]
test edx, edx
je 0x42a9e5
cmp edx, 1
jne 0x42a2a0
mov dword [eax + 0xc08], 1
xor edi, edi
mov dword [eax + 0x1008], edi
jmp 0x42a2a0
mov edx, dword [eax + 0x1008]
test edx, edx
je 0x42a911
cmp edx, 1
jne 0x42a2a0
mov dword [eax + 0xc08], 3
xor ecx, ecx
mov dword [eax + 0x1008], ecx
jmp 0x42a4a5
mov edx, dword [esp + 0x64]
mov eax, ebx
jmp 0x42a63d
mov edx, dword [esp + 0x68]
mov dword [eax + edx*4 + 8], 0
jmp 0x42a2a0
mov dword [eax + edi*4 + 8], 0
jmp 0x42a2a0
mov eax, dword [esp + 0x30]
mov dword [esp + 4], 1
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2b0]
mov dword [esp], eax
call sym._Curl_client_write
test eax, eax
je 0x42a1f6
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
cmp dword [ebp + 0x1e0], 0
je 0x429d8e
jmp 0x429f00
mov edx, dword [esp + 0x60]
xor ecx, ecx
mov dword [esi + 0x1eb8], ecx
cmp byte [edx + 0x4e0], 0
je case.default.0x42a1b4
lea eax, [edi - 0xec]
cmp eax, 0x13
ja 0x42a965
mov eax, dword [eax*4 + 0x461d00]
mov dword [esp + 8], str.RCVD
mov dword [esp + 4], str._s_IAC__s_n
mov dword [esp + 0xc], eax
mov dword [esp], edx
call sym._Curl_infof
jmp case.default.0x42a1b4
mov dword [eax + 0xc08], 1
jmp 0x42a2a0
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.In_SUBOPTION_processing__RCVD
mov dword [esp], eax
mov dword [esp + 4], str._s_IAC__d_n
call sym._Curl_infof
mov eax, dword [esp + 0x2b0]
call sym._suboption
xor eax, eax
mov dword [esi + 0x1eb8], eax
mov eax, dword [esp + 0x60]
cmp byte [eax + 0x4e0], 0
je case.default.0x42a1b4
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.RCVD
mov dword [esp + 4], str._s_IAC__d_n
mov dword [esp], eax
call sym._Curl_infof
jmp case.default.0x42a1b4
mov dword [eax + 0xc08], 1
mov eax, dword [esp + 0x2b0]
mov ecx, edi
mov edx, 0xfd
call sym._send_negotiation
jmp 0x42a2a0
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x1808], 1
mov dword [eax + 8], 1
jne 0x42a2a0
mov eax, dword [esp + 0x2b0]
mov edx, edi
call sym._sendsuboption
jmp 0x42a2a0
mov eax, dword [esp + 0x68]
xor edi, edi
mov dword [eax + 8], edi
jmp 0x42a2a0
xor edx, edx
mov dword [eax + 0xc08], edx
jmp 0x42a2a0
mov dword [eax + 8], 1
mov eax, dword [esp + 0x2b0]
mov ecx, edi
mov edx, 0xfb
call sym._send_negotiation
mov eax, dword [esp + 0x2b0]
mov edx, edi
call sym._sendsuboption
jmp 0x42a2a0
mov dword [eax + 8], 1
mov eax, dword [esp + 0x2b0]
mov ecx, edi
mov edx, 0xfb
call sym._send_negotiation
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x1808], 1
jne 0x42a2a0
jmp 0x42a9c4
mov eax, dword [esp + 0x2b0]
mov ebp, dword [esp + 0x2b0]
mov eax, dword [eax]
mov ebx, dword [eax + 0x12c]
jmp 0x42aa86
cmp dword [ebx + esi*4 + 0x1408], 1
je 0x42aad2
add esi, 1
cmp esi, 0x28
je 0x42ab92
cmp esi, 1
mov eax, 2
cmove esi, eax
cmp dword [ebx + esi*4 + 0x808], 1
jne 0x42aa70
mov eax, dword [ebp]
mov eax, dword [eax + 0x12c]
mov edx, dword [eax + esi*4 + 8]
cmp edx, 2
je 0x42ab33
cmp edx, 3
je 0x42ab12
test edx, edx
jne 0x42aa70
mov dword [eax + esi*4 + 8], 2
mov ecx, esi
mov edx, 0xfb
mov eax, ebp
call sym._send_negotiation
jmp 0x42aa70
mov eax, dword [ebp]
lea ecx, [esi + 0x300]
mov eax, dword [eax + 0x12c]
mov edx, dword [eax + ecx*4 + 8]
cmp edx, 2
je 0x42ab73
cmp edx, 3
je 0x42ab52
test edx, edx
jne 0x42aa7a
mov dword [eax + ecx*4 + 8], 2
mov edx, 0xfd
mov ecx, esi
mov eax, ebp
call sym._send_negotiation
jmp 0x42aa7a
cmp dword [eax + esi*4 + 0x408], 0
lea edx, [esi + 0x100]
jne 0x42aa70
mov dword [eax + edx*4 + 8], 1
jmp 0x42aa70
cmp dword [eax + esi*4 + 0x408], 1
lea edx, [esi + 0x100]
jne 0x42aa70
xor ecx, ecx
mov dword [eax + edx*4 + 8], ecx
jmp 0x42aa70
cmp dword [eax + esi*4 + 0x1008], 0
lea edx, [esi + 0x400]
jne 0x42aa7a
mov dword [eax + edx*4 + 8], 1
jmp 0x42aa7a
cmp dword [eax + esi*4 + 0x1008], 1
lea edx, [esi + 0x400]
jne 0x42aa7a
xor edi, edi
mov dword [eax + edx*4 + 8], edi
jmp 0x42aa7a
mov eax, dword [esp + 0x38]
mov dword [eax + 4], 1
jmp 0x42a20f