Function at 0x14007ccf0
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [rsp + 0xe8]
mov r13, rcx
mov rcx, qword [rsp + 0xf8]
mov r14d, r8d
mov r15, qword [rsp + 0xe0]
mov r12, rdx
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0x108]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x40], rcx
mov ecx, 0x2e8
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14007d0bf
xor edx, edx
mov r8d, 0x178
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rcx, [rdi + 0x180]
xor edx, edx
mov r8d, 0x168
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov rdx, r12
mov rcx, r13
mov qword [rdi + 0x178], rbx
call fcn.14007c1d0
mov rdx, qword [rsp + 0x30]
mov dword [rdi], eax
mov dword [rdi + 4], r14d
test rdx, rdx
je 0x14007d000
test r15, r15
je 0x14007d000
cmp eax, 3
je 0x14007ce07
cmp eax, 2
jne 0x14007cdd0
cmp r14d, 3
je 0x14007ce07
cmp eax, 1
je 0x14007ce07
cmp eax, 2
jne 0x14007cddf
mov r12b, 1
jmp 0x14007ce0a
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000ec70
test al, al
je 0x14007d0b3
lea rdx, str.Error:_problem_with_tun_vs._tap_setting
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000e820
jmp 0x14007d0b3
xor r12b, r12b
xor r9d, r9d
lea ecx, [r9 + 0x17]
call fcn.140062f50
movzx ecx, r12b
xor r9d, r9d
or ecx, 0x16
mov dword [rdi + 0x14c], eax
mov rdx, r15
call fcn.140062f50
mov r15d, eax
mov dword [rdi + 0x150], eax
cmp byte [rsp + 0x110], bl
je 0x14007cfd9
mov ecx, dword [rdi + 4]
and eax, 0xff000000
cmp dword [rdi], 2
jne 0x14007cf36
cmp eax, 0xff000000
jne 0x14007cf63
lea eax, [rcx - 1]
cmp eax, 1
ja 0x14007cf63
mov ecx, 0x40
call fcn.14000ec70
test al, al
je 0x14007cf63
mov ecx, 0x48
mov qword [rsp + 0x50], 0x40
mov dword [rsp + 0x58], ebx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x14007d0bf
movups xmm0, xmmword [rsp + 0x50]
add rax, 8
mov qword [r14], rbx
mov qword [rsp + 0x60], rax
mov ecx, r15d
movsd xmm1, qword [rsp + 0x60]
movsd qword [rsp + 0x78], xmm1
mov byte [rax], bl
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
lea rdx, [0x14008d6e8]
lea rcx, [rsp + 0x68]
call fcn.140003080
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14007cf03
cmp dword [rsp + 0x70], ebx
jl 0x14007cf03
movsxd rbx, dword [rsp + 0x6c]
add rbx, rax
lea r9, str._silence_this_warning_with___ifconfig_nowarn_
mov r8, rbx
lea rdx, str.WARNING:_Since_you_are_using___dev_tun_with_a_point_to_point_topology__the_second_argument_to___ifconfig_must_be_an_IP_address.__You_are_using_something___s__that_looks_more_like_a_netmask.__s
mov ecx, 0x40
call fcn.14000e820
nop
mov rbx, qword [r14]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, rbx
test rbx, rbx
jne 0x14007cf20
jmp 0x14007cf63
cmp eax, 0xff000000
je 0x14007cf63
mov ecx, 0x40
call fcn.14000ec70
test al, al
je 0x14007cf63
lea r8, str._silence_this_warning_with___ifconfig_nowarn_
mov ecx, 0x40
lea rdx, str.WARNING:_Since_you_are_using___dev_tap__the_second_argument_to___ifconfig_must_be_a_netmask__for_example_something_like_255.255.255.0.__s
call fcn.14000e820
test rsi, rsi
je 0x14007cf9e
cmp dword [rsi + 4], 2
jne 0x14007cf95
mov rcx, qword [rsi + 0x20]
mov eax, dword [rdi + 0x150]
mov r9d, dword [rdi + 0x14c]
mov edx, dword [rdi]
mov r8d, dword [rcx + 4]
lea rcx, str.local
mov dword [rsp + 0x20], eax
call fcn.14007c320
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x14007cf68
test rbp, rbp
je 0x14007cfd9
cmp dword [rbp + 4], 2
jne 0x14007cfd0
mov rcx, qword [rbp + 0x20]
mov eax, dword [rdi + 0x150]
mov r9d, dword [rdi + 0x14c]
mov edx, dword [rdi]
mov r8d, dword [rcx + 4]
lea rcx, str.remote
mov dword [rsp + 0x20], eax
call fcn.14007c320
mov rbp, qword [rbp + 0x28]
test rbp, rbp
jne 0x14007cfa3
mov eax, dword [rdi + 0x150]
test r12b, r12b
je 0x14007cff6
mov ecx, dword [rdi + 0x14c]
mov edx, eax
call fcn.14007ebc0
mov eax, 0xfffffffc
mov dword [rdi + 0x2ac], eax
mov byte [rdi + 8], 1
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14007d057
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x14007d057
lea r8, [rdi + 0x154]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14007d08e
lea r8, [rdi + 0x164]
mov rdx, rsi
lea ecx, [rax + 0x16]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14007d08e
mov eax, dword [rsp + 0xf0]
mov dword [rdi + 0x174], eax
mov byte [rdi + 9], 1
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14007d070
mov rdx, rax
mov rcx, rdi
call fcn.14007c940
nop dword [rax]
mov rbx, qword [rsp + 0xc8]
mov rax, rdi
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000ec70
test al, al
je 0x14007d0b3
mov r9, rsi
lea rdx, str.init_tun:_problem_converting_IPv6_ifconfig_addresses__s_and__s_to_binary
mov r8, rbx
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000e820
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
call fcn.14000ede0
int3