Function at 0x14007c6e0
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 [0x14016d408]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
mov r12, rcx
test rdx, rdx
je 0x14007ca47
cmp byte [rdx], 0
je 0x14007ca47
xor ebx, ebx
mov eax, 0x2a
cmp al, byte [rdx]
jne 0x14007c735
cmp bl, byte [rdx + 1]
je 0x14007c9d2
cmp byte [rcx], 0x5b
mov ebx, 0x80
jne 0x14007c785
lea edx, [rbx - 0x23]
call fcn.1400e2f38
mov r15, rax
test rax, rax
je 0x14007ca47
inc r12
sub r15, r12
cmp r15, rbx
jae 0x14007ca47
mov r8, r15
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.1400e2ff0
xor edx, edx
mov byte [rsp + r15 + 0x50], 0
lea r12, [rsp + 0x50]
lea r13d, [rbx - 0x7e]
jmp 0x14007c7b9
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 0x14007c7b0
movzx eax, byte [rdi]
test al, al
je 0x14007ca47
movabs r8, 0x100100000200
mov rbx, rdx
cmp al, 0x20
je 0x14007c7dc
movzx ecx, al
cmp al, 9
jne 0x14007c7ea
movzx eax, byte [rdi + 1]
inc rdi
movzx ecx, al
test al, al
jne 0x14007c7d1
mov r14, rdi
test cl, cl
je 0x14007ca2d
cmp cl, 0x2c
ja 0x14007c804
movsx rax, cl
bt r8, rax
jb 0x14007c812
movzx ecx, byte [rdi + 1]
inc rdi
inc rbx
test cl, cl
jne 0x14007c7f5
test rbx, rbx
je 0x14007ca2d
mov ecx, r13d
test r13d, r13d
je 0x14007c9e3
sub ecx, 1
je 0x14007c835
cmp ecx, 1
jne 0x14007ca2d
mov edx, 0x2f
mov rcx, r14
call fcn.1400e2f38
xor edx, edx
mov rbp, rax
mov esi, edx
test rax, rax
je 0x14007c8a8
lea rcx, [r14 + rbx]
cmp rax, rcx
jae 0x14007c8a8
lea rcx, [rax + 1]
call fcn.1400fb164
mov esi, eax
mov eax, 0x80
cmp rbx, rax
jae 0x14007ca21
mov r8, rbx
lea rcx, [rsp + 0xd0]
mov rdx, r14
call fcn.1400e2ff0
mov eax, 0x80
sub rbp, r14
cmp rbp, rax
jae 0x14007ca74
mov byte [rsp + rbp + 0xd0], 0
lea r14, [rsp + 0xd0]
xor edx, edx
jmp 0x14007c8ad
mov eax, 0x80
cmp r13d, 2
jne 0x14007c959
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 0x14007ca21
lea r8, [rsp + 0x28]
mov rdx, r14
lea ecx, [rax + 0x16]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14007ca21
cmp ebx, 0x10
ja 0x14007ca21
jne 0x14007c90c
test esi, esi
jne 0x14007ca21
test ebx, ebx
je 0x14007c92b
mov r8, rbx
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.1400e3d60
test eax, eax
je 0x14007c92d
jmp 0x14007ca21
xor ebx, ebx
test esi, esi
je 0x14007c9d2
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 0x14007ca1f
mov dword [rsp + 0x20], edx
mov dword [rsp + 0x24], edx
cmp esi, 0x20
ja 0x14007ca23
lea r8, [rsp + 0x20]
mov rdx, r12
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14007ca21
lea r8, [rsp + 0x24]
mov rdx, r14
lea ecx, [rax + 1]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14007ca21
test esi, 0xffffffdf
je 0x14007c9d6
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 0x14007ca21
mov al, 1
jmp 0x14007ca49
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
sete al
jmp 0x14007ca1d
cmp byte [r14], 0x2e
jne 0x14007ca00
dec rbx
cmp rbx, r15
ja 0x14007ca1b
mov rdx, r12
lea rcx, [r14 + 1]
sub rdx, rbx
add rdx, r15
jmp 0x14007ca0b
cmp rbx, r15
jne 0x14007ca1b
mov rdx, r12
mov rcx, r14
mov r8, r15
call fcn.1400604d0
test eax, eax
je 0x14007ca1b
mov al, 1
jmp 0x14007ca1d
xor al, al
test al, al
jne 0x14007c9d2
xor edx, edx
movabs r8, 0x100100000200
movzx eax, byte [rdi]
cmp al, 0x2c
jne 0x14007ca3f
movzx eax, byte [rdi + 1]
inc rdi
cmp al, 0x2c
je 0x14007ca34
test al, al
jne 0x14007c7ce
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400e0e00
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.1400e1608
int3