Function at 0x45aefc
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x45b11d
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x45b01c
push 0x11
push 2
push 2
call sub.WS2_32.DLL_socket
mov esi, eax
mov dword [ebx + 4], esi
mov eax, esi
call fcn.00459b70
test al, al
jne 0x45af75
mov ecx, 0x45b138
mov dl, 1
mov eax, dword [0x407bac]
call fcn.0040c914
call fcn.00404404
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00403490
mov word [ebp - 0x24], 2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov ax, word [ebp + 0x14]
call fcn.00459b5c
mov word [ebp - 0x22], ax
push 0x10
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.WS2_32.DLL_bind
call fcn.00459b78
test al, al
jne 0x45b01c
push 0x45b184
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 4]
mov eax, dword [0x459718]
call fcn.0045a0dc
push dword [ebp - 0x48]
push 0x45b1c8
lea edx, [ebp - 0x4c]
movzx eax, word [ebp + 0x14]
call fcn.00408cc0
push dword [ebp - 0x4c]
push 0x45b1dc
call sub.WS2_32.DLL_WSAGetLastError
lea edx, [ebp - 0x50]
call fcn.00408cc0
push dword [ebp - 0x50]
push 0x45b210
lea eax, [ebp - 0x44]
mov edx, 7
call fcn.00404df4
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x407bac]
call fcn.0040c914
call fcn.00404404
cmp byte [ebp + 0x10], 0
je 0x45b102
push 0x11
push 2
push 0x17
call sub.WS2_32.DLL_socket
mov esi, eax
mov dword [ebx + 8], esi
mov eax, esi
call fcn.00459b70
test al, al
jne 0x45b057
mov ecx, 0x45b21c
mov dl, 1
mov eax, dword [0x407bac]
call fcn.0040c914
call fcn.00404404
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x1c
call fcn.00403490
mov word [ebp - 0x40], 0x17
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ax, word [ebp + 8]
call fcn.00459b5c
mov word [ebp - 0x3e], ax
push 0x1c
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.WS2_32.DLL_bind
call fcn.00459b78
test al, al
jne 0x45b102
push 0x45b268
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x14]
mov eax, dword [0x459778]
call fcn.0045a168
push dword [ebp - 0x58]
push 0x45b1c8
lea edx, [ebp - 0x5c]
movzx eax, word [ebp + 8]
call fcn.00408cc0
push dword [ebp - 0x5c]
push 0x45b1dc
call sub.WS2_32.DLL_WSAGetLastError
lea edx, [ebp - 0x60]
call fcn.00408cc0
push dword [ebp - 0x60]
push 0x45b210
lea eax, [ebp - 0x54]
mov edx, 7
call fcn.00404df4
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x407bac]
call fcn.0040c914
call fcn.00404404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b124
lea eax, [ebp - 0x60]
mov edx, 8
call fcn.00404a98
ret