Function at 0x42e64b
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4a0590]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
mov ebx, dword [eax]
xor esi, esi
mov dword [ebp - 0x50], str.octet
mov dword [ebp - 0x54], esi
cmp dword [ebx + 0x2e4], esi
je 0x42e680
mov dword [ebp - 0x50], str.netascii
mov eax, dword [ebp + 8]
sub eax, esi
push 3
pop ecx
je 0x42e6d5
sub eax, ecx
je 0x42e6cd
dec eax
je 0x42e6c9
dec eax
je 0x42e6c2
dec eax
je 0x42e6ab
dec eax
je 0x42e6d5
push str.tftp_send_first:_internal_error
mov esi, ebx
call fcn.00429149
jmp 0x42e97c
push 6
cmp dword [ebx + 0x31c], esi
je 0x42e6ce
call fcn.0042e5db
mov dword [ebp - 0x54], eax
jmp 0x42e97c
mov dword [edi], ecx
jmp 0x42e97d
push 4
jmp 0x42e6b5
push ecx
call fcn.0042e613
jmp 0x42e6ba
inc dword [edi + 0x18]
mov eax, dword [edi + 0x18]
cmp eax, dword [edi + 0x20]
jle 0x42e6f0
mov dword [edi + 8], 0xffffff9e
mov dword [edi], ecx
xor eax, eax
jmp 0x42e980
mov eax, dword [edi + 0x160]
cmp dword [ebx + 0x31c], esi
mov byte [eax], 0
mov eax, dword [edi + 0x160]
je 0x42e741
mov byte [eax + 1], 2
mov eax, dword [edi + 0x160]
mov ecx, dword [edi + 0x10]
mov ecx, dword [ecx]
add eax, 4
mov dword [ecx + 0x114], eax
mov eax, dword [ebx + 0x1f8]
mov ecx, dword [ebx + 0x1fc]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x42e745
push ecx
push eax
mov eax, ebx
call fcn.0042764c
pop ecx
pop ecx
jmp 0x42e745
mov byte [eax + 1], 1
mov eax, dword [edi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x86a0]
push esi
push esi
inc eax
push eax
push ebx
call sym.stella.exe_curl_easy_unescape
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x58], esi
test esi, esi
jne 0x42e76e
push 0x1b
pop eax
jmp 0x42e980
mov eax, dword [edi + 0x160]
push 0
push dword [ebp - 0x50]
inc eax
push 0
push esi
push str._s_c_s_c
push dword [edi + 0x154]
inc eax
push eax
call sym.stella.exe_curl_msnprintf
mov eax, esi
add esp, 0x1c
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e797
sub eax, esi
mov esi, eax
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42e7a8
sub eax, ecx
cmp dword [ebx + 0x31c], 0
lea esi, [eax + esi + 4]
je 0x42e7ea
mov eax, dword [ebx + 0x1f8]
mov ecx, dword [ebx + 0x1fc]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x42e7ea
push ecx
push eax
push str._I64d
lea eax, [ebp - 0x4c]
push 0x40
push eax
call sym.stella.exe_curl_msnprintf
add esp, 0x14
jmp 0x42e7f1
push 0x30
pop eax
mov word [ebp - 0x4c], ax
mov edx, dword [edi + 0x160]
lea eax, [esi + 6]
add edx, esi
cmp eax, dword [edi + 0x154]
jbe 0x42e808
xor eax, eax
jmp 0x42e813
push str.tsize
call fcn.0042e5b9
pop ecx
mov edx, dword [edi + 0x160]
add esi, eax
lea eax, [ebp - 0x4c]
lea ecx, [eax + 1]
add edx, esi
mov dword [ebp - 0x50], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e826
sub eax, dword [ebp - 0x50]
lea eax, [eax + esi + 1]
cmp eax, dword [edi + 0x154]
jbe 0x42e840
xor eax, eax
jmp 0x42e84a
lea eax, [ebp - 0x4c]
push eax
call fcn.0042e5b9
pop ecx
push dword [edi + 0x158]
add esi, eax
push 0x47e834
lea eax, [ebp - 0x4c]
push 0x40
push eax
call sym.stella.exe_curl_msnprintf
mov edx, dword [edi + 0x160]
lea eax, [esi + 8]
add esp, 0x10
add edx, esi
cmp eax, dword [edi + 0x154]
jbe 0x42e87c
xor eax, eax
jmp 0x42e887
push str.blksize
call fcn.0042e5b9
pop ecx
mov edx, dword [edi + 0x160]
add esi, eax
lea eax, [ebp - 0x4c]
lea ecx, [eax + 1]
add edx, esi
mov dword [ebp - 0x50], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e89a
sub eax, dword [ebp - 0x50]
lea eax, [eax + esi + 1]
cmp eax, dword [edi + 0x154]
jbe 0x42e8b4
xor eax, eax
jmp 0x42e8be
lea eax, [ebp - 0x4c]
push eax
call fcn.0042e5b9
pop ecx
push dword [edi + 0x1c]
add esi, eax
push 0x47e834
lea eax, [ebp - 0x4c]
push 0x40
push eax
call sym.stella.exe_curl_msnprintf
mov edx, dword [edi + 0x160]
lea eax, [esi + 8]
add esp, 0x10
add edx, esi
cmp eax, dword [edi + 0x154]
jbe 0x42e8ed
xor eax, eax
jmp 0x42e8f8
push str.timeout
call fcn.0042e5b9
pop ecx
mov edx, dword [edi + 0x160]
add esi, eax
lea eax, [ebp - 0x4c]
lea ecx, [eax + 1]
add edx, esi
mov dword [ebp - 0x50], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e90b
sub eax, dword [ebp - 0x50]
lea eax, [eax + esi + 1]
cmp eax, dword [edi + 0x154]
jbe 0x42e925
xor eax, eax
jmp 0x42e92f
lea eax, [ebp - 0x4c]
push eax
call fcn.0042e5b9
pop ecx
add esi, eax
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x4c]
push dword [eax + 0x10]
push dword [eax + 0x18]
push 0
push esi
push dword [edi + 0x160]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, esi
je 0x42e973
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push dword [edi + 0x10]
mov edi, eax
call fcn.0042cb77
pop ecx
push eax
push 0x47e874
mov esi, ebx
call fcn.00429149
pop ecx
pop ecx
push dword [ebp - 0x58]
call dword [0x4a1840]
pop ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453655
leave
ret