Function at 0x14001a950
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov rax, qword [0x1400ae0c8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, qword [rbp + 0x7f]
xor ebx, ebx
mov r15, qword [rcx + 0x18]
mov r14, 0xffffffffffffffff
mov qword [rbp - 0x31], rax
mov r13d, r8d
mov byte [rbp - 0x51], r9b
mov rsi, rdx
mov qword [rax], rbx
mov rdi, rcx
mov byte [r15 + 0x3bf], bl
lea eax, [rbx + 2]
mov r12d, r14d
cmp qword [rcx + 0xe0], rbx
je 0x14001a9c0
mov r8d, eax
lea edx, [rbx + 3]
call fcn.140018120
mov r8d, r13d
mov rdx, rsi
mov rcx, rdi
call fcn.14001af30
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14001a9f3
mov r8, rsi
lea rdx, str.Hostname__s_was_found_in_DNS_cache
mov rcx, rdi
call fcn.140013400
mov rax, qword [rbp - 0x49]
mov r12d, ebx
inc dword [rax + 0x10]
cmp qword [rdi + 0xe0], rbx
je 0x14001aa09
mov edx, 3
mov rcx, rdi
call fcn.140018160
cmp qword [rbp - 0x49], rbx
jne 0x14001adf1
mov dword [rbp - 0x41], ebx
cmp qword [rdi + 0xa68], rbx
je 0x14001aa53
mov dl, 1
mov rcx, rdi
call fcn.140009230
mov r8, qword [rdi + 0xa70]
xor edx, edx
mov rcx, qword [rdi + 0xe38]
call qword [rdi + 0xa68]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140009230
test ebx, ebx
jne 0x14001ade0
mov ebx, 2
lea r8, [rbp - 0x3d]
mov ecx, ebx
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14001aa88
mov r9d, r13d
lea rdx, [rbp - 0x3d]
mov r8, rsi
mov ecx, ebx
call fcn.140025460
mov rbx, rax
test rax, rax
jne 0x14001ad77
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rbp - 9]
mov ecx, ebx
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14001aabd
mov r9d, r13d
lea rdx, [rbp - 9]
mov r8, rsi
mov ecx, ebx
call fcn.140025460
mov rbx, rax
test rax, rax
jne 0x14001ad77
cmp byte [r15 + 0x812], 2
jne 0x14001ab06
mov rax, qword [rdi + 0xd0]
cmp byte [rax + 0x180], 0
jne 0x14001aaf2
xor ecx, ecx
call fcn.14001a870
test al, al
mov rax, qword [rdi + 0xd0]
setne cl
inc cl
mov byte [rax + 0x180], cl
mov rax, qword [rdi + 0xd0]
cmp byte [rax + 0x180], 2
jne 0x14001ade0
lea rdx, str.localhost
mov rcx, rsi
call fcn.1400170d0
test eax, eax
jne 0x14001abd3
mov rax, r14
inc rax
cmp byte [rsi + rax], 0
jne 0x14001ab20
cmp rax, 0xa
jb 0x14001ab50
lea rdx, [rsi - 0xa]
mov r8d, 0xa
add rdx, rax
lea rcx, str..localhost
call fcn.140017120
test eax, eax
jne 0x14001abd3
cmp byte [rbp - 0x51], 0
je 0x14001ab73
cmp byte [rdi + 0xaed], 0
je 0x14001ab73
lea r9, [rbp - 0x41]
mov r8d, r13d
mov rdx, rsi
mov rcx, rdi
call fcn.1400404d0
jmp 0x14001ab98
mov rdx, r15
mov rcx, rdi
call fcn.1400404c0
test al, al
je 0x14001ade0
lea r9, [rbp - 0x41]
mov r8d, r13d
mov rdx, rsi
mov rcx, rdi
call fcn.140025720
xor r15d, r15d
mov rbx, rax
test rax, rax
jne 0x14001ad7a
cmp dword [rbp - 0x41], 0
je 0x14001adf1
mov rax, qword [rdi + 0x18]
lea rdx, [rbp - 0x49]
mov rcx, rdi
cmp byte [rax + 0x3bf], 0
je 0x14001add7
call fcn.140040650
jmp 0x14001addc
mov rbx, r14
nop word [rax + rax]
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x14001abe0
mov eax, 2
xor r15d, r15d
movzx ecx, r13w
mov qword [rbp + 0xf], r15
mov word [rbp + 7], ax
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rbp - 0x39]
mov word [rbp + 9], ax
lea rdx, str.127.0.0.1
lea ecx, [r15 + 2]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jl 0x14001aba7
mov eax, dword [rbp - 0x39]
lea rcx, [rbx + 0x41]
lea edx, [r15 + 1]
mov dword [rbp + 0xb], eax
call qword [case.0x14000c909.1]
mov rbx, rax
test rax, rax
je 0x14001aba7
movups xmm0, xmmword [rbp + 7]
mov dword [rax], r15d
mov rdx, rsi
mov eax, 2
mov dword [rbx + 8], 1
mov dword [rbx + 4], eax
lea rax, [rbx + 0x30]
mov qword [rbx + 0x20], rax
lea rcx, [rax + 0x10]
mov dword [rbx + 0xc], 6
mov dword [rbx + reloc.WS2_32.dll_recv], 0x10
movups xmmword [rax], xmm0
mov qword [rbx + 0x18], rcx
nop dword [rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14001ac80
cmp byte [rsi + r14 + 1], r15b
lea r14, [r14 + 1]
jne 0x14001ac91
lea rcx, [r14 + 0x4d]
mov edx, 1
call qword [case.0x14000c909.1]
mov r14, rax
test rax, rax
jne 0x14001acbf
mov r14, r15
mov qword [rbx + 0x28], r15
jmp 0x14001ad7a
mov eax, reloc.WS2_32.dll_socket
movzx ecx, r13w
mov word [rbp - 0x29], ax
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rbp + 7]
mov dword [rbp - 0x25], r15d
lea rdx, [0x140087890]
mov word [rbp - 0x27], ax
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jge 0x14001acfe
mov r14, r15
mov qword [rbx + 0x28], r15
jmp 0x14001ad7a
movups xmm1, xmmword [rbp + 7]
mov dword [r14], r15d
mov eax, reloc.WS2_32.dll_socket
mov dword [r14 + 4], eax
mov rdx, rsi
lea rax, [r14 + 0x30]
mov dword [r14 + 8], 1
mov dword [r14 + 0xc], 6
lea rcx, [rax + 0x1c]
mov dword [r14 + 0x10], 0x1c
mov qword [r14 + 0x28], r15
mov qword [r14 + 0x20], rax
movups xmmword [rbp - 0x21], xmm1
movups xmm0, xmmword [rbp - 0x29]
unpckhpd xmm1, xmm1
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
mov dword [rax + 0x18], r15d
mov qword [r14 + 0x18], rcx
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14001ad60
mov qword [rbx + 0x28], r14
jmp 0x14001ad7a
xor r15d, r15d
cmp qword [rdi + 0xe0], 0
je 0x14001ad95
mov edx, 3
mov rcx, rdi
lea r8d, [rdx - 1]
call fcn.140018120
mov r9d, r13d
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.14001a3a0
cmp qword [rdi + 0xe0], 0
mov qword [rbp - 0x49], rax
je 0x14001adc1
mov edx, 3
mov rcx, rdi
call fcn.140018160
cmp qword [rbp - 0x49], 0
jne 0x14001add2
mov rcx, rbx
call fcn.140025280
jmp 0x14001adf1
mov r12d, r15d
jmp 0x14001adf1
call fcn.14000cc10
test eax, eax
je 0x14001ade5
mov eax, r14d
jmp 0x14001adff
cmp qword [rbp - 0x49], 0
mov r12d, r15d
sete r12b
mov rax, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x49]
mov qword [rax], rcx
mov eax, r12d
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400525a0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret