Function at 0x1401075e0
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2e8
mov rax, qword [0x1401e7890]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov qword [rsp + 0x98], 0xffffffffffffffff
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x2f0]
call fcn.1400d5170
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x2f0]
call fcn.1400d5110
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc8], rax
xor eax, eax
test eax, eax
jne 0x140107685
xor eax, eax
test eax, eax
jne 0x14010768b
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 1
mov ecx, 5
call fcn.14013e120
movzx eax, al
test eax, eax
je 0x1401076cc
lea rdx, str.schannel:_Windows_version_is_old_and_may_not_be_able_to_connect_to_some_servers_due_to_lack_of_SNI__algorithms__etc.
mov rcx, qword [rsp + 0x2f8]
call fcn.1400e21d0
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x18], 0
je 0x14010772e
lea rcx, [0x1401dfa58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.wine_get_version
mov rcx, rax
call qword [0x140161340]
test rax, rax
jne 0x14010772e
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
mov edx, 3
mov ecx, 6
call fcn.14013e120
movzx eax, al
test eax, eax
je 0x14010772e
mov dword [rsp + 0x80], 1
jmp 0x140107739
mov dword [rsp + 0x80], 0
cmp dword [rsp + 0x80], 0
jne 0x140107750
mov dword [rsp + 0x84], 0
jmp 0x14010775b
mov dword [rsp + 0x84], 1
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x84]
mov byte [rax + 0x6b], cl
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 8], 0
jne 0x140107789
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x48], 0
je 0x1401077db
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
mov edx, 1
mov ecx, 6
call fcn.14013e120
movzx eax, al
test eax, eax
je 0x1401077bb
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x6c], 1
jmp 0x1401077d9
lea rdx, [0x1401dfa80]
mov rcx, qword [rsp + 0x2f8]
call fcn.1400e22e0
mov eax, Ordinal_79
jmp 0x140107e9a
jmp 0x1401077e4
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x6c], 0
mov rax, qword [rsp + 0x68]
mov qword [rax], 0
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x6c]
test eax, eax
je 0x140107875
mov rcx, qword [rsp + 0x2f8]
call fcn.1400d3f90
xor r9d, r9d
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x2f0]
call fcn.1400d5290
movzx eax, al
test eax, eax
jne 0x140107868
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xb8]
mov qword [rax], rcx
xor eax, eax
test eax, eax
jne 0x140107844
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
mov dword [rcx + 0x28], eax
xor eax, eax
test eax, eax
jne 0x140107862
mov rcx, qword [rsp + 0x2f8]
call fcn.1400d3fe0
mov rax, qword [rsp + 0x68]
cmp qword [rax], 0
jne 0x140107928
mov rdx, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x2f0]
call fcn.140105e80
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
je 0x1401078ad
mov eax, dword [rsp + 0x74]
jmp 0x140107e9a
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x2f8]
call fcn.1400d3190
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x1401078f6
lea rdx, str.Failed_to_set_SNI
mov rcx, qword [rsp + 0x2f8]
call fcn.1400e22e0
mov eax, 0x23
jmp 0x140107e9a
mov rcx, qword [rsp + 0xc0]
call fcn.140102b30
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
cmp qword [rax + 0x18], 0
jne 0x140107928
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140107e9a
lea r8, [rsp + 0xe8]
mov rdx, qword [rsp + 0xc8]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x14010795b
lea rdx, str.schannel:_using_IP_address__SNI_is_not_supported_by_OS.
mov rcx, qword [rsp + 0x2f8]
call fcn.1400e21d0
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x6b]
test eax, eax
je 0x140107b1b
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x88], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0x90], 0
movsxd rax, dword [rsp + 0x60]
lea rax, [rsp + rax + 0x150]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x60]
add eax, 4
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x60]
mov dword [rsp + rax + 0x150], 2
mov eax, dword [rsp + 0x60]
add eax, 4
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x60]
lea rax, [rsp + rax + 0x150]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x60]
add eax, 2
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax + 0x18]
lea rcx, [rsp + 0x128]
call fcn.1400d4b30
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
je 0x140107a3c
lea rdx, str.Error_setting_ALPN
mov rcx, qword [rsp + 0x2f8]
call fcn.1400e22e0
mov eax, 0x23
jmp 0x140107e9a
movsxd rax, dword [rsp + 0x14c]
movsxd rcx, dword [rsp + 0x60]
lea rcx, [rsp + rcx + 0x150]
mov r8, rax
lea rdx, [rsp + 0x128]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x14c]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov ecx, eax
call fcn.1400e5a10
mov rcx, qword [rsp + 0x90]
mov word [rcx], ax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax]
add eax, 6
mov rcx, qword [rsp + 0xd0]
mov dword [rcx], eax
mov r9d, dword [rsp + 0x60]
lea r8, [rsp + 0x150]
mov edx, reloc.WS2_32.dll_select
lea rcx, [rsp + 0xf8]
call fcn.1401057e0
mov r8d, 1
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x108]
call fcn.140105820
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax + 0x18]
lea rcx, [rsp + 0x128]
call fcn.1400d4c70
lea r8, [rsp + 0x128]
lea rdx, str.ALPN:_offers__s
mov rcx, qword [rsp + 0x2f8]
call fcn.1400e21d0
jmp 0x140107b4b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xf8]
call fcn.1401057e0
mov r8d, 1
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x108]
call fcn.140105820
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.1401057e0
mov r8d, 1
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x118]
call fcn.140105820
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x5c], 0x811c
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0xb7]
test eax, eax
jne 0x140107bae
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x5c]
bts eax, 7
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x5c], eax
mov edx, Ordinal_27
mov ecx, 1
call qword [0x1401d9028]
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 8], 0
jne 0x140107bf1
lea rdx, [0x1401dfb48]
mov rcx, qword [rsp + 0x2f8]
call fcn.1400e22e0
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140107e9a
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x6b]
test eax, eax
je 0x140107c10
lea rax, [rsp + 0x108]
mov qword [rsp + 0xe0], rax
jmp 0x140107c1c
mov qword [rsp + 0xe0], 0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 8]
add rax, 0x10
mov rcx, qword [rsp + 0x68]
add rcx, 0x60
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rdx + 8]
mov r8, qword [rsp + 0x68]
mov r8, qword [r8]
mov r9, qword [rsp + 0x68]
mov r9, qword [r9]
mov qword [rsp + 0xf0], r9
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rcx
lea rax, [rsp + 0x118]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x68]
mov r9d, dword [rax + 0x5c]
mov r8, qword [r8 + 0x18]
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, rax
mov rax, qword [0x1401ebd68]
call qword [rax + 0x30]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x90312
je 0x140107dbb
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 8]
call qword [fcn.1401581f2]
mov rax, qword [rsp + 0x68]
mov qword [rax + 8], 0
xor eax, eax
test eax, eax
jne 0x140107cca
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 0x80090300
je 0x140107d13
cmp dword [rsp + 0x8c], 0x80090322
je 0x140107d4b
jmp 0x140107d83
mov r8d, 0x100
lea rdx, [rsp + 0x1d0]
mov ecx, dword [rsp + 0x70]
call fcn.1400c0e70
mov r8, rax
lea rdx, [0x1401dfb70]
mov rcx, qword [rsp + 0x2f8]
call fcn.1400e22e0
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140107e9a
mov r8d, 0x100
lea rdx, [rsp + 0x1d0]
mov ecx, dword [rsp + 0x70]
call fcn.1400c0e70
mov r8, rax
lea rdx, [0x1401dfba8]
mov rcx, qword [rsp + 0x2f8]
call fcn.1400e22e0
mov eax, 0x3c
jmp 0x140107e9a
mov r8d, 0x100
lea rdx, [rsp + 0x1d0]
mov ecx, dword [rsp + 0x70]
call fcn.1400c0e70
mov r8, rax
lea rdx, str.schannel:_initial_InitializeSecurityContext_failed:__s
mov rcx, qword [rsp + 0x2f8]
call fcn.1400e22e0
mov eax, 0x23
jmp 0x140107e9a
xor eax, eax
test eax, eax
jne 0x140107dbb
mov eax, dword [rsp + 0xa0]
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x2f8]
mov rax, qword [rsp + 0x2f0]
mov rcx, qword [rax + 8]
call fcn.1400e1120
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0xa8]
mov rax, qword [0x1401ebd68]
call qword [rax + pe_nt_image_headers64]
cmp dword [rsp + 0x74], 0
jne 0x140107e2b
mov eax, dword [rsp + 0xa0]
cmp rax, qword [rsp + 0x98]
je 0x140107e56
mov r9d, dword [rsp + 0xa0]
mov r8, qword [rsp + 0x98]
lea rdx, str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
mov rcx, qword [rsp + 0x2f8]
call fcn.1400e22e0
mov eax, 0x23
jmp 0x140107e9a
xor eax, eax
test eax, eax
jne 0x140107e56
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x64], 0
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x68], 0
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x69], 0
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x6a], 0
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x58], 0
mov rax, qword [rsp + 0x78]
mov dword [rax + 4], 1
xor eax, eax
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140156eb0
add rsp, 0x2e8
ret