Function at 0x41a4e0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get common file path
Get local ipv4 addresses
Get socket information
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x16c
mov eax, dword [0x469a54]
xor eax, esp
mov dword [esp + 0x168], eax
cmp dword [0x46a760], 0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 0x1c
je 0x41a51f
cmp dword [esp + 0x180], 0
je 0x41a7f6
push 0x104
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
test edx, edx
je 0x41a5c5
mov ecx, str.ihplapi.dll
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a541
sub ecx, esi
lea eax, [edx + 2]
add eax, ecx
cmp eax, 0x104
jae 0x41a5c5
mov edx, 0x46077c
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x41a560
lea edi, [esp + 0x74]
sub edx, esi
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41a570
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, str.ihplapi.dll
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x41a590
lea edi, [esp + 0x74]
sub edx, esi
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41a5a0
mov ecx, edx
lea eax, [esp + 0x74]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
jmp 0x41a5c7
xor ebp, ebp
xor ebx, ebx
or edi, 0xffffffff
test ebp, ebp
je 0x41a685
push str.GetAdaptersAddresses
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x41a669
push 0x3c00
mov dword [esp + 0x14], 0x3c00
call fcn.00408540
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41a669
lea eax, [esp + 0x10]
push eax
push ebx
push 0
push 0xe
push 0
call esi
cmp eax, 0x6f
jne 0x41a63e
push ebx
call fcn.00408660
push dword [esp + 0x14]
call fcn.00408540
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41a669
lea eax, [esp + 0x10]
push eax
push ebx
push 0
push 0xe
push 0
call esi
test eax, eax
jne 0x41a669
mov edi, ebx
mov esi, dword [edi + 0x10]
test esi, esi
je 0x41a662
nop dword [eax + eax]
push dword [esi + 0xc]
call fcn.0041a250
mov esi, dword [esi + 8]
add esp, 4
test esi, esi
jne 0x41a650
mov edi, dword [edi + 8]
test edi, edi
jne 0x41a644
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x41a67d
push ebx
call fcn.00408660
add esp, 4
test edi, edi
je 0x41a7f6
mov esi, dword [sym.imp.WS2_32.dll_htons]
xorps xmm0, xmm0
mov eax, 2
movups xmmword [esp + 0x1c], xmm0
push 0x35
mov word [esp + 0x20], ax
call esi
mov word [esp + 0x1e], ax
lea eax, [esp + 0x20]
push eax
push str.18.244.0.188
push 2
call fcn.00418280
add esp, 0xc
test eax, eax
je 0x41a811
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
mov eax, 0x17
movq qword [esp + 0x3c], xmm0
movups xmmword [esp + 0x2c], xmm0
push 0x35
mov word [esp + 0x30], ax
call esi
mov word [esp + 0x2e], ax
lea eax, [esp + 0x34]
push eax
push str.2001:4860:b002::68
push 0x17
call fcn.00418280
add esp, 0xc
test eax, eax
jne 0x41a747
push 0x4602f0
push 0x460308
push 0x2f9
push 0x46030c
push 0x460318
push 0xdeaddead
call fcn.0041bd20
add esp, 0x18
push str.evutil_check_interfaces
push 0x460354
push 0x2f9
push 0x460358
push 0x460364
jmp 0x41a850
push 0x11
xorps xmm0, xmm0
mov dword [esp + 0x74], 0
push 2
push 2
movups xmmword [esp + 0x54], xmm0
movups xmmword [esp + 0x64], xmm0
movq qword [esp + 0x74], xmm0
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, dword [sym.imp.WS2_32.dll_connect]
mov esi, eax
mov ebp, dword [sym.imp.WS2_32.dll_getsockname]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
test esi, esi
js 0x41a7b5
push 0x10
lea eax, [esp + 0x20]
push eax
push esi
call ebx
test eax, eax
jne 0x41a7b2
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x4c]
push eax
push esi
call ebp
test eax, eax
jne 0x41a7b2
lea eax, [esp + 0x48]
push eax
call fcn.0041a250
add esp, 4
push esi
call edi
push 0x11
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
js 0x41a7f6
push 0x1c
lea eax, [esp + 0x30]
push eax
push esi
call ebx
test eax, eax
jne 0x41a7f3
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
push esi
call ebp
test eax, eax
jne 0x41a7f3
lea eax, [esp + 0x58]
push eax
call fcn.0041a250
add esp, 4
push esi
call edi
mov ecx, dword [esp + 0x178]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042eefa
add esp, 0x16c
ret
push 0x460244
push 0x46025c
push 0x2f3
push 0x460260
push 0x46026c
push 0xdeaddead
call fcn.0041bd20
add esp, 0x18
push 0x460290
push 0x4602a8
push 0x2f3
push 0x4602ac
push 0x4602b8
push 2
call fcn.00434b42
add esp, 4
push eax
call fcn.004046e0
add esp, 0x18
call fcn.00435eff
int3