Function at 0x14006feb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x118
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x80], xmm7
movaps xmmword [rbp + 0x70], xmm6
and rsp, 0xffffffffffffffe0
mov rsi, qword [rdx + 8]
mov r8, qword [rdx + 0x10]
cmp rsi, r8
jne 0x14006ff8d
lea rax, str.u8u24u32__
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 2
movss xmm0, dword [rsp + 0x69]
movsd xmm1, qword [rsp + 0x61]
shufps xmm0, xmm1, 0x30
shufps xmm1, xmm0, 0x84
movaps xmm0, xmm1
pinsrw xmm0, word [rsp + 0x6d], 6
movzx edx, byte [rsp + 0x6f]
movdqa xmmword [rsp + 0xe0], xmm0
shl edx, 8
movzx r8d, byte [rsp + 0xed]
or r8d, edx
mov edx, dword [rsp + 0xec]
shl edx, 8
movzx r9d, byte [rsp + 0xeb]
or r9d, edx
movd xmm0, dword [rsp + 0xe7]
pinsrw xmm0, r9d, 2
pinsrw xmm0, r8d, 3
movd xmm2, eax
pslldq xmm2, 8
por xmm2, xmmword [0x1401782a0]
pslldq xmm1, 9
pand xmm2, xmmword [0x1401782b0]
por xmm2, xmm1
jmp 0x1400700aa
mov rax, rdx
mov rdx, r8
inc rdx
mov qword [rax + 0x10], rdx
je 0x140070407
mov r9, rsi
sub r9, rdx
jb 0x14007041a
mov r13, qword [rax]
movzx edi, byte [r13 + r8]
lea r8, str.SessionIDIllegal_SNI_hostname_received
movq xmm1, r8
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x140178290]
cmp rdi, 0x20
jbe 0x140070037
movzx eax, byte [rsp + 0x57]
movd xmm2, eax
movzx eax, byte [rsp + 0x56]
movd xmm3, eax
punpcklbw xmm3, xmm2
movzx eax, byte [rsp + 0x55]
movd xmm2, eax
movd xmm4, dword [rsp + 0x54]
punpcklbw xmm4, xmm2
punpcklwd xmm4, xmm3
movzx eax, byte [rsp + 0x53]
movd xmm2, eax
movzx eax, byte [rsp + 0x52]
movd xmm3, eax
punpcklbw xmm3, xmm2
movzx eax, byte [rsp + 0x51]
movd xmm2, eax
punpcklbw xmm1, xmm2
punpcklwd xmm1, xmm3
punpckldq xmm1, xmm4
movdqa xmm2, xmmword [0x140178280]
jmp 0x1400700a6
movdqa xmmword [rsp + 0x40], xmm1
cmp r9, rdi
jae 0x1400700e3
movzx eax, byte [rsp + 0x47]
movd xmm2, eax
movzx eax, byte [rsp + 0x46]
movd xmm3, eax
punpcklbw xmm3, xmm2
movzx eax, byte [rsp + 0x45]
movd xmm2, eax
movd xmm4, dword [rsp + 0x44]
punpcklbw xmm4, xmm2
punpcklwd xmm4, xmm3
movzx eax, byte [rsp + 0x43]
movd xmm2, eax
movzx eax, byte [rsp + 0x42]
movd xmm3, eax
punpcklbw xmm3, xmm2
movzx eax, byte [rsp + 0x41]
movd xmm2, eax
punpcklbw xmm1, xmm2
punpcklwd xmm1, xmm3
punpckldq xmm1, xmm4
movdqa xmm2, xmmword [0x1401782a0]
punpcklqdq xmm2, xmm1
movdqu xmmword [rcx + 8], xmm2
movq qword [rcx + 0x18], xmm0
movabs rax, 0x8000000000000000
mov qword [rcx], rax
mov rax, rcx
movaps xmm6, xmmword [rbp + 0x70]
movaps xmm7, xmmword [rbp + 0x80]
lea rsp, [rbp + 0x98]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rbx, rdx
add rbx, rdi
mov qword [rax + 0x10], rbx
jb 0x14007043e
mov r14, rsi
sub r14, rbx
jb 0x14007042c
mov r12, rax
mov r15, rcx
add rdx, r13
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
mov r8, rdi
call fcn.140145bd0
cmp r14, 2
jae 0x140070157
lea rax, [0x1401767dc]
mov rdx, rax
mov rcx, r15
mov qword [r15 + 8], 0xb
mov word [r15 + 0x10], ax
shr eax, 0x10
shr rdx, 0x20
mov word [r15 + 0x12], ax
mov dword [r15 + 0x14], edx
jmp 0x1400701c1
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
lea r14, [rbx + 2]
mov rax, r12
mov qword [r12 + 0x10], r14
cmp rbx, 0xfffffffffffffffd
ja 0x140070450
cmp r14, rsi
ja 0x140070462
movzx ecx, word [r13 + rbx]
rol cx, 8
call fcn.140060bf0
cmp rsi, r14
jne 0x1400701db
lea rax, [0x14016c488]
mov rdx, rax
shr rdx, 0x10
mov rcx, r15
mov qword [r15 + 8], 0xb
mov byte [r15 + 0x10], al
mov byte [rcx + 0x11], ah
shr rax, 0x30
mov word [r15 + 0x16], ax
mov dword [r15 + 0x12], edx
mov qword [r15 + 0x18], 0xb
movabs rax, 0x8000000000000000
mov qword [r15], rax
jmp 0x1400700c1
add rbx, 3
mov qword [r12 + 0x10], rbx
cmp r14, 0xffffffffffffffff
je 0x140070474
cmp rbx, rsi
ja 0x14007042c
mov r8, r12
movzx r13d, byte [r13 + r14]
cmp r13d, 0x40
je 0x14007021c
mov r9d, r13d
cmp r13d, 1
je 0x14007021f
mov r9b, 3
test r13d, r13d
jne 0x14007021f
mov r9d, r13d
jmp 0x14007021f
mov r9b, 2
cmp rbx, rsi
jae 0x140070265
mov byte [rsp + 0x3b], r9b
mov word [rsp + 0x3e], dx
mov word [rsp + 0x3c], ax
lea rcx, [rsp + 0x60]
mov rdx, r8
call fcn.140067f90
cmp qword [rsp + 0x60], 0
je 0x140070276
movdqu xmm0, xmmword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
mov rcx, r15
movdqu xmmword [r15 + 8], xmm0
mov qword [r15 + 0x18], rax
jmp 0x1400701c9
mov r12d, 8
xor r14d, r14d
xor r8d, r8d
mov rcx, r15
jmp 0x1400702a5
mov r14, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
mov rsi, qword [r12 + 8]
mov rbx, qword [r12 + 0x10]
mov r12, rax
mov rcx, r15
movzx eax, word [rsp + 0x3c]
movzx edx, word [rsp + 0x3e]
movzx r9d, byte [rsp + 0x3b]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r8
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqu xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm6
movups xmmword [rsp + 0xa8], xmm7
mov qword [rsp + 0xb8], rdi
mov dword [rsp + 0xc0], 9
mov word [rsp + 0xc4], ax
mov word [rsp + 0xc6], dx
mov byte [rsp + 0xc8], r9b
mov byte [rsp + 0xc9], r13b
cmp rbx, rsi
jae 0x14007036b
mov qword [rcx + 8], 0xe
lea rax, [0x14017853b]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0x12
movabs rax, 0x8000000000000000
mov qword [rcx], rax
lea rcx, [rsp + 0x60]
call fcn.140064a40
mov rcx, r15
test r14, r14
je 0x1400700c1
shl r14, 3
lea rdx, [r14 + r14*4]
mov r8d, 8
mov rcx, r12
call fcn.14000f700
mov rcx, r15
jmp 0x1400700c1
mov eax, dword [rsp + 0xc0]
mov dword [rcx + 0x60], eax
movzx eax, word [rsp + 0xc4]
mov word [rcx + 0x64], ax
movzx eax, word [rsp + 0xc6]
mov word [rcx + 0x66], ax
movzx eax, byte [rsp + 0xc8]
mov byte [rcx + 0x68], al
movzx eax, byte [rsp + 0xc9]
mov byte [rcx + 0x69], al
mov eax, dword [rsp + 0xca]
mov dword [rcx + 0x6a], eax
movzx eax, word [rsp + 0xce]
mov word [rcx + 0x6e], ax
movups xmm0, xmmword [rsp + 0xb0]
movups xmmword [rcx + 0x50], xmm0
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rcx + 0x40], xmm0
movdqu xmm0, xmmword [rsp + 0x60]
movdqu xmm1, xmmword [rsp + 0x70]
movdqu xmm2, xmmword [rsp + 0x80]
movdqu xmm3, xmmword [rsp + 0x90]
movdqu xmmword [rcx + 0x30], xmm3
movdqu xmmword [rcx + 0x20], xmm2
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x1400700c1
lea r8, [0x1401729a8]
mov rcx, 0xffffffffffffffff
call fcn.14014b3f0
lea r8, [0x1401729a8]
mov rcx, rdx
mov rdx, rsi
call fcn.14014b3e0
lea r8, [0x1401729a8]
mov rcx, rbx
mov rdx, rsi
call fcn.14014b3e0
lea r8, [0x1401729a8]
mov rcx, rdx
mov rdx, rbx
call fcn.14014b3f0
lea r8, [0x1401729a8]
mov rcx, rbx
mov rdx, r14
call fcn.14014b3f0
lea r8, [0x1401729a8]
mov rcx, r14
mov rdx, rsi
call fcn.14014b3e0
lea r8, [0x1401729a8]
mov rcx, 0xffffffffffffffff
mov rdx, rbx
call fcn.14014b3f0
int3