Function at 0x1400238d0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140098980]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, qword [rdx + 0x10]
mov rbx, rcx
mov rax, qword [rdx + 0x18]
lea rcx, str.SSL_PROXY
cmp qword [rdx], rcx
jne 0x140023917
mov rdi, qword [rax + 0xd8]
mov rsi, qword [rax + 0xe0]
mov ebp, dword [rax + 0xe8]
jmp 0x140023925
mov rdi, qword [rax + 0x50]
mov rsi, qword [rax + 0x58]
mov ebp, dword [rax + 0x764]
mov qword [rsp + 0x80], r15
test rdi, rdi
je 0x140023afb
mov r9, qword [rbx]
test r9, r9
je 0x14002396b
mov r8, r9
mov rax, rdi
sub r8, rdi
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140023963
inc rax
test ecx, ecx
jne 0x140023950
test edx, edx
je 0x140023afb
mov rcx, qword [rbx + 8]
cmp rcx, r9
je 0x14002397a
call qword [case.0x14001d47b.0]
mov rcx, qword [rbx + 0x10]
call qword [case.0x14001d47b.0]
mov rcx, qword [rbx]
call qword [case.0x14001d47b.0]
xor r15d, r15d
mov rcx, rdi
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
call qword [str._ba_a_]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
jne 0x1400239ee
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400239c2
call qword [case.0x14001d47b.0]
mov rcx, qword [rbx + 0x10]
call qword [case.0x14001d47b.0]
mov rcx, qword [rbx]
call qword [case.0x14001d47b.0]
mov eax, 0x1b
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
jmp 0x140023b01
test rsi, rsi
je 0x140023a32
mov r8, rsi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rdi]
movzx eax, byte [rdi + r8]
sub edx, eax
jne 0x140023a13
inc rdi
test eax, eax
jne 0x140023a00
test edx, edx
je 0x140023a32
mov rcx, rsi
call qword [str._ba_a_]
mov qword [rbx + 8], rax
test rax, rax
jne 0x140023a36
cmp qword [rbx], r15
je 0x1400239c2
xor ecx, ecx
jmp 0x1400239bc
mov qword [rbx + 8], rcx
mov rdi, qword [rbx]
mov qword [rbx + 0x10], r15
test rdi, rdi
je 0x140023a8a
cmp byte [rdi], r15b
je 0x140023a8a
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x140023a6a
mov dword [rbx + 0x18], 1
jmp 0x140023afb
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x140023a8a
mov dword [rbx + 0x18], 2
jmp 0x140023afb
mov rax, qword [rbx]
mov dword [rbx + 0x18], r15d
cmp byte [rax], r15b
je 0x140023afb
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140023aa0
test rdi, rdi
je 0x140023ab8
cmp byte [rax + rdi - 1], 0x2e
jne 0x140023ab8
dec rdi
cmp rdi, 0xffff
jae 0x140023afb
lea rdx, [rdi + 1]
mov ecx, 1
call qword [str.j__a_]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140023ae5
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx]
jmp 0x1400239ba
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, rax
call fcn.140031bb0
mov rax, qword [rbx + 0x10]
mov byte [rdi + rax], r15b
mov dword [r14 + 0x50], ebp
xor eax, eax
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140074e90
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret