Function at 0x1400114dd
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x1400185c0
push rbp
push rdi
sub rsp, 0x4a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xc2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140027018]
xor rax, rbp
mov qword [rbp + 0x478], rax
lea rcx, [0x14002d102]
call fcn.1400116f9
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0
je 0x140018656
lea rdx, str.WSAStartup_failed_with_error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110ff
mov edx, dword [rbp + 0x1c4]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140011055]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x1400187a7
lea rax, str.62.16.40.130
mov qword [rbp + 0x1e8], rax
mov edx, 0x20
lea rcx, [rbp + 0x208]
call fcn.140011307
lea rcx, [rbp + 0x208]
call fcn.140011226
nop
mov dword [rbp + 0x244], 0x1bc
jmp 0x14001869c
mov eax, dword [rbp + 0x244]
inc eax
mov dword [rbp + 0x244], eax
cmp dword [rbp + 0x244], 0xffff
jg 0x1400186cb
lea r9, [rbp + 0x244]
lea r8, [rbp + 0x1e8]
lea rdx, [0x140011582]
lea rcx, [rbp + 0x208]
call fcn.14001106e
jmp 0x14001868e
lea rax, [rbp + 0x208]
mov qword [rbp + 0x268], rax
mov rcx, qword [rbp + 0x268]
call fcn.1400114e7
mov qword [rbp + 0x288], rax
mov rcx, qword [rbp + 0x268]
call fcn.1400115a5
mov qword [rbp + 0x2a8], rax
jmp 0x140018713
mov rax, qword [rbp + 0x288]
add rax, 0x10
mov qword [rbp + 0x288], rax
mov rax, qword [rbp + 0x2a8]
cmp qword [rbp + 0x288], rax
je 0x14001873f
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x2c8], rax
mov rcx, qword [rbp + 0x2c8]
call fcn.140011005
jmp 0x140018701
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, [0x140027440]
call fcn.140011096
mov dword [rbp + 0x474], eax
lea rdx, str.Total_open_ports_found:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110ff
mov ecx, dword [rbp + 0x474]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140011055]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov dword [rbp + 0x464], 0
lea rcx, [rbp + 0x208]
call fcn.14001113b
mov eax, dword [rbp + 0x464]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_connect
call fcn.1400115eb
mov rax, rdi
mov rcx, qword [rbp + 0x478]
xor rcx, rbp
call fcn.140011361
lea rsp, [rbp + 0x488]
pop rdi
pop rbp
ret