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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
push edi
lea edi, [ebp - 0x78]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4cfaa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], str.octet
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 0x4e4]
test ecx, ecx
je 0x47329f
mov dword [ebp - 0x10], str.netascii
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x70], 7
ja case.0x4732b2.1
mov eax, dword [ebp - 0x70]
jmp dword [eax*4 + 0x47377c]
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 [ebp + 8]
mov eax, dword [ecx + 0x18]
cmp eax, dword [edx + 0x20]
jle 0x4732f1
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0xffffff9e
mov edx, dword [ebp + 8]
mov dword [edx], 3
mov eax, dword [ebp - 0x6c]
jmp 0x47371e
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 0x4f2]
test ecx, ecx
je 0x473369
push 2
mov edx, dword [ebp + 8]
add edx, 0x160
push edx
call fcn.00472c50
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x160]
add ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov edx, dword [eax]
mov dword [edx + 0x148], ecx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x4ba0]
and eax, dword [edx + 0x4ba4]
cmp eax, 0xffffffff
je 0x473367
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0x4ba4]
push edx
mov eax, dword [ecx + 0x4ba0]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00453ee0
add esp, 0xc
jmp 0x47337d
push 1
mov edx, dword [ebp + 8]
add edx, 0x160
push edx
call fcn.00472c50
add esp, 8
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
mov ecx, 1
shl ecx, 0
add ecx, dword [eax + 0x4b7c]
push ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.0045c7b0
add esp, 0x18
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4733bb
mov eax, dword [ebp - 0x6c]
jmp 0x47371e
mov eax, dword [ebp - 0x18]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x154]
sub ecx, eax
sub ecx, 4
cmp esi, ecx
jbe 0x473418
push str.TFTP_file_name_too_long_n
mov edx, dword [ebp - 0x68]
push edx
call fcn.0043e100
add esp, 8
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [0x4c0004]
add esp, 4
cmp esi, esp
call fcn.004a9923
mov eax, 0x47
jmp 0x47371e
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
push str._s_c_s_c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x154]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x160]
add eax, 2
push eax
call fcn.00442260
add esp, 0x1c
mov ecx, dword [ebp - 0x18]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0x10]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea eax, [esi + eax + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x21c]
test edx, edx
jne 0x473601
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 0x4f2]
test ecx, ecx
je 0x4734cc
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x78]
mov edx, dword [eax + 0x4ba0]
and edx, dword [ecx + 0x4ba4]
cmp edx, 0xffffffff
je 0x4734cc
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4ba4]
push ecx
mov edx, dword [eax + 0x4ba0]
push edx
push str._I64d
push 0x40
lea eax, [ebp - 0x60]
push eax
call fcn.00442260
add esp, 0x14
jmp 0x4734dd
push 0x4cc504
lea ecx, [ebp - 0x60]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
push str.tsize
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x160]
add eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00473100
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
add edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00473100
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x158]
push eax
push 0x4cc510
push 0x40
lea ecx, [ebp - 0x60]
push ecx
call fcn.00442260
add esp, 0x10
push str.blksize
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x160]
add eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00473100
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
add edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00473100
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
push 0x4cc51c
push 0x40
lea ecx, [ebp - 0x60]
push ecx
call fcn.00442260
add esp, 0x10
push str.timeout
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x160]
add eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00473100
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x160]
add edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00473100
add esp, 0x10
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x54]
mov esi, esp
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x54]
mov eax, dword [edx + 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
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.004a9923
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
je 0x47367d
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a9923
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0041d3e0
add esp, 8
push eax
push 0x4cc528
mov eax, dword [ebp - 0x68]
push eax
call fcn.0043e100
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x4c0004]
add esp, 4
cmp esi, esp
call fcn.004a9923
jmp 0x47371b
mov edx, dword [ebp - 0x68]
movzx eax, byte [edx + 0x4f2]
test eax, eax
je 0x4736bb
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00473150
add esp, 8
mov dword [ebp - 0x6c], eax
jmp 0x4736ce
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004731d0
add esp, 8
mov dword [ebp - 0x6c], eax
jmp 0x47371b
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00473150
add esp, 8
mov dword [ebp - 0x6c], eax
jmp 0x47371b
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004731d0
add esp, 8
mov dword [ebp - 0x6c], eax
jmp 0x47371b
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x47371b
push str.tftp_send_first:_internal_error
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
push eax
call fcn.0043e100
add esp, 8
mov eax, dword [ebp - 0x6c]
push edx
mov ecx, ebp
push eax
lea edx, [0x47374c]
call fcn.004a98cf
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a93ad
add esp, 0x78
cmp ebp, esp
call fcn.004a9923
mov esp, ebp
pop ebp
ret