Function at 0x1401d1490
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
sub rsp, 0x170
mov rax, qword [0x14032f0c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov byte [r8], 0
mov r12, r8
mov rbx, rdx
mov r14, rcx
test rcx, rcx
je 0x1401d18f7
movzx eax, byte [rcx]
test al, al
je 0x1401d18f7
test rdx, rdx
je 0x1401d18f7
cmp byte [rdx], 0
je 0x1401d18f7
xor edx, edx
mov ecx, 0x2a
mov r15d, edx
cmp cl, byte [rbx]
jne 0x1401d1503
cmp dl, byte [rbx + 1]
je 0x1401d179b
mov edi, 0x80
cmp al, 0x5b
jne 0x1401d155b
lea edx, [rdi - 0x23]
mov rcx, r14
call fcn.1401f9440
mov rbp, rax
test rax, rax
je 0x1401d18f7
inc r14
sub rbp, r14
cmp rbp, rdi
jae 0x1401d18f7
mov r8, rbp
lea rcx, [rsp + 0xe0]
mov rdx, r14
call fcn.140276ca0
mov byte [rsp + rbp + 0xe0], r15b
lea r14, [rsp + 0xe0]
lea r15d, [rdi - 0x7e]
jmp 0x1401d1593
mov rbp, 0xffffffffffffffff
inc rbp
cmp byte [r14 + rbp], dl
jne 0x1401d1562
lea r8, [rsp + 0x30]
mov rdx, r14
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1401d1588
mov r15d, eax
jmp 0x1401d1593
cmp byte [r14 + rbp - 1], 0x2e
jne 0x1401d1593
dec rbp
movzx eax, byte [rbx]
test al, al
je 0x1401d18f7
xor r10d, r10d
lea r13, [0x1402e0f40]
movabs r8, 0x100100000200
mov rdi, r10
cmp al, 0x20
je 0x1401d15c0
movzx ecx, al
cmp al, 9
jne 0x1401d15ce
movzx eax, byte [rbx + 1]
inc rbx
movzx ecx, al
test al, al
jne 0x1401d15b5
mov rdx, rbx
test cl, cl
je 0x1401d1710
nop dword [rax]
cmp cl, 0x2c
ja 0x1401d15ef
movsx rax, cl
bt r8, rax
jb 0x1401d15fd
movzx ecx, byte [rbx + 1]
inc rbx
inc rdi
test cl, cl
jne 0x1401d15e0
test rdi, rdi
je 0x1401d1710
mov ecx, r15d
test r15d, r15d
je 0x1401d17b5
sub ecx, 1
je 0x1401d1620
cmp ecx, 1
jne 0x1401d1710
mov eax, 0x80
mov esi, r10d
cmp rdi, rax
jae 0x1401d1710
mov r8, rdi
lea rcx, [rsp + 0x60]
call fcn.140276ca0
mov edx, 0x2f
mov byte [rsp + rdi + 0x60], 0
lea rcx, [rsp + 0x60]
call fcn.1401f9440
mov rdi, rax
test rax, rax
je 0x1401d1668
lea rcx, [rax + 1]
call fcn.140239560
mov esi, eax
mov byte [rdi], 0
cmp r15d, 2
jne 0x1401d1724
mov eax, 0x80
lea r8, [rsp + 0x48]
test esi, esi
mov rdx, r14
cmove esi, eax
mov edi, esi
lea ecx, [rax - 0x69]
shr edi, 3
and esi, 7
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1401d1701
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea ecx, [rax + 0x16]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1401d1701
cmp edi, 0x10
ja 0x1401d1701
jne 0x1401d16bd
test esi, esi
jne 0x1401d1701
test edi, edi
je 0x1401d16d7
mov r8d, edi
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.140276ba0
test eax, eax
jne 0x1401d1701
test esi, esi
je 0x1401d179b
movzx eax, byte [rsp + rdi + 0x48]
mov ecx, 8
movzx edx, byte [rsp + rdi + 0x38]
sub ecx, esi
xor edx, eax
mov eax, 0xff
shl eax, cl
test eax, edx
jne 0x1401d179b
xor r10d, r10d
movabs r8, 0x100100000200
nop
movzx eax, byte [rbx]
cmp al, 0x20
je 0x1401d171f
cmp al, 9
jne 0x1401d18d5
inc rbx
jmp 0x1401d1710
xor r10d, r10d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r10d
cmp esi, 0x20
ja 0x1401d1704
lea r8, [rsp + 0x28]
mov rdx, r14
lea ecx, [r10 + 2]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1401d1701
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x60]
lea ecx, [rax + 1]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1401d1701
test esi, 0xffffffdf
je 0x1401d17a2
mov ecx, dword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [rsp + 0x20]
mov edi, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, 0x20
mov edx, 0xffffffff
sub ecx, esi
xor eax, edi
shl edx, cl
test edx, eax
jne 0x1401d1701
mov al, 1
jmp 0x1401d18f9
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x28], eax
sete dl
xor r10d, r10d
jmp 0x1401d18c8
cmp byte [rdx + rdi - 1], 0x2e
jne 0x1401d17c2
sub rdi, 1
je 0x1401d17cd
cmp byte [rdx], 0x2e
jne 0x1401d17cd
inc rdx
dec rdi
cmp rdi, rbp
jne 0x1401d183a
test rdx, rdx
je 0x1401d1832
cmp byte [rdx], 0
mov r8, rbp
mov r9, r14
je 0x1401d180b
movzx eax, byte [r9]
test al, al
je 0x1401d180b
test r8, r8
je 0x1401d1810
movzx ecx, byte [rdx]
movzx eax, byte [rax + r13]
cmp byte [rcx + r13], al
jne 0x1401d1832
inc rdx
dec r8
inc r9
cmp byte [rdx], 0
jne 0x1401d17e2
test r8, r8
jne 0x1401d181a
mov edx, 1
jmp 0x1401d18c8
movzx ecx, byte [rdx]
movzx eax, byte [r9]
movzx eax, byte [rax + r13]
cmp byte [rcx + r13], al
sete dl
jmp 0x1401d18c8
mov edx, r10d
jmp 0x1401d18c8
jae 0x1401d1710
mov r8, r14
sub r8, rdi
add r8, rbp
cmp byte [r8 - 1], 0x2e
jne 0x1401d18c6
test rdx, rdx
je 0x1401d18b8
test r8, r8
je 0x1401d18c6
cmp byte [rdx], 0
je 0x1401d1889
nop
movzx eax, byte [r8]
test al, al
je 0x1401d1889
test rdi, rdi
je 0x1401d188e
movzx ecx, byte [rdx]
movzx eax, byte [rax + r13]
cmp byte [rcx + r13], al
jne 0x1401d1897
inc rdx
dec rdi
inc r8
cmp byte [rdx], 0
jne 0x1401d1860
test rdi, rdi
jne 0x1401d189e
mov edx, 1
test edx, edx
jmp 0x1401d18c0
mov edx, r10d
test edx, edx
jmp 0x1401d18c0
movzx ecx, byte [rdx]
mov edx, r10d
movzx eax, byte [r8]
movzx eax, byte [rax + r13]
cmp byte [rcx + r13], al
sete dl
test edx, edx
jmp 0x1401d18c0
test r8, r8
jne 0x1401d18c6
test rdi, rdi
je 0x1401d18c6
mov dl, 1
jmp 0x1401d18c8
xor dl, dl
test dl, dl
jne 0x1401d179b
jmp 0x1401d1704
test al, al
je 0x1401d18ec
cmp al, 0x2c
je 0x1401d18e4
mov byte [r12], 1
jmp 0x1401d18ec
inc rbx
cmp byte [rbx], 0x2c
je 0x1401d18e4
movzx eax, byte [rbx]
test al, al
jne 0x1401d15b2
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401f4d70
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret