Function at 0x1800043cc
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
jmp 0x1800afeb0
push rbp
push rsi
push r12
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
movaps xmmword [rsp + 0x180], xmm10
mov rax, qword [0x180118258]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, qword [rbp + 0x140]
mov rax, rdx
mov r12, qword [rbp + 0x130]
mov r10, r9
mov r14, qword [rbp + 0x150]
mov r15, qword [rbp + 0x138]
movdqa xmm10, xmmword [0x1800ede60]
mov qword [rsp + 0x48], rdx
mov rdx, rsi
mov qword [rsp + 0x28], rcx
and rdx, 0xffffffffffffffc0
movabs rcx, 0xffffffff0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x40], r14
cmp r12, rcx
jbe 0x1800aff3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov qword [rsp + 0x1d8], rdi
xor edi, edi
test rax, rax
je 0x1800aff4d
mov qword [rax], rdi
mov qword [rsp + 0x220], rbx
movaps xmmword [rsp + 0x1c0], xmm6
movaps xmmword [rsp + 0x1b0], xmm7
movaps xmmword [rsp + 0x1a0], xmm8
movaps xmmword [rsp + 0x190], xmm9
cmp r12, 0x10
jb 0x1800b11f8
mov rax, qword [rbp + 0x148]
add r12, 0xfffffffffffffff0
mov qword [rsp + 0x1d0], r13
mov ecx, reloc.WS2_32.dll_listen
mov dword [rsp + 0x5c], 0x1000000
movaps xmmword [rsp + 0x170], xmm11
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
mov dword [rsp + 0x58], eax
lea rax, [r14 + 0x20]
movdqa xmm1, xmmword [rsp + 0x50]
movsd xmm1, xmm0
movaps xmmword [rsp + 0x160], xmm12
movdqa xmmword [rsp + 0x50], xmm1
pxor xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x150], xmm13
aesenc xmm1, xmmword [rax]
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1800affe1
aesenclast xmm1, xmmword [r14 + 0xf0]
movups xmm9, xmmword [r14]
lea rax, [rsi*8]
movdqa xmmword [rbp - 0x70], xmm1
pshufb xmm9, xmm10
bswap rax
mov qword [rbp - 0x80], rax
lea rax, [r12*8]
bswap rax
movdqa xmm1, xmm9
movaps xmmword [rsp + 0x140], xmm14
pclmulqdq xmm1, xmm9, 0x10
movdqa xmm0, xmm9
movaps xmmword [rsp + 0x130], xmm15
pclmulqdq xmm0, xmm9, 1
pxor xmm1, xmm0
mov qword [rbp - 0x78], rax
movdqa xmm0, xmm1
movdqa xmm2, xmm9
pslldq xmm0, 8
movdqa xmm6, xmm9
pclmulqdq xmm2, xmm9, 0
pxor xmm2, xmm0
psrldq xmm1, 8
movdqa xmm5, xmm2
pslld xmm2, 1
pclmulqdq xmm6, xmm9, 0x11
pxor xmm6, xmm1
psrld xmm5, 0x1f
movdqa xmm3, xmm5
psrldq xmm5, 0xc
pslldq xmm3, 4
por xmm3, xmm2
movdqa xmm4, xmm3
movdqa xmm0, xmm3
pslld xmm0, 0x1e
movdqa xmm1, xmm3
pslld xmm1, 0x19
pslld xmm4, 0x1f
pxor xmm4, xmm0
pxor xmm4, xmm1
movdqa xmm2, xmm4
psrldq xmm4, 4
pslldq xmm2, 0xc
pxor xmm2, xmm3
movdqa xmm11, xmm2
movdqa xmm0, xmm2
psrld xmm0, 1
movdqa xmm1, xmm2
psrld xmm11, 2
pxor xmm11, xmm0
psrld xmm1, 7
pxor xmm11, xmm1
movdqa xmm0, xmm6
psrld xmm0, 0x1f
pxor xmm11, xmm4
pslldq xmm0, 4
pxor xmm11, xmm2
pslld xmm6, 1
por xmm0, xmm6
por xmm0, xmm5
pxor xmm11, xmm0
movdqa xmm1, xmm11
movdqa xmm0, xmm11
pclmulqdq xmm0, xmm9, 1
pclmulqdq xmm1, xmm9, 0x10
pxor xmm1, xmm0
movdqa xmm2, xmm11
movdqa xmm0, xmm1
movdqa xmm6, xmm11
pclmulqdq xmm2, xmm9, 0
pslldq xmm0, 8
pxor xmm2, xmm0
psrldq xmm1, 8
movdqa xmm5, xmm2
pslld xmm2, 1
psrld xmm5, 0x1f
movdqa xmm3, xmm5
pclmulqdq xmm6, xmm9, 0x11
pslldq xmm3, 4
pxor xmm6, xmm1
por xmm3, xmm2
psrldq xmm5, 0xc
movdqa xmm4, xmm3
movdqa xmm0, xmm3
pslld xmm0, 0x1e
movdqa xmm1, xmm3
pslld xmm1, 0x19
pslld xmm4, 0x1f
pxor xmm4, xmm0
pxor xmm4, xmm1
movdqa xmm2, xmm4
psrldq xmm4, 4
pslldq xmm2, 0xc
pxor xmm2, xmm3
movdqa xmm12, xmm2
movdqa xmm0, xmm2
psrld xmm0, 1
movdqa xmm1, xmm2
psrld xmm1, 7
psrld xmm12, 2
pxor xmm12, xmm0
movdqa xmm0, xmm6
psrld xmm0, 0x1f
pxor xmm12, xmm1
pslldq xmm0, 4
pxor xmm12, xmm4
pxor xmm12, xmm2
pslld xmm6, 1
por xmm0, xmm6
por xmm0, xmm5
pxor xmm12, xmm0
movdqa xmm1, xmm12
movdqa xmm0, xmm12
pclmulqdq xmm0, xmm9, 1
pclmulqdq xmm1, xmm9, 0x10
pxor xmm1, xmm0
movdqa xmm2, xmm12
movdqa xmm0, xmm1
movdqa xmm6, xmm12
pslldq xmm0, 8
pclmulqdq xmm2, xmm9, 0
pxor xmm2, xmm0
psrldq xmm1, 8
movdqa xmm5, xmm2
pslld xmm2, 1
psrld xmm5, 0x1f
movdqa xmm3, xmm5
psrldq xmm5, 0xc
pclmulqdq xmm6, xmm9, 0x11
pxor xmm6, xmm1
pslldq xmm3, 4
por xmm3, xmm2
movdqa xmm4, xmm3
movdqa xmm0, xmm3
pslld xmm0, 0x1e
movdqa xmm1, xmm3
pslld xmm4, 0x1f
pxor xmm4, xmm0
pslld xmm1, 0x19
pxor xmm4, xmm1
movdqa xmm2, xmm4
psrldq xmm4, 4
pslldq xmm2, 0xc
pxor xmm2, xmm3
movdqa xmm13, xmm2
movdqa xmm0, xmm2
psrld xmm0, 1
movdqa xmm1, xmm2
psrld xmm13, 2
pxor xmm13, xmm0
psrld xmm1, 7
pxor xmm13, xmm1
movdqa xmm0, xmm6
psrld xmm0, 0x1f
pxor xmm13, xmm4
pslldq xmm0, 4
pxor xmm13, xmm2
pslld xmm6, 1
por xmm0, xmm6
por xmm0, xmm5
pxor xmm13, xmm0
xorps xmm8, xmm8
test rdx, rdx
je 0x1800b0530
pshufd xmm0, xmm12, 0x4e
lea rcx, [rdx - 1]
pxor xmm0, xmm12
pshufd xmm14, xmm9, 0x4e
movdqa xmmword [rsp + 0x60], xmm0
lea rax, [r15 + 0x20]
pshufd xmm0, xmm13, 0x4e
pxor xmm14, xmm9
pxor xmm0, xmm13
pshufd xmm15, xmm11, 0x4e
shr rcx, 6
pxor xmm15, xmm11
movdqa xmmword [rsp + 0x30], xmm0
inc rcx
nop dword [rax]
movdqu xmm2, xmmword [rax + 0x10]
movdqu xmm3, xmmword [rax]
movdqu xmm5, xmmword [rax - 0x10]
movdqu xmm6, xmmword [rax - 0x20]
pshufb xmm2, xmm10
pshufb xmm5, xmm10
pshufb xmm3, xmm10
pshufb xmm6, xmm10
movdqa xmm7, xmm11
movdqa xmm0, xmm9
pclmulqdq xmm0, xmm2, 0
pclmulqdq xmm7, xmm3, 0
pxor xmm7, xmm0
pxor xmm6, xmm8
movdqa xmm1, xmm12
movdqa xmm0, xmm13
pclmulqdq xmm1, xmm5, 0
pclmulqdq xmm0, xmm6, 0
pxor xmm7, xmm1
movdqa xmm4, xmm11
pxor xmm7, xmm0
movdqa xmm1, xmm12
pclmulqdq xmm1, xmm5, 0x11
pclmulqdq xmm4, xmm3, 0x11
movdqa xmm0, xmm9
pclmulqdq xmm0, xmm2, 0x11
pxor xmm4, xmm0
movdqa xmm0, xmm13
pclmulqdq xmm0, xmm6, 0x11
pxor xmm4, xmm1
pshufd xmm1, xmm3, 0x4e
pxor xmm4, xmm0
pxor xmm1, xmm3
pshufd xmm0, xmm2, 0x4e
pxor xmm0, xmm2
movdqa xmm2, xmm14
pclmulqdq xmm2, xmm0, 0
pxor xmm2, xmm7
movdqa xmm0, xmm15
pclmulqdq xmm0, xmm1, 0
pxor xmm2, xmm4
pshufd xmm1, xmm5, 0x4e
pxor xmm2, xmm0
pxor xmm1, xmm5
movdqa xmm0, xmmword [rsp + 0x60]
pclmulqdq xmm0, xmm1, 0
pxor xmm2, xmm0
pshufd xmm1, xmm6, 0x4e
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm1, xmm6
pclmulqdq xmm0, xmm1, 0
pxor xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm2, 8
pxor xmm2, xmm4
pslldq xmm0, 8
movdqa xmm5, xmm2
pxor xmm0, xmm7
movdqa xmm1, xmm0
pslld xmm2, 1
psrld xmm1, 0x1f
movdqa xmm4, xmm1
psrld xmm5, 0x1f
pslld xmm0, 1
psrldq xmm1, 0xc
pslldq xmm5, 4
por xmm5, xmm2
pslldq xmm4, 4
por xmm4, xmm0
por xmm5, xmm1
movdqa xmm3, xmm4
movdqa xmm0, xmm4
pslld xmm3, 0x1f
movdqa xmm1, xmm4
pslld xmm0, 0x1e
pxor xmm3, xmm0
pslld xmm1, 0x19
pxor xmm3, xmm1
movdqa xmm2, xmm3
pslldq xmm2, 0xc
pxor xmm2, xmm4
psrldq xmm3, 4
movdqa xmm8, xmm2
psrld xmm8, 2
movdqa xmm0, xmm2
psrld xmm0, 1
movdqa xmm1, xmm2
psrld xmm1, 7
pxor xmm8, xmm0
lea rax, [rax + 0x40]
pxor xmm8, xmm1
pxor xmm8, xmm3
pxor xmm8, xmm2
pxor xmm8, xmm5
sub rcx, 1
jne 0x1800b0360
cmp rdx, rsi
jae 0x1800b0697
mov r13d, select
lea rbx, [r15 + rdx]
sub r13, r15
neg r15
nop dword [rax]
lea rax, [rbx + r13]
cmp rax, rsi
jbe 0x1800b058a
mov eax, esi
sub eax, r15d
sub eax, ebx
cmp eax, 0x10
jae 0x1800b058a
xorps xmm6, xmm6
movdqa xmmword [rsp + 0x70], xmm6
test eax, eax
je 0x1800b058e
mov r8d, eax
lea rcx, [rsp + 0x70]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
movdqa xmm6, xmmword [rsp + 0x70]
jmp 0x1800b058e
movdqu xmm6, xmmword [rbx]
pshufb xmm6, xmm10
add rbx, 0x10
pxor xmm6, xmm8
movdqa xmm1, xmm6
lea rax, [r15 + rbx]
movdqa xmm0, xmm6
movdqa xmm2, xmm6
pclmulqdq xmm0, xmm9, 1
pclmulqdq xmm1, xmm9, 0x10
pxor xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm1, 8
pslldq xmm0, 8
pclmulqdq xmm2, xmm9, 0
pxor xmm2, xmm0
movdqa xmm5, xmm2
pslld xmm2, 1
psrld xmm5, 0x1f
movdqa xmm3, xmm5
psrldq xmm5, 0xc
pslldq xmm3, 4
por xmm3, xmm2
movdqa xmm4, xmm3
movdqa xmm0, xmm3
pslld xmm0, 0x1e
pslld xmm4, 0x1f
pxor xmm4, xmm0
pclmulqdq xmm6, xmm9, 0x11
pxor xmm6, xmm1
movdqa xmm1, xmm3
pslld xmm1, 0x19
pxor xmm4, xmm1
movdqa xmm2, xmm4
psrldq xmm4, 4
pslldq xmm2, 0xc
pxor xmm2, xmm3
movdqa xmm8, xmm2
movdqa xmm0, xmm2
psrld xmm0, 1
movdqa xmm1, xmm2
psrld xmm8, 2
psrld xmm1, 7
pxor xmm8, xmm0
pxor xmm8, xmm1
movdqa xmm0, xmm6
psrld xmm0, 0x1f
pxor xmm8, xmm4
pslldq xmm0, 4
pxor xmm8, xmm2
pslld xmm6, 1
por xmm0, xmm6
por xmm0, xmm5
pxor xmm8, xmm0
cmp rax, rsi
jb 0x1800b0550
mov r10, qword [rsp + 0x20]
mov r15, r12
mov byte [rsp + 0x5f], dil
and r15, 0xffffffffffffff80
mov qword [rsp + 0x70], r15
je 0x1800b0aa0
pshufd xmm0, xmm12, 0x4e
lea rax, [r15 - 1]
pxor xmm0, xmm12
pshufd xmm14, xmm9, 0x4e
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [r10 + 0x20]
pshufd xmm0, xmm13, 0x4e
pxor xmm14, xmm9
pxor xmm0, xmm13
pshufd xmm15, xmm11, 0x4e
shr rax, 7
pxor xmm15, xmm11
movdqa xmmword [rsp + 0x60], xmm0
inc rax
nop word [rax + rax]
movdqu xmm7, xmmword [rcx - 0x20]
movdqu xmm2, xmmword [rcx + 0x10]
movdqu xmm3, xmmword [rcx]
movdqu xmm6, xmmword [rcx - 0x10]
pshufb xmm2, xmm10
pshufb xmm6, xmm10
pshufb xmm3, xmm10
pshufb xmm7, xmm10
movdqa xmm0, xmm9
movdqa xmm1, xmm12
pclmulqdq xmm0, xmm2, 0
pclmulqdq xmm1, xmm6, 0
pxor xmm7, xmm8
movdqa xmm4, xmm11
pclmulqdq xmm4, xmm3, 0x11
movdqa xmm8, xmm11
movdqa xmm5, xmm14
pclmulqdq xmm8, xmm3, 0
pxor xmm8, xmm0
movdqa xmm0, xmm13
pclmulqdq xmm0, xmm7, 0
pxor xmm8, xmm1
movdqa xmm1, xmm12
pxor xmm8, xmm0
movdqa xmm0, xmm9
pclmulqdq xmm0, xmm2, 0x11
pxor xmm4, xmm0
movdqa xmm0, xmm13
pclmulqdq xmm1, xmm6, 0x11
pxor xmm4, xmm1
pshufd xmm1, xmm3, 0x4e
pclmulqdq xmm0, xmm7, 0x11
pxor xmm4, xmm0
pxor xmm1, xmm3
pshufd xmm0, xmm2, 0x4e
pxor xmm0, xmm2
pclmulqdq xmm5, xmm0, 0
pxor xmm5, xmm8
movdqa xmm0, xmm15
pclmulqdq xmm0, xmm1, 0
pxor xmm5, xmm4
pshufd xmm1, xmm6, 0x4e
pxor xmm5, xmm0
pxor xmm1, xmm6
movdqa xmm0, xmmword [rsp + 0x30]
pclmulqdq xmm0, xmm1, 0
pxor xmm5, xmm0
pshufd xmm1, xmm7, 0x4e
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm1, xmm7
pclmulqdq xmm0, xmm1, 0
pxor xmm5, xmm0
movdqa xmm0, xmm5
psrldq xmm5, 8
pxor xmm5, xmm4
pslldq xmm0, 8
pxor xmm0, xmm8
movdqa xmm6, xmm5
movdqa xmm1, xmm0
psrld xmm6, 0x1f
psrld xmm1, 0x1f
movdqa xmm3, xmm1
pslld xmm0, 1
psrldq xmm1, 0xc
pslldq xmm6, 4
pslldq xmm3, 4
por xmm3, xmm0
pslld xmm5, 1
por xmm6, xmm5
movdqa xmm4, xmm3
por xmm6, xmm1
pslld xmm4, 0x1f
movdqa xmm0, xmm3
movdqa xmm1, xmm3
pslld xmm0, 0x1e
pxor xmm4, xmm0
pslld xmm1, 0x19
pxor xmm4, xmm1
movdqa xmm2, xmm4
pslldq xmm2, 0xc
pxor xmm2, xmm3
movdqu xmm3, xmmword [rcx + 0x50]
movdqu xmm5, xmmword [rcx + 0x40]
movdqu xmm7, xmmword [rcx + 0x30]
pshufb xmm3, xmm10
psrldq xmm4, 4
movdqa xmm8, xmm2
pshufb xmm5, xmm10
movdqa xmm0, xmm2
psrld xmm8, 2
psrld xmm0, 1
movdqa xmm1, xmm2
pxor xmm8, xmm0
psrld xmm1, 7
movdqu xmm0, xmmword [rcx + 0x20]
pxor xmm8, xmm1
movdqa xmm1, xmm12
pshufb xmm0, xmm10
pxor xmm8, xmm4
movdqa xmm4, xmm11
pclmulqdq xmm4, xmm5, 0
pxor xmm8, xmm2
movdqa xmm2, xmm11
pclmulqdq xmm2, xmm5, 0x11
pshufb xmm7, xmm10
pxor xmm8, xmm6
pxor xmm8, xmm0
movdqa xmm0, xmm9
pclmulqdq xmm0, xmm3, 0
pxor xmm4, xmm0
movdqa xmm0, xmm13
pclmulqdq xmm0, xmm8, 0
pclmulqdq xmm1, xmm7, 0
pxor xmm4, xmm1
movdqa xmm1, xmm12
pxor xmm4, xmm0
movdqa xmm0, xmm9
pclmulqdq xmm0, xmm3, 0x11
pxor xmm2, xmm0
movdqa xmm0, xmm13
pclmulqdq xmm0, xmm8, 0x11
pclmulqdq xmm1, xmm7, 0x11
pxor xmm2, xmm1
pshufd xmm1, xmm5, 0x4e
pxor xmm2, xmm0
pxor xmm1, xmm5
pshufd xmm0, xmm3, 0x4e
pxor xmm0, xmm3
movdqa xmm3, xmm14
pclmulqdq xmm3, xmm0, 0
pxor xmm3, xmm4
movdqa xmm0, xmm15
pclmulqdq xmm0, xmm1, 0
pxor xmm3, xmm2
pshufd xmm1, xmm7, 0x4e
pxor xmm3, xmm0
pxor xmm1, xmm7
movdqa xmm0, xmmword [rsp + 0x30]
pclmulqdq xmm0, xmm1, 0
pxor xmm3, xmm0
pshufd xmm1, xmm8, 0x4e
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm1, xmm8
pclmulqdq xmm0, xmm1, 0
pxor xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm3, 8
pslldq xmm0, 8
pxor xmm3, xmm2
pxor xmm0, xmm4
movdqa xmm5, xmm3
movdqa xmm1, xmm0
psrld xmm5, 0x1f
psrld xmm1, 0x1f
movdqa xmm4, xmm1
pslld xmm0, 1
pslldq xmm4, 4
pslldq xmm5, 4
por xmm4, xmm0
pslld xmm3, 1
por xmm5, xmm3
psrldq xmm1, 0xc
lea rcx, [rcx + 0x80]
por xmm5, xmm1
movdqa xmm3, xmm4
movdqa xmm0, xmm4
pslld xmm3, 0x1f
movdqa xmm1, xmm4
pslld xmm0, 0x1e
pslld xmm1, 0x19
pxor xmm3, xmm0
pxor xmm3, xmm1
movdqa xmm2, xmm3
psrldq xmm3, 4
pslldq xmm2, 0xc
pxor xmm2, xmm4
movdqa xmm8, xmm2
movdqa xmm0, xmm2
psrld xmm8, 2
movdqa xmm1, xmm2
psrld xmm0, 1
psrld xmm1, 7
pxor xmm8, xmm0
pxor xmm8, xmm1
pxor xmm8, xmm3
pxor xmm8, xmm2
pxor xmm8, xmm5
sub rax, 1
jne 0x1800b0700
movaps xmm15, xmmword [rsp + 0x130]
mov r13, r15
movaps xmm14, xmmword [rsp + 0x140]
movaps xmm13, xmmword [rsp + 0x150]
movaps xmm12, xmmword [rsp + 0x160]
movaps xmm11, xmmword [rsp + 0x170]
cmp r15, r12
jae 0x1800b0c7f
mov r15d, 0x80
sub r15, r10
nop dword [rax]
nop word [rax + rax]
lea rbx, [r10 + r13]
mov edi, 0x80
lea rax, [rbx + r15]
cmp rax, r12
jb 0x1800b0b0e
mov rdi, r12
sub rdi, r13
je 0x1800b0c66
mov r14d, select
mov rsi, rbx
sub r14, r10
sub r14, r13
neg rsi
lea rax, [r14 + rbx]
cmp rax, rdi
jb 0x1800b0b59
mov eax, edi
sub eax, esi
sub eax, ebx
cmp eax, 0x10
jae 0x1800b0b59
xorps xmm6, xmm6
movdqa xmmword [rsp + 0x60], xmm6
test eax, eax
je 0x1800b0b5d
mov r8d, eax
lea rcx, [rsp + 0x60]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
movdqa xmm6, xmmword [rsp + 0x60]
jmp 0x1800b0b5d
movdqu xmm6, xmmword [rbx]
pshufb xmm6, xmm10
add rbx, 0x10
pxor xmm6, xmm8
movdqa xmm1, xmm6
lea rax, [rsi + rbx]
movdqa xmm0, xmm6
movdqa xmm2, xmm6
pclmulqdq xmm0, xmm9, 1
pclmulqdq xmm1, xmm9, 0x10
pxor xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm1, 8
pslldq xmm0, 8
pclmulqdq xmm2, xmm9, 0
pxor xmm2, xmm0
movdqa xmm5, xmm2
pslld xmm2, 1
psrld xmm5, 0x1f
movdqa xmm3, xmm5
psrldq xmm5, 0xc
pslldq xmm3, 4
por xmm3, xmm2
movdqa xmm4, xmm3
movdqa xmm0, xmm3
pslld xmm0, 0x1e
pslld xmm4, 0x1f
pxor xmm4, xmm0
pclmulqdq xmm6, xmm9, 0x11
pxor xmm6, xmm1
movdqa xmm1, xmm3
pslld xmm1, 0x19
pxor xmm4, xmm1
movdqa xmm2, xmm4
psrldq xmm4, 4
pslldq xmm2, 0xc
pxor xmm2, xmm3
movdqa xmm8, xmm2
movdqa xmm0, xmm2
psrld xmm0, 1
movdqa xmm1, xmm2
psrld xmm8, 2
psrld xmm1, 7
pxor xmm8, xmm0
pxor xmm8, xmm1
movdqa xmm0, xmm6
psrld xmm0, 0x1f
pxor xmm8, xmm4
pslldq xmm0, 4
pxor xmm8, xmm2
pslld xmm6, 1
por xmm0, xmm6
por xmm0, xmm5
pxor xmm8, xmm0
cmp rax, rdi
jb 0x1800b0b20
mov r10, qword [rsp + 0x20]
sub r13, 0xffffffffffffff80
cmp r13, r12
jb 0x1800b0af0
mov r15, qword [rsp + 0x70]
xor edi, edi
mov r14, qword [rsp + 0x40]
movdqa xmm6, xmmword [rbp - 0x80]
lea rcx, [rbp - 0x70]
mov r13, qword [rsp + 0x1d0]
lea rdx, [rbp - 0x71]
pshufb xmm6, xmm10
mov r9, r10
xor r8b, r8b
sub r9, rcx
add r9, r12
pxor xmm6, xmm8
movdqa xmm1, xmm6
movdqa xmm0, xmm6
pclmulqdq xmm0, xmm9, 1
pclmulqdq xmm1, xmm9, 0x10
pxor xmm1, xmm0
movdqa xmm2, xmm6
movdqa xmm0, xmm1
psrldq xmm1, 8
pslldq xmm0, 8
pclmulqdq xmm2, xmm9, 0
pxor xmm2, xmm0
movdqa xmm5, xmm2
pslld xmm2, 1
psrld xmm5, 0x1f
movdqa xmm3, xmm5
psrldq xmm5, 0xc
pslldq xmm3, 4
por xmm3, xmm2
movdqa xmm4, xmm3
movdqa xmm0, xmm3
pslld xmm0, 0x1e
pslld xmm4, 0x1f
pxor xmm4, xmm0
pclmulqdq xmm6, xmm9, 0x11
pxor xmm6, xmm1
movdqa xmm1, xmm3
pslld xmm1, 0x19
pxor xmm4, xmm1
movdqa xmm2, xmm4
psrldq xmm4, 4
pslldq xmm2, 0xc
pxor xmm2, xmm3
movdqa xmm3, xmm2
movdqa xmm0, xmm2
psrld xmm0, 1
movdqa xmm1, xmm2
psrld xmm3, 2
pxor xmm3, xmm0
psrld xmm1, 7
pxor xmm3, xmm1
movdqa xmm0, xmm6
psrld xmm0, 0x1f
pxor xmm3, xmm4
pslldq xmm0, 4
pxor xmm3, xmm2
pslld xmm6, 1
por xmm0, xmm6
por xmm0, xmm5
pxor xmm3, xmm0
movdqa xmmword [rbp - 0x80], xmm3
lea rcx, [rbp - 0x70]
add rcx, rdi
lea rdx, [rdx - 1]
inc rdi
movzx eax, byte [rcx + r9]
xor al, byte [rdx + 1]
xor al, byte [rcx]
or r8b, al
cmp rdi, 0x10
jb 0x1800b0d91
test r8b, r8b
jne 0x1800b11f8
mov r11, qword [rsp + 0x28]
mov r8d, 2
mov dword [rsp + 0x5c], r8d
lea rdi, [r14 + 0x20]
test r15, r15
je 0x1800b0fe4
movdqa xmm10, xmmword [0x1800ede80]
lea r9, [r15 - 1]
mov rbx, r11
shr r9, 7
sub rbx, r10
mov rdx, r10
inc r9
nop word [rax + rax]
movdqa xmm7, xmmword [rsp + 0x50]
mov ecx, r8d
movdqu xmm8, xmmword [r14 + 0x10]
inc r8d
mov dword [rsp + 0x5c], r8d
movdqa xmm9, xmm8
movdqa xmm6, xmmword [rsp + 0x50]
lea eax, [rcx + 2]
mov dword [rsp + 0x5c], eax
lea r8d, [rcx + 8]
movdqa xmm5, xmmword [rsp + 0x50]
lea eax, [rcx + 3]
mov dword [rsp + 0x5c], eax
lea eax, [rcx + 4]
movdqa xmm4, xmmword [rsp + 0x50]
mov dword [rsp + 0x5c], eax
lea eax, [rcx + 5]
movdqa xmm3, xmmword [rsp + 0x50]
mov dword [rsp + 0x5c], eax
lea eax, [rcx + 6]
movdqa xmm2, xmmword [rsp + 0x50]
mov dword [rsp + 0x5c], eax
lea eax, [rcx + 7]
movdqa xmm1, xmmword [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_listen
pshufb xmm7, xmm10
mov dword [rsp + 0x5c], eax
mov rax, rdi
movdqa xmm0, xmmword [rsp + 0x50]
pshufb xmm6, xmm10
mov dword [rsp + 0x5c], r8d
pshufb xmm5, xmm10
pshufb xmm4, xmm10
pshufb xmm3, xmm10
pshufb xmm2, xmm10
pxor xmm9, xmm7
movdqa xmm7, xmm8
pxor xmm7, xmm6
movdqa xmm6, xmm8
pxor xmm6, xmm5
movdqa xmm5, xmm8
pxor xmm5, xmm4
movdqa xmm4, xmm8
pxor xmm4, xmm3
movdqa xmm3, xmm8
pxor xmm3, xmm2
movdqa xmm2, xmm8
pshufb xmm0, xmm10
pshufb xmm1, xmm10
pxor xmm8, xmm0
pxor xmm2, xmm1
movdqu xmm0, xmmword [rax]
lea rax, [rax + 0x10]
aesenc xmm9, xmm0
aesenc xmm7, xmm0
aesenc xmm6, xmm0
aesenc xmm5, xmm0
aesenc xmm4, xmm0
aesenc xmm3, xmm0
aesenc xmm2, xmm0
aesenc xmm8, xmm0
sub rcx, 1
jne 0x1800b0ef1
movdqu xmm1, xmmword [r14 + 0xf0]
movdqu xmm0, xmmword [rdx + 0x10]
aesenclast xmm7, xmm1
pxor xmm7, xmm0
movdqu xmm0, xmmword [rdx + 0x20]
aesenclast xmm6, xmm1
pxor xmm6, xmm0
movdqu xmm0, xmmword [rdx + 0x30]
aesenclast xmm5, xmm1
pxor xmm5, xmm0
movdqu xmm0, xmmword [rdx + 0x40]
aesenclast xmm4, xmm1
pxor xmm4, xmm0
movdqu xmm0, xmmword [rdx + 0x50]
aesenclast xmm3, xmm1
pxor xmm3, xmm0
movdqu xmm0, xmmword [rdx + 0x60]
aesenclast xmm2, xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rdx + 0x70]
aesenclast xmm8, xmm1
pxor xmm8, xmm0
movdqu xmm0, xmmword [rdx]
aesenclast xmm9, xmm1
pxor xmm9, xmm0
movdqu xmmword [rbx + rdx], xmm9
movdqu xmmword [rbx + rdx + 0x10], xmm7
movdqu xmmword [rbx + rdx + 0x20], xmm6
movdqu xmmword [rbx + rdx + 0x30], xmm5
movdqu xmmword [rbx + rdx + 0x40], xmm4
movdqu xmmword [rbx + rdx + 0x50], xmm3
movdqu xmmword [rbx + rdx + 0x60], xmm2
movdqu xmmword [rbx + rdx + 0x70], xmm8
sub rdx, 0xffffffffffffff80
sub r9, 1
jne 0x1800b0e00
cmp r15, r12
jae 0x1800b11e7
movdqa xmm10, xmmword [0x1800ede80]
mov ebx, 0x80
sub rbx, r11
nop
lea rcx, [r11 + r15]
mov r9d, r8d
lea rax, [rcx + rbx]
mov edx, 0x80
cmp rax, r12
jb 0x1800b101b
mov rdx, r12
sub rdx, r15
movdqa xmm7, xmmword [rsp + 0x50]
lea eax, [r9 + 2]
movdqu xmm8, xmmword [r14 + 0x10]
inc r8d
mov dword [rsp + 0x5c], r8d
movdqa xmm9, xmm8
movdqa xmm6, xmmword [rsp + 0x50]
lea r8d, [r9 + 8]
mov dword [rsp + 0x5c], eax
lea eax, [r9 + 3]
movdqa xmm5, xmmword [rsp + 0x50]
mov dword [rsp + 0x5c], eax
lea eax, [r9 + 4]
movdqa xmm4, xmmword [rsp + 0x50]
mov dword [rsp + 0x5c], eax
lea eax, [r9 + 5]
movdqa xmm3, xmmword [rsp + 0x50]
mov dword [rsp + 0x5c], eax
lea eax, [r9 + 6]
movdqa xmm2, xmmword [rsp + 0x50]
mov dword [rsp + 0x5c], eax
lea eax, [r9 + 7]
movdqa xmm1, xmmword [rsp + 0x50]
mov r9d, reloc.WS2_32.dll_listen
pshufb xmm7, xmm10
mov dword [rsp + 0x5c], eax
mov rax, rdi
movdqa xmm0, xmmword [rsp + 0x50]
pshufb xmm6, xmm10
mov dword [rsp + 0x5c], r8d
pshufb xmm5, xmm10
pshufb xmm4, xmm10
pshufb xmm3, xmm10
pshufb xmm2, xmm10
pxor xmm9, xmm7
movdqa xmm7, xmm8
pxor xmm7, xmm6
movdqa xmm6, xmm8
pxor xmm6, xmm5
movdqa xmm5, xmm8
pxor xmm5, xmm4
movdqa xmm4, xmm8
pxor xmm4, xmm3
movdqa xmm3, xmm8
pxor xmm3, xmm2
movdqa xmm2, xmm8
pshufb xmm0, xmm10
pshufb xmm1, xmm10
pxor xmm8, xmm0
pxor xmm2, xmm1
movdqu xmm0, xmmword [rax]
lea rax, [rax + 0x10]
aesenc xmm9, xmm0
aesenc xmm7, xmm0
aesenc xmm6, xmm0
aesenc xmm5, xmm0
aesenc xmm4, xmm0
aesenc xmm3, xmm0
aesenc xmm2, xmm0
aesenc xmm8, xmm0
sub r9, 1
jne 0x1800b1110
movdqu xmm0, xmmword [r14 + 0xf0]
aesenclast xmm9, xmm0
movdqa xmmword [rbp - 0x60], xmm9
aesenclast xmm7, xmm0
movdqa xmmword [rbp - 0x50], xmm7
aesenclast xmm6, xmm0
movdqa xmmword [rbp - 0x40], xmm6
aesenclast xmm5, xmm0
movdqa xmmword [rbp - 0x30], xmm5
aesenclast xmm4, xmm0
movdqa xmmword [rbp - 0x20], xmm4
aesenclast xmm3, xmm0
movdqa xmmword [rbp - 0x10], xmm3
aesenclast xmm2, xmm0
movdqa xmmword [rbp], xmm2
aesenclast xmm8, xmm0
movdqa xmmword [rbp + 0x10], xmm8
test rdx, rdx
je 0x1800b11da
lea r9, [rbp - 0x60]
sub r10, r11
sub r9, r11
sub r9, r15
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
xor al, byte [r10 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800b11c0
mov r10, qword [rsp + 0x20]
sub r15, 0xffffffffffffff80
cmp r15, r12
jb 0x1800b1000
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1800b11f4
mov qword [rax], r12
xor eax, eax
jmp 0x1800b11fd
mov eax, 0xffffffff
movaps xmm8, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x1c0]
mov rbx, qword [rsp + 0x220]
movaps xmm9, xmmword [rsp + 0x190]
mov rdi, qword [rsp + 0x1d8]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180002752
movaps xmm10, xmmword [rsp + 0x180]
add rsp, 0x1e0
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret