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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x74], 0x10
mov dword [ebp - 0x70], 0x1c
mov eax, dword [0x62411098]
test eax, eax
je 0x623de208
cmp dword [ebp + 8], 0
jne 0x623de208
mov eax, 0
jmp 0x623de49e
call sym._evutil_check_ifaddrs
test eax, eax
jne 0x623de21b
mov eax, 0
jmp 0x623de49e
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
lea eax, [ebp - 0x64]
mov dword [esp], eax
call sym._memset
mov word [ebp - 0x64], 2
mov dword [esp], 0x35
mov eax, dword [sym.imp.WS2_32.dll_htons]
call eax
sub esp, 4
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x64]
add eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], str.18.244.0.188
mov dword [esp], 2
call sym.libevent_2_1_6.dll_evutil_inet_pton
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
sete al
movzx eax, al
test eax, eax
je 0x623de2b4
mov dword [esp + 0x14], str.evutil_check_interfaces
mov dword [esp + 0x10], 0x6240aa1c
mov dword [esp + 0xc], 0x2f3
mov dword [esp + 8], str.evutil.c
mov dword [esp + 4], 0x6240a958
mov dword [esp], 0xdeaddead
call sym._event_errx
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 0
lea eax, [ebp - 0x44]
mov dword [esp], eax
call sym._memset
mov word [ebp - 0x44], 0x17
mov dword [esp], 0x35
mov eax, dword [sym.imp.WS2_32.dll_htons]
call eax
sub esp, 4
mov word [ebp - 0x42], ax
lea eax, [ebp - 0x44]
add eax, 8
mov dword [esp + 8], eax
mov dword [esp + 4], str.2001:4860:b002::68
mov dword [esp], 0x17
call sym.libevent_2_1_6.dll_evutil_inet_pton
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
sete al
movzx eax, al
test eax, eax
je 0x623de34d
mov dword [esp + 0x14], str.evutil_check_interfaces
mov dword [esp + 0x10], 0x6240aa1c
mov dword [esp + 0xc], 0x2f9
mov dword [esp + 8], str.evutil.c
mov dword [esp + 4], 0x6240a958
mov dword [esp], 0xdeaddead
call sym._event_errx
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
lea eax, [ebp - 0x54]
mov dword [esp], eax
call sym._memset
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 0
lea eax, [ebp - 0x28]
mov dword [esp], eax
call sym._memset
mov dword [esp + 8], 0x11
mov dword [esp + 4], 2
mov dword [esp], 2
mov eax, dword [sym.imp.WS2_32.dll_socket]
call eax
sub esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
js 0x623de3fd
mov eax, dword [ebp - 0x6c]
mov dword [esp + 8], 0x10
lea edx, [ebp - 0x64]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_connect]
call eax
sub esp, 0xc
test eax, eax
jne 0x623de3fd
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x74]
mov dword [esp + 8], edx
lea edx, [ebp - 0x54]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_getsockname]
call eax
sub esp, 0xc
test eax, eax
jne 0x623de3fd
lea eax, [ebp - 0x54]
mov dword [esp], eax
call sym._evutil_found_ifaddr
cmp dword [ebp - 0x6c], 0
js 0x623de40e
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call sym.libevent_2_1_6.dll_evutil_closesocket
mov dword [esp + 8], 0x11
mov dword [esp + 4], 2
mov dword [esp], 0x17
mov eax, dword [sym.imp.WS2_32.dll_socket]
call eax
sub esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
js 0x623de488
mov eax, dword [ebp - 0x6c]
mov dword [esp + 8], 0x1c
lea edx, [ebp - 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_connect]
call eax
sub esp, 0xc
test eax, eax
jne 0x623de488
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x70]
mov dword [esp + 8], edx
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_getsockname]
call eax
sub esp, 0xc
test eax, eax
jne 0x623de488
lea eax, [ebp - 0x28]
mov dword [esp], eax
call sym._evutil_found_ifaddr
cmp dword [ebp - 0x6c], 0
js 0x623de499
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call sym.libevent_2_1_6.dll_evutil_closesocket
mov eax, 0
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x623de4ae
call sym.___stack_chk_fail
leave
ret