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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
mov ebx, dword [eax]
mov eax, dword [esp + 0xc]
push edi
push 3
pop edi
sub eax, edi
je 0x41e1f4
dec eax
dec eax
je 0x41e1a4
dec eax
je 0x41e141
dec eax
je 0x41e0e1
push str.tftp_rx:_internal_error
push 0x437440
jmp 0x41e23f
movzx eax, word [esi + 0x40]
inc dword [esi + 0x18]
push dword [esi + 0x18]
inc eax
and eax, 0xffff
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push ebx
call fcn.0041446d
mov eax, dword [esi + 0x18]
add esp, 0x10
cmp eax, dword [esi + 0x20]
jle 0x41e114
mov dword [esi + 8], 0xffffff9d
jmp 0x41e1ed
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
push 0
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x41e2eb
jmp 0x41e2a4
xor ecx, ecx
mov word [esi + 0x40], cx
mov dword [esi + 0x18], ecx
mov eax, dword [esi + 0x160]
mov byte [eax], cl
mov eax, dword [esi + 0x160]
mov byte [eax + 1], 4
movzx eax, word [esi + 0x40]
mov edx, dword [esi + 0x160]
mov byte [edx + 2], ah
mov edx, dword [esi + 0x160]
mov byte [edx + 3], al
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
push ecx
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jl 0x41e2a4
mov dword [esi], 1
jmp 0x41e2e0
mov eax, dword [esi + 0x160]
xor ecx, ecx
mov byte [eax], cl
mov eax, dword [esi + 0x160]
mov byte [eax + 1], 5
movzx eax, word [esi + 0x40]
mov edx, dword [esi + 0x160]
mov byte [edx + 2], ah
mov edx, dword [esi + 0x160]
mov byte [edx + 3], al
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
push ecx
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esi], edi
jmp 0x41e2eb
mov eax, dword [esi + 0x15c]
xor ecx, ecx
mov ch, byte [eax + 2]
mov edi, 0xffff
mov cl, byte [eax + 3]
mov eax, ecx
movzx ecx, word [esi + 0x40]
inc ecx
and ecx, edi
cmp ecx, eax
je 0x41e250
push eax
push str.Received_unexpected_DATA_packet_block__d_n
push ebx
call fcn.0041446d
add esp, 0xc
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x20]
jle 0x41e2eb
movzx eax, word [esi + 0x40]
inc eax
and eax, edi
push eax
push str.tftp_rx:_giving_up_waiting_for_block__d
push ebx
call fcn.004144d7
add esp, 0xc
push 0x47
pop eax
jmp 0x41e2ed
mov word [esi + 0x40], ax
xor ecx, ecx
mov dword [esi + 0x18], ecx
mov eax, dword [esi + 0x160]
mov byte [eax], cl
mov eax, dword [esi + 0x160]
mov byte [eax + 1], 4
movzx eax, word [esi + 0x40]
mov edx, dword [esi + 0x160]
mov byte [edx + 2], ah
mov edx, dword [esi + 0x160]
mov byte [edx + 3], al
push dword [esi + 0x148]
lea eax, [esi + 0xc8]
push eax
push ecx
push 4
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x41e2c6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [esi + 0x10]
call fcn.0042754d
push eax
push 0x437440
push ebx
call fcn.004144d7
add esp, 0x14
push 0x37
jmp 0x41e24a
mov eax, dword [esi + 0x154]
xor ecx, ecx
add eax, 4
cmp dword [esi + 0x14c], eax
setl cl
lea ecx, [ecx + ecx + 1]
mov dword [esi], ecx
add esi, 0x38
push esi
call dword [sym.imp.MSVCR80.dll__time64]
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret