Function at 0x14000a320
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3b8
mov rax, qword [0x1402698e0]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov r12, qword [rsp + 0x420]
mov r15, rcx
xor ecx, ecx
mov rbp, r9
mov r14, r8
mov rbx, rdx
call fcn.14019a0f4
movsxd rdi, dword [rsp + 0x428]
mov dword [r15], 0x274c
mov byte [r14], 0
add rdi, rax
mov byte [rbp], 0
xor r13d, r13d
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov byte [r12], 0
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov rdx, r14
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea r8d, [r9 + 8]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14000a50f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2728
je 0x14000a3e0
sub eax, 0xb
je 0x14000a3e0
cmp eax, 0x14
jne 0x14000a45a
nop dword [rax]
xor ecx, ecx
call fcn.14019a0f4
mov ecx, edi
xor r9d, r9d
sub ecx, eax
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x38], ecx
lea ecx, [r9 + 0x40]
xor r8d, r8d
mov dword [rsp + 0x3c], r13d
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x14000a437
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x14000a3e0
jmp 0x14000a5e4
test eax, eax
jle 0x14000a5e4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x14000a390
jmp 0x14000a5e4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [r15], eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Broadcast_Receive_recvfrom_returns__d
lea rcx, [rsp + 0x260]
mov r8d, eax
call fcn.140197aa8
mov rcx, qword [0x14027d2e8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [0x14027d1c0], r13b
je 0x14000a4fa
call fcn.1400093c0
lea rcx, [0x140227eec]
lea rdx, [0x140227ef0]
test al, al
cmovne rdx, rcx
lea rcx, [0x14027d1c0]
call fcn.140197a78
mov rbx, rax
test rax, rax
je 0x14000a4fa
lea rcx, [rsp + 0x2a0]
call fcn.14000c3a0
lea r9, [rsp + 0x260]
lea r8, [rsp + 0x2a0]
lea rdx, str._n_s__s_n
mov rcx, rbx
call fcn.14019c35c
mov rcx, rbx
call fcn.14019c0f4
mov rcx, qword [0x14027d2e8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
or eax, 0xffffffff
jmp 0x14000a5e6
cmp dword [0x14027d0a0], r13d
mov eax, dword [rsp + 0x44]
movzx ecx, word [rsp + 0x42]
mov dword [r15], r13d
mov dword [rbp], eax
mov word [r12], cx
je 0x14000a5e4
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [rsp + 0x44]
movzx ebx, ax
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rdx, str.Bcast_received_from__s_port__d
lea rcx, [rsp + 0x260]
mov r9d, ebx
mov r8, rax
call fcn.140197aa8
mov rcx, qword [0x14027d2e8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [0x14027d1c0], r13b
je 0x14000a5d7
call fcn.1400093c0
lea rcx, [0x140227eec]
lea rdx, [0x140227ef0]
test al, al
cmovne rdx, rcx
lea rcx, [0x14027d1c0]
call fcn.140197a78
mov rbx, rax
test rax, rax
je 0x14000a5d7
lea rcx, [rsp + 0x2a0]
call fcn.14000c3a0
lea r9, [rsp + 0x260]
lea r8, [rsp + 0x2a0]
lea rdx, str._n_s__s_n
mov rcx, rbx
call fcn.14019c35c
mov rcx, rbx
call fcn.14019c0f4
mov rcx, qword [0x14027d2e8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.14019ac00
add rsp, 0x3b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret