Function at 0x14001cbc0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1400d5a00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rdx]
mov r14d, r8d
mov rbx, rcx
mov r9d, dword [rax + 8]
mov rax, qword [rdx + 0x18]
and r9d, 0xa
cmp r9b, 0xa
jne 0x14001cc0b
mov rdi, qword [rax + 0xd8]
mov rsi, qword [rax + 0xe0]
mov ebp, dword [rax + 0xe8]
jmp 0x14001cc19
mov rdi, qword [rax + 0x50]
mov rsi, qword [rax + 0x58]
mov ebp, dword [rax + 0x764]
mov qword [rsp + 0x80], r15
test rdi, rdi
je 0x14001cdeb
mov r9, qword [rcx]
test r9, r9
je 0x14001cc5b
mov r8, r9
mov rax, rdi
sub r8, rdi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14001cc53
inc rax
test ecx, ecx
jne 0x14001cc40
test edx, edx
je 0x14001cdeb
mov rcx, qword [rbx + 8]
cmp rcx, r9
je 0x14001cc6a
call qword [fcn.14007d200]
mov rcx, qword [rbx + 0x10]
call qword [fcn.14007d200]
mov rcx, qword [rbx]
call qword [fcn.14007d200]
xor r15d, r15d
mov rcx, rdi
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
call qword [case.0x1400218a2.1]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
jne 0x14001ccde
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001ccb2
call qword [fcn.14007d200]
mov rcx, qword [rbx + 0x10]
call qword [fcn.14007d200]
mov rcx, qword [rbx]
call qword [fcn.14007d200]
mov eax, 0x1b
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
jmp 0x14001cdf4
test rsi, rsi
je 0x14001cd22
mov r8, rsi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rdi]
movzx eax, byte [rdi + r8]
sub edx, eax
jne 0x14001cd03
inc rdi
test eax, eax
jne 0x14001ccf0
test edx, edx
je 0x14001cd22
mov rcx, rsi
call qword [case.0x1400218a2.1]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14001cd26
cmp qword [rbx], r15
je 0x14001ccb2
xor ecx, ecx
jmp 0x14001ccac
mov qword [rbx + 8], rcx
mov rdi, qword [rbx]
test rdi, rdi
je 0x14001cd76
cmp byte [rdi], r15b
je 0x14001cd76
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x14001cd56
mov dword [rbx + 0x18], 1
jmp 0x14001cdeb
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x14001cd76
mov dword [rbx + 0x18], 2
jmp 0x14001cdeb
mov rax, qword [rbx]
mov dword [rbx + 0x18], r15d
cmp byte [rax], r15b
je 0x14001cdeb
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x14001cd90
test rdi, rdi
je 0x14001cda8
cmp byte [rax + rdi - 1], 0x2e
jne 0x14001cda8
dec rdi
cmp rdi, 0xffff
jae 0x14001cdeb
lea rdx, [rdi + 1]
mov ecx, 1
call qword [case.0x14002c4b5.3]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14001cdd5
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx]
jmp 0x14001ccaa
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, rax
call fcn.140018440
mov rax, qword [rbx + 0x10]
mov byte [rdi + rax], r15b
mov dword [rbx + 0x1c], ebp
xor eax, eax
mov dword [rbx + 0x20], r14d
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140076100
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret