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

Disassembly:
sub esp, 0x104
mov eax, dword [0x4a00c0]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x10c]
push ebx
push esi
mov esi, dword [esp + 0x110]
add eax, 0xfffffffd
push edi
mov edi, dword [esi + 0x10]
cmp eax, 4
ja case.0x449ec4.4
jmp dword [eax*4 + 0x44a1c8]
mov eax, dword [esi + 0x158]
movzx ecx, word [esi + 0x154]
movzx ebx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ebx, 8
or ebx, eax
lea eax, [ecx + 1]
movzx eax, ax
cmp eax, ebx
jne 0x449ef8
mov dword [esi + 0x18], 0
jmp 0x449f0f
cmp ecx, ebx
jne 0x449fb2
push ebx
push str.Received_last_DATA_packet_block__d_again._n
push edi
call fcn.00423f60
add esp, 0xc
mov word [esi + 0x154], bx
mov eax, dword [esi + 0x15c]
mov byte [eax], 0
mov eax, dword [esi + 0x15c]
mov byte [eax + 1], 4
movzx edx, word [esi + 0x154]
mov eax, dword [esi + 0x15c]
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov eax, dword [esi + 0x15c]
mov byte [eax + 3], dl
lea eax, [esi + 0xc0]
push dword [esi + 0x140]
push eax
push 0
push 4
push dword [esi + 0x15c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x44a0e4
mov eax, dword [esi + 0x14c]
xor ecx, ecx
add eax, 4
cmp dword [esi + 0x144], eax
lea eax, [esi + 0x38]
push eax
setl cl
lea ecx, [ecx*2 + 1]
mov dword [esi], ecx
call fcn.0046d009
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0045da40
add esp, 0x104
ret
push eax
push ebx
push str.Received_unexpected_DATA_packet_block__d__expecting_block__d_n
push edi
call fcn.00423f60
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0045da40
add esp, 0x104
ret
xor eax, eax
mov word [esi + 0x154], ax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x15c]
mov byte [eax], 0
mov eax, dword [esi + 0x15c]
mov byte [eax + 1], 4
movzx edx, word [esi + 0x154]
mov eax, dword [esi + 0x15c]
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov eax, dword [esi + 0x15c]
mov byte [eax + 3], dl
lea eax, [esi + 0xc0]
push dword [esi + 0x140]
push eax
push 0
push 4
push dword [esi + 0x15c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x44a0e4
lea eax, [esi + 0x38]
mov dword [esi], 1
push eax
call fcn.0046d009
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0045da40
add esp, 0x104
ret
movzx eax, word [esi + 0x154]
inc dword [esi + 0x18]
inc eax
push dword [esi + 0x18]
movzx eax, ax
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push edi
call fcn.00423f60
mov eax, dword [esi + 0x18]
add esp, 0x10
cmp eax, dword [esi + 0x20]
jle 0x44a0bc
pop edi
mov dword [esi + 8], 0xffffff9d
xor eax, eax
mov dword [esi], 3
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0045da40
add esp, 0x104
ret
push dword [esi + 0x140]
lea eax, [esi + 0xc0]
push eax
push 0
push 4
push dword [esi + 0x15c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x44a17d
push 0x100
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004112d0
push eax
push 0x48e22c
push edi
call fcn.00423ea0
add esp, 0x18
mov eax, 0x37
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0045da40
add esp, 0x104
ret
mov eax, dword [esi + 0x15c]
mov byte [eax], 0
mov eax, dword [esi + 0x15c]
mov byte [eax + 1], 5
movzx edx, word [esi + 0x154]
mov eax, dword [esi + 0x15c]
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov eax, dword [esi + 0x15c]
mov byte [eax + 3], dl
lea eax, [esi + 0xc0]
push dword [esi + 0x140]
push eax
push 0
push 4
push dword [esi + 0x15c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esi], 3
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0045da40
add esp, 0x104
ret
push str.tftp_rx:_internal_error
push 0x48e22c
push edi
call fcn.00423ea0
mov ecx, dword [esp + 0x118]
add esp, 0xc
mov eax, 0x47
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045da40
add esp, 0x104
ret