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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
push edi
lea edi, [ebp - 0x9c]
mov ecx, 0x27
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4c83a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
sub ecx, 3
mov dword [ebp - 0x9c], ecx
cmp dword [ebp - 0x9c], 4
ja case.0x46724d.1
mov edx, dword [ebp - 0x9c]
jmp dword [edx*4 + 0x46766c]
mov eax, dword [ebp + 8]
add eax, 0x15c
push eax
call fcn.004689c0
add esp, 4
movzx ecx, ax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x40]
add eax, 1
and eax, 0xffff
cmp eax, dword [ebp - 0xc]
jne 0x46728b
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0
jmp 0x4672d9
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x40]
cmp eax, dword [ebp - 0xc]
jne 0x4672ae
mov ecx, dword [ebp - 0xc]
push ecx
push str.Received_last_DATA_packet_block__d_again._n
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042aa70
add esp, 0xc
jmp 0x4672d9
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x40]
add ecx, 1
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0xc]
push edx
push str.Received_unexpected_DATA_packet_block__d__expecting_block__d_n
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042aa70
add esp, 0x10
jmp 0x467620
mov ecx, dword [ebp + 8]
mov dx, word [ebp - 0xc]
mov word [ecx + 0x40], dx
push 4
mov eax, dword [ebp + 8]
add eax, 0x160
push eax
call fcn.00468910
add esp, 8
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x40]
push edx
mov eax, dword [ebp + 8]
add eax, 0x160
push eax
call fcn.00468950
add esp, 8
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x148]
push edx
mov eax, dword [ebp + 8]
add eax, 0xc8
push eax
push 0
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x467390
push 0x80
lea edx, [ebp - 0x94]
push edx
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00485c0f
push eax
call fcn.00471b20
add esp, 0xc
push eax
push 0x4c39f8
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042abc0
add esp, 0xc
mov eax, 0x37
jmp 0x467622
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x154]
add edx, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14c], edx
jge 0x4673b2
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
jmp 0x4673bb
mov edx, dword [ebp + 8]
mov dword [edx], 1
mov eax, dword [ebp + 8]
add eax, 0x38
push eax
call fcn.004671d0
add esp, 4
jmp 0x467620
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + 0x40], cx
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
push 4
mov ecx, dword [ebp + 8]
add ecx, 0x160
push ecx
call fcn.00468910
add esp, 8
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x40]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x160
push ecx
call fcn.00468950
add esp, 8
mov esi, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x148]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc8
push ecx
push 0
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x160]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x467491
push 0x80
lea eax, [ebp - 0x94]
push eax
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00485c0f
push eax
call fcn.00471b20
add esp, 0xc
push eax
push 0x4c39fc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042abc0
add esp, 0xc
mov eax, 0x37
jmp 0x467622
mov edx, dword [ebp + 8]
mov dword [edx], 1
mov eax, dword [ebp + 8]
add eax, 0x38
push eax
call fcn.004671d0
add esp, 4
jmp 0x467620
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]
movzx ecx, word [eax + 0x40]
add ecx, 1
and ecx, 0xffff
push ecx
push 0x4c3a00
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042aa70
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 0x20]
jle 0x46750c
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0xffffff9d
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
jmp 0x46758d
mov esi, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x148]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc8
push ecx
push 0
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x160]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x46758d
push 0x80
lea eax, [ebp - 0x94]
push eax
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.00485c0f
push eax
call fcn.00471b20
add esp, 0xc
push eax
push 0x4c3a34
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042abc0
add esp, 0xc
mov eax, 0x37
jmp 0x467622
jmp 0x467620
push 5
mov edx, dword [ebp + 8]
add edx, 0x160
push edx
call fcn.00468910
add esp, 8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x40]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x160
push edx
call fcn.00468950
add esp, 8
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x148]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xc8
push edx
push 0
push 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x160]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp esi, esp
call fcn.00485c0f
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
jmp 0x467620
push str.tftp_rx:_internal_error
push 0x4c3a50
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042abc0
add esp, 0xc
mov eax, 0x47
jmp 0x467622
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x467650]
call fcn.00485bbb
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004854a8
add esp, 0x9c
cmp ebp, esp
call fcn.00485c0f
mov esp, ebp
pop ebp
ret