Function at 0x14004bf60
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x140092110]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, qword [rcx]
mov rbx, rcx
movsxd r15, edx
mov qword [rbp - 0x78], 0xffffffffffffffff
mov r13, r15
lea rax, [r15*2]
add rax, r15
lea rsi, [rcx + rax*8]
xor eax, eax
cmp dword [rbx + 0x164], 2
mov ecx, 0x30c
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x80], rax
lea r14d, [rcx - 0x18]
jne 0x14004bfed
cmp qword [rbx + 0x240], 0xffffffffffffffff
mov eax, r14d
cmovne eax, ecx
cmp dword [rax + rbx], 2
je 0x14004bfed
mov r12, qword [rbx + 0x150]
jmp 0x14004bff4
mov r12, qword [rbx + 0xd0]
mov r9d, dword [rbx + 0x17c]
lea rdx, str.schannel:_SSL_TLS_connection_with__s_port__hu__step_1_3__n
mov r8, r12
mov rcx, rdi
call fcn.14003b560
mov edx, 1
mov r9d, edx
lea ecx, [rdx + 4]
lea r8d, [rdx + 1]
call fcn.14004b2c0
test al, al
je 0x14004c034
lea rdx, str.schannel:_WinSSL_version_is_old_and_may_not_be_able_to_connect_to_some_servers_due_to_lack_of_SNI__algorithms__etc._n
mov rcx, rdi
call fcn.14003b560
cmp byte [rbx + 0x3c8], 0
je 0x14004c07b
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.wine_get_version
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14004c07b
mov edx, 3
lea ecx, [rax + 6]
mov r9d, edx
lea r8d, [rax + 2]
call fcn.14004b2c0
test al, al
je 0x14004c07b
mov cl, 1
jmp 0x14004c07d
xor cl, cl
mov rax, qword [rsi + 0x2d0]
mov byte [rax + 0x6a], cl
cmp dword [rbx + 0x164], 2
jne 0x14004c0b3
cmp qword [rbx + 0x240], 0xffffffffffffffff
mov rax, r14
mov ecx, 0x30c
cmovne rax, rcx
cmp dword [rax + rbx], 2
je 0x14004c0b3
mov rax, qword [rbx + 0x380]
jmp 0x14004c0ba
mov rax, qword [rbx + 0x340]
test rax, rax
je 0x14004c0fe
mov edx, 1
lea ecx, [rdx + 5]
lea r9d, [rdx + 2]
lea r8d, [rdx + 1]
call fcn.14004b2c0
test al, al
je 0x14004c0e5
mov rax, qword [rsi + 0x2d0]
mov byte [rax + 0x6b], 1
jmp 0x14004c109
lea rdx, str.schannel:_this_version_of_Windows_is_too_old_to_support_certificate_verification_via_CA_bundle_file.
mov rcx, rdi
call fcn.14003b450
mov eax, Ordinal_79
jmp 0x14004c742
mov rax, qword [rsi + 0x2d0]
mov byte [rax + 0x6b], 0
mov rax, qword [rsi + 0x2d0]
mov qword [rax], 0
cmp dword [rbx + 0x164], 2
jne 0x14004c141
cmp qword [rbx + 0x240], 0xffffffffffffffff
mov eax, 0x30c
cmovne r14, rax
cmp dword [r14 + rbx], 2
je 0x14004c141
movzx eax, byte [rdi + 0x65b]
jmp 0x14004c148
movzx eax, byte [rdi + 0x5c3]
test al, al
je 0x14004c1b9
mov rcx, rbx
call fcn.140034620
mov r9d, r15d
lea rdx, [rbp - 0x80]
xor r8d, r8d
mov rcx, rbx
call fcn.140034140
test al, al
jne 0x14004c1b1
mov rcx, qword [rsi + 0x2d0]
lea rdx, str.schannel:_re_using_existing_credential_handle_n
mov rax, qword [rbp - 0x80]
mov qword [rcx], rax
mov rcx, rdi
call fcn.14003b560
mov rax, qword [rsi + 0x2d0]
lea rdx, str.schannel:_incremented_credential_handle_refcount___d_n
mov rcx, qword [rax]
inc dword [rcx + 0x18]
mov rax, qword [rsi + 0x2d0]
mov rcx, qword [rax]
mov r8d, dword [rcx + 0x18]
mov rcx, rdi
call fcn.14003b560
mov rcx, rbx
call fcn.140034650
mov r14, qword [rsi + 0x2d0]
cmp qword [r14], 0
jne 0x14004c4a0
xor edx, edx
lea rcx, [rbp - 0x30]
lea r8d, [rdx + 0x50]
call sub.VCRUNTIME140.dll_memset
cmp byte [rbx + 0x330], 0
mov r15d, 8
mov dword [rbp - 0x30], 4
je 0x14004c223
cmp byte [r14 + 0x6b], 0
mov eax, reloc.WLDAP32.dll_Ordinal_32
cmovne eax, r15d
mov dword [rbp + 0x18], eax
cmp byte [rdi + 0x5f9], 0
je 0x14004c213
or eax, 0x1800
mov dword [rbp + 0x18], eax
jmp 0x14004c22a
bts eax, 9
lea rdx, str.schannel:_checking_server_certificate_revocation_n
mov dword [rbp + 0x18], eax
jmp 0x14004c231
mov dword [rbp + 0x18], 0x1808
lea rdx, str.schannel:_disabled_server_certificate_revocation_checks_n
mov rcx, rdi
call fcn.14003b560
cmp byte [rbx + 0x331], 0
jne 0x14004c255
or dword [rbp + 0x18], 4
lea rdx, str.schannel:_verifyhost_setting_prevents_Schannel_from_comparing_the_supplied_target_name_with_the_subject_names_in_server_certificates._n
mov rcx, rdi
call fcn.14003b560
movsxd rax, dword [rbx + 0x328]
cmp eax, 7
ja case.default.0x14004c276
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x4c76c]
add rcx, rdx
jmp rcx
mov dword [rbp + 8], 0xa80
jmp 0x14004c2a3
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14004dd00
test eax, eax
je 0x14004c2a3
jmp 0x14004c742
mov dword [rbp + 8], reloc.WLDAP32.dll_Ordinal_32
jmp 0x14004c2a3
mov dword [rbp + 8], r15d
mov rcx, qword [rdi + 0x628]
test rcx, rcx
je 0x14004c383
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x68]
call fcn.14004ba70
test eax, eax
jne 0x14004c742
mov rax, qword [rbp - 0x68]
xor edx, edx
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 9]
call qword [sym.imp.CRYPT32.dll_CertOpenStore]
mov r14, rax
test rax, rax
je 0x14004c73d
mov rcx, qword [rbp - 0x60]
lea rax, [rbp + 0x50]
xor r15d, r15d
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], r15
lea r9, [rbp + 0x50]
mov dword [rbp - 0x58], reloc.WS2_32.dll_sendto
lea edx, [r15 + 0x28]
mov qword [rsp + 0x20], rax
lea r8d, [r15 + 4]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x14004c73d
mov r9d, 0x10000
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x58]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14004c376
lea rax, [rsp + 0x60]
mov dword [rbp - 0x2c], 1
mov qword [rbp - 0x28], rax
xor edx, edx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
jmp 0x14004c386
xor r15d, r15d
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea ecx, [rdx - 0x1f]
call qword [case.0x14002f749.1]
mov rcx, qword [rsi + 0x2d0]
mov qword [rcx], rax
mov rax, qword [rsi + 0x2d0]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14004c3da
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, rdi
call fcn.14003b450
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004c5cc
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14004c742
mov dword [rcx + 0x18], 1
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
mov rax, qword [rsi + 0x2d0]
xor r9d, r9d
mov rcx, qword [rax]
lea r8d, [r9 + 2]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
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 [0x140097838]
call qword [rax + Ordinal_26]
mov rcx, qword [rsp + 0x60]
mov r14d, eax
test rcx, rcx
je 0x14004c439
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test r14d, r14d
je 0x14004c4a3
mov edx, r14d
mov rcx, rbx
call fcn.140027580
lea rcx, str.schannel:_AcquireCredentialsHandle_failed:__s
cmp r14d, 0x80090322
lea rdx, str.schannel:_SNI_or_certificate_check_failed:__s
mov r8, rax
cmovne rdx, rcx
mov rcx, rdi
call fcn.14003b450
mov rcx, qword [rsi + 0x2d0]
mov rcx, qword [rcx]
call qword [0x140092030]
mov rax, qword [rsi + 0x2d0]
mov qword [rax], r15
jmp 0x14004c73d
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
mov rcx, rdi
call fcn.14003b450
jmp 0x14004c73d
xor r15d, r15d
lea r8, [rbp - 0x70]
mov rdx, r12
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x14004c4cd
lea r8, [rbp + 0x40]
mov rdx, r12
lea ecx, [rax + 0x17]
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x14004c4dc
lea rdx, str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
mov rcx, rdi
call fcn.14003b560
mov rax, qword [rsi + 0x2d0]
cmp byte [rax + 0x6a], 0
je 0x14004c53f
movabs rax, 0x312e312f70747468
mov dword [rbp + 0x74], 2
lea r8, str.http_1.1
mov qword [rbp + 0x7b], rax
lea rdx, str.schannel:_ALPN__offering__s_n
mov byte [rbp + 0x7a], 8
mov rcx, rdi
call fcn.14003b560
mov ecx, 9
call fcn.14003da10
mov r9d, reloc.WS2_32.dll_send
movzx ecx, ax
add ecx, 6
mov word [rbp + 0x78], ax
mov dword [rbp + 0x70], ecx
lea r8, [rbp + 0x70]
lea edx, [r9 - 1]
jmp 0x14004c547
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.14004ba50
mov r8d, 1
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x20]
call fcn.14004ba60
xor r9d, r9d
lea rcx, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
call fcn.14004ba50
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x30]
call fcn.14004ba60
mov rax, qword [rsi + 0x2d0]
lea edx, [r9 + 0x18]
mov ecx, r8d
mov dword [rax + 0x5c], 0x811c
call qword [case.0x14002f749.1]
mov rcx, qword [rsi + 0x2d0]
mov qword [rcx + 8], rax
mov r10, qword [rsi + 0x2d0]
mov r8, qword [r10 + 8]
test r8, r8
jne 0x14004c5d6
lea rdx, str.schannel:_unable_to_allocate_memory
mov rcx, rdi
call fcn.14003b450
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14004c742
test r12, r12
je 0x14004c5cc
cmp byte [r10 + 0x6a], 0
lea rax, [r8 + 0x10]
mov r9d, dword [r10 + 0x5c]
lea rcx, [r10 + 0x60]
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x50], rcx
lea rax, [rbp + 0x30]
mov rcx, qword [r10]
cmove rdx, r15
mov qword [rsp + 0x48], rax
mov rax, qword [0x140097838]
mov qword [rsp + 0x40], r8
mov r8, r12
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rdx
xor edx, edx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [rax + Ordinal_50]
mov r14d, eax
cmp eax, 0x90312
je 0x14004c68b
mov edx, eax
mov rcx, rbx
call fcn.140027580
lea rcx, str.schannel:_initial_InitializeSecurityContext_failed:__s
cmp r14d, 0x80090322
lea rdx, str.schannel:_SNI_or_certificate_check_failed:__s
mov r8, rax
cmovne rdx, rcx
mov rcx, rdi
call fcn.14003b450
mov rcx, qword [rsi + 0x2d0]
mov rcx, qword [rcx + 8]
call qword [0x140092030]
mov rax, qword [rsi + 0x2d0]
mov qword [rax + 8], r15
jmp 0x14004c73d
mov r8d, dword [rsp + 0x70]
lea rdx, str.schannel:_sending_initial_handshake_data:_sending__lu_bytes..._n
mov rcx, rdi
call fcn.14003b560
mov r9d, dword [rsp + 0x70]
lea rax, [rbp - 0x78]
mov r8, qword [rsp + 0x78]
mov rcx, rbx
mov rdx, qword [rbx + r13*8 + 0x238]
mov qword [rsp + 0x20], rax
call fcn.14003bad0
mov rdx, qword [0x140097838]
mov ebx, eax
mov rcx, qword [rsp + 0x78]
call qword [rdx + 0x80]
mov r8, qword [rbp - 0x78]
mov r9d, dword [rsp + 0x70]
test ebx, ebx
jne 0x14004c72e
cmp r9, r8
jne 0x14004c72e
lea rdx, str.schannel:_sent_initial_handshake_data:_sent__zd_bytes_n
mov rcx, rdi
call fcn.14003b560
mov rax, qword [rsi + 0x2d0]
mov dword [rax + 0x64], r15d
mov rax, qword [rsi + 0x2d0]
mov byte [rax + 0x68], bl
mov rax, qword [rsi + 0x2d0]
mov byte [rax + 0x69], bl
mov rax, qword [rsi + 0x2d0]
mov byte [rax + 0x58], bl
xor eax, eax
mov dword [rsi + 0x2c8], 1
jmp 0x14004c742
lea rdx, str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
mov rcx, rdi
call fcn.14003b450
mov eax, reloc.WLDAP32.dll_Ordinal_35
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140069a60
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret