Function at 0x14007b280
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, rcx
mov r12, r9
mov ecx, 0x2e8
mov ebx, r8d
mov rsi, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14007b7d2
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 r14d, r14d
mov rdx, rsi
mov rcx, r15
mov qword [rdi + 0x178], r14
call fcn.14007a760
mov dword [rdi], eax
mov dword [rdi + 4], ebx
test r12, r12
je 0x14007b71d
mov rsi, qword [rbp + 0x40]
test rsi, rsi
je 0x14007b71d
cmp eax, 3
je 0x14007b35d
cmp eax, 2
jne 0x14007b326
cmp ebx, 3
je 0x14007b35d
cmp eax, 1
je 0x14007b35d
cmp eax, 2
jne 0x14007b335
mov r15b, 1
jmp 0x14007b360
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000e3d0
test al, al
je 0x14007b7c6
lea rdx, str.Error:_problem_with_tun_vs._tap_setting
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000e000
jmp 0x14007b7c6
xor r15b, r15b
mov dword [rsp + 0x38], 0x40
lea r9, [rbp + 0x80]
mov qword [rsp + 0x30], r14
mov r8, r12
mov dword [rsp + 0x28], r14d
mov edx, reloc.WS2_32.dll_socket
mov cx, 2
mov qword [rsp + 0x20], r14
call fcn.140061190
mov dword [rsp + 0x38], 0x40
lea r9, [rbp + 0x80]
test eax, eax
movzx edx, r15b
mov ecx, r14d
mov qword [rsp + 0x30], r14
cmove ecx, dword [rbp + 0x80]
mov r8, rsi
mov dword [rdi + 0x14c], ecx
or edx, 0x16
mov cx, 2
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call fcn.140061190
test eax, eax
mov ebx, r14d
cmove ebx, dword [rbp + 0x80]
mov dword [rdi + 0x150], ebx
cmp byte [rbp + 0x70], r14b
je 0x14007b586
mov ecx, dword [rdi + 4]
mov eax, ebx
and eax, 0xff000000
cmp dword [rdi], 2
jne 0x14007b4d9
cmp eax, 0xff000000
jne 0x14007b506
lea eax, [rcx - 1]
cmp eax, 1
ja 0x14007b506
mov ecx, 0x40
call fcn.14000e3d0
test al, al
je 0x14007b506
mov ecx, 0x48
mov qword [rbp - 0x30], 0x40
mov dword [rbp - 0x28], r14d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14007b7d2
movups xmm0, xmmword [rbp - 0x30]
add rax, 8
mov qword [rsi], r14
mov qword [rbp - 0x20], rax
mov ecx, ebx
movsd xmm1, qword [rbp - 0x20]
movsd qword [rbp - 8], xmm1
mov byte [rax], r14b
movups xmmword [rbp - 0x18], 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, [0x14008b3dc]
lea rcx, [rbp - 0x18]
call fcn.140002e40
mov rax, qword [rbp - 8]
test rax, rax
je 0x14007b4a8
cmp dword [rbp - 0x10], r14d
jl 0x14007b4a8
movsxd r8, dword [rbp - 0x14]
add r8, rax
jmp 0x14007b4ab
mov r8, r14
lea r9, str._silence_this_warning_with___ifconfig_nowarn_
mov ecx, 0x40
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
call fcn.14000e000
mov rbx, qword [rsi]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, rbx
test rbx, rbx
jne 0x14007b4c3
jmp 0x14007b506
cmp eax, 0xff000000
je 0x14007b506
mov ecx, 0x40
call fcn.14000e3d0
test al, al
je 0x14007b506
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.14000e000
mov rbx, qword [rbp + 0x60]
test rbx, rbx
je 0x14007b546
nop
cmp dword [rbx + 4], 2
jne 0x14007b53d
mov rcx, qword [rbx + 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.14007a8b0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14007b510
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14007b586
nop
cmp dword [rbx + 4], 2
jne 0x14007b57d
mov rcx, qword [rbx + 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.14007a8b0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14007b550
mov ebx, dword [rdi + 0x150]
test r15b, r15b
je 0x14007b711
mov esi, dword [rdi + 0x14c]
cmp esi, ebx
jne 0x14007b5a8
lea rdi, str.must_be_different
jmp 0x14007b5e1
mov eax, esi
mov ecx, 0xfffffffc
xor eax, ebx
test ecx, eax
je 0x14007b5be
lea rdi, str.must_exist_within_the_same_255.255.255.252_subnet.__This_is_a_limitation_of___dev_tun_when_used_with_the_TAP_WIN32_driver
jmp 0x14007b5e1
mov eax, esi
and eax, 3
je 0x14007b5da
cmp eax, 3
je 0x14007b5da
mov eax, ebx
and eax, 3
je 0x14007b5da
cmp eax, 3
jne 0x14007b713
lea rdi, str.cannot_use_the_first_or_last_address_within_a_given_255.255.255.252_subnet.__This_is_a_limitation_of___dev_tun_when_used_with_the_TAP_WIN32_driver
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000e3d0
test al, al
je 0x14007b7c6
mov ecx, 0x48
mov qword [rbp - 0x18], 0x40
mov dword [rbp - 0x10], r14d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x14007b7d2
movups xmm0, xmmword [rbp - 0x18]
add rax, 8
mov qword [r15], r14
mov qword [rbp - 8], rax
mov ecx, ebx
movsd xmm1, qword [rbp - 8]
movsd qword [rbp - 0x20], xmm1
mov byte [rax], r14b
movups xmmword [rbp - 0x30], 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, [0x14008b3dc]
lea rcx, [rbp - 0x30]
call fcn.140002e40
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x14007b671
cmp dword [rbp - 0x28], r14d
jl 0x14007b671
movsxd rbx, dword [rbp - 0x2c]
add rbx, rax
jmp 0x14007b674
mov rbx, r14
mov ecx, 0x48
mov qword [rbp - 0x18], 0x40
mov dword [rbp - 0x10], r14d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14007b7d2
movups xmm0, xmmword [rbp - 0x18]
add rax, 8
mov qword [rcx], r15
mov qword [rbp - 8], rax
mov ecx, esi
movsd xmm1, qword [rbp - 8]
movsd qword [rbp - 0x20], xmm1
mov byte [rax], r14b
movups xmmword [rbp - 0x30], 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, [0x14008b3dc]
lea rcx, [rbp - 0x30]
call fcn.140002e40
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x14007b6f0
cmp dword [rbp - 0x28], r14d
jl 0x14007b6f0
movsxd r14, dword [rbp - 0x2c]
add r14, rax
mov r9, rbx
mov qword [rsp + 0x20], rdi
mov r8, r14
lea rdx, str.There_is_a_problem_in_your_selection_of___ifconfig_endpoints__local_s__remote_s_.__The_local_and_remote_VPN_endpoints__s.__Try_openvpn___show_valid_subnets_option_for_more_info.
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000e000
jmp 0x14007b7c6
mov ecx, ebx
mov dword [rdi + 0x2ac], ecx
mov byte [rdi + 8], 1
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x14007b76e
mov rsi, qword [rbp + 0x58]
test rsi, rsi
je 0x14007b76e
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 0x14007b7a1
lea r8, [rdi + 0x164]
mov rdx, rsi
lea ecx, [rax + 0x16]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14007b7a1
mov eax, dword [rbp + 0x50]
mov dword [rdi + 0x174], eax
mov byte [rdi + 9], 1
mov rdx, qword [rbp + 0x78]
test rdx, rdx
je 0x14007b780
mov rcx, rdi
call fcn.14007aed0
nop
lea r11, [rsp + 0x70]
mov rax, rdi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000e3d0
test al, al
je 0x14007b7c6
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.14000e000
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
call fcn.14000e540
int3