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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0xc], str.octet
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x374], 0
je 0x460a58
mov dword [ebp - 0xc], str.netascii
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 7
ja case.0x460a6b.1
mov edx, dword [ebp - 0x5c]
jmp dword [edx*4 + 0x460e60]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 0x20]
jle 0x460aaa
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0xffffff9e
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
mov eax, dword [ebp - 0x58]
jmp 0x460e59
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x3ac], 0
je 0x460b1e
push 2
mov eax, dword [ebp + 8]
add eax, 0x150
push eax
call fcn.00460e80
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x150]
add edx, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [eax + 0x110], edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x4880
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov ecx, dword [edx]
and ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x460b1c
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x4884]
push eax
mov ecx, dword [edx + 0x4880]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call fcn.00454370
add esp, 0xc
jmp 0x460b31
push 1
mov eax, dword [ebp + 8]
add eax, 0x150
push eax
call fcn.00460e80
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4850]
add edx, 1
push edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.0047b0b0
add esp, 0x18
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x460b6a
mov eax, dword [ebp - 0x58]
jmp 0x460e59
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push str._s_c_s_c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x144]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x150]
add eax, 2
push eax
call fcn.00450fe0
add esp, 0x1c
mov ecx, dword [ebp - 0x10]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
lea eax, [esi + eax + 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x1ec], 0
jne 0x460d59
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x3ac], 0
je 0x460c18
mov eax, dword [ebp - 0x54]
add eax, 0x4880
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x64]
mov eax, dword [ecx]
and eax, dword [edx + 4]
cmp eax, 0xffffffff
je 0x460c18
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x4884]
push edx
mov eax, dword [ecx + 0x4880]
push eax
push str._I64d
push 0x40
lea ecx, [ebp - 0x50]
push ecx
call fcn.00450fe0
add esp, 0x14
jmp 0x460c29
push 0x49962c
lea edx, [ebp - 0x50]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
push str.tsize
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00460ec0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00460ec0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x148]
push eax
push 0x4943ac
push 0x40
lea ecx, [ebp - 0x50]
push ecx
call fcn.00450fe0
add esp, 0x10
push str.blksize
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x150]
add eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00460ec0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00460ec0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
push 0x4943ac
push 0x40
lea ecx, [ebp - 0x50]
push ecx
call fcn.00450fe0
add esp, 0x10
push str.timeout
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x150]
add eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00460ec0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x150]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00460ec0
add esp, 0x10
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x4c]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x4c]
mov eax, dword [edx + 0x18]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x150]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
je 0x460dc3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0044e1d0
add esp, 8
push eax
push 0x495278
mov eax, dword [ebp - 0x54]
push eax
call fcn.004466f0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x4ab90c]
add esp, 4
jmp 0x460e56
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x3ac], 0
je 0x460df6
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00460f20
add esp, 8
mov dword [ebp - 0x58], eax
jmp 0x460e09
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00460f90
add esp, 8
mov dword [ebp - 0x58], eax
jmp 0x460e56
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00460f20
add esp, 8
mov dword [ebp - 0x58], eax
jmp 0x460e56
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00460f90
add esp, 8
mov dword [ebp - 0x58], eax
jmp 0x460e56
mov edx, dword [ebp + 8]
mov dword [edx], 3
jmp 0x460e56
push str.tftp_send_first:_internal_error
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
push edx
call fcn.004466f0
add esp, 8
mov eax, dword [ebp - 0x58]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret