Function at 0x14010f1b0
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x30
call fcn.140113f90
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
mov qword [rax], rcx
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
mov r8d, reloc.WS2_32.dll_recvfrom
mov edx, 2
mov ecx, eax
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x14010f27b
mov rcx, qword [rsp + 0x60]
call fcn.14027a7c0
xor eax, eax
jmp 0x14010f4b1
cmp dword [rsp + 0xa8], 1
jne 0x14010f2db
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov r8d, 4
mov edx, 0xffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14010f2db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, 0x7f
lea rdx, str.D:WorkOpenSourceGithubMeshAgentmicrostackILibAsyncUDPSocket.c
xor ecx, ecx
call fcn.140124df0
mov ecx, 0xfd
call fcn.1402742dc
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x14010f341
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x54]
mov r8d, 0x1b
mov edx, 0x29
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14010f341
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, 0x83
lea rdx, [0x1403a9d10]
xor ecx, ecx
call fcn.140124df0
mov ecx, 0xfd
call fcn.1402742dc
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x14010f35c
mov qword [rsp + 0x78], 0x1c
jmp 0x14010f365
mov qword [rsp + 0x78], reloc.WS2_32.dll_recv
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x14010f39d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x60]
call fcn.14027a7c0
xor eax, eax
jmp 0x14010f4b1
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x5c]
mov edx, 0x9800000c
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x14010f412
mov rax, qword [rsp + 0xa0]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rsp + 0x60]
mov word [rcx + 0x18], ax
jmp 0x14010f42d
mov rax, qword [rsp + 0xa0]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rsp + 0x60]
mov word [rcx + 0x18], ax
mov dword [rsp + 0x30], 0
lea rax, [0x14010f160]
mov qword [rsp + 0x28], rax
lea rax, [0x14002c970]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [0x14010f060]
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.140109a30
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x14010f491
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x60]
call fcn.14027a7c0
xor eax, eax
jmp 0x14010f4b1
mov r9, qword [rsp + 0x60]
lea r8, [0x14002c970]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.14010e8d0
mov rax, qword [rsp + 0x70]
add rsp, 0x88
ret