Function at 0x482640
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0xf8
mov eax, dword [0x4d31c4]
xor eax, esp
mov dword [esp + 0xf4], eax
cmp dword [0x4e8590], 0
movups xmm0, xmmword [0x4e8570]
mov al, byte [0x4e8580]
mov byte [esp + 0x70], al
movups xmmword [esp + 0x60], xmm0
mov dword [esp], 0x10
mov dword [esp + 4], 0x1c
je 0x48268f
cmp dword [esp + 0xfc], 0
je 0x4828aa
push esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
xorps xmm0, xmm0
mov eax, 2
movups xmmword [esp + 0xc], xmm0
push 0x35
mov word [esp + 0x10], ax
call esi
mov word [esp + 0xe], ax
lea eax, [esp + 0x10]
push eax
push str.18.244.0.188
push 2
call fcn.00480bf0
add esp, 0xc
test eax, eax
je 0x4828c1
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
mov eax, 0x17
movq qword [esp + 0x58], xmm0
movups xmmword [esp + 0x48], xmm0
push 0x35
mov word [esp + 0x4c], ax
call esi
mov word [esp + 0x4a], ax
lea eax, [esp + 0x50]
push eax
push str.2001:4860:b002::68
push 0x17
call fcn.00480bf0
add esp, 0xc
test eax, eax
jne 0x482752
push 0x4d4a1c
push 0x4d4a34
push 0x244
push 0x4d4a38
push 0x4d4a44
push 0xdeaddead
call fcn.004973e0
add esp, 0x18
push str.evutil_check_interfaces
push 0x4d4a80
push 0x244
push 0x4d4a84
push 0x4d4a90
jmp 0x482900
push 0x11
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
push 2
push 2
movups xmmword [esp + 0x44], xmm0
movups xmmword [esp + 0x28], xmm0
movq qword [esp + 0x38], xmm0
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
js 0x482807
push 0x10
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x482800
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x482800
push dword [esp + 0x3c]
call dword [sym.imp.WS2_32.dll_ntohl]
test eax, eax
je 0x4827d5
shr eax, 0x18
cmp eax, 0x7f
je 0x4827d5
and eax, 0xf0
cmp al, 0xe0
je 0x4827d5
mov dword [0x4e8594], 1
jmp 0x482800
push 0x80
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x44]
push eax
push 2
call fcn.00480870
lea eax, [esp + 0x88]
push eax
push str.Got_a_strange_local_ipv4_address__s
call fcn.00497400
add esp, 0x18
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x11
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
js 0x4828a9
push 0x1c
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x4828a2
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x4828a2
lea ecx, [esp + 0x24]
mov eax, dword [ecx]
lea edx, [esp + 0x64]
cmp eax, dword [edx]
jne 0x48285a
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
je 0x48286b
cmp byte [esp + 0x24], 0xfe
jne 0x482898
mov al, byte [esp + 0x25]
and al, 0xc0
cmp al, 0x80
jne 0x482898
push 0x80
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x2c]
push eax
push 0x17
call fcn.00480870
lea eax, [esp + 0x88]
push eax
push str.Got_a_strange_local_ipv6_address__s
call fcn.00497400
add esp, 0x18
jmp 0x4828a2
mov dword [0x4e8598], 1
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop esi
mov ecx, dword [esp + 0xf4]
xor eax, eax
xor ecx, esp
call fcn.004634b5
add esp, 0xf8
ret
push 0x4d4970
push 0x4d4988
push 0x23e
push 0x4d498c
push 0x4d4998
push 0xdeaddead
call fcn.004973e0
add esp, 0x18
push 0x4d49bc
push 0x4d49d4
push 0x23e
push 0x4d49d8
push 0x4d49e4
push 2
call fcn.0046857e
add esp, 4
push eax
call fcn.004040c0
add esp, 0x18
call fcn.00476c0e
int3