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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
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.0x43f800.1
mov edx, dword [ebp - 0x10]
jmp dword [edx*4 + 0x43fb94]
mov eax, dword [ebp + 8]
add eax, 0x14c
push eax
call fcn.0043fbf0
add esp, 4
and eax, 0xffff
inc dword [eax]
add byte [ecx + 0x4d8bf845], cl
or byte [ebx], dh
shl byte [esi - 0x75], cl
push ecx
xor byte [ebx - 0x1d7efe3e], al
invalid
inc dword [eax]
add byte [ebx], bh
push ebp
clc
jne 0x43f843
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
jmp 0x43f894
mov ecx, dword [ebp + 8]
xor edx, edx
mov dx, word [ecx + 0x30]
cmp edx, dword [ebp - 8]
jne 0x43f868
mov eax, dword [ebp - 8]
push eax
push str.Received_last_DATA_packet_block__d_again._n
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00424e70
add esp, 0xc
jmp 0x43f894
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx + 0x30]
add eax, 1
and eax, 0xffff
push eax
mov ecx, dword [ebp - 8]
push ecx
push str.Received_unexpected_DATA_packet_block__d__expecting_block__d_n
mov edx, dword [ebp - 0xc]
push edx
call fcn.00424e70
add esp, 0x10
jmp 0x43fb8b
mov eax, dword [ebp + 8]
mov cx, word [ebp - 8]
mov word [eax + 0x30], cx
push 4
mov edx, dword [ebp + 8]
add edx, 0x150
push edx
call fcn.0043f650
add esp, 8
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x150
push edx
call fcn.0043fbb0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x138]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xb8
push edx
push 0
push 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
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 - 4], eax
cmp dword [ebp - 4], 0
jge 0x43f937
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0042c9d0
add esp, 8
push eax
push 0x46c570
mov eax, dword [ebp - 0xc]
push eax
call fcn.00424ef0
add esp, 0xc
mov eax, 0x37
jmp 0x43fb8d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x144]
add edx, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x13c], edx
jge 0x43f959
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
jmp 0x43f962
mov edx, dword [ebp + 8]
mov dword [edx], 1
mov eax, dword [ebp + 8]
add eax, 0x2c
push eax
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
jmp 0x43fb8b
mov ecx, dword [ebp + 8]
mov word [ecx + 0x30], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0
push 4
mov eax, dword [ebp + 8]
add eax, 0x150
push eax
call fcn.0043f650
add esp, 8
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x30]
push edx
mov eax, dword [ebp + 8]
add eax, 0x150
push eax
call fcn.0043fbb0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x138]
push edx
mov eax, dword [ebp + 8]
add eax, 0xb8
push eax
push 0
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x150]
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 - 4], eax
cmp dword [ebp - 4], 0
jge 0x43fa1f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.0042c9d0
add esp, 8
push eax
push 0x46c570
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00424ef0
add esp, 0xc
mov eax, 0x37
jmp 0x43fb8d
mov edx, dword [ebp + 8]
mov dword [edx], 1
mov eax, dword [ebp + 8]
add eax, 0x2c
push eax
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
jmp 0x43fb8b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax + 0x30]
add ecx, 1
and ecx, 0xffff
push ecx
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
mov edx, dword [ebp - 0xc]
push edx
call fcn.00424e70
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 0x20]
jle 0x43fa9a
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0xffffff9d
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
jmp 0x43fb04
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xb8
push ecx
push 0
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x150]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x43fb04
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.0042c9d0
add esp, 8
push eax
push 0x46c570
mov edx, dword [ebp - 0xc]
push edx
call fcn.00424ef0
add esp, 0xc
mov eax, 0x37
jmp 0x43fb8d
jmp 0x43fb8b
push 5
mov eax, dword [ebp + 8]
add eax, 0x150
push eax
call fcn.0043f650
add esp, 8
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x30]
push edx
mov eax, dword [ebp + 8]
add eax, 0x150
push eax
call fcn.0043fbb0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x138]
push edx
mov eax, dword [ebp + 8]
add eax, 0xb8
push eax
push 0
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x150]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov edx, dword [ebp + 8]
mov dword [edx], 3
jmp 0x43fb8b
push str.tftp_rx:_internal_error
push 0x46c570
mov eax, dword [ebp - 0xc]
push eax
call fcn.00424ef0
add esp, 0xc
mov eax, 0x47
jmp 0x43fb8d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret