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

Disassembly:
sub esp, 0x104
mov ecx, dword [esp + 0x10c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x114]
push edi
xor edi, edi
mov eax, dword [esi + 0x10]
mov ebp, dword [eax]
lea eax, [ecx - 4]
cmp eax, 3
ja case.default.0x424abb
jmp dword [eax*4 + 0x424e78]
cmp ecx, 4
jne 0x424bc5
lea ecx, [esi + 0x14c]
push ecx
call fcn.00424a70
mov dx, word [esi + 0x30]
and eax, 0xffff
mov ecx, edx
add esp, 4
and ecx, 0xffff
cmp eax, ecx
je 0x424bb3
cmp dx, di
jne 0x424b03
cmp eax, 0xffff
je 0x424bb3
push ecx
push eax
push str.Received_ACK_for_block__d__expecting__d_n
push ebp
call fcn.0040e110
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
add esp, 0x10
inc edx
mov eax, edx
mov dword [esi + 0x18], edx
cmp eax, ecx
jle 0x424b4a
xor edx, edx
mov dx, word [esi + 0x30]
push edx
push str.tftp_tx:_giving_up_waiting_for_block__d_ack
push ebp
call fcn.0040e1d0
add esp, 0xc
mov edi, 0x37
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov eax, dword [esi + 0x138]
mov edx, dword [esi + 0x140]
lea ecx, [esi + 0xb8]
push eax
mov eax, dword [esi + 0x150]
push ecx
mov ecx, dword [esi + 0x14]
add edx, 4
push edi
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x424e68
lea edx, [esp + 0x14]
push 0x100
push edx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.0043a720
push eax
push 0xa07d28
push ebp
call fcn.0040e1d0
add esp, 0x18
mov edi, 0x37
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea eax, [esi + 0x2c]
push eax
call fcn.009c973b
add esp, 4
inc word [esi + 0x30]
jmp 0x424bcb
mov word [esi + 0x30], 1
lea ebx, [esi + 0x150]
push 3
push ebx
mov dword [esi + 0x18], edi
call fcn.00424680
mov cx, word [esi + 0x30]
push ecx
push ebx
call fcn.00424a50
add esp, 0x10
cmp word [esi + 0x30], 1
jbe 0x424c14
mov edx, dword [esi + 0x140]
mov eax, dword [esi + 0x144]
cmp edx, eax
jge 0x424c14
mov dword [esi], 3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
mov ecx, dword [esi + 0x10]
mov eax, dword [ebx]
mov dword [esi + 0x140], 0
add eax, 4
mov edx, dword [ecx]
mov dword [edx + 0x124], eax
mov ecx, dword [esi + 0x144]
mov edx, dword [esi + 0x140]
lea eax, [esp + 0x10]
sub ecx, edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
call fcn.004350f0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x424e68
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x140]
add eax, ecx
mov dword [esi + 0x140], eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov edx, dword [eax + 0x124]
add edx, ecx
mov dword [eax + 0x124], edx
mov ecx, dword [esi + 0x140]
mov eax, dword [esi + 0x144]
cmp ecx, eax
jge 0x424cba
mov edx, dword [esp + 0x10]
test edx, edx
je 0x424cba
lea edx, [esp + 0x10]
sub eax, ecx
push edx
push eax
mov eax, dword [esi + 0x10]
push eax
call fcn.004350f0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x424c58
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov ecx, dword [esi + 0x138]
mov eax, dword [esi + 0x140]
lea edx, [esi + 0xb8]
push ecx
mov ecx, dword [ebx]
push edx
mov edx, dword [esi + 0x14]
add eax, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x424cf4
lea eax, [esp + 0x14]
push 0x100
push eax
jmp 0x424db6
mov eax, dword [esi + 0x140]
mov ecx, dword [ebp + 0xa0]
cdq
add ecx, eax
mov dword [ebp + 0xa0], ecx
mov eax, dword [ebp + 0xa4]
adc eax, edx
mov dword [ebp + 0xa4], eax
mov edx, dword [ebp + 0xa0]
mov ecx, eax
push ecx
push edx
push ebp
call fcn.0041b780
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov edx, dword [esi + 0x18]
inc edx
mov eax, edx
mov dword [esi + 0x18], edx
push eax
mov ax, word [esi + 0x30]
inc eax
and eax, 0xffff
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push ebp
call fcn.0040e110
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
add esp, 0x10
cmp ecx, eax
jle 0x424d7e
mov eax, edi
mov dword [esi + 8], 0xffffff9d
mov dword [esi], 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov edx, dword [esi + 0x138]
mov ecx, dword [esi + 0x140]
lea eax, [esi + 0xb8]
push edx
mov edx, dword [esi + 0x150]
push eax
mov eax, dword [esi + 0x14]
add ecx, 4
push edi
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x424de1
lea ecx, [esp + 0x14]
push 0x100
push ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.0043a720
push eax
push 0xa07d28
push ebp
call fcn.0040e1d0
add esp, 0x18
mov eax, 0x37
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov edx, dword [ebp + 0xa4]
mov eax, dword [ebp + 0xa0]
push edx
push eax
push ebp
call fcn.0041b780
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea ebx, [esi + 0x150]
push 5
push ebx
mov dword [esi], 3
call fcn.00424680
mov cx, word [esi + 0x30]
push ecx
push ebx
call fcn.00424a50
mov edx, dword [esi + 0x138]
mov ecx, dword [ebx]
add esp, 0x10
lea eax, [esi + 0xb8]
push edx
mov edx, dword [esi + 0x14]
push eax
push 0
push 4
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov eax, edi
mov dword [esi], 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push ecx
push str.tftp_tx:_internal_error__event:__i
push ebp
call fcn.0040e1d0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret