Function at 0x140089fd0
Capabilities:
Convert ip address from string

Disassembly:
push rbp
push rbx
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14010bcf8]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rdi, r8
mov r14, rcx
lea r8, [rbp - 0x30]
mov ecx, 2
mov r15, r9
mov rbx, rdx
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jns 0x14008a027
mov r8, rbx
lea rdx, str.Error_parsing_ip_address:__s
xor ecx, ecx
call fcn.140082080
mov eax, 0xffffffff
jmp 0x14008a0e7
lea r8, [rbp - 0x2c]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jns 0x14008a058
mov r8, rdi
lea rdx, str.Error_parsing_ip_address:__s
xor ecx, ecx
call fcn.140082080
mov eax, 0xffffffff
jmp 0x14008a0e7
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.WS2_32.dll_ntohl]
and eax, 3
je 0x14008a26f
cmp eax, 3
je 0x14008a254
lea rax, [rbp - 0x30]
mov qword [rsp + 0x68], rsi
mov qword [rbp - 0x50], rax
mov rcx, r14
lea rax, [rbp - 0x30]
mov qword [rsp + 0x60], r12
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], 8
mov qword [rbp - 0x38], 8
call fcn.140085da0
lea r8, [rbp - 0x50]
mov edx, 0x220014
mov rcx, rax
call fcn.14009aa60
mov esi, eax
cmp eax, 1
je 0x14008a0ff
mov ecx, eax
call fcn.140091550
mov r8, rax
lea rdx, str.TAP_WIN_IOCTL_CONFIG_POINT_TO_POINT:__s____d
mov r9d, esi
xor ecx, ecx
call fcn.140082080
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1400b06c0
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret
lea r8, [rbp - 0x30]
mov rdx, rbx
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jns 0x14008a128
mov r8, rbx
lea rdx, str.Error_parsing_ip_address:__s
xor ecx, ecx
call fcn.140082080
jmp 0x14008a0d8
mov ecx, 0xfffffffc
call qword [sym.imp.WS2_32.dll_htonl]
lea r8, [rbp - 0x28]
mov rdx, rdi
mov ecx, 2
mov dword [rbp - 0x2c], eax
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jns 0x14008a162
mov r8, rdi
lea rdx, str.Error_parsing_ip_address:__s
xor ecx, ecx
call fcn.140082080
jmp 0x14008a0d8
lea rax, [rbp - 0x30]
mov dword [rbp - 0x24], 0x1e13380
mov qword [rbp - 0x50], rax
mov rcx, r14
lea rax, [rbp - 0x30]
mov qword [rbp - 0x48], reloc.WS2_32.dll_recv
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], reloc.WS2_32.dll_recv
call fcn.140085da0
lea r8, [rbp - 0x50]
mov edx, 0x22001c
mov rcx, rax
call fcn.14009aa60
mov edi, eax
cmp eax, 1
je 0x14008a1c2
mov ecx, eax
call fcn.140091550
mov r8, rax
lea rdx, str.TAP_WIN_IOCTL_CONFIG_DHCP_MASQ_ioctl:__s____d
mov r9d, edi
jmp 0x14008a0d1
lea r8, [rbp - 0x2e]
mov word [rbp - 0x30], 0x406
mov rdx, r15
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jns 0x14008a1f4
mov r8, rbx
lea rdx, str.Error_parsing_DNS_ip_address:__s
xor ecx, ecx
call fcn.140082080
jmp 0x14008a0d8
lea rax, [rbp - 0x30]
mov qword [rbp - 0x48], 6
mov qword [rbp - 0x50], rax
mov rcx, r14
lea rax, [rbp - 0x30]
mov qword [rbp - 0x38], 6
mov qword [rbp - 0x40], rax
call fcn.140085da0
lea r8, [rbp - 0x50]
mov edx, 0x220024
mov rcx, rax
call fcn.14009aa60
mov ebx, eax
cmp eax, 1
je 0x14008a24d
mov ecx, eax
call fcn.140091550
mov r8, rax
lea rdx, str.TAP_WIN_IOCTL_CONFIG_DHCP_SET_OPT_ioctl:__s____d
mov r9d, ebx
jmp 0x14008a0d1
xor eax, eax
jmp 0x14008a0dd
mov r8, rbx
lea rdx, str.IP_address__s_30_is_the_broadcast_address_of_containing_subnet
xor ecx, ecx
call fcn.140082080
mov eax, 0xfffffffc
jmp 0x14008a0e7
mov r8, rbx
lea rdx, str.IP_address__s_30_is_the_network_address_of_containing_subnet
xor ecx, ecx
call fcn.140082080
mov eax, 0xfffffffc
jmp 0x14008a0e7