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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x479c2c]
sub esp, 0x10
push ebx
push esi
push edi
test eax, eax
jne 0x4273a5
mov esi, 0xffffe5d4
call fcn.00426520
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x426710
push eax
call fcn.00425500
mov esi, eax
test esi, esi
jne 0x4278af
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
push eax
push eax
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x479c30], eax
test eax, eax
jne 0x4273ee
call ebx
test eax, eax
je 0x427392
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
mov eax, dword [0x479c30]
push 0
push fcn.004271d0
push eax
call fcn.00425500
mov esi, eax
test esi, esi
jne 0x4278af
push eax
push eax
push eax
push eax
call edi
mov dword [0x479c34], eax
test eax, eax
jne 0x42742a
call ebx
test eax, eax
je 0x427392
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
push 0
push 0
push 0
push 0
call edi
mov dword [0x479c38], eax
test eax, eax
jne 0x427458
call ebx
test eax, eax
je 0x427392
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
mov eax, dword [0x479c38]
push 0
push 0x426730
push eax
call fcn.00425500
mov esi, eax
test esi, esi
jne 0x4278af
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x427498
call ebx
test eax, eax
je 0x427392
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
lea eax, [ebp - 4]
push eax
push 0x8004667e
push edi
mov dword [0x45a068], edi
mov dword [ebp - 4], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x4274cf
call ebx
test eax, eax
je 0x427392
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x10]
push ecx
push esi
lea edx, [ebp - 8]
push edx
push esi
lea eax, [ebp - 0xc]
push eax
push 0x28000017
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push esi
push 0x426760
push 0x200
push edi
call fcn.00425400
mov esi, eax
test esi, esi
jne 0x4278af
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c40], eax
test eax, eax
jne 0x427538
call ebx
test eax, eax
je 0x427392
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
push 0x479c3c
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServiceslanmanserverparameters
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [0x479c3c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
je 0x42757d
mov ecx, dword [0x479c40]
push 1
push ecx
push 4
push 1
push eax
call edi
mov esi, eax
test esi, esi
jne 0x4278af
mov edx, dword [0x479c40]
push 0
push 0x4267b0
push edx
call fcn.00425500
mov esi, eax
test esi, esi
jne 0x4278af
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c48], eax
test eax, eax
jne 0x4275c3
call ebx
test eax, eax
je 0x427392
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 0x479c44
push str.SYSTEMCurrentControlSetServicesTcpipParameters
push reloc.WS2_32.dll_bind
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
mov eax, dword [0x479c48]
mov ecx, dword [0x479c44]
push 1
push eax
push 5
push 1
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x4278af
mov edx, dword [0x479c48]
push eax
push 0x4267f0
push edx
call fcn.00425500
mov esi, eax
test esi, esi
jne 0x4278af
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c50], eax
test eax, eax
jne 0x427650
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427392
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4278af
push 0x479c4c
push str.SOFTWAREApple_Inc.BonjourDynDNSSetup
push reloc.WS2_32.dll_bind
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
mov eax, dword [0x479c50]
mov ecx, dword [0x479c4c]
push 1
push eax
push 5
push 1
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x4278af
mov edx, dword [0x479c50]
push eax
push 0x426830
push edx
call fcn.00425500
mov esi, eax
test esi, esi
jne 0x4278af
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c58], eax
test eax, eax
jne 0x4276d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427392
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4278af
push 0x479c54
push str.SYSTEMCurrentControlSetServiceslanmanserverShares
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x427727
mov eax, dword [0x479c58]
mov ecx, dword [0x479c54]
push 1
push eax
push 5
push 1
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x4278af
mov edx, dword [0x479c58]
push eax
push 0x426870
push edx
call fcn.00425500
mov esi, eax
test esi, esi
jne 0x4278af
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c60], eax
test eax, eax
jne 0x42775c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427392
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4278af
push 0x479c5c
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyFirewallRules
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x4277ac
mov eax, dword [0x479c60]
mov ecx, dword [0x479c5c]
push 1
push eax
push 5
push 1
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x4278af
mov edx, dword [0x479c60]
push eax
push 0x4268a0
push edx
call fcn.00425500
mov esi, eax
test esi, esi
jne 0x4278af
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c68], eax
test eax, eax
jne 0x4277e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427392
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4278af
push 0x479c64
push str.SOFTWAREApple_Inc.BonjourServices
push reloc.WS2_32.dll_bind
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
mov eax, dword [0x479c68]
mov ecx, dword [0x479c64]
push 1
push eax
push 5
push 1
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x4278af
mov edx, dword [0x479c68]
push eax
push 0x4268d0
push edx
call fcn.00425500
mov esi, eax
test esi, esi
jne 0x4278af
mov edi, dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
push eax
push eax
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x479c7c], eax
test eax, eax
jne 0x427864
call ebx
test eax, eax
je 0x427392
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
mov eax, dword [0x479c7c]
push 0
push 0x426900
push eax
call fcn.00425500
mov esi, eax
test esi, esi
jne 0x4278af
push eax
push eax
push eax
call edi
mov dword [0x479c80], eax
test eax, eax
jne 0x42789c
call ebx
test eax, eax
je 0x427392
call ebx
mov esi, eax
test esi, esi
jne 0x4278af
mov eax, dword [0x479c80]
push 0
push 0x427240
push eax
call fcn.00425500
mov esi, eax
test esi, esi
je 0x4278b4
call fcn.00426520
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret