Function at 0x414d20
Capabilities:
Convert ip address from string
Create tcp socket
Create udp socket
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41edf6
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x1fc]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x424040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x4270fa
call fcn.004116cc
nop
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov cx, word [ebp + 0xc]
mov word [eax + 4], cx
mov eax, dword [ebp - 0x18]
mov cx, word [ebp + 0x10]
mov word [eax + 6], cx
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], 0xffffffff
lea ecx, [ebp - 0x2a9]
call fcn.004110e1
push eax
movsx eax, word [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004114e7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2b5]
call fcn.004110e1
push eax
movsx eax, word [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c
call fcn.004114e7
mov byte [ebp - 4], 1
push 0x421ca4
lea ecx, [ebp - 0x1d4]
call fcn.00411127
mov byte [ebp - 4], 2
mov esi, esp
lea eax, [ebp - 0x1b0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp esi, esp
call fcn.004114b0
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 0
je 0x414e76
mov esi, esp
push 0x41105a
mov edi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp edi, esp
call fcn.004114b0
mov edi, esp
push eax
push str.Error_WinSock_version_initialization_
mov eax, dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push eax
call fcn.0041133e
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
cmp edi, esp
call fcn.004114b0
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp esi, esp
call fcn.004114b0
nop
mov esi, esp
push 1
call dword [sym.imp.ucrtbased.dll_exit]
cmp esi, esp
call fcn.004114b0
nop
mov esi, esp
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp esi, esp
call fcn.004114b0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 8], 0xffffffff
jne 0x414f07
mov esi, esp
push 0x41105a
mov edi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp edi, esp
call fcn.004114b0
mov edi, esp
push eax
push str.Error_initializing_socket_
mov eax, dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push eax
call fcn.0041133e
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
cmp edi, esp
call fcn.004114b0
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp esi, esp
call fcn.004114b0
nop
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp esi, esp
call fcn.004114b0
nop
mov esi, esp
push 1
call dword [sym.imp.ucrtbased.dll_exit]
cmp esi, esp
call fcn.004114b0
nop
push 0x10
push 0
mov eax, dword [ebp - 0x18]
add eax, 0xc
push eax
call fcn.004112fd
add esp, 0xc
mov eax, 2
mov ecx, dword [ebp - 0x18]
mov word [ecx + 0xc], ax
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov esi, esp
push eax
mov ecx, dword [ebp + 8]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp esi, esp
call fcn.004114b0
nop
mov esi, esp
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call fcn.004114b0
mov ecx, dword [ebp - 0x18]
mov word [ecx + 0xe], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d4]
call fcn.004113e3
nop
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x414fb4]
call fcn.004113fc
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004112f8
add esp, 0x2bc
cmp ebp, esp
call fcn.004114b0
mov esp, ebp
pop ebp
ret 0xc