Function at 0x427480
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 0x4274a5
mov esi, 0xffffe5d4
call fcn.00426620
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x426810
push eax
call fcn.00425600
mov esi, eax
test esi, esi
jne 0x4279af
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 0x4274ee
call ebx
test eax, eax
je 0x427492
call ebx
mov esi, eax
test esi, esi
jne 0x4279af
mov eax, dword [0x479c30]
push 0
push fcn.004272d0
push eax
call fcn.00425600
mov esi, eax
test esi, esi
jne 0x4279af
push eax
push eax
push eax
push eax
call edi
mov dword [0x479c34], eax
test eax, eax
jne 0x42752a
call ebx
test eax, eax
je 0x427492
call ebx
mov esi, eax
test esi, esi
jne 0x4279af
push 0
push 0
push 0
push 0
call edi
mov dword [0x479c38], eax
test eax, eax
jne 0x427558
call ebx
test eax, eax
je 0x427492
call ebx
mov esi, eax
test esi, esi
jne 0x4279af
mov eax, dword [0x479c38]
push 0
push 0x426830
push eax
call fcn.00425600
mov esi, eax
test esi, esi
jne 0x4279af
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x427598
call ebx
test eax, eax
je 0x427492
call ebx
mov esi, eax
test esi, esi
jne 0x4279af
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 0x4275cf
call ebx
test eax, eax
je 0x427492
call ebx
mov esi, eax
test esi, esi
jne 0x4279af
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 0x426860
push 0x200
push edi
call fcn.00425500
mov esi, eax
test esi, esi
jne 0x4279af
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c40], eax
test eax, eax
jne 0x427638
call ebx
test eax, eax
je 0x427492
call ebx
mov esi, eax
test esi, esi
jne 0x4279af
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 0x42767d
mov ecx, dword [0x479c40]
push 1
push ecx
push 4
push 1
push eax
call edi
mov esi, eax
test esi, esi
jne 0x4279af
mov edx, dword [0x479c40]
push 0
push 0x4268b0
push edx
call fcn.00425600
mov esi, eax
test esi, esi
jne 0x4279af
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c48], eax
test eax, eax
jne 0x4276c3
call ebx
test eax, eax
je 0x427492
call ebx
mov esi, eax
test esi, esi
jne 0x4279af
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 0x4279af
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 0x4279af
mov edx, dword [0x479c48]
push eax
push 0x4268f0
push edx
call fcn.00425600
mov esi, eax
test esi, esi
jne 0x4279af
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c50], eax
test eax, eax
jne 0x427750
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427492
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4279af
push 0x479c4c
push str.SOFTWAREApple_Inc.BonjourDynDNSSetup
push reloc.WS2_32.dll_bind
call ebx
mov esi, eax
test esi, esi
jne 0x4279af
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 0x4279af
mov edx, dword [0x479c50]
push eax
push 0x426930
push edx
call fcn.00425600
mov esi, eax
test esi, esi
jne 0x4279af
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c58], eax
test eax, eax
jne 0x4277d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427492
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4279af
push 0x479c54
push str.SYSTEMCurrentControlSetServiceslanmanserverShares
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x427827
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 0x4279af
mov edx, dword [0x479c58]
push eax
push 0x426970
push edx
call fcn.00425600
mov esi, eax
test esi, esi
jne 0x4279af
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c60], eax
test eax, eax
jne 0x42785c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427492
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4279af
push 0x479c5c
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyFirewallRules
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x4278ac
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 0x4279af
mov edx, dword [0x479c60]
push eax
push 0x4269a0
push edx
call fcn.00425600
mov esi, eax
test esi, esi
jne 0x4279af
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x479c68], eax
test eax, eax
jne 0x4278e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427492
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4279af
push 0x479c64
push str.SOFTWAREApple_Inc.BonjourServices
push reloc.WS2_32.dll_bind
call ebx
mov esi, eax
test esi, esi
jne 0x4279af
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 0x4279af
mov edx, dword [0x479c68]
push eax
push 0x4269d0
push edx
call fcn.00425600
mov esi, eax
test esi, esi
jne 0x4279af
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 0x427964
call ebx
test eax, eax
je 0x427492
call ebx
mov esi, eax
test esi, esi
jne 0x4279af
mov eax, dword [0x479c7c]
push 0
push 0x426a00
push eax
call fcn.00425600
mov esi, eax
test esi, esi
jne 0x4279af
push eax
push eax
push eax
call edi
mov dword [0x479c80], eax
test eax, eax
jne 0x42799c
call ebx
test eax, eax
je 0x427492
call ebx
mov esi, eax
test esi, esi
jne 0x4279af
mov eax, dword [0x479c80]
push 0
push 0x427340
push eax
call fcn.00425600
mov esi, eax
test esi, esi
je 0x4279b4
call fcn.00426620
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret