Function at 0x14008fac0
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
sub rsp, 0x160
mov rax, qword [0x140118140]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
mov r12, rcx
test rdx, rdx
je 0x14008fe27
cmp byte [rdx], 0
je 0x14008fe27
xor ebx, ebx
mov eax, 0x2a
cmp al, byte [rdx]
jne 0x14008fb15
cmp bl, byte [rdx + 1]
je 0x14008fdb2
cmp byte [rcx], 0x5b
mov ebx, 0x80
jne 0x14008fb65
lea edx, [rbx - 0x23]
call fcn.1400aa6e0
mov r15, rax
test rax, rax
je 0x14008fe27
inc r12
sub r15, r12
cmp r15, rbx
jae 0x14008fe27
mov r8, r15
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.1400aa8e0
xor edx, edx
mov byte [rsp + r15 + 0x50], 0
lea r12, [rsp + 0x50]
lea r13d, [rbx - 0x7e]
jmp 0x14008fb99
lea r8, [rsp + 0x20]
mov rdx, r12
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
xor edx, edx
mov ecx, 1
cmp eax, ecx
mov r13d, edx
mov r15, 0xffffffffffffffff
cmove r13d, ecx
nop
inc r15
cmp byte [r12 + r15], dl
jne 0x14008fb90
movzx eax, byte [rdi]
test al, al
je 0x14008fe27
movabs r8, 0x100100000200
mov rbx, rdx
cmp al, 0x20
je 0x14008fbbc
movzx ecx, al
cmp al, 9
jne 0x14008fbca
movzx eax, byte [rdi + 1]
inc rdi
movzx ecx, al
test al, al
jne 0x14008fbb1
mov r14, rdi
test cl, cl
je 0x14008fe0d
cmp cl, 0x2c
ja 0x14008fbe4
movsx rax, cl
bt r8, rax
jb 0x14008fbf2
movzx ecx, byte [rdi + 1]
inc rdi
inc rbx
test cl, cl
jne 0x14008fbd5
test rbx, rbx
je 0x14008fe0d
mov ecx, r13d
test r13d, r13d
je 0x14008fdc3
sub ecx, 1
je 0x14008fc15
cmp ecx, 1
jne 0x14008fe0d
mov edx, 0x2f
mov rcx, r14
call fcn.1400aa6e0
xor edx, edx
mov rbp, rax
mov esi, edx
test rax, rax
je 0x14008fc88
lea rcx, [r14 + rbx]
cmp rax, rcx
jae 0x14008fc88
lea rcx, [rax + 1]
call fcn.1400bb788
mov esi, eax
mov eax, 0x80
cmp rbx, rax
jae 0x14008fe01
mov r8, rbx
lea rcx, [rsp + 0xd0]
mov rdx, r14
call fcn.1400aa8e0
mov eax, 0x80
sub rbp, r14
cmp rbp, rax
jae 0x14008fe54
mov byte [rsp + rbp + 0xd0], 0
lea r14, [rsp + 0xd0]
xor edx, edx
jmp 0x14008fc8d
mov eax, 0x80
cmp r13d, 2
jne 0x14008fd39
test esi, esi
lea r8, [rsp + 0x38]
mov rdx, r12
lea ecx, [r13 + 0x15]
cmove esi, eax
mov ebx, esi
and esi, 7
shr ebx, 3
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14008fe01
lea r8, [rsp + 0x28]
mov rdx, r14
lea ecx, [rax + 0x16]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14008fe01
cmp ebx, 0x10
ja 0x14008fe01
jne 0x14008fcec
test esi, esi
jne 0x14008fe01
test ebx, ebx
je 0x14008fd0b
mov r8, rbx
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.1400ab130
test eax, eax
je 0x14008fd0d
jmp 0x14008fe01
xor ebx, ebx
test esi, esi
je 0x14008fdb2
movzx r8d, byte [rsp + rbx + 0x28]
mov ecx, 8
movzx eax, byte [rsp + rbx + 0x38]
sub ecx, esi
mov edx, 0xff
xor r8d, eax
shl edx, cl
test edx, r8d
jmp 0x14008fdff
mov dword [rsp + 0x20], edx
mov dword [rsp + 0x24], edx
cmp esi, 0x20
ja 0x14008fe03
lea r8, [rsp + 0x20]
mov rdx, r12
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14008fe01
lea r8, [rsp + 0x24]
mov rdx, r14
lea ecx, [rax + 1]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14008fe01
test esi, 0xffffffdf
je 0x14008fdb6
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [rsp + 0x24]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, 0x20
mov edx, 0xffffffff
sub ecx, esi
xor eax, ebx
shl edx, cl
test edx, eax
jne 0x14008fe01
mov al, 1
jmp 0x14008fe29
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
sete al
jmp 0x14008fdfd
cmp byte [r14], 0x2e
jne 0x14008fde0
dec rbx
cmp rbx, r15
ja 0x14008fdfb
mov rdx, r12
lea rcx, [r14 + 1]
sub rdx, rbx
add rdx, r15
jmp 0x14008fdeb
cmp rbx, r15
jne 0x14008fdfb
mov rdx, r12
mov rcx, r14
mov r8, r15
call fcn.140056260
test eax, eax
je 0x14008fdfb
mov al, 1
jmp 0x14008fdfd
xor al, al
test al, al
jne 0x14008fdb2
xor edx, edx
movabs r8, 0x100100000200
movzx eax, byte [rdi]
cmp al, 0x2c
jne 0x14008fe1f
movzx eax, byte [rdi + 1]
inc rdi
cmp al, 0x2c
je 0x14008fe14
test al, al
jne 0x14008fbae
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400a56f0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a5ab0
int3