Function at 0x429670
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 edi, dword [eax]
mov eax, dword [eax + 0x194]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x7d4]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2b4]
mov byte [eax], 1
mov dword [esp + 4], 0x1ebc
mov dword [esp], 1
call dword [0x45e804]
test eax, eax
je 0x42a258
mov ebx, eax
mov eax, dword [esp + 0x2b0]
mov ecx, 0x20
mov esi, dword [eax]
lea eax, [ebx + 0x1cb0]
mov dword [esi + 0x12c], ebx
mov dword [ebx + 0x1eb0], eax
mov eax, dword [edi + 0x12c]
lea edi, [esp + 0x80]
mov dword [ebx + 0x1eb8], 0
mov dword [esp + 0x40], 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
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x100]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2b0]
cmp byte [eax + 0x260], 0
jne 0x429bd8
mov ebp, dword [esi + 0x3bc]
test ebp, ebp
je 0x42986f
lea edi, [ebx + 0x1c08]
lea eax, [esp + 0x100]
mov dword [esp + 4], str._127________255s
mov dword [esp + 0xc], eax
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [ebp]
mov dword [esp], eax
call sym._sscanf_2
cmp eax, 2
jne 0x429b74
lea eax, [esp + 0x80]
mov dword [esp + 4], str.TTYPE
mov dword [esp], eax
call sym._Curl_strcasecompare
test eax, eax
jne 0x429838
lea eax, [esp + 0x80]
mov dword [esp + 4], str.XDISPLOC
mov dword [esp], eax
call sym._Curl_strcasecompare
test eax, eax
jne 0x429b08
lea eax, [esp + 0x80]
mov dword [esp + 4], str.NEW_ENV
mov dword [esp], eax
call sym._Curl_strcasecompare
test eax, eax
je 0x429a80
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 0x429ba0
mov dword [ebx + 0x1cac], eax
mov dword [ebx + 0x8a4], 1
jmp 0x429864
lea eax, [esp + 0x100]
mov dword [esp + 8], 0x1f
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._strncpy
mov byte [ebx + 0x1c27], 0
mov dword [ebx + 0x868], 1
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x429775
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 0x429bb0
call dword [sym.imp.WS2_32.dll_WSACleanup]
movzx eax, word [esp + 0x100]
cmp al, 2
jne 0x429c40
shr ax, 8
jne 0x429c40
mov dword [esp], str.WS2_32.DLL
call sym._Curl_load_library
mov ebp, eax
test eax, eax
je 0x42a1c0
mov dword [esp + 4], str.WSACreateEvent
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp], eax
call edi
sub esp, 8
mov ebx, eax
test eax, eax
je 0x42a1e3
mov dword [esp + 4], str.WSACloseEvent
mov dword [esp], ebp
call edi
sub esp, 8
mov dword [esp + 0x5c], eax
test eax, eax
je 0x42a212
mov dword [esp + 4], str.WSAEventSelect
mov dword [esp], ebp
call edi
sub esp, 8
mov esi, eax
test eax, eax
je 0x42a226
mov dword [esp + 4], str.WSAEnumNetworkEvents
mov dword [esp], ebp
call edi
sub esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x42a265
call ebx
mov dword [esp + 0x50], eax
test eax, eax
je 0x42a27c
mov eax, dword [esp + 0x50]
mov dword [esp + 8], 0x21
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call esi
sub esp, 0xc
cmp eax, 0xffffffff
je 0x429ca8
mov dword [esp], 0xfffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
sub esp, 4
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], 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 0x42a165
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x198], 1
sbb eax, eax
and eax, 0x384
add eax, 0x64
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x198]
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x54], ebp
nop
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x498]
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x80]
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 0x429dd0
cmp eax, 0x102
je 0x429e30
test eax, eax
je 0x429cd8
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x1e0]
test eax, eax
je 0x4299e0
call sym._Curl_now
mov esi, dword [esp + 0x2b0]
mov edi, dword [esi + 0x190]
mov esi, dword [esi + 0x18c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call sym._Curl_timediff
mov edx, dword [esp + 0x2c]
cmp eax, dword [edx + 0x1e0]
jl 0x4299e0
jmp 0x429f9c
lea eax, [esp + 0x80]
mov dword [esp + 4], 0x4649a5
mov dword [esp], eax
call sym._Curl_strcasecompare
test eax, eax
jne 0x429b40
lea eax, [esp + 0x80]
mov dword [esp + 4], str.BINARY
mov dword [esp], eax
call sym._Curl_strcasecompare
test eax, eax
jne 0x429c70
mov eax, dword [ebp]
mov dword [esp + 4], str.Unknown_telnet_option__s
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._Curl_failf
mov dword [esp + 0x30], 0x30
mov eax, dword [ebx + 0x1cac]
mov dword [esp], eax
call sym._curl_slist_free_all
mov dword [ebx + 0x1cac], 0
mov eax, dword [esp + 0x30]
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 0x429864
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 0x429c60
mov eax, dword [ebp]
mov dword [esp + 4], str.Syntax_error_in_telnet_option:__s
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._Curl_failf
mov dword [esp + 0x30], 0x31
jmp 0x429add
mov dword [esp + 0x30], 0x1b
jmp 0x429add
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], str.WSAStartup_failed___d_
mov dword [esp], eax
call sym._Curl_failf
mov dword [esp + 0x30], 2
jmp 0x429af5
mov eax, dword [eax + 0x16c]
mov dword [esp + 8], 0x464971
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
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
test eax, eax
je 0x42a23a
mov dword [ebx + 0x1cac], eax
mov dword [ebx + 0x8a4], 1
jmp 0x429761
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], str.insufficient_winsock_version_to_support_telnet
mov dword [esp], eax
call sym._Curl_failf
jmp 0x429bc8
mov dword [ebx + 0x884], 1
jmp 0x429864
lea eax, [esp + 0x100]
mov dword [esp], eax
call sym._atoi
cmp eax, 1
je 0x429864
mov dword [ebx + 0x808], 0
mov dword [ebx + 0x1408], 0
jmp 0x429864
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
call eax
sub esp, 4
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 4
mov dword [esp + 0x30], 0
jmp 0x429af5
lea eax, [esp + 0x100]
mov dword [esp + 0x100], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
call eax
sub esp, 0xc
cmp eax, 0xffffffff
je 0x42a108
mov edi, dword [esp + 0x100]
test edi, 1
jne 0x42a050
shr edi, 5
xor edi, 1
and edi, 1
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x1e0]
test ecx, ecx
jne 0x429f60
mov eax, edi
test al, al
jne 0x4299e0
mov ebp, dword [esp + 0x54]
lea esi, cs:[esi]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
call eax
sub esp, 4
test eax, eax
je 0x42a19d
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 4
test eax, eax
je 0x42a17a
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 0x429af5
lea eax, [esp + 0x78]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
jne 0x42a028
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov edx, dword [eax + 0x1e0]
test edx, edx
jne 0x42a148
mov dword [esp + 0x30], 0x1a
jmp 0x429d50
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x38], edi
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
jmp 0x429eaf
mov eax, dword [edi + 0xa24]
mov dword [esp + 4], 1
mov dword [esp], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call dword [edi + 0xa20]
mov ecx, eax
cmp eax, 0x10000000
je 0x429fc8
test eax, eax
je 0x429f40
cmp eax, 0x10000001
je 0x429f40
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2b0]
mov edx, ebp
call sym._send_telnet_data
mov ebx, eax
test eax, eax
jne 0x42a158
mov eax, dword [edi + 0x198]
test eax, eax
jne 0x429e50
mov eax, dword [esp + 0x44]
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 0x429fc8
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x429f40
lea edx, [esp + 0x78]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp], eax
call esi
sub esp, 0x14
test eax, eax
je 0x429fc8
mov ecx, dword [esp + 0x78]
jmp 0x429e97
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov eax, dword [eax + 0x1e0]
test eax, eax
je 0x4299e0
mov edi, 1
lea esi, cs:[esi]
call sym._Curl_now
mov esi, dword [esp + 0x2b0]
mov ecx, dword [esi + 0x18c]
mov ebx, dword [esi + 0x190]
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 + 0x2c]
cmp eax, dword [edx + 0x1e0]
jl 0x429d3d
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], str.Time_out
mov dword [esp], eax
call sym._Curl_failf
mov dword [esp + 0x30], 0x1c
jmp 0x429d50
mov dword [esp + 0x30], 0x1a
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x1e0]
test edx, edx
je 0x429d50
call sym._Curl_now
mov esi, dword [esp + 0x2b0]
mov ecx, dword [esi + 0x18c]
mov ebx, dword [esi + 0x190]
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 + 0x2c]
cmp eax, dword [edx + 0x1e0]
jge 0x429fa0
jmp 0x429d50
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2b0]
call sym._send_telnet_data
test eax, eax
mov dword [esp + 0x30], eax
sete al
mov edi, eax
jmp 0x429d2b
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x498]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2b0]
mov dword [esp], eax
call sym._Curl_read
mov dword [esp + 0x30], eax
cmp eax, 0x51
je 0x429a31
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x42a0aa
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], eax
test eax, eax
jg 0x42a293
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov eax, dword [eax + 0x1e0]
test eax, eax
je 0x429d50
call sym._Curl_now
mov esi, dword [esp + 0x2b0]
mov ecx, dword [esi + 0x18c]
mov ebx, dword [esi + 0x190]
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 + 0x2c]
cmp dword [edx + 0x1e0], eax
jle 0x429fa0
jmp 0x429d50
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2734
je 0x429a31
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 4], str.WSAEnumNetworkEvents_failed___d_
mov dword [esp], esi
call sym._Curl_infof
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x429e1a
lea esi, cs:[esi]
mov dword [esp + 0x30], 0x1a
jmp 0x42a0c0
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x54]
jmp 0x429fd4
mov dword [esp + 0x4c], 0x64
mov dword [esp + 0x48], 1
jmp 0x4299d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.FreeLibrary_wsock2__failed___u_
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._Curl_infof
jmp 0x429d7c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 4], str.WSACloseEvent_failed___d_
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._Curl_infof
jmp 0x429d68
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 eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._Curl_failf
jmp 0x429bc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.failed_to_find_WSACreateEvent_function___u_
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._Curl_failf
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 4
jmp 0x429bc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.failed_to_find_WSACloseEvent_function___u_
mov dword [esp + 8], eax
jmp 0x42a1f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.failed_to_find_WSAEventSelect_function___u_
mov dword [esp + 8], eax
jmp 0x42a1f5
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 + 0x30], 0x1b
jmp 0x429af5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], str.failed_to_find_WSAEnumNetworkEvents_function___u_
mov dword [esp + 8], eax
jmp 0x42a1f5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 4], str.WSACreateEvent_failed___d_
mov dword [esp + 8], eax
jmp 0x42a1f5
mov eax, dword [esp + 0x2b0]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x64], 0xffffffff
xor ebx, ebx
mov eax, dword [eax]
mov edi, dword [eax + 0x12c]
mov dword [esp + 0x60], eax
lea eax, [edi + 0x1eb0]
mov dword [esp + 0x6c], eax
nop
cmp dword [edi + 0x1eb8], 8
movzx edx, byte [ebp + ebx]
ja case.default.0x42a2d8
mov eax, dword [edi + 0x1eb8]
jmp dword [eax*4 + 0x464c0c]
mov eax, dword [edi + 0x1eb0]
cmp dl, 0xf0
je 0x42a73f
cmp dl, 0xff
je 0x42a795
mov esi, dword [esp + 0x6c]
cmp eax, esi
jae 0x42a326
lea ecx, [eax + 1]
mov dword [edi + 0x1eb0], ecx
mov byte [eax], 0xff
mov eax, dword [edi + 0x1eb0]
cmp eax, esi
jae 0x42a326
lea ecx, [eax + 1]
mov dword [edi + 0x1eb0], ecx
mov byte [eax], dl
mov eax, dword [edi + 0x1eb0]
mov ecx, dword [esp + 0x60]
sub eax, 2
mov dword [edi + 0x1eb4], eax
lea eax, [edi + 0x1cb0]
cmp byte [ecx + 0x4e0], 0
mov dword [edi + 0x1eb0], eax
je 0x42a386
movzx esi, dl
mov byte [esp + 0x68], dl
lea eax, [esi - 0xec]
cmp eax, 0x13
ja 0x42aaa5
mov eax, dword [eax*4 + 0x464d00]
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.0x42a3aa
movzx eax, al
jmp dword [eax*4 + 0x464c30]
cmp dl, 0xff
je 0x42a6d9
cmp dl, 0xd
jne 0x42a3c9
mov dword [edi + 0x1eb8], 6
mov esi, dword [esp + 0x64]
test esi, esi
js 0x42a7b8
lea esi, [esi]
add ebx, 1
cmp dword [esp + 0x38], ebx
jne 0x42a2c0
mov edx, dword [esp + 0x64]
test edx, edx
jns 0x42a979
mov eax, dword [esp + 0x40]
mov ebx, dword [eax]
test ebx, ebx
je 0x42a40a
mov eax, dword [esp + 0x40]
mov edi, dword [eax + 4]
test edi, edi
je 0x42ab3c
mov edi, dword [esp + 0x100]
jmp 0x429d22
cmp dl, 0xff
je 0x42a730
mov eax, dword [edi + 0x1eb0]
mov esi, dword [esp + 0x6c]
cmp eax, esi
jae case.default.0x42a2d8
lea ecx, [eax + 1]
mov dword [edi + 0x1eb0], ecx
mov byte [eax], dl
jmp case.default.0x42a2d8
mov dword [edi + 0x1eb8], 0
test dl, dl
jne 0x42a3c9
mov eax, dword [esp + 0x64]
test eax, eax
jns 0x42a961
mov dword [esp + 0x64], 0xffffffff
jmp case.default.0x42a2d8
mov eax, dword [esp + 0x60]
movzx esi, dl
cmp byte [eax + 0x4e0], 0
je 0x42a487
mov dword [esp], esi
mov ecx, 0xfe
mov edx, str.RCVD
call sym._printoption.part.0
mov eax, dword [esp + 0x2b0]
mov dword [edi], 1
mov eax, dword [eax]
mov eax, dword [eax + 0x12c]
mov edx, dword [eax + esi*4 + 8]
cmp edx, 2
je 0x42a7c1
cmp edx, 3
je 0x42a87a
cmp edx, 1
jne 0x42a4d8
mov dword [eax + esi*4 + 8], 0
mov ecx, esi
mov eax, dword [esp + 0x2b0]
mov edx, 0xfc
call sym._send_negotiation
lea esi, [esi]
mov dword [edi + 0x1eb8], 0
jmp case.default.0x42a2d8
mov eax, dword [esp + 0x60]
movzx esi, dl
cmp byte [eax + 0x4e0], 0
je 0x42a509
mov dword [esp], esi
mov ecx, 0xfc
mov edx, str.RCVD
call sym._printoption.part.0
mov eax, dword [esp + 0x2b0]
lea edx, [esi + 0x300]
mov dword [edi], 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 0x42a933
cmp ecx, 3
je 0x42a8ee
cmp ecx, 1
jne 0x42a4d8
mov dword [eax + edx*4 + 8], 0
mov ecx, esi
mov eax, dword [esp + 0x2b0]
mov edx, 0xfe
call sym._send_negotiation
jmp 0x42a4d8
mov eax, dword [esp + 0x60]
movzx esi, dl
cmp byte [eax + 0x4e0], 0
je 0x42a585
mov dword [esp], esi
mov ecx, 0xfb
mov edx, str.RCVD
call sym._printoption.part.0
mov eax, dword [esp + 0x2b0]
mov dword [edi], 1
mov eax, dword [eax]
mov eax, dword [eax + 0x12c]
lea eax, [eax + esi*4]
mov edx, dword [eax + 0xc08]
cmp edx, 2
je 0x42a819
cmp edx, 3
je 0x42a7eb
test edx, edx
jne 0x42a4d8
cmp dword [eax + 0x1408], 1
je 0x42aa76
mov eax, dword [esp + 0x2b0]
mov ecx, esi
mov edx, 0xfe
call sym._send_negotiation
jmp 0x42a4d8
mov eax, dword [esp + 0x60]
movzx esi, dl
cmp byte [eax + 0x4e0], 0
je 0x42a604
mov dword [esp], esi
mov ecx, 0xfd
mov edx, str.RCVD
call sym._printoption.part.0
mov eax, dword [esp + 0x2b0]
mov dword [edi], 1
mov eax, dword [eax]
mov eax, dword [eax + 0x12c]
lea edx, [eax + esi*4]
mov eax, dword [edx + 8]
mov dword [esp + 0x68], edx
cmp eax, 2
je 0x42a8bb
cmp eax, 3
je 0x42a847
test eax, eax
jne 0x42a4d8
cmp dword [edx + 0x808], 1
je 0x42ac78
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x1808], 1
je 0x42ab0f
mov eax, dword [esp + 0x2b0]
mov ecx, esi
mov edx, 0xfc
call sym._send_negotiation
jmp 0x42a4d8
mov dword [edi + 0x1eb8], 5
jmp case.default.0x42a2d8
mov dword [edi + 0x1eb8], 4
jmp case.default.0x42a2d8
mov dword [edi + 0x1eb8], 3
jmp case.default.0x42a2d8
mov dword [edi + 0x1eb8], 2
jmp case.default.0x42a2d8
mov dword [edi + 0x1eb8], 7
lea eax, [edi + 0x1cb0]
mov dword [edi + 0x1eb0], eax
jmp case.default.0x42a2d8
mov dword [edi + 0x1eb8], 0
jmp 0x42a3c9
mov dword [edi + 0x1eb8], 1
mov edx, dword [esp + 0x64]
test edx, edx
js 0x42a458
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 0x42a458
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x54]
jmp 0x429fd4
mov dword [edi + 0x1eb8], 8
jmp case.default.0x42a2d8
mov esi, dword [esp + 0x6c]
cmp eax, esi
jae 0x42a76f
lea edx, [eax + 1]
mov dword [edi + 0x1eb0], edx
mov byte [eax], 0xff
mov eax, dword [edi + 0x1eb0]
cmp eax, esi
jae 0x42a76f
lea edx, [eax + 1]
mov dword [edi + 0x1eb0], edx
mov byte [eax], 0xf0
mov eax, dword [edi + 0x1eb0]
sub eax, 2
mov dword [edi + 0x1eb4], eax
lea eax, [edi + 0x1cb0]
mov dword [edi + 0x1eb0], eax
mov eax, dword [esp + 0x2b0]
call sym._suboption
jmp 0x42a4d8
mov edx, dword [esp + 0x6c]
cmp eax, edx
jae 0x42a7a9
lea edx, [eax + 1]
mov dword [edi + 0x1eb0], edx
mov byte [eax], 0xff
mov dword [edi + 0x1eb8], 7
jmp case.default.0x42a2d8
mov dword [esp + 0x64], ebx
jmp case.default.0x42a2d8
lea edx, [esi + 0x100]
mov ecx, dword [eax + edx*4 + 8]
test ecx, ecx
je 0x42a96c
cmp ecx, 1
jne 0x42a4d8
xor ecx, ecx
mov dword [eax + esi*4 + 8], ecx
mov dword [eax + edx*4 + 8], ecx
jmp 0x42a4d8
mov edx, dword [eax + 0x1008]
test edx, edx
je 0x42aa98
cmp edx, 1
jne 0x42a4d8
mov dword [eax + 0xc08], 1
xor esi, esi
mov dword [eax + 0x1008], esi
jmp 0x42a4d8
mov edx, dword [eax + 0x1008]
test edx, edx
je 0x42aa3c
cmp edx, 1
jne 0x42a4d8
mov dword [eax + 0xc08], 3
xor ecx, ecx
mov dword [eax + 0x1008], ecx
jmp 0x42a5ca
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x408]
test eax, eax
je 0x42aa2e
cmp eax, 1
jne 0x42a4d8
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov dword [eax + 8], 1
mov dword [eax + 0x408], ecx
jmp 0x42a4d8
lea edx, [esi + 0x100]
mov ecx, dword [eax + edx*4 + 8]
test ecx, ecx
je 0x42a96c
cmp ecx, 1
jne 0x42a4d8
xor ecx, ecx
mov dword [eax + esi*4 + 8], 2
mov dword [eax + edx*4 + 8], ecx
mov eax, dword [esp + 0x2b0]
mov ecx, esi
mov edx, 0xfb
call sym._send_negotiation
jmp 0x42a4d8
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x408]
test eax, eax
je 0x42aa4b
cmp eax, 1
jne 0x42a4d8
mov eax, dword [esp + 0x68]
xor edx, edx
mov dword [eax + 8], 3
mov dword [eax + 0x1008], edx
jmp 0x42a65b
lea ecx, [esi + 0x400]
mov edx, dword [eax + ecx*4 + 8]
test edx, edx
je 0x42a9ca
cmp edx, 1
jne 0x42a4d8
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, esi
mov edx, 0xfd
call sym._send_negotiation
jmp 0x42a4d8
add esi, 0x400
mov ecx, dword [eax + esi*4 + 8]
test ecx, ecx
je 0x42a9ca
cmp ecx, 1
jne 0x42a4d8
mov edx, dword [esp + 0x68]
xor ecx, ecx
mov dword [eax + edx*4 + 8], ecx
mov dword [eax + esi*4 + 8], ecx
jmp 0x42a4d8
mov edx, dword [esp + 0x64]
mov eax, ebx
jmp 0x42a6f1
mov dword [eax + esi*4 + 8], 0
jmp 0x42a4d8
mov eax, dword [esp + 0x38]
mov dword [esp + 4], 1
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
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 0x42a3f1
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x30], eax
cmp dword [edx + 0x1e0], 0
je 0x429d50
jmp 0x42a0c0
mov edx, dword [esp + 0x68]
mov dword [eax + edx*4 + 8], 0
jmp 0x42a4d8
xor ecx, ecx
mov dword [edi + 0x1eb8], ecx
mov ecx, dword [esp + 0x60]
cmp byte [ecx + 0x4e0], 0
je case.default.0x42a2d8
movzx esi, dl
lea eax, [esi - 0xec]
cmp eax, 0x13
ja 0x42aaea
mov eax, dword [eax*4 + 0x464d00]
mov dword [esp + 8], str.RCVD
mov dword [esp + 4], str._s_IAC__s_n
mov dword [esp + 0xc], eax
mov dword [esp], ecx
call sym._Curl_infof
jmp case.default.0x42a2d8
mov eax, dword [esp + 0x68]
xor esi, esi
mov dword [eax + 8], esi
jmp 0x42a4d8
mov dword [eax + 0xc08], 1
jmp 0x42a4d8
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x1808], 1
mov dword [eax + 8], 1
jne 0x42a4d8
mov eax, dword [esp + 0x2b0]
mov edx, esi
call sym._sendsuboption
jmp 0x42a4d8
mov dword [eax + 0xc08], 1
mov eax, dword [esp + 0x2b0]
mov ecx, esi
mov edx, 0xfd
call sym._send_negotiation
jmp 0x42a4d8
xor edx, edx
mov dword [eax + 0xc08], edx
jmp 0x42a4d8
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], esi
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 [edi + 0x1eb8], eax
mov eax, dword [esp + 0x60]
cmp byte [eax + 0x4e0], 0
je case.default.0x42a2d8
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], esi
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.0x42a2d8
mov dword [eax + 8], 1
mov eax, dword [esp + 0x2b0]
mov ecx, esi
mov edx, 0xfb
call sym._send_negotiation
mov eax, dword [esp + 0x2b0]
mov edx, esi
call sym._sendsuboption
jmp 0x42a4d8
mov eax, dword [esp + 0x2b0]
mov esi, dword [esp + 0x2b0]
mov eax, dword [eax]
mov ebx, dword [eax + 0x12c]
jmp 0x42ab6e
cmp dword [ebx + edi*4 + 0x1408], 1
je 0x42abb9
add edi, 1
cmp edi, 0x28
je 0x42aca8
cmp edi, 1
mov eax, 2
cmove edi, eax
cmp dword [ebx + edi*4 + 0x808], 1
jne 0x42ab58
mov eax, dword [esi]
mov eax, dword [eax + 0x12c]
mov edx, dword [eax + edi*4 + 8]
cmp edx, 2
je 0x42ac19
cmp edx, 3
je 0x42abf8
test edx, edx
jne 0x42ab58
mov dword [eax + edi*4 + 8], 2
mov ecx, edi
mov edx, 0xfb
mov eax, esi
call sym._send_negotiation
jmp 0x42ab58
mov eax, dword [esi]
lea ecx, [edi + 0x300]
mov eax, dword [eax + 0x12c]
mov edx, dword [eax + ecx*4 + 8]
cmp edx, 2
je 0x42ac59
cmp edx, 3
je 0x42ac38
test edx, edx
jne 0x42ab62
mov dword [eax + ecx*4 + 8], 2
mov edx, 0xfd
mov ecx, edi
mov eax, esi
call sym._send_negotiation
jmp 0x42ab62
cmp dword [eax + edi*4 + 0x408], 0
lea edx, [edi + 0x100]
jne 0x42ab58
mov dword [eax + edx*4 + 8], 1
jmp 0x42ab58
cmp dword [eax + edi*4 + 0x408], 1
lea edx, [edi + 0x100]
jne 0x42ab58
xor ecx, ecx
mov dword [eax + edx*4 + 8], ecx
jmp 0x42ab58
cmp dword [eax + edi*4 + 0x1008], 0
lea edx, [edi + 0x400]
jne 0x42ab62
mov dword [eax + edx*4 + 8], 1
jmp 0x42ab62
cmp dword [eax + edi*4 + 0x1008], 1
lea edx, [edi + 0x400]
jne 0x42ab62
xor ebp, ebp
mov dword [eax + edx*4 + 8], ebp
jmp 0x42ab62
mov dword [edx + 8], 1
mov eax, dword [esp + 0x2b0]
mov ecx, esi
mov edx, 0xfb
call sym._send_negotiation
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x1808], 1
jne 0x42a4d8
jmp 0x42aa63
mov eax, dword [esp + 0x40]
mov dword [eax + 4], 1
jmp 0x42a40a