Function at 0x1000f761
Capabilities:
Create udp socket
Send data
Send data on socket

Disassembly:
sub esp, 0x20
mov eax, dword [0x1001f048]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [esp + 0x10], ecx
lea edi, [esp + 0x14]
mov esi, edx
stosd dword es:[edi], eax
push 2
pop ebx
push 0
stosd dword es:[edi], eax
push ebx
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov word [esp + 0x20], bx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x10030048], eax
cmp eax, 0xffffffff
je 0x1000f9bd
push 0x10
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1000f9bd
movzx eax, byte [0x10027d20]
push eax
call dword [sym.imp.WS2_32.dll_htons]
cmp byte [0x10027e21], 0
mov word [0x10028021], ax
mov eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [0x10030040], eax
je 0x1000f7ea
mov esi, 0x10027e21
jmp 0x1000f812
test esi, esi
jne 0x1000f80d
mov edi, 0x10027d21
push edi
call ebx
lea esi, [edi + eax]
jmp 0x1000f801
cmp byte [esi], 0x5c
je 0x1000f805
dec esi
cmp esi, edi
jae 0x1000f7fb
mov eax, dword [0x10030040]
inc esi
jmp 0x1000f812
mov esi, 0x10027d21
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [eax + 0x10028021]
push esi
push eax
call edi
push esi
call ebx
mov ecx, dword [0x10030040]
inc ecx
add eax, ecx
mov dword [0x10030040], eax
push str.octet
lea eax, [eax + 0x10028021]
push eax
call edi
mov esi, dword [esp + 0x10]
add dword [0x10030040], 6
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCR120.dll_isdigit]
test eax, eax
mov eax, dword [0x10030040]
pop ecx
je 0x1000f896
push str.blksize
lea eax, [eax + 0x10028021]
push eax
call edi
mov eax, dword [0x10030040]
add eax, 8
mov dword [0x10030040], eax
push esi
lea eax, [eax + 0x10028021]
push eax
call edi
push esi
call ebx
mov ecx, dword [0x10030040]
inc ecx
add eax, ecx
mov dword [0x10030040], eax
cmp dword [0x1003516c], 0
je 0x1000f8d5
push str.udpport
lea eax, [eax + 0x10028021]
push eax
call edi
mov eax, dword [0x10030040]
add eax, 8
mov dword [0x10030040], eax
push 0x1001b6e0
lea eax, [eax + 0x10028021]
push eax
call edi
mov eax, dword [0x10030040]
add eax, 2
mov dword [0x10030040], eax
push str.tsize
lea eax, [eax + 0x10028021]
push eax
call edi
mov eax, dword [0x10030040]
push dword [0x10030070]
add eax, 6
mov dword [0x10030040], eax
push 0x1001a4a8
lea eax, [eax + 0x10028021]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x10030040]
add esp, 0xc
inc ecx
add eax, ecx
mov ecx, 0x10027f21
mov dword [0x10030040], eax
call fcn.1000f43f
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x1000f93c
push str.Host_is_unknown_or_invalid
call fcn.1000f573
pop ecx
jmp 0x1000f9d7
cmp dword [0x1003003c], 0
movzx eax, word [0x1003003c]
push 0x45
pop ecx
cmove eax, ecx
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [esp + 0x1a], ax
lea eax, [esp + 0x18]
push eax
push 0
push dword [0x10030040]
push 0x10028021
push dword [0x10030048]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x1000f9b8
call fcn.10013b71
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call edi
push eax
call edi
mov esi, eax
call edi
cmp esi, eax
mov edx, 0x10019979
mov ecx, str.Tftp_server_may_have_been_stopped
cmovne ecx, edx
push ecx
push str.can_not_send_data_packet._n_s_nError_code__d___s_
call fcn.1000f573
add esp, 0x10
jmp 0x1000f9d7
xor eax, eax
inc eax
jmp 0x1000f9d7
call fcn.10013b71
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Cant_create_client_socket._nError_code__d___s_
call fcn.1000f573
add esp, 0xc
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10015a21
add esp, 0x20
ret