Function at 0x14009eee0
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140283aa8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, qword [rcx]
mov rbx, rcx
mov r9d, dword [rcx + 0x10c]
xor r15d, r15d
mov r8, qword [rcx + 0xb8]
movsxd r14, edx
lea rdx, str.schannel:_SSL_TLS_connection_with__s_port__hu__step_1_3__n
mov qword [rbp - 0x68], 0xffffffffffffffff
mov qword [rbp - 0x70], r15
lea rax, [r14 + 5]
imul rsi, rax, 0x78
add rsi, rcx
mov rcx, rdi
call fcn.1400918b0
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.140089ae0
test al, al
jne 0x14009f02a
mov rax, qword [rbp - 0x70]
lea rdx, str.schannel:_re_using_existing_credential_handle_n
mov rcx, rdi
mov qword [rsi + 0x10], rax
call fcn.1400918b0
mov rdx, qword [rbx + 0xb8]
lea r8, [rbp - 0x60]
mov ecx, 2
call sub.WS2_32.dll_inet_pton
test eax, eax
jne 0x14009efaa
mov rdx, qword [rbx + 0xb8]
lea r8, [rbp + 0x10]
lea ecx, [rax + 0x17]
call sub.WS2_32.dll_inet_pton
test eax, eax
je 0x14009efb9
lea rdx, str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
mov rcx, rdi
call fcn.1400918b0
cmp byte [rbx + 0x3ce], r15b
je 0x14009f1cc
movabs rax, 0x312e312f70747468
mov dword [rbp + 0x24], 2
lea r8, str.http_1.1
mov qword [rbp + 0x2b], rax
lea rdx, str.schannel:_ALPN__offering__s_n
mov byte [rbp + 0x2a], 8
mov rcx, rdi
call fcn.1400918b0
mov ecx, 9
call fcn.14009b690
movzx ecx, ax
mov word [rbp + 0x28], ax
add ecx, 6
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], ecx
mov dword [rsp + 0x70], reloc.WS2_32.dll_send
mov dword [rsp + 0x74], reloc.WS2_32.dll_select
mov qword [rsp + 0x78], rax
jmp 0x14009f1d6
xor edx, edx
lea rcx, [rbp - 0x40]
lea r8d, [rdx + 0x50]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x40], 4
cmp byte [rdi + 0x3f0], r15b
je 0x14009f07c
mov dword [rbp + 8], 0x20
mov ecx, 0x1820
cmp byte [rdi + 0x4cb], r15b
mov eax, 0x220
cmovne eax, ecx
mov rcx, rdi
mov dword [rbp + 8], eax
cmp byte [rdi + 0x4cb], r15b
jne 0x14009f086
lea rdx, str.schannel:_checking_server_certificate_revocation_n
jmp 0x14009f08d
mov dword [rbp + 8], 0x1808
mov rcx, rdi
lea rdx, str.schannel:_disabled_server_certificate_revocation_checks_n
call fcn.1400918b0
cmp byte [rdi + 0x3f1], r15b
jne 0x14009f0ae
or dword [rbp + 8], 4
lea rdx, str.schannel:_verifyhost_setting_prevents_Schannel_from_comparing_the_supplied_target_name_with_the_subject_names_in_server_certificates._Also_disables_SNI._n
mov rcx, rdi
call fcn.1400918b0
mov ecx, dword [rdi + 0x3e8]
sub ecx, 2
je 0x14009f0fa
sub ecx, 1
je 0x14009f0f1
sub ecx, 1
je 0x14009f0e8
sub ecx, 1
je 0x14009f0df
cmp ecx, 1
je 0x14009f0d6
mov dword [rbp - 8], 0xa80
jmp 0x14009f101
mov dword [rbp - 8], 0x800
jmp 0x14009f101
mov dword [rbp - 8], 0x200
jmp 0x14009f101
mov dword [rbp - 8], 0x80
jmp 0x14009f101
mov dword [rbp - 8], 0x20
jmp 0x14009f101
mov dword [rbp - 8], 8
mov ecx, 0x20
call qword [fcn.1401ac298]
mov qword [rsi + 0x10], rax
test rax, rax
jne 0x14009f12e
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, rdi
call fcn.1400917f0
mov eax, 0x1b
jmp 0x14009f375
xor ecx, ecx
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
mov qword [rax], rcx
xor r9d, r9d
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov rcx, qword [rsi + 0x10]
lea r8d, [r9 + 2]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rcx
xor ecx, ecx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
mov rax, qword [0x140289330]
call qword [rax + 0x18]
test eax, eax
je 0x14009ef7a
mov rcx, rbx
cmp eax, 0x80090322
jne 0x14009f1a0
mov edx, eax
call fcn.1400a3140
lea rdx, str.schannel:_SNI_or_certificate_check_failed:__s
jmp 0x14009f1ae
mov edx, eax
call fcn.1400a3140
lea rdx, str.schannel:_AcquireCredentialsHandle_failed:__s
mov r8, rax
mov rcx, rdi
call fcn.1400917f0
mov rcx, qword [rsi + 0x10]
call qword [case.0x14009ea5b.0]
mov qword [rsi + 0x10], r15
jmp 0x14009f370
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
lea rax, [rsp + 0x70]
mov dword [rbp - 0x7c], 1
mov qword [rbp - 0x78], rax
mov ecx, 0x18
lea rax, [rsp + 0x60]
mov dword [rbp - 0x80], r15d
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov dword [rbp - 0x58], r15d
mov dword [rbp - 0x54], 1
mov dword [rsi + 0x68], 0x811c
call qword [fcn.1401ac298]
mov qword [rsi + 0x18], rax
test rax, rax
je 0x14009f115
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov r8, qword [rbx + 0xb8]
test r8, r8
je 0x14009f124
mov rdx, qword [rsi + 0x18]
lea rcx, [rsi + 0x6c]
mov r9d, dword [rsi + 0x68]
lea rax, [rdx + 0x10]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rdx
xor edx, edx
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rax
mov rax, qword [0x140289330]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [rax + 0x30]
cmp eax, 0x90312
je 0x14009f2e1
mov rcx, rbx
cmp eax, 0x80090322
jne 0x14009f2b5
mov edx, eax
call fcn.1400a3140
lea rdx, str.schannel:_SNI_or_certificate_check_failed:__s
jmp 0x14009f2c3
mov edx, eax
call fcn.1400a3140
lea rdx, str.schannel:_initial_InitializeSecurityContext_failed:__s
mov r8, rax
mov rcx, rdi
call fcn.1400917f0
mov rcx, qword [rsi + 0x18]
call qword [case.0x14009ea5b.0]
mov qword [rsi + 0x18], r15
jmp 0x14009f370
mov r8d, dword [rsp + 0x60]
lea rdx, str.schannel:_sending_initial_handshake_data:_sending__lu_bytes..._n
mov rcx, rdi
call fcn.1400918b0
mov r9d, dword [rsp + 0x60]
lea rax, [rbp - 0x68]
mov r8, qword [rsp + 0x68]
mov rcx, rbx
mov rdx, qword [rbx + r14*8 + 0x1d0]
mov qword [rsp + 0x20], rax
call fcn.140091d00
mov rdx, qword [0x140289330]
mov ebx, eax
mov rcx, qword [rsp + 0x68]
call qword [rdx + 0x80]
mov r8, qword [rbp - 0x68]
mov r9d, dword [rsp + 0x60]
test ebx, ebx
jne 0x14009f361
cmp r9, r8
jne 0x14009f361
lea rdx, str.schannel:_sent_initial_handshake_data:_sent__zd_bytes_n
mov rcx, rdi
call fcn.1400918b0
xor eax, eax
mov dword [rsi + 0x70], r15d
mov word [rsi + 0x74], r15w
mov dword [rsi + 8], 1
jmp 0x14009f375
lea rdx, str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
mov rcx, rdi
call fcn.1400917f0
mov eax, 0x23
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1401aad60
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret