Function at 0x1400ad830
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 [0x140378098]
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 0x1400ad892
cmp byte [rdx + 0x2d3], r14b
je 0x1400ad8c6
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 0x1400ad8c6
mov qword [rsp + 0x38], reloc.WS2_32.dll_recv
jmp 0x1400ad8e3
lea r8, [rsp + 0x58]
mov rdx, rdi
mov ecx, esi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1400ad8e8
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.1401378e0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400ada9b
xor dil, dil
mov rcx, rax
mov byte [rsp + 0x20], dil
mov byte [rsp + 0x21], dil
call fcn.14011f8b0
mov dword [rsp + 0x28], eax
mov r15d, r14d
test eax, eax
jle 0x1400ad9e2
mov r14, qword [rsp + 0x40]
test dil, dil
jne 0x1400ad9df
mov edx, r15d
mov rcx, r14
call fcn.14011fbb0
mov rdi, rax
mov ecx, dword [rax]
cmp ecx, 2
jne 0x1400ad958
mov byte [rsp + 0x22], 1
jmp 0x1400ad96a
cmp ecx, 7
movzx ebx, bl
mov eax, 1
cmove ebx, eax
mov dword [rsp + 0x24], ebx
cmp ecx, esi
jne 0x1400ad9cc
mov rcx, qword [rdi + 8]
call fcn.1400fa4b0
mov rcx, qword [rdi + 8]
mov rbx, rax
call fcn.1400d8910
movsxd rdx, eax
cmp esi, 2
je 0x1400ada41
cmp esi, 7
jne 0x1400ad9c8
cmp rdx, qword [rsp + 0x38]
jne 0x1400ad9c8
mov r8, rdx
mov rcx, rbx
lea rdx, [rsp + 0x58]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400ad9c8
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.1400957d0
mov ebx, dword [rsp + 0x24]
movzx edi, byte [rsp + 0x20]
inc r15d
cmp r15d, dword [rsp + 0x28]
jl 0x1400ad933
xor r14d, r14d
mov rcx, qword [rsp + 0x40]
call fcn.140139eb0
test dil, dil
jne 0x1400adc37
cmp byte [rsp + 0x21], dil
jne 0x1400adc37
cmp byte [rsp + 0x22], dil
jne 0x1400ada0f
test bl, bl
je 0x1400ada96
mov r8, qword [rsp + 0x30]
lea rdx, str._subjectAltName_does_not_match__s
mov rcx, r13
call fcn.1400957d0
mov r8, qword [rsp + 0x30]
lea rdx, str.SSL:_no_alternative_certificate_subject_name_matches_target_host_name__s
mov rcx, r13
call fcn.1400956f0
mov eax, reloc.WLDAP32.dll_Ordinal_60
jmp 0x1400adc3a
mov rax, rbp
inc rax
cmp byte [rbx + rax], 0
jne 0x1400ada44
cmp rdx, rax
jne 0x1400ad9c8
mov r8, qword [rsp + 0x50]
mov r9, r12
mov rcx, rbx
call fcn.1400d2360
test al, al
je 0x1400ad9c8
mov r8, qword [rsp + 0x30]
lea rdx, str._subjectAltName:_host___s__matched_certs___s_
mov r9, rbx
mov rcx, r13
call fcn.1400957d0
mov ebx, dword [rsp + 0x24]
mov dil, 1
mov byte [rsp + 0x20], dil
jmp 0x1400ad9d1
mov r15, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov edi, r14d
mov qword [rsp + 0x28], r14
call fcn.14012fe40
mov rbx, rax
test rax, rax
je 0x1400adbb8
mov r8d, ebp
mov edx, reloc.WS2_32.dll_listen
mov rcx, rax
call fcn.1401376f0
test eax, eax
js 0x1400adbb8
mov r8d, eax
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
mov esi, eax
call fcn.1401376f0
test eax, eax
jns 0x1400adad1
mov edx, esi
mov rcx, rbx
call fcn.1401376a0
mov rcx, rax
call fcn.140137390
mov rsi, rax
test rax, rax
je 0x1400adbb8
mov rcx, rax
call fcn.140126370
cmp eax, 0xc
jne 0x1400adb6e
mov rcx, rsi
call fcn.1400d8910
movsxd rdi, eax
test eax, eax
js 0x1400adb7d
lea ecx, [rdi + 1]
mov r8d, 0x8d7
movsxd rcx, ecx
lea rdx, str.E:NGULibrariescurl_8.3.0lib_vtlsopenssl.c
call fcn.14011fee0
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400adb66
mov rcx, rsi
call fcn.1400fa4b0
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 0x1400adb7d
mov r14d, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400adb7d
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140127330
mov edi, eax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400adbb3
inc rbp
cmp byte [rcx + rbp], 0
jne 0x1400adb87
mov rcx, rbp
call fcn.140097a70
cmp eax, edi
je 0x1400adbb3
lea rdx, str.SSL:_illegal_cert_name_field
mov rcx, r13
call fcn.1400956f0
mov r14d, reloc.WLDAP32.dll_Ordinal_60
jmp 0x1400adc1b
test r14d, r14d
jne 0x1400adc1b
cmp qword [rsp + 0x28], 0
jne 0x1400adbd7
lea rdx, str.SSL:_unable_to_obtain_common_name_from_peer_certificate
mov rcx, r13
call fcn.1400956f0
mov r14d, reloc.WLDAP32.dll_Ordinal_60
jmp 0x1400adc1b
mov r8, qword [rsp + 0x50]
mov r9, r12
mov rcx, qword [rsp + 0x28]
movsxd rdx, edi
call fcn.1400d2360
mov r8, qword [rsp + 0x28]
mov rcx, r13
test al, al
jne 0x1400adc0f
mov r9, r15
lea rdx, str.SSL:_certificate_subject_name__s_does_not_match_target_host_name__s
call fcn.1400956f0
mov r14d, reloc.WLDAP32.dll_Ordinal_60
jmp 0x1400adc1b
lea rdx, str._common_name:__s__matched_
call fcn.1400957d0
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400adc37
mov r8d, 0x8fe
lea rdx, str.E:NGULibrariescurl_8.3.0lib_vtlsopenssl.c
call fcn.14011ff30
mov eax, r14d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14011d660
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret