Function at 0x571550
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9ec
mov dword [ebp - 0x9a4], 0
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x9a0], 0
mov dword [ebp - 0x99c], 0
mov dword [esp], str.Iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov esi, eax
push edx
jne 0x5715c1
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 2
call dword [sym.imp.WSOCK32.DLL_socket]
sub esp, 0xc
cmp eax, 0xffffffff
mov edi, eax
jne 0x57179e
jmp 0x571776
mov dword [esp + 4], str.GetAdaptersAddresses
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
push edi
push edi
mov edi, eax
je 0x571767
lea eax, [ebp - 0x998]
mov dword [ebp - 0x998], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
mov dword [esp + 0x10], eax
mov dword [esp], 0
call edi
sub esp, 0x14
cmp eax, 0x6f
je 0x571632
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004dccc9
mov dword [ebx], 0x273d
jmp 0x57165f
mov eax, dword [ebp - 0x998]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [ebp - 0x9bc], eax
jne 0x57167e
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ecx
call fcn.004dccc9
mov dword [ebx], 0xe
mov dword [ebx + 4], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x571918
lea eax, [ebp - 0x998]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
mov dword [esp], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x9bc]
mov dword [esp + 0xc], eax
call edi
sub esp, 0x14
test eax, eax
mov ebx, dword [ebp - 0x9bc]
je 0x57171a
mov eax, dword [ebp - 0x9bc]
mov dword [esp], eax
call fcn.005e7498
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x57180e
lea ecx, [ebp - 0x8e4]
call fcn.0050417c
mov dword [esp + 8], 0x40
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x8c8]
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov byte [ebp - 0x889], 0
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x888], eax
mov edi, dword [ebx + 0x10]
test edi, edi
jne 0x571727
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x5716b8
lea ecx, [ebp - 0x900]
call fcn.0050417c
jmp 0x5716d4
mov edx, dword [edi + 0xc]
lea eax, [ebp - 0x97c]
or ecx, 0xffffffff
call fcn.005713e0
lea eax, [ebp - 0x97c]
lea ecx, [ebp - 0x900]
mov dword [esp], eax
call fcn.005042de
lea eax, [ebp - 0x900]
push edx
lea ecx, [ebp - 0x9a4]
mov dword [esp], eax
call fcn.006b2d38
push eax
mov edi, dword [edi + 8]
jmp 0x57170f
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push eax
jmp 0x571591
mov esi, dword [0x857ed8]
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
lea eax, [ebp - 0x9a4]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call fcn.0068b2b0
push eax
jmp 0x571918
lea eax, [ebp - 0x9ac]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0x8e8
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x900]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4004747f
mov dword [esp], edi
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
sub esp, 0x24
test eax, eax
mov esi, eax
je 0x571814
mov esi, dword [0x857ed8]
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [esp], edi
call dword [sym.imp.WSOCK32.DLL_closesocket]
push eax
jmp 0x571787
mov dword [esp], edi
call dword [sym.imp.WSOCK32.DLL_closesocket]
push eax
mov eax, dword [ebp - 0x9ac]
mov ecx, 0x4c
xor edx, edx
div ecx
lea ecx, [ebp - 0x97c]
mov dword [ebp - 0x9bc], eax
call fcn.0050417c
lea ecx, [ebp - 0x960]
call fcn.0050417c
lea edi, [ebp - 0x8cc]
lea ebx, [ebp - 0x998]
cmp esi, dword [ebp - 0x9bc]
jge 0x571787
lea edx, [edi - 0x30]
or ecx, 0xffffffff
mov eax, ebx
call fcn.005713e0
lea ecx, [ebp - 0x97c]
mov dword [esp], ebx
call fcn.005042de
push eax
lea eax, [ebp - 0x9a8]
mov ecx, ebx
mov dword [ebp - 0x9a8], 0
mov dword [esp], eax
call fcn.0050418e
lea eax, [ebp - 0x97c]
push ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00504507
test al, al
je 0x5718b4
inc esi
add edi, 0x4c
jmp 0x571855
cmp dword [ebp - 0x97c], 1
mov edx, edi
mov eax, ebx
sbb ecx, ecx
and ecx, 0xffffffeb
add ecx, 0x17
call fcn.005713e0
lea ecx, [ebp - 0x960]
mov dword [esp], ebx
call fcn.005042de
lea eax, [ebp - 0x97c]
push edx
lea ecx, [ebp - 0x9a4]
mov byte [ebp - 0x944], 0
mov dword [ebp - 0x904], 0x5dc
mov dword [esp], eax
call fcn.006b2d38
push eax
jmp 0x5718ae
lea ecx, [ebp - 0x9a4]
call fcn.00571444
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret