Function at 0x1401156f0
Capabilities:
Convert ip address from string

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov r12, rdx
mov rbx, r8
mov r15, rcx
xor ecx, ecx
mov qword [rsp + 0x38], 0
call qword [sym.imp.msvcrt.dll__time64]
mov rsi, qword [sym.imp.WS2_32.dll_inet_pton]
lea r8, [rsp + 0x34]
mov rdx, r12
mov qword [rsp + 0x28], rax
mov ecx, 2
call rsi
test eax, eax
jle 0x140115740
xor eax, eax
jmp 0x1401159f9
lea rbp, [rsp + 0x40]
mov rdx, r12
mov ecx, 0x17
mov r8, rbp
call rsi
test eax, eax
jg 0x140115739
movzx eax, byte [rbx]
mov qword [rsp + 0xa8], r12
xor edi, edi
xor r14d, r14d
lea rsi, [0x1403e9001]
lea r13, [0x1403e9013]
mov r12, rbp
nop word [rax + rax]
test al, al
jne 0x1401158b6
mov r9, rbx
mov ebp, 8
lea r8, [0x1403e8ff9]
mov edx, 0x6d
lea r10, [0x1403e9620]
jmp 0x1401157d4
cmp r8, rsi
je 0x1401157fb
movzx ecx, byte [r10 + rcx]
mov r11, r10
cmp byte [r10 + rdx], cl
jne 0x140115960
movzx edx, byte [r8 + 1]
add r8, 1
sub rbp, 1
add r9, 1
test dl, dl
je 0x1401157dc
movzx ecx, byte [r9]
test cl, cl
jne 0x1401157a8
test rbp, rbp
je 0x1401157fb
movzx ecx, byte [r9]
lea r11, [0x1403e9620]
movzx ecx, byte [r11 + rcx]
cmp byte [r11 + rdx], cl
jne 0x140115960
test r14b, r14b
jne 0x1401159f4
movzx eax, byte [rbx + 8]
lea rcx, [rbx + 8]
test al, al
jne 0x140115824
jmp 0x140115845
movzx eax, byte [rcx + 1]
add rcx, 1
test al, al
je 0x140115845
cmp al, 0x20
sete dl
cmp al, 9
sete r8b
or dl, r8b
jne 0x140115818
xor r14d, r14d
cmp al, 0x22
jne 0x140115845
add rcx, 1
mov r14d, 1
lea r9, [rsp + 0x38]
mov r8d, 0xa
mov rdx, r12
call fcn.140128410
cmp eax, 1
je 0x1401159e0
test eax, eax
jne 0x1401159f4
mov rbx, qword [rsp + 0x40]
test r14b, r14b
je 0x140115880
cmp byte [rbx], 0x22
jne 0x1401159f4
add rbx, 1
movzx eax, byte [rbx]
mov r14d, 1
test al, al
jne 0x14011589c
jmp 0x1401158f0
movzx eax, byte [rbx + 1]
add rbx, 1
test al, al
je 0x1401158af
cmp al, 0x20
je 0x140115890
cmp al, 9
je 0x140115890
cmp al, 0x3b
sete al
movzx eax, al
add rbx, rax
movzx eax, byte [rbx]
test al, al
je 0x1401158f0
cmp al, 0x20
je 0x1401158c2
cmp al, 9
jne 0x140115788
movzx eax, byte [rbx + 1]
add rbx, 1
jmp 0x140115780
cmp al, 0x3b
je 0x140115889
test al, al
jne 0x1401158e4
jmp 0x1401158f0
cmp al, 0x3b
je 0x140115889
movzx eax, byte [rbx + 1]
add rbx, 1
test al, al
jne 0x1401158e0
mov r12, qword [rsp + 0xa8]
test r14b, r14b
je 0x1401159f4
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140115a0a
movabs rcx, 0x7fffffffffffffff
mov rax, qword [rsp + 0x28]
mov r8, rcx
sub r8, rax
add rax, rdx
cmp rdx, r8
mov rdx, r12
cmovg rax, rcx
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x38], rax
call fcn.1401155b0
test rax, rax
je 0x140115a49
mov rdx, qword [rsp + 0x38]
mov byte [rax + 0x20], dil
mov qword [rax + 0x28], rdx
xor eax, eax
jmp 0x1401159f9
mov r9, rbx
mov r10d, 0x11
mov edx, 0x69
lea r8, str.includesubdomains
jmp 0x1401159a9
cmp r8, r13
je 0x1401159c9
movzx ecx, byte [r11 + rcx]
cmp byte [r11 + rdx], cl
jne 0x1401158cf
movzx edx, byte [r8 + 1]
add r8, 1
sub r10, 1
add r9, 1
test dl, dl
je 0x1401159b1
movzx ecx, byte [r9]
test cl, cl
jne 0x140115980
test r10, r10
je 0x1401159c9
movzx ecx, byte [r9]
movzx ecx, byte [r11 + rcx]
cmp byte [r11 + rdx], cl
jne 0x1401158cf
test dil, dil
jne 0x1401159f4
movzx eax, byte [rbx + 0x11]
mov edi, 1
add rbx, 0x11
jmp 0x140115889
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x38], rax
jmp 0x140115869
mov eax, 0x2b
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call fcn.1401155b0
mov rbx, rax
test rax, rax
je 0x140115739
mov rdx, rax
xor r8d, r8d
mov rcx, r15
call fcn.14011de00
mov rcx, qword [rbx + 0x18]
call qword [fcn.14034efb0]
mov rcx, rbx
call qword [fcn.14034efb0]
xor eax, eax
jmp 0x1401159f9
mov r8d, edi
mov r9, qword [rsp + 0x38]
mov rdx, r12
mov rcx, r15
and r8d, 1
call fcn.140115490
jmp 0x1401159f9