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

Disassembly:
mov eax, dword [esi + 0xc]
push ebx
push edi
mov edi, dword [eax]
mov eax, dword [esp + 0xc]
add eax, 0xfffffffc
xor ebx, ebx
cmp eax, 3
ja case.default.0x450db9
jmp dword [eax*4 + 0x450fe4]
lea eax, [esi + 0x154]
call fcn.00450890
movzx ecx, word [esi + 0x38]
movzx eax, ax
cmp eax, ecx
je case.0x450db9.6
push ecx
push eax
push str.Received_ACK_for_block__d__expecting__d_n
push edi
call fcn.00443fc0
add dword [esi + 0x14], 1
mov eax, dword [esi + 0x14]
cdq
add esp, 0x10
cmp edx, dword [esi + 0x24]
jl 0x450e1b
jg 0x450dfe
cmp eax, dword [esi + 0x20]
jbe 0x450e1b
movzx ecx, word [esi + 0x38]
push ecx
push str.tftp_tx:_giving_up_waiting_for_block__d_ack
push edi
call fcn.00444050
add esp, 0xc
mov ebx, 0x37
pop edi
mov eax, ebx
pop ebx
ret
mov edx, dword [esi + 0x140]
mov ecx, dword [esi + 0x148]
push edx
lea eax, [esi + 0xc0]
push eax
mov eax, dword [esi + 0x10]
push 0
add ecx, 4
push ecx
lea edx, [esi + 0x158]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x450e6e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.004625a0
push eax
push 0x4af374
push edi
call fcn.00444050
add esp, 0x14
mov ebx, 0x37
pop edi
mov eax, ebx
pop ebx
ret
add word [esi + 0x38], 1
mov dword [esi + 0x14], ebx
lea ebx, [esi + 0x158]
mov eax, 3
mov ecx, ebx
call fcn.00450860
mov ax, word [esi + 0x38]
mov ecx, ebx
call fcn.00450870
cmp word [esi + 0x38], 1
jbe 0x450eb1
mov edx, dword [esi + 0x148]
cmp edx, dword [esi + 0x14c]
jb case.0x450db9.5
mov ecx, dword [esi + 0x14c]
mov edx, dword [esi + 0xc]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
call fcn.0043faf0
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
mov dword [esi + 0x148], ecx
jne 0x450fe0
mov eax, dword [esi + 0x140]
push eax
mov eax, dword [ebx]
lea edx, [esi + 0xc0]
push edx
push 0
add ecx, 4
push ecx
mov ecx, dword [esi + 0x10]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x450f27
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [esi + 0xc]
push eax
push edx
call fcn.004625a0
push eax
push 0x4af374
push edi
call fcn.00444050
add esp, 0x14
pop edi
mov eax, 0x37
pop ebx
ret
mov eax, dword [esi + 0x148]
add dword [edi + 0x40], eax
mov edx, dword [edi + 0x40]
adc dword [edi + 0x44], 0
mov ecx, dword [edi + 0x44]
push ecx
push edx
push edi
call fcn.0045f5d0
add esp, 0xc
pop edi
xor eax, eax
pop ebx
ret
add dword [esi + 0x14], 1
mov eax, dword [esi + 0x14]
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push edi
call fcn.00443fc0
mov eax, dword [esi + 0x14]
cdq
add esp, 0xc
cmp edx, dword [esi + 0x24]
jl 0x450f82
jg 0x450f70
cmp eax, dword [esi + 0x20]
jbe 0x450f82
mov dword [esi + 8], 0xffffff9d
pop edi
mov dword [esi], 3
xor eax, eax
pop ebx
ret
mov eax, dword [esi + 0x140]
mov edx, dword [esi + 0x148]
push eax
mov eax, dword [esi + 0x158]
lea ecx, [esi + 0xc0]
push ecx
mov ecx, dword [esi + 0x10]
push 0
add edx, 4
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jl 0x450f00
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
push eax
push ecx
push edi
call fcn.0045f5d0
add esp, 0xc
pop edi
xor eax, eax
pop ebx
ret
push str.tftp_tx:_internal_error
push 0x4af374
push edi
call fcn.00444050
add esp, 0xc
xor eax, eax
pop edi
pop ebx
ret