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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424070
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
push edi
push 0x42b07c
push 0xb
push str.LDPlayerReader::init
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], edi
call fcn.00419ca0
add esp, 0x10
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
push 0x19
push str.DNGdi32_Shared_Udp_Port4_
call fcn.004068c0
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00407490
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00407520
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x40768d
push dword [ebp - 0x58]
call edi
add esp, 4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x4076cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProp_error__d
push 0x10
push str.LDPlayerReader::init
call fcn.00419ca0
mov eax, dword [ebp - 0x68]
add esp, 0x10
add eax, 0x264
imul eax, eax, 0x64
xorps xmm0, xmm0
mov ecx, 2
movdqu xmmword [esi + 0xc4], xmm0
push eax
mov word [esi + 0xc4], cx
call dword [sym.imp.WS2_32.dll_htons]
push str.127.0.0.1
mov word [esi + 0xc6], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [esi + 4], 0xffffffff
mov dword [esi + 0xc8], eax
jne 0x407771
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x40788f
cmp dword [esi + 4], 0xffffffff
jne 0x40788f
mov dword [esi + 4], eax
xorps xmm0, xmm0
mov eax, 2
movdqu xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x50]
push 0x10
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_bind]
push 8
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
push eax
push 0x1006
push 0xffff
push dword [esi + 4]
mov dword [ebp - 0x68], 0x7a120
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
xor eax, eax
mov dword [ebp - 0x14], 7
push str.DNGdi32_Shared4_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004068c0
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00407400
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00407520
mov byte [ebp - 4], 2
cmp dword [ebp - 0x44], 8
jb 0x4077c6
push dword [ebp - 0x58]
call edi
add esp, 4
mov edi, dword [ebp + 0x14]
mov eax, edi
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x60]
imul eax, esi
add ecx, 8
shl eax, 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408010
mov ecx, dword [ebp - 0x60]
cmp dword [ebp - 0x14], 8
mov dword [ecx + 0xd4], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ecx + 0x44]
mov dword [ecx + 0x28], 0x64
push 0x40
push eax
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], edi
mov dword [ecx + 0x38], esi
mov dword [ecx + 0x3c], 0x80e0
mov dword [ecx + 0x40], 0x1401
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0xc
cmp dword [ebp - 0x14], 8
mov al, 1
mov byte [ebp - 0x59], al
jb 0x40784d
push dword [ebp - 0x28]
call edi
mov al, byte [ebp - 0x59]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
cmp dword [ebp - 0x2c], 8
jb 0x407872
push dword [ebp - 0x40]
call edi
mov al, byte [ebp - 0x59]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422cd2
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.create_socket__d
push 0x1c
push str.LDPlayerReader::init
call fcn.00419ca0
add esp, 0x10
xor al, al
mov byte [ebp - 0x59], al
jmp 0x407861