Function at 0x1400c5620
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14039e188]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r15, qword [rsp + 0xd0]
xor r14d, r14d
xor bl, bl
mov qword [rsp + 0x50], r9
mov rbp, 0xffffffffffffffff
mov dword [rsp + 0x24], ebx
mov rdi, r9
mov qword [rsp + 0x48], r8
mov r13, rcx
mov qword [rsp + 0x30], r15
mov esi, 2
mov qword [rsp + 0x38], r14
mov byte [rsp + 0x22], r14b
mov r12, rbp
inc r12
cmp byte [r9 + r12], r14b
jne 0x1400c5682
cmp byte [rdx + 0x2d3], r14b
je 0x1400c56b6
lea r8, [rsp + 0x58]
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1400c56b6
mov qword [rsp + 0x38], reloc.WS2_32.dll_recv
jmp 0x1400c56d3
lea r8, [rsp + 0x58]
mov rdx, rdi
mov ecx, esi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1400c56d8
mov qword [rsp + 0x38], 4
mov esi, 7
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x55]
call fcn.140153b00
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400c588b
xor dil, dil
mov rcx, rax
mov byte [rsp + 0x20], dil
mov byte [rsp + 0x21], dil
call fcn.14013bad0
mov dword [rsp + 0x28], eax
mov r15d, r14d
test eax, eax
jle 0x1400c57d2
mov r14, qword [rsp + 0x40]
test dil, dil
jne 0x1400c57cf
mov edx, r15d
mov rcx, r14
call fcn.14013bdd0
mov rdi, rax
mov ecx, dword [rax]
cmp ecx, 2
jne 0x1400c5748
mov byte [rsp + 0x22], 1
jmp 0x1400c575a
cmp ecx, 7
movzx ebx, bl
mov eax, 1
cmove ebx, eax
mov dword [rsp + 0x24], ebx
cmp ecx, esi
jne 0x1400c57bc
mov rcx, qword [rdi + 8]
call fcn.1401122a0
mov rcx, qword [rdi + 8]
mov rbx, rax
call fcn.1400f0700
movsxd rdx, eax
cmp esi, 2
je 0x1400c5831
cmp esi, 7
jne 0x1400c57b8
cmp rdx, qword [rsp + 0x38]
jne 0x1400c57b8
mov r8, rdx
mov rcx, rbx
lea rdx, [rsp + 0x58]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400c57b8
mov r8, qword [rsp + 0x30]
lea rdx, str._subjectAltName:_host___s__matched_certs_IP_address_
mov rcx, r13
mov byte [rsp + 0x21], 1
call fcn.1400ad5c0
mov ebx, dword [rsp + 0x24]
movzx edi, byte [rsp + 0x20]
inc r15d
cmp r15d, dword [rsp + 0x28]
jl 0x1400c5723
xor r14d, r14d
mov rcx, qword [rsp + 0x40]
call fcn.1401560d0
test dil, dil
jne 0x1400c5a27
cmp byte [rsp + 0x21], dil
jne 0x1400c5a27
cmp byte [rsp + 0x22], dil
jne 0x1400c57ff
test bl, bl
je 0x1400c5886
mov r8, qword [rsp + 0x30]
lea rdx, str._subjectAltName_does_not_match__s
mov rcx, r13
call fcn.1400ad5c0
mov r8, qword [rsp + 0x30]
lea rdx, str.SSL:_no_alternative_certificate_subject_name_matches_target_host_name__s
mov rcx, r13
call fcn.1400ad4e0
mov eax, reloc.WLDAP32.dll_Ordinal_60
jmp 0x1400c5a2a
mov rax, rbp
inc rax
cmp byte [rbx + rax], 0
jne 0x1400c5834
cmp rdx, rax
jne 0x1400c57b8
mov r8, qword [rsp + 0x50]
mov r9, r12
mov rcx, rbx
call fcn.1400ea150
test al, al
je 0x1400c57b8
mov r8, qword [rsp + 0x30]
lea rdx, str._subjectAltName:_host___s__matched_certs___s_
mov r9, rbx
mov rcx, r13
call fcn.1400ad5c0
mov ebx, dword [rsp + 0x24]
mov dil, 1
mov byte [rsp + 0x20], dil
jmp 0x1400c57c1
mov r15, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov edi, r14d
mov qword [rsp + 0x28], r14
call fcn.14014c060
mov rbx, rax
test rax, rax
je 0x1400c59a8
mov r8d, ebp
mov edx, reloc.WS2_32.dll_listen
mov rcx, rax
call fcn.140153910
test eax, eax
js 0x1400c59a8
mov r8d, eax
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
mov esi, eax
call fcn.140153910
test eax, eax
jns 0x1400c58c1
mov edx, esi
mov rcx, rbx
call fcn.1401538c0
mov rcx, rax
call fcn.1401535b0
mov rsi, rax
test rax, rax
je 0x1400c59a8
mov rcx, rax
call fcn.140142590
cmp eax, 0xc
jne 0x1400c595e
mov rcx, rsi
call fcn.1400f0700
movsxd rdi, eax
test eax, eax
js 0x1400c596d
lea ecx, [rdi + 1]
mov r8d, 0x8d7
movsxd rcx, ecx
lea rdx, str.E:NGULibrariescurl_8.3.0lib_vtlsopenssl.c
call fcn.14013c100
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400c5956
mov rcx, rsi
call fcn.1401122a0
mov rcx, qword [rsp + 0x28]
mov rdx, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x28]
mov byte [rdi + rax], 0
jmp 0x1400c596d
mov r14d, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400c596d
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140143550
mov edi, eax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400c59a3
inc rbp
cmp byte [rcx + rbp], 0
jne 0x1400c5977
mov rcx, rbp
call fcn.1400af860
cmp eax, edi
je 0x1400c59a3
lea rdx, str.SSL:_illegal_cert_name_field
mov rcx, r13
call fcn.1400ad4e0
mov r14d, reloc.WLDAP32.dll_Ordinal_60
jmp 0x1400c5a0b
test r14d, r14d
jne 0x1400c5a0b
cmp qword [rsp + 0x28], 0
jne 0x1400c59c7
lea rdx, str.SSL:_unable_to_obtain_common_name_from_peer_certificate
mov rcx, r13
call fcn.1400ad4e0
mov r14d, reloc.WLDAP32.dll_Ordinal_60
jmp 0x1400c5a0b
mov r8, qword [rsp + 0x50]
mov r9, r12
mov rcx, qword [rsp + 0x28]
movsxd rdx, edi
call fcn.1400ea150
mov r8, qword [rsp + 0x28]
mov rcx, r13
test al, al
jne 0x1400c59ff
mov r9, r15
lea rdx, str.SSL:_certificate_subject_name__s_does_not_match_target_host_name__s
call fcn.1400ad4e0
mov r14d, reloc.WLDAP32.dll_Ordinal_60
jmp 0x1400c5a0b
lea rdx, str._common_name:__s__matched_
call fcn.1400ad5c0
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400c5a27
mov r8d, 0x8fe
lea rdx, str.E:NGULibrariescurl_8.3.0lib_vtlsopenssl.c
call fcn.14013c150
mov eax, r14d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401395c0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret