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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x44f528]
sub esp, 0x14
push ebx
push esi
push edi
test ecx, ecx
jne 0x437186
mov esi, 0xffffe5d4
call fcn.00437690
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov edx, 0x4378b0
call fcn.00438540
mov esi, eax
test esi, esi
jne 0x437678
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
push eax
push eax
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x44f538], eax
test eax, eax
jne 0x4371cd
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
mov eax, dword [0x44f538]
push ecx
mov edx, fcn.004378c0
mov ecx, eax
call fcn.00438540
mov esi, eax
test esi, esi
jne 0x437678
push eax
push eax
push eax
push eax
call ebx
mov dword [0x44f540], eax
test eax, eax
jne 0x437209
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
push 0
push 0
push 0
push 0
call ebx
mov dword [0x44f51c], eax
test eax, eax
jne 0x437237
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
mov eax, dword [0x44f51c]
push ecx
mov edx, 0x437930
mov ecx, eax
call fcn.00438540
mov esi, eax
test esi, esi
jne 0x437678
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
mov dword [ebp - 4], esi
cmp esi, 0xffffffff
jne 0x43727d
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
mov esi, dword [ebp - 4]
lea eax, [ebp - 8]
mov dword [0x44f054], esi
push eax
push 0x8004667e
push esi
mov dword [ebp - 8], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x4372b7
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
mov esi, dword [ebp - 4]
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0x28000017
push esi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 0
push 0x437960
mov edx, 0x200
mov ecx, esi
call fcn.00438400
mov esi, eax
test esi, esi
jne 0x437678
push eax
push eax
push 1
push eax
call ebx
mov dword [0x44f504], eax
test eax, eax
jne 0x437328
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
push 0x44f500
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServiceslanmanserverparameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [0x44f500]
test eax, eax
je 0x43736a
push 1
push dword [0x44f504]
push 4
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov esi, eax
test esi, esi
jne 0x437678
push ecx
mov ecx, dword [0x44f504]
mov edx, 0x4379f0
call fcn.00438540
mov esi, eax
test esi, esi
jne 0x437678
push eax
push eax
push eax
push eax
call ebx
mov dword [0x44f548], eax
test eax, eax
jne 0x4373aa
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
push 0x44f544
push str.SYSTEMCurrentControlSetServicesTcpipParameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x437678
push 1
push dword [0x44f548]
push 5
push 1
push dword [0x44f544]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov esi, eax
test esi, esi
jne 0x437678
push ecx
mov ecx, dword [0x44f548]
mov edx, 0x437a30
call fcn.00438540
mov esi, eax
test esi, esi
jne 0x437678
push eax
push eax
push eax
push eax
call ebx
mov dword [0x44f530], eax
test eax, eax
jne 0x43742b
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
push 0x44f524
push str.SOFTWARENational_InstrumentsNI_ZeroconfDynDNSSetup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x437678
push 1
push dword [0x44f530]
push 5
push 1
push dword [0x44f524]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov esi, eax
test esi, esi
jne 0x437678
push ecx
mov ecx, dword [0x44f530]
mov edx, 0x437a70
call fcn.00438540
mov esi, eax
test esi, esi
jne 0x437678
push eax
push eax
push eax
push eax
call ebx
mov dword [0x44f514], eax
test eax, eax
jne 0x4374ac
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
push 0x44f510
push str.SYSTEMCurrentControlSetServiceslanmanserverShares
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x437502
push 1
push dword [0x44f514]
push 5
push 1
push dword [0x44f510]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov esi, eax
test esi, esi
jne 0x437678
push ecx
mov ecx, dword [0x44f514]
mov edx, 0x437ac0
call fcn.00438540
mov esi, eax
test esi, esi
jne 0x437678
push 0
push 0
push 0
push 0
call ebx
mov dword [0x44f53c], eax
test eax, eax
jne 0x43752b
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
push 0x44f508
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyFirewallRules
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x437581
push 1
push dword [0x44f53c]
push 5
push 1
push dword [0x44f508]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov esi, eax
test esi, esi
jne 0x437678
push ecx
mov ecx, dword [0x44f53c]
mov edx, 0x437af0
call fcn.00438540
mov esi, eax
test esi, esi
jne 0x437678
push 0
push 0
push 0
push 0
call ebx
mov dword [0x44f4f4], eax
test eax, eax
jne 0x4375aa
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
push 0x44f50c
push str.SOFTWARENational_InstrumentsNI_ZeroconfServices
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x437678
push 1
push dword [0x44f4f4]
push 5
push 1
push dword [0x44f50c]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov esi, eax
test esi, esi
jne 0x437678
push ecx
mov ecx, dword [0x44f4f4]
mov edx, 0x437b20
call fcn.00438540
mov esi, eax
test esi, esi
jne 0x437678
mov ebx, dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
push eax
push eax
push eax
call ebx
mov dword [0x44f4e4], eax
test eax, eax
jne 0x43762d
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
mov eax, dword [0x44f4e4]
push ecx
mov edx, 0x437b50
mov ecx, eax
call fcn.00438540
mov esi, eax
test esi, esi
jne 0x437678
push eax
push eax
push eax
call ebx
mov dword [0x44f4fc], eax
test eax, eax
jne 0x437665
call edi
test eax, eax
je 0x437173
call edi
mov esi, eax
test esi, esi
jne 0x437678
mov eax, dword [0x44f4fc]
push ecx
mov edx, 0x437ba0
mov ecx, eax
call fcn.00438540
mov esi, eax
test esi, esi
je 0x43767d
call fcn.00437690
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret