Function at 0x1400b4e54
Capabilities:
Convert ip address from string

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0x158], rax
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
mov byte [r8], 0
test rcx, rcx
je 0x1400b5341
mov r12, rdx
xor r14d, r14d
test rdx, rdx
je 0x1400b5344
mov rbx, rcx
mov sil, byte [rcx]
test sil, sil
je 0x1400b5344
mov bpl, byte [r12]
test bpl, bpl
je 0x1400b5341
mov rdi, r8
lea rcx, [0x14019c8d4]
mov rdx, r12
call fcn.140180b00
mov r14b, 1
test eax, eax
je 0x1400b5344
cmp sil, 0x5b
jne 0x1400b4f7a
mov rcx, rbx
mov edx, 0x5d
call fcn.140161958
test rax, rax
je 0x1400b5341
inc rbx
sub rax, rbx
cmp rax, 0x7f
ja 0x1400b5341
mov rsi, rax
lea r13, [rsp + 0xb0]
mov rcx, r13
mov rdx, rbx
mov r8, rax
call fcn.140160f20
mov qword [rsp + 0x28], rsi
mov byte [rsp + rsi + 0xb0], 0
mov r9d, 2
mov rbx, r13
jmp 0x1400b4fd6
lea r14, [rsp + 0x30]
mov dword [r14], 0xaaaaaaaa
mov rcx, rbx
call fcn.1401812d0
mov rsi, rax
mov ecx, 2
mov rdx, rbx
mov r8, r14
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r9d, 1
cmp eax, 1
jne 0x1400b4fb4
mov qword [rsp + 0x28], rsi
jmp 0x1400b4fc9
cmp byte [rbx + rsi - 1], 0x2e
lea rax, [rsi - 1]
cmove rsi, rax
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov bpl, byte [r12]
test bpl, bpl
je 0x1400b5341
movabs r15, 0x100100000201
mov qword [rsp + 0x20], r9
cmp bpl, 9
je 0x1400b4ff4
movzx eax, bpl
cmp eax, 0x20
jne 0x1400b4ffe
mov bpl, byte [r12 + 1]
inc r12
jmp 0x1400b4fe5
lea r14, [r12 - 1]
mov r13, 0xffffffffffffffff
xor esi, esi
mov eax, ebp
cmp al, 0x2c
ja 0x1400b501b
movzx eax, al
bt r15, rax
jb 0x1400b502b
mov al, byte [r12 + r13 + 2]
dec rsi
inc r13
inc r14
jmp 0x1400b500e
test rsi, rsi
je 0x1400b52d4
mov r8, rsi
neg r8
lea eax, [r9 - 1]
cmp eax, 2
jae 0x1400b50db
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
cmp r8, 0x80
jae 0x1400b52d4
lea rbp, [rsp + 0x30]
mov rcx, rbp
mov rdx, r12
call fcn.140160f20
mov byte [rsp + r13 + 0x31], 0
mov rcx, rbp
mov edx, 0x2f
call fcn.140161958
test rax, rax
je 0x1400b510d
mov r13, rax
mov rcx, rax
inc rcx
call fcn.140179ff0
mov ebp, eax
mov byte [r13], 0
cmp dword [rsp + 0x20], 2
jne 0x1400b51f2
movaps xmmword [rsp + 0x140], xmm6
test ebp, ebp
jne 0x1400b5125
jmp 0x1400b5120
test r9d, r9d
jne 0x1400b52d4
cmp byte [r12 + r13], 0x2e
cmove r8, r13
test r8, r8
je 0x1400b51ea
cmp bpl, 0x2e
jne 0x1400b520c
lea rcx, [r12 + 1]
dec r8
jmp 0x1400b520f
cmp dword [rsp + 0x20], 2
jne 0x1400b524f
movaps xmmword [rsp + 0x140], xmm6
mov ebp, 0x80
movaps xmmword [rsp + 0x130], xmm6
mov ecx, reloc.WS2_32.dll_socket
mov rdx, rbx
lea r8, [rsp + 0x140]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1400b52cf
mov ecx, reloc.WS2_32.dll_socket
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x130]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp ebp, 0x87
ja 0x1400b52cf
cmp eax, 1
jne 0x1400b52cf
mov r13d, ebp
shr r13, 3
mov edx, ebp
and edx, 7
cmp r13d, 0x10
jne 0x1400b5193
test edx, edx
jne 0x1400b52cf
cmp ebp, 8
jb 0x1400b51bc
mov r8d, r13d
lea rcx, [rsp + 0x140]
mov ebp, edx
lea rdx, [rsp + 0x130]
call fcn.140160e20
mov edx, ebp
test eax, eax
jne 0x1400b52cf
test edx, edx
je 0x1400b533c
mov al, byte [rsp + r13 + 0x130]
xor al, byte [rsp + r13 + 0x140]
movzx eax, al
mov cl, 8
sub cl, dl
shr eax, cl
test eax, eax
je 0x1400b52cf
jmp 0x1400b533c
mov rcx, r12
xor r8d, r8d
jmp 0x1400b520f
xor eax, eax
mov dword [rsp + 0x140], eax
mov dword [rsp + 0x130], eax
cmp ebp, 0x20
jbe 0x1400b525f
jmp 0x1400b52cf
mov rcx, r12
mov rax, qword [rsp + 0x28]
mov rdx, rax
sub rdx, r8
jne 0x1400b5239
mov rdx, rbx
mov r8, rax
call fcn.1400478eb
mov r9, qword [rsp + 0x20]
test eax, eax
je 0x1400b52d4
jmp 0x1400b533c
jbe 0x1400b52d4
cmp byte [rdx + rbx - 1], 0x2e
jne 0x1400b52d4
add rdx, rbx
jmp 0x1400b5222
xor ebp, ebp
mov dword [rsp + 0x140], ebp
mov dword [rsp + 0x130], ebp
mov ecx, 2
mov rdx, rbx
lea r8, [rsp + 0x140]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1400b52cf
mov ecx, 2
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x130]
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1400b52cf
test bpl, 0x1f
je 0x1400b5327
mov ecx, dword [rsp + 0x140]
mov r13, qword [sym.imp.WS2_32.dll_htonl]
call r13
mov rdx, r13
mov r13d, eax
mov ecx, dword [rsp + 0x130]
call rdx
xor eax, r13d
neg bpl
mov ecx, ebp
shr eax, cl
test eax, eax
jmp 0x1400b5335
mov r9, qword [rsp + 0x20]
sub r12, rsi
movzx eax, byte [r12]
cmp eax, 0x1f
jg 0x1400b52e8
cmp eax, 9
je 0x1400b52ed
jmp 0x1400b52f5
cmp eax, 0x20
jne 0x1400b52fb
inc r12
inc r14
jmp 0x1400b52d7
test eax, eax
je 0x1400b5300
jmp 0x1400b530f
cmp eax, 0x2c
jne 0x1400b530f
mov bpl, byte [r14 + 1]
inc r14
cmp bpl, 0x2c
je 0x1400b5300
jmp 0x1400b5319
mov byte [rdi], 1
mov bpl, byte [r12]
mov r14, r12
mov r12, r14
test bpl, bpl
jne 0x1400b4fe5
jmp 0x1400b5341
mov eax, dword [rsp + 0x140]
cmp eax, dword [rsp + 0x130]
mov r9, qword [rsp + 0x20]
jne 0x1400b52d4
mov r14b, 1
jmp 0x1400b5344
xor r14d, r14d
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14015c2e0
mov eax, r14d
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret