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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 3
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 4
ja case.0x45694d.1
mov edx, dword [ebp - 0x10]
jmp dword [edx*4 + 0x456cd4]
mov eax, dword [ebp + 8]
add eax, 0x15c
push eax
call fcn.00456d20
add esp, 4
movzx ecx, ax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x40]
add eax, 1
and eax, 0xffff
cmp eax, dword [ebp - 4]
jne 0x45698b
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0
jmp 0x4569d9
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x40]
cmp eax, dword [ebp - 4]
jne 0x4569ae
mov ecx, dword [ebp - 4]
push ecx
push str.Received_last_DATA_packet_block__d_again._n
mov edx, dword [ebp - 0xc]
push edx
call fcn.00444030
add esp, 0xc
jmp 0x4569d9
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x40]
add ecx, 1
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 4]
push edx
push str.Received_unexpected_DATA_packet_block__d__expecting_block__d_n
mov eax, dword [ebp - 0xc]
push eax
call fcn.00444030
add esp, 0x10
jmp 0x456ccd
mov ecx, dword [ebp + 8]
mov dx, word [ebp - 4]
mov word [ecx + 0x40], dx
push 4
mov eax, dword [ebp + 8]
add eax, 0x160
push eax
call fcn.004567e0
add esp, 8
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x40]
push edx
mov eax, dword [ebp + 8]
add eax, 0x160
push eax
call fcn.00456cf0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x148]
push edx
mov eax, dword [ebp + 8]
add eax, 0xc8
push eax
push 0
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x456a79
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.00435db0
add esp, 8
push eax
push 0x5ca2dc
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004440d0
add esp, 0xc
mov eax, 0x37
jmp 0x456ccf
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x154]
add eax, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14c], eax
jge 0x456a9b
mov edx, dword [ebp + 8]
mov dword [edx], 3
jmp 0x456aa4
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov ecx, dword [ebp + 8]
add ecx, 0x38
push ecx
call fcn.0057b58d
add esp, 4
jmp 0x456ccd
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + 0x40], dx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0
push 4
mov edx, dword [ebp + 8]
add edx, 0x160
push edx
call fcn.004567e0
add esp, 8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x40]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x160
push edx
call fcn.00456cf0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x148]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xc8
push edx
push 0
push 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x160]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x456b63
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.00435db0
add esp, 8
push eax
push 0x5ca2dc
mov eax, dword [ebp - 0xc]
push eax
call fcn.004440d0
add esp, 0xc
mov eax, 0x37
jmp 0x456ccf
mov ecx, dword [ebp + 8]
mov dword [ecx], 1
mov edx, dword [ebp + 8]
add edx, 0x38
push edx
call fcn.0057b58d
add esp, 4
jmp 0x456ccd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x40]
add eax, 1
and eax, 0xffff
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00444030
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [eax + 0x20]
jle 0x456bda
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0xffffff9d
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x456c43
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x148]
push edx
mov eax, dword [ebp + 8]
add eax, 0xc8
push eax
push 0
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x456c43
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.00435db0
add esp, 8
push eax
push 0x5ca2dc
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004440d0
add esp, 0xc
mov eax, 0x37
jmp 0x456ccf
jmp 0x456ccd
push 5
mov edx, dword [ebp + 8]
add edx, 0x160
push edx
call fcn.004567e0
add esp, 8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x40]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x160
push edx
call fcn.00456cf0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x148]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xc8
push edx
push 0
push 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x160]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
jmp 0x456ccd
push str.tftp_rx:_internal_error
push 0x5ca2dc
mov edx, dword [ebp - 0xc]
push edx
call fcn.004440d0
add esp, 0xc
mov eax, 0x47
jmp 0x456ccf
xor eax, eax
mov esp, ebp
pop ebp
ret