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

Disassembly:
push rbx
push rdi
sub rsp, 0x58
mov rcx, qword [0x14008ece0]
test rcx, rcx
jne 0x14002df56
mov ebx, 0xffffe5d4
call fcn.14002ce90
mov eax, ebx
add rsp, 0x58
pop rdi
pop rbx
ret
lea rdx, [0x14002d0f0]
xor r8d, r8d
call fcn.14002baf0
mov ebx, eax
test eax, eax
jne 0x14002e5f3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14008ece8], rax
test rax, rax
jne 0x14002dfac
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov rax, qword [0x14008ece8]
lea rdx, [fcn.14002dd30]
xor r8d, r8d
mov rcx, rax
call fcn.14002baf0
mov ebx, eax
test eax, eax
jne 0x14002e5f3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14008ecf0], rax
test rax, rax
jne 0x14002e002
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14008ecf8], rax
test rax, rax
jne 0x14002e043
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov rax, qword [0x14008ecf8]
lea rdx, [0x14002d110]
xor r8d, r8d
mov rcx, rax
call fcn.14002baf0
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov edx, 2
lea r8d, [rax + 0x11]
mov ecx, edx
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002e097
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
lea r8, [rsp + 0x70]
mov edx, 0x8004667e
mov rcx, rdi
mov qword [0x14006a0a0], rdi
mov dword [rsp + 0x70], 1
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x14002e0db
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
xor ecx, ecx
lea rax, [rsp + 0x88]
lea r8, [rsp + 0x80]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x78]
mov dword [rsp + 0x80], ecx
mov dword [rsp + 0x78], ecx
xor r9d, r9d
mov edx, 0x28000017
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAIoctl]
lea r8, [0x14002d150]
xor r9d, r9d
mov edx, 0x200
mov rcx, rdi
call fcn.14002b9c0
mov ebx, eax
test eax, eax
jne 0x14002e5f3
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14008ed08], rax
test rax, rax
jne 0x14002e182
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
lea rax, [0x14008ed00]
lea rdx, str.SYSTEMCurrentControlSetServiceslanmanserverparameters
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [0x14008ed00]
test rcx, rcx
je 0x14002e1df
mov r9, qword [0x14008ed08]
mov edx, 1
mov dword [rsp + 0x20], 1
lea r8d, [rdx + 3]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov rcx, qword [0x14008ed08]
lea rdx, [0x14002d1c0]
xor r8d, r8d
call fcn.14002baf0
mov ebx, eax
test eax, eax
jne 0x14002e5f3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14008ed18], rax
test rax, rax
jne 0x14002e239
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
lea r8, [0x14008ed10]
lea rdx, str.SYSTEMCurrentControlSetServicesTcpipParameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov r9, qword [0x14008ed18]
mov rcx, qword [0x14008ed10]
lea edx, [rax + 1]
lea r8d, [rax + 5]
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov rcx, qword [0x14008ed18]
lea rdx, [0x14002d210]
xor r8d, r8d
call fcn.14002baf0
mov ebx, eax
test eax, eax
jne 0x14002e5f3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14008ed28], rax
test rax, rax
jne 0x14002e2e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
lea r8, [0x14008ed20]
lea rdx, str.SOFTWAREApple_Inc.BonjourDynDNSSetup
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov r9, qword [0x14008ed28]
mov rcx, qword [0x14008ed20]
lea edx, [rax + 1]
lea r8d, [rax + 5]
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov rcx, qword [0x14008ed28]
lea rdx, [0x14002d260]
xor r8d, r8d
call fcn.14002baf0
mov ebx, eax
test eax, eax
jne 0x14002e5f3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14008ed38], rax
test rax, rax
jne 0x14002e391
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
lea r8, [0x14008ed30]
lea rdx, str.SYSTEMCurrentControlSetServiceslanmanserverShares
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14002e3fd
mov r9, qword [0x14008ed38]
mov rcx, qword [0x14008ed30]
lea edx, [rax + 1]
lea r8d, [rax + 5]
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov rcx, qword [0x14008ed38]
lea rdx, [0x14002d2b0]
xor r8d, r8d
call fcn.14002baf0
mov ebx, eax
test eax, eax
jne 0x14002e5f3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14008ed48], rax
test rax, rax
jne 0x14002e437
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
lea r8, [0x14008ed40]
lea rdx, str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyFirewallRules
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14002e4a3
mov r9, qword [0x14008ed48]
mov rcx, qword [0x14008ed40]
lea edx, [rax + 1]
lea r8d, [rax + 5]
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov rcx, qword [0x14008ed48]
lea rdx, [0x14002d300]
xor r8d, r8d
call fcn.14002baf0
mov ebx, eax
test eax, eax
jne 0x14002e5f3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14008ed58], rax
test rax, rax
jne 0x14002e4dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
lea r8, [0x14008ed50]
lea rdx, str.SOFTWAREApple_Inc.BonjourServices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov r9, qword [0x14008ed58]
mov rcx, qword [0x14008ed50]
lea edx, [rax + 1]
lea r8d, [rax + 5]
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov rcx, qword [0x14008ed58]
lea rdx, [0x14002d350]
xor r8d, r8d
call fcn.14002baf0
mov ebx, eax
test eax, eax
jne 0x14002e5f3
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov qword [0x14008ed78], rax
test rax, rax
jne 0x14002e589
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov rax, qword [0x14008ed78]
lea rdx, [0x14002d3a0]
xor r8d, r8d
mov rcx, rax
call fcn.14002baf0
mov ebx, eax
test eax, eax
jne 0x14002e5f3
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov qword [0x14008ed80], rax
test rax, rax
jne 0x14002e5db
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002df43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002e5f3
mov rax, qword [0x14008ed80]
lea rdx, [0x14002ddc0]
xor r8d, r8d
mov rcx, rax
call fcn.14002baf0
mov ebx, eax
test eax, eax
je 0x14002e5fa
call fcn.14002ce90
mov eax, ebx
add rsp, 0x58
pop rdi
pop rbx
ret