Function at 0x1400a640b
Capabilities:
Convert ip address from string

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r9
mov r15, r8
mov rbx, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x60], xmm0
mov rcx, r9
call fcn.1401812d0
mov qword [rsp + 0x38], rax
cmp byte [rbx + 0x2d3], 0
mov qword [rsp + 0x40], rsi
je 0x1400a6487
lea r8, [rsp + 0x60]
mov ecx, reloc.WS2_32.dll_socket
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1400a6487
mov eax, reloc.WS2_32.dll_recv
mov qword [rsp + 0x48], rax
mov edi, 7
jmp 0x1400a64b0
lea r8, [rsp + 0x60]
mov ecx, 2
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_inet_pton]
xor ecx, ecx
test eax, eax
setne cl
lea edi, [rcx + rcx*4]
add edi, 2
shl rcx, 2
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov rcx, r15
mov edx, 0x55
xor r8d, r8d
xor r9d, r9d
call fcn.1400e3cb0
test rax, rax
je 0x1400a663d
mov r13, rax
mov rcx, rax
call fcn.140076b40
test rax, rax
mov qword [rsp + 0x50], r15
je 0x1400a6641
mov r14, rax
mov esi, 1
mov dword [rsp + 0x24], 0
xor r12d, r12d
xor ebp, ebp
xor eax, eax
mov qword [rsp + 0x30], rax
lea rdx, [rsi - 1]
mov rcx, r13
call fcn.1400c2680
mov r15, rax
mov eax, dword [rax]
cmp eax, 2
je 0x1400a6523
cmp eax, 7
jne 0x1400a652a
mov bpl, 1
jmp 0x1400a652a
mov cl, 1
mov qword [rsp + 0x30], rcx
cmp eax, edi
jne 0x1400a6623
mov rcx, qword [r15 + 8]
call fcn.14003f850
mov rbx, rax
mov rcx, qword [r15 + 8]
call fcn.140075be0
movsxd r15, eax
cmp edi, 7
je 0x1400a65c3
cmp edi, 2
jne 0x1400a6623
mov rcx, rbx
call fcn.1401812d0
cmp rax, r15
jne 0x1400a6623
mov rcx, rbx
mov rdx, r15
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
call fcn.1400e43f8
mov r15d, eax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400a65b0
test r15b, r15b
je 0x1400a65b0
cmp byte [rcx + 0xa37], 0
je 0x1400a65b0
lea rdx, str._subjectAltName:_host___s__matched_certs___s_
mov r8, qword [rsp + 0xe0]
mov r9, rbx
call fcn.14003171b
mov eax, 1
test r15b, r15b
jne 0x1400a65be
movzx eax, r12b
mov r12d, eax
jmp 0x1400a6623
mov r8, qword [rsp + 0x48]
cmp r8, r15
jne 0x1400a6623
mov rcx, rbx
lea rdx, [rsp + 0x60]
call fcn.140160e20
test eax, eax
jne 0x1400a65e5
mov eax, 1
jmp 0x1400a65ec
mov eax, dword [rsp + 0x24]
movzx eax, al
mov rcx, qword [rsp + 0x28]
jne 0x1400a661f
test rcx, rcx
je 0x1400a661f
cmp byte [rcx + 0xa37], 0
je 0x1400a661d
mov al, 1
mov dword [rsp + 0x24], eax
lea rdx, str._subjectAltName:_host___s__matched_certs_IP_address_
mov r8, qword [rsp + 0xe0]
call fcn.14003171b
jmp 0x1400a6623
mov al, 1
mov dword [rsp + 0x24], eax
mov eax, r12d
and al, 1
sete bl
cmp rsi, r14
jae 0x1400a6654
inc rsi
test al, al
je 0x1400a6503
jmp 0x1400a6654
xor eax, eax
jmp 0x1400a667f
mov bl, 1
xor eax, eax
mov qword [rsp + 0x30], rax
xor ebp, ebp
mov dword [rsp + 0x24], 0
mov rcx, r13
call fcn.1400e4540
test bl, bl
je 0x1400a6796
mov eax, dword [rsp + 0x24]
and al, 1
mov r15, qword [rsp + 0x50]
mov esi, 0
mov rax, qword [rsp + 0x30]
jne 0x1400a683a
or bpl, al
test bpl, 1
jne 0x1400a674c
mov qword [rsp + 0x58], 0
mov rcx, r15
call fcn.1400dada0
test rax, rax
je 0x1400a6815
mov rbx, rax
mov eax, 0xffffffff
mov ebp, eax
mov rcx, rbx
mov edx, reloc.WS2_32.dll_listen
mov r8d, eax
call fcn.1400e46e0
test eax, eax
jns 0x1400a66ae
test ebp, ebp
js 0x1400a6815
mov rcx, rbx
mov edx, ebp
call fcn.1400e4680
mov rcx, rax
call fcn.1400e4670
test rax, rax
je 0x1400a6815
mov rbx, rax
mov rcx, rax
call fcn.140076690
cmp eax, 0xc
jne 0x1400a679d
mov rcx, rbx
call fcn.140075be0
mov r14d, eax
test eax, eax
js 0x1400a67ad
lea ecx, [r14 + 1]
call fcn.1400c0960
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400a6863
mov r15, rax
mov rcx, rbx
call fcn.14003f850
mov ebx, r14d
mov rcx, r15
mov rdx, rax
mov r8, rbx
call fcn.140160f20
mov rax, qword [rsp + 0x58]
mov byte [rax + rbx], 0
jmp 0x1400a67ad
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400a6778
cmp byte [rcx + 0xa37], 0
je 0x1400a6778
lea rdx, str._subjectAltName_does_not_match__s
mov r8, qword [rsp + 0xe0]
call fcn.14003171b
mov rcx, qword [rsp + 0x28]
lea rdx, str.SSL:_no_alternative_certificate_subject_name_matches_target_host_name__s
mov r8, qword [rsp + 0xe0]
call fcn.140031630
mov esi, 0x3c
jmp 0x1400a683a
xor esi, esi
jmp 0x1400a683a
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.1400dcff0
mov r14d, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400a6815
call fcn.1401812d0
mov rcx, rax
call fcn.14003f413
cmp eax, r14d
jne 0x1400a685a
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400a6815
movsxd rdx, r14d
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
call fcn.1400e43f8
test al, al
je 0x1400a686a
xor esi, esi
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400a682b
cmp byte [rcx + 0xa37], 0
je 0x1400a682b
mov r8, qword [rsp + 0x58]
lea rdx, str._common_name:__s__matched_
call fcn.14003171b
jmp 0x1400a682b
lea rdx, str.SSL:_unable_to_obtain_common_name_from_peer_certificate
mov rcx, qword [rsp + 0x28]
call fcn.140031630
mov esi, 0x3c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400a683a
call fcn.1400c09c0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14015c2e0
mov eax, esi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, str.SSL:_illegal_cert_name_field
jmp 0x1400a681c
mov esi, 0x1b
jmp 0x1400a683a
mov r8, qword [rsp + 0x58]
lea rdx, str.SSL:_certificate_subject_name__s_does_not_match_target_host_name__s
mov rcx, qword [rsp + 0x28]
mov r9, qword [rsp + 0xe0]
call fcn.140031630
jmp 0x1400a6826