Function at 0x1400740a0
Capabilities:
Convert ip address from string

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0xe8]
sub rsp, 0x1d8
mov rax, qword [0x14019d3c0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rcx, qword [rcx + 0x10]
xor eax, eax
mov qword [r11 - 0x20], r12
mov edi, 0x3c
mov qword [r11 - 0x28], r13
mov r12, rdx
mov qword [r11 - 0x30], r14
mov r14d, eax
mov qword [r11 - 0x38], r15
mov r15, 0xffffffffffffffff
mov qword [rsp + 0x48], rax
mov r13, qword [rcx]
mov qword [rsp + 0x40], rax
nop dword [rax]
inc r15
cmp byte [r15 + r13], al
jne 0x140074100
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x48]
mov dword [rsp + 0x60], eax
xorps xmm0, xmm0
mov rcx, qword [rcx + 0x30]
mov edx, 0x53
mov dword [rsp + 0x78], eax
mov rax, qword [0x14019dc68]
movups xmmword [rsp + 0x68], xmm0
mov rcx, qword [rcx + 8]
call qword [rax + 0x58]
test eax, eax
jne 0x140074525
cmp qword [rsp + 0x48], r14
je 0x140074525
mov r9d, 2
mov qword [rsp + 0x200], rbx
mov edx, r9d
mov qword [rsp + 0x1d0], rsi
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov ecx, 6
call fcn.14006faf0
lea r8, [rsp + 0x58]
movzx ebx, al
mov rdx, r13
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1400741a8
mov eax, dword [rsp + 0x58]
mov esi, 4
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x6c], eax
jmp 0x1400741de
lea r8, [rbp - 0x80]
mov rdx, r13
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1400741d2
movups xmm0, xmmword [rbp - 0x80]
mov esi, reloc.WS2_32.dll_recv
mov dword [rsp + 0x68], esi
movups xmmword [rsp + 0x6c], xmm0
jmp 0x1400741de
mov esi, dword [rsp + 0x68]
test bl, bl
jne 0x1400742bd
mov rdx, qword [rsp + 0x48]
xor eax, eax
mov dword [rbp - 0x80], 0x18
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
test rdx, rdx
jne 0x140074210
lea rdx, str.schannel:_Null_certificate_context.
mov rcx, r12
call fcn.140032ef0
mov rax, r14
jmp 0x140074316
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x140074230
lea rdx, str.schannel:_Null_certificate_info.
mov rcx, r12
call fcn.140032ef0
mov rax, r14
jmp 0x140074316
mov r8, qword [rdx + 0xc8]
lea rcx, str.2.5.29.17
mov edx, dword [rdx + 0xc0]
call qword [sym.imp.CRYPT32.dll_CertFindExtension]
test rax, rax
jne 0x140074266
lea rdx, str.schannel:_CertFindExtension___returned_no_extension.
mov rcx, r12
call fcn.140032ef0
mov rax, r14
jmp 0x140074316
mov r9d, dword [rax + 0x10]
lea rcx, [rsp + 0x60]
mov r8, qword [rax + 0x18]
lea rdx, str.2.5.29.17
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov ecx, 0x10001
mov dword [rsp + 0x20], 0x8001
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
jne 0x1400742bd
lea rdx, str.schannel:_CryptDecodeObjectEx___returned_no_alternate_name_information.
mov rcx, r12
call fcn.140032ef0
mov rax, r14
jmp 0x140074316
test esi, esi
je 0x140074392
mov r15, qword [rsp + 0x50]
xor ebx, ebx
mov r14d, dword [r15]
test r14d, r14d
je 0x140074550
mov r15, qword [r15 + 8]
nop dword [rax]
lea rcx, [rbx + rbx*2]
cmp dword [r15 + rcx*8], 8
jne 0x14007430a
mov eax, dword [r15 + rcx*8 + 8]
cmp eax, esi
jne 0x14007430a
mov rcx, qword [r15 + rcx*8 + 0x10]
lea rdx, [rsp + 0x6c]
mov r8d, eax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14007437a
inc ebx
cmp ebx, r14d
jb 0x1400742e0
mov rax, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x200]
mov rcx, rax
call qword [fcn.140158666]
mov rcx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x1b8]
mov r13, qword [rsp + 0x1c0]
mov r12, qword [rsp + 0x1c8]
test rcx, rcx
je 0x14007435f
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, edi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140157800
add rsp, 0x1d8
pop rdi
pop rbp
ret
xor edi, edi
lea rdx, str.schannel:_connection_hostname___s__matched_certs_IP_address_
mov r8, r13
mov rcx, r12
call fcn.140032fe0
mov eax, edi
jmp 0x140074316
mov rax, qword [rsp + 0x50]
xor r9d, r9d
mov rdx, qword [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov rcx, r12
mov qword [rsp + 0x20], rax
mov esi, ebx
call fcn.140074a90
mov ebx, eax
test eax, eax
jne 0x1400743d2
lea rdx, str.schannel:_CertGetNameString___returned_no_certificate_name_information
mov rcx, r12
call fcn.140032ef0
mov rax, r14
jmp 0x140074316
lea rcx, [rbx + rbx]
mov qword [rsp + 0x58], rbx
call qword [section..data]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400743f5
mov edi, 0x1b
jmp 0x140074316
mov rax, qword [rsp + 0x50]
mov r9d, ebx
mov rdx, qword [rsp + 0x48]
mov rcx, r12
mov dword [rsp + 0x28], esi
mov rsi, qword [rsp + 0x40]
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.140074a90
cmp eax, ebx
je 0x140074436
lea rdx, str.schannel:_CertGetNameString___returned_certificate_name_information_of_unexpected_size
mov rcx, r12
call fcn.140032ef0
mov rax, rsi
jmp 0x140074316
test ebx, ebx
je 0x14007450e
nop
cmp word [rsi + r14*2], 0
lea rsi, [rsi + r14*2]
je 0x1400744ed
cmp edi, 0x3c
jne 0x1400744f2
mov rcx, rsi
call fcn.14004d810
mov rbx, rax
test rax, rax
jne 0x140074470
mov edi, 0x1b
jmp 0x1400744dd
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x140074477
mov r9, r15
mov r8, r13
mov rcx, rbx
call fcn.14007b6b0
mov r9, rbx
mov r8, r13
mov rcx, r12
test al, al
je 0x1400744ab
lea rdx, str.schannel:_connection_hostname___s__validated_against_certificate_name___s_
call fcn.140032fe0
xor edi, edi
jmp 0x1400744d5
lea rdx, str.schannel:_connection_hostname___s__did_not_match_against_certificate_name___s_
call fcn.140032fe0
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400744c0
inc r14
mov edi, 0x3c
add r14, rax
mov rcx, rbx
call fcn.140158666
mov rsi, qword [rsp + 0x40]
cmp r14, qword [rsp + 0x58]
jb 0x140074440
cmp edi, 0x3c
je 0x14007450e
test edi, edi
je 0x140074311
lea rdx, str.schannel:_server_certificate_name_verification_failed
mov rcx, r12
call fcn.140032ef0
jmp 0x140074311
mov r8, r13
lea rdx, str.schannel:_CertGetNameString___failed_to_match_connection_hostname___s__against_server_certificate_names
mov rcx, r12
call fcn.140032ef0
jmp 0x140074311
mov r8d, 0x100
lea rdx, [rbp - 0x60]
mov ecx, eax
call fcn.1400414b0
mov r8, rax
lea rdx, str.schannel:_Failed_to_read_remote_certificate_context:__s
mov rcx, r12
call fcn.140032ef0
mov rax, r14
jmp 0x140074326
mov rax, rbx
jmp 0x140074316