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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x455214]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 4
mov edi, ecx
mov dword [ebp - 0x9c], eax
call fcn.00420851
add esp, 4
test eax, eax
je 0x41e8b9
mov dword [eax], 0xffffffff
mov ebx, eax
jmp 0x41e8bb
xor ebx, ebx
push 0
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x41eafc
push ebx
call fcn.0041e700
test eax, eax
jne 0x41e8fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebx], 0xffffffff
mov esi, eax
je 0x41e8ef
mov dword [ebx], 0xffffffff
push ebx
call fcn.0042065f
add esp, 4
push esi
jmp 0x41eaf6
push 0x30
lea ecx, [ebp - 0x44]
push 0
push ecx
call fcn.004226c0
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 0x44], 0x1b
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x14]
lea edi, [ebp - 0x98]
call fcn.0041e2d0
mov eax, dword [ebp - 0x94]
mov esi, dword [sym.imp.WSOCK32.dll_htonl]
push eax
call esi
mov ecx, dword [ebp - 0x98]
push ecx
mov edi, eax
call esi
push 0
push 0x30
lea edx, [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
push edx
push eax
mov dword [ebp - 0x1c], edi
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x41e8dc
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push ebx
lea esi, [ebp - 0x94]
call fcn.0041e7e0
test eax, eax
je 0x41eadd
cmp dword [ebp - 0x94], 0
je 0x41eadd
lea ecx, [ebp - 0x98]
call fcn.0041e6c0
mov edx, dword [eax]
mov esi, dword [ebp - 0x9c]
push 0x44
mov dword [esi + 0x20], edx
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x90]
push 0
push ecx
mov dword [esi + 0x24], eax
call fcn.004226c0
mov eax, dword [ebx]
add esp, 0xc
push 0
push 0x44
lea edx, [ebp - 0x90]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jne 0x41e9e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, ebx
mov edi, eax
call fcn.0041eb20
push edi
jmp 0x41eaf6
movzx edx, byte [ebp - 0x90]
movzx ecx, byte [ebp - 0x8f]
shr edx, 6
mov dword [esi + 4], ecx
mov dword [esi], edx
lea edi, [ebp - 0x78]
lea esi, [ebp - 0x98]
call fcn.0041e290
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
lea edi, [ebp - 0x70]
lea esi, [ebp - 0x98]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.0041e290
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
lea edi, [ebp - 0x68]
lea esi, [ebp - 0x98]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
call fcn.0041e290
mov esi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 8]
lea eax, [esi + 0x20]
call fcn.0041e4c0
fstp qword [ebp - 0x98]
lea ecx, [esi + 0x18]
lea eax, [esi + 0x10]
call fcn.0041e4c0
fsubr qword [ebp - 0x98]
lea ecx, [esi + 8]
lea eax, [esi + 0x10]
fstp qword [esi + 0x28]
call fcn.0041e4c0
lea ecx, [esi + 0x20]
fstp qword [ebp - 0x98]
lea eax, [esi + 0x18]
call fcn.0041e4c0
fadd qword [ebp - 0x98]
fmul qword [0x44d818]
fstp qword [esi + 0x30]
mov esi, ebx
call fcn.0041eb20
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042066a
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx], 0xffffffff
je 0x41eae8
mov dword [ebx], 0xffffffff
push ebx
call fcn.0042065f
add esp, 4
push 0x274c
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0042066a
mov esp, ebp
pop ebp
ret 8