Function at 0x417c34
Capabilities:
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x46b034]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 4
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], eax
call fcn.0041b2e6
pop ecx
mov esi, eax
push 0
push 2
push 2
or dword [esi], 0xffffffff
mov dword [ebp - 0x94], esi
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x417eb2
push ecx
push edi
mov ecx, esi
call fcn.00417adb
test eax, eax
jne 0x417cb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi], 0xffffffff
mov edi, eax
je 0x417ca3
or dword [esi], 0xffffffff
push 4
push esi
call fcn.0041b2b5
pop ecx
pop ecx
push edi
jmp 0x417eac
push 0x30
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0041cff0
add esp, 0xc
mov byte [ebp - 0x38], 0x1b
lea ecx, [ebp - 0x9c]
call fcn.00417aa4
mov ebx, eax
mov cl, 0x20
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
call fcn.0043f640
mov esi, dword [sym.imp.WSOCK32.dll_htonl]
push eax
call esi
push dword [ebx]
mov edi, eax
call esi
mov ebx, dword [ebp - 0x94]
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x38]
push 0x30
push eax
push dword [ebx]
mov dword [ebp - 0x10], edi
call dword [sym.imp.WSOCK32.dll_send]
or edi, 0xffffffff
cmp eax, edi
jne 0x417d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebx], edi
je 0x417d20
mov dword [ebx], edi
push 4
push ebx
call fcn.0041b2b5
pop ecx
pop ecx
push esi
jmp 0x417eac
mov eax, dword [ebp - 0x88]
mov ecx, ebx
push dword [eax]
lea eax, [ebp - 0x88]
push eax
call fcn.00417bb6
test eax, eax
je 0x417e97
cmp dword [ebp - 0x88], 0
je 0x417e97
lea ecx, [ebp - 0x9c]
call fcn.00417aa4
mov esi, dword [ebp - 0x90]
push 0x44
push 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x84]
push eax
mov dword [esi + 0x20], ecx
call fcn.0041cff0
add esp, 0xc
lea eax, [ebp - 0x84]
push 0
push 0x44
push eax
push dword [ebx]
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
je 0x417d12
movzx eax, byte [ebp - 0x83]
lea ecx, [ebp - 0x8c]
mov dword [esi + 4], eax
movzx eax, byte [ebp - 0x84]
shr eax, 6
mov dword [esi], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004177a6
mov eax, dword [ebp - 0x8c]
lea ebx, [esi + 8]
mov ecx, dword [ebp - 0x88]
mov dword [ebx], eax
lea eax, [ebp - 0x64]
mov dword [ebx + 4], ecx
lea ecx, [ebp - 0x8c]
push eax
call fcn.004177a6
mov eax, dword [ebp - 0x8c]
lea edi, [esi + 0x10]
mov ecx, dword [ebp - 0x88]
mov dword [edi], eax
lea eax, [ebp - 0x5c]
mov dword [edi + 4], ecx
lea ecx, [ebp - 0x8c]
push eax
call fcn.004177a6
mov ecx, dword [ebp - 0x88]
add esi, 0x18
mov eax, dword [ebp - 0x8c]
push ebx
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x90]
mov dword [esi], eax
lea ecx, [ecx + 0x20]
call fcn.0041795b
push esi
mov ecx, edi
movaps xmm2, xmm0
call fcn.0041795b
mov eax, dword [ebp - 0x90]
subsd xmm2, xmm0
push ebx
mov ecx, edi
movsd qword [eax + 0x28], xmm2
call fcn.0041795b
mov ebx, dword [ebp - 0x90]
mov ecx, esi
movaps xmm2, xmm0
lea eax, [ebx + 0x20]
push eax
call fcn.0041795b
mov esi, dword [ebp - 0x94]
addsd xmm2, xmm0
mulsd xmm2, qword [0x463c08]
movsd qword [ebx + 0x30], xmm2
cmp dword [esi], 0xffffffff
je 0x417e88
or dword [esi], 0xffffffff
push 4
push esi
call fcn.0041b2b5
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x417eb4
cmp dword [ebx], edi
je 0x417e9d
mov dword [ebx], edi
push 4
push ebx
call fcn.0041b2b5
pop ecx
pop ecx
push 0x274c
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b2a7
leave
ret 0xc