Function at 0x56fd00
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 0x56fd71
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 0x56ff4e
jmp 0x56ff26
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 0x56ff17
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 0x56fde2
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004db479
mov dword [ebx], 0x273d
jmp 0x56fe0f
mov eax, dword [ebp - 0x998]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [ebp - 0x9bc], eax
jne 0x56fe2e
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ecx
call fcn.004db479
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 0x5700c8
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 0x56feca
mov eax, dword [ebp - 0x9bc]
mov dword [esp], eax
call fcn.005e5c40
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x56ffbe
lea ecx, [ebp - 0x8e4]
call fcn.0050292c
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 0x56fed7
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x56fe68
lea ecx, [ebp - 0x900]
call fcn.0050292c
jmp 0x56fe84
mov edx, dword [edi + 0xc]
lea eax, [ebp - 0x97c]
or ecx, 0xffffffff
call fcn.0056fb90
lea eax, [ebp - 0x97c]
lea ecx, [ebp - 0x900]
mov dword [esp], eax
call fcn.00502a8e
lea eax, [ebp - 0x900]
push edx
lea ecx, [ebp - 0x9a4]
mov dword [esp], eax
call fcn.006b1318
push eax
mov edi, dword [edi + 8]
jmp 0x56febf
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push eax
jmp 0x56fd41
mov esi, dword [0x855eb8]
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.00689890
push eax
jmp 0x5700c8
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 0x56ffc4
mov esi, dword [0x855eb8]
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 0x56ff37
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.0050292c
lea ecx, [ebp - 0x960]
call fcn.0050292c
lea edi, [ebp - 0x8cc]
lea ebx, [ebp - 0x998]
cmp esi, dword [ebp - 0x9bc]
jge 0x56ff37
lea edx, [edi - 0x30]
or ecx, 0xffffffff
mov eax, ebx
call fcn.0056fb90
lea ecx, [ebp - 0x97c]
mov dword [esp], ebx
call fcn.00502a8e
push eax
lea eax, [ebp - 0x9a8]
mov ecx, ebx
mov dword [ebp - 0x9a8], 0
mov dword [esp], eax
call fcn.0050293e
lea eax, [ebp - 0x97c]
push ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00502cb7
test al, al
je 0x570064
inc esi
add edi, 0x4c
jmp 0x570005
cmp dword [ebp - 0x97c], 1
mov edx, edi
mov eax, ebx
sbb ecx, ecx
and ecx, 0xffffffeb
add ecx, 0x17
call fcn.0056fb90
lea ecx, [ebp - 0x960]
mov dword [esp], ebx
call fcn.00502a8e
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.006b1318
push eax
jmp 0x57005e
lea ecx, [ebp - 0x9a4]
call fcn.0056fbf4
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret