Function at 0x14007ef80
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [r11 - 0x188]
sub rsp, 0x260
mov rax, qword [0x1401ce680]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, qword [r9]
mov r12, r9
mov r10, qword [r9 + 8]
mov r15, r8
sub r10, rdi
mov qword [rsp + 0x48], r9
sar r10, 2
mov rsi, rcx
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rcx
lea rax, [r10 - 0x2c]
test rax, 0xffffffffffffffe7
jne 0x14007f760
cmp r10, 0x44
je 0x14007f760
mov qword [r11 + 0x20], rbx
lea rcx, [rbp - 0x60]
mov qword [r11 - 0x30], r13
xor edx, edx
mov qword [r11 - 0x38], r14
mov r8d, 0x1a0
lea r14, [r10 - 4]
shr r14, 2
call fcn.140154200
lea r13, [r14 - 1]
mov qword [rsp + 0x78], r13
test r13, r13
je 0x14007f138
lea rbx, [rbp - 0x5c]
add rdi, 0x14
mov rsi, r13
mov r10d, dword [rdi - 4]
lea rbx, [rbx + 0x20]
mov r8d, dword [rdi + 4]
mov ecx, dword [rdi]
lea rdi, [rdi + 0x10]
shr ecx, 1
xor ecx, r10d
and ecx, 0x55555555
xor r10d, ecx
lea r11d, [rcx + rcx]
mov ecx, dword [rdi - 8]
xor r11d, dword [rdi - 0x10]
shr ecx, 1
xor ecx, r8d
and ecx, 0x55555555
xor r8d, ecx
mov eax, r8d
shr eax, 2
xor eax, r10d
lea edx, [rcx + rcx]
xor edx, dword [rdi - 8]
and eax, 0x33333333
xor r10d, eax
mov ecx, r10d
shr ecx, 4
lea r9d, [rax*4]
xor ecx, r10d
and ecx, 0xf0f0f0f
xor r9d, r8d
mov eax, edx
shr eax, 2
xor eax, r11d
and eax, 0x33333333
xor r11d, eax
lea r8d, [rax*4]
mov eax, ecx
shl eax, 4
xor r8d, edx
xor eax, r10d
xor r10d, ecx
mov dword [rbx - 0x14], eax
mov ecx, r11d
shr ecx, 4
xor ecx, r11d
mov dword [rbx - 0x24], r10d
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, r11d
xor r11d, ecx
mov dword [rbx - 0x10], eax
mov ecx, r9d
shr ecx, 4
xor ecx, r9d
mov dword [rbx - 0x20], r11d
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, r9d
xor r9d, ecx
mov dword [rbx - 0xc], eax
mov ecx, r8d
shr ecx, 4
xor ecx, r8d
mov dword [rbx - 0x1c], r9d
and ecx, 0xf0f0f0f
mov eax, ecx
xor ecx, r8d
shl eax, 4
xor eax, r8d
mov dword [rbx - 0x18], ecx
mov dword [rbx - 8], eax
sub rsi, 1
jne 0x14007f030
mov rsi, qword [rsp + 0x30]
test r15, r15
je 0x14007f72a
mov edi, dword [reloc.WS2_32.dll_accept]
lea rax, [r14*4]
lea rcx, [rax*4]
mov edx, 2
mov qword [rsp + 0x50], rcx
lea rcx, [rax*4 + 4]
mov qword [rsp + 0x58], rcx
lea rcx, [rax*4 + 8]
lea rax, [rax*4 + 0xc]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
nop dword [rax + rax]
cmp r15, 2
xorps xmm0, xmm0
mov rax, r15
cmova rax, rdx
mov qword [rsp + 0x70], rax
movups xmmword [rbp - 0x80], xmm0
lea rbx, [rax*4]
movups xmmword [rbp - 0x70], xmm0
test rbx, rbx
je 0x14007f20e
mov r8, rax
lea rcx, [rbp - 0x80]
shl r8, 4
mov rdx, rsi
call fcn.140153a80
xor r8d, r8d
lea rdx, [rbp - 0x80]
xor eax, eax
cmp edi, 2
jl 0x14007f1f0
movdqu xmm0, xmmword [rdx]
pshufb xmm0, xmmword [0x14015c4d0]
movdqu xmmword [rdx], xmm0
jmp 0x14007f201
mov ecx, dword [rdx + rax*4]
bswap ecx
mov dword [rdx + rax*4], ecx
inc rax
cmp rax, 4
jl 0x14007f1f0
add r8, 4
add rdx, 0x10
cmp r8, rbx
jne 0x14007f1d2
mov rax, qword [r12]
mov r15d, dword [rbp - 0x70]
mov r10d, dword [rbp - 0x7c]
mov r12d, dword [rbp - 0x80]
xor r10d, dword [rax + 4]
xor r12d, dword [rax]
xor r15d, dword [rax]
mov ebx, dword [rbp - 0x78]
xor ebx, dword [rax + 8]
mov r11d, dword [rbp - 0x74]
xor r11d, dword [rax + 0xc]
mov r9d, dword [rbp - 0x6c]
xor r9d, dword [rax + 4]
mov edi, dword [rbp - 0x68]
xor edi, dword [rax + 8]
mov edx, dword [rbp - 0x64]
xor edx, dword [rax + 0xc]
mov eax, r10d
shr eax, 1
xor eax, r12d
and eax, 0x55555555
xor r12d, eax
lea r14d, [rax + rax]
mov eax, r11d
shr eax, 1
xor r14d, r10d
xor eax, ebx
and eax, 0x55555555
xor ebx, eax
lea ecx, [rax + rax]
mov eax, r9d
shr eax, 1
xor ecx, r11d
xor eax, r15d
and eax, 0x55555555
xor r15d, eax
lea esi, [rax + rax]
mov eax, edx
shr eax, 1
xor esi, r9d
xor eax, edi
and eax, 0x55555555
xor edi, eax
lea r8d, [rax + rax]
mov eax, ebx
shr eax, 2
xor r8d, edx
xor eax, r12d
and eax, 0x33333333
xor r12d, eax
lea r10d, [rax*4]
mov eax, ecx
shr eax, 2
xor r10d, ebx
xor eax, r14d
and eax, 0x33333333
xor r14d, eax
lea r11d, [rax*4]
mov eax, edi
shr eax, 2
xor r11d, ecx
xor eax, r15d
and eax, 0x33333333
xor r15d, eax
mov ecx, r15d
shr ecx, 4
lea edx, [rax*4]
xor ecx, r12d
and ecx, 0xf0f0f0f
mov eax, r8d
shr eax, 2
xor edx, edi
xor eax, esi
and eax, 0x33333333
xor esi, eax
lea r9d, [rax*4]
mov eax, ecx
shl eax, 4
xor r9d, r8d
xor eax, r15d
mov dword [rbp - 0x70], eax
xor r12d, ecx
mov ecx, esi
shr ecx, 4
xor ecx, r14d
mov dword [rbp - 0x80], r12d
and ecx, 0xf0f0f0f
xor r14d, ecx
mov eax, ecx
shl eax, 4
mov ecx, edx
xor eax, esi
shr ecx, 4
xor ecx, r10d
mov dword [rbp - 0x6c], eax
and ecx, 0xf0f0f0f
mov dword [rbp - 0x7c], r14d
xor r10d, ecx
mov eax, ecx
shl eax, 4
mov ecx, r9d
xor eax, edx
shr ecx, 4
xor ecx, r11d
mov dword [rbp - 0x68], eax
and ecx, 0xf0f0f0f
mov dword [rbp - 0x78], r10d
xor r11d, ecx
mov eax, ecx
shl eax, 4
movabs rsi, 0x55005500550055
xor eax, r9d
mov dword [rbp - 0x74], r11d
mov dword [rbp - 0x64], eax
movabs r14, 0x22331100223311
test r13, r13
je 0x14007f462
lea rbx, [rbp - 0x60]
mov rdi, r13
lea rax, [rbp - 0x80]
sub rbx, rax
lea rcx, [rbp - 0x80]
call fcn.14007e420
xor r8d, r8d
nop
mov eax, dword [rbp + r8*4 - 0x7c]
mov edx, dword [rbp + r8*4 - 0x80]
shl rdx, 0x20
or rdx, rax
mov rcx, rdx
shr rcx, 1
xor rcx, rdx
and rcx, rsi
lea rax, [rcx + rcx]
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 2
xor rcx, rdx
and rcx, r14
lea rax, [rcx*4]
xor rax, rcx
xor rdx, rax
mov rax, rdx
mov dword [rbp + r8*4 - 0x7c], edx
shr rax, 0x20
mov dword [rbp + r8*4 - 0x80], eax
add r8, 2
cmp r8, 8
jne 0x14007f3c0
lea rcx, [rbp - 0x80]
call fcn.140080840
xor ecx, ecx
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rcx*4 - 0x80]
lea rax, [rbx + rcx*4]
movdqu xmm1, xmmword [rbp + rax - 0x80]
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx*4 - 0x80], xmm1
add rcx, 4
cmp rcx, 8
jne 0x14007f430
add rbx, 0x20
sub rdi, 1
jne 0x14007f3b3
lea rcx, [rbp - 0x80]
call fcn.14007e420
xor r8d, r8d
lea r9, [rbp - 0x80]
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbp + r8*4 - 0x7c]
mov edx, dword [r9 + r8*4]
shl rdx, 0x20
or rdx, rax
mov rcx, rdx
shr rcx, 1
xor rcx, rdx
and rcx, rsi
lea rax, [rcx + rcx]
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 2
xor rcx, rdx
and rcx, r14
lea rax, [rcx*4]
xor rax, rcx
xor rdx, rax
mov rax, rdx
mov dword [rbp + r8*4 - 0x7c], edx
shr rax, 0x20
mov dword [r9 + r8*4], eax
add r8, 2
cmp r8, 8
jne 0x14007f480
mov r12d, dword [rbp - 0x80]
mov r8d, dword [rbp - 0x78]
mov r11d, dword [rbp - 0x70]
mov ecx, dword [rbp - 0x7c]
mov edx, dword [rbp - 0x68]
shr ecx, 1
xor ecx, r12d
and ecx, 0x55555555
xor r12d, ecx
lea r13d, [rcx + rcx]
mov ecx, dword [rbp - 0x74]
xor r13d, dword [rbp - 0x7c]
shr ecx, 1
xor ecx, r8d
and ecx, 0x55555555
xor r8d, ecx
mov eax, r8d
shr eax, 2
xor eax, r12d
lea r10d, [rcx + rcx]
xor r10d, dword [rbp - 0x74]
and eax, 0x33333333
mov ecx, dword [rbp - 0x6c]
xor r12d, eax
shr ecx, 1
xor ecx, r11d
lea r15d, [rax*4]
and ecx, 0x55555555
xor r11d, ecx
mov eax, r10d
shr eax, 2
xor r15d, r8d
xor eax, r13d
and eax, 0x33333333
lea esi, [rcx + rcx]
xor esi, dword [rbp - 0x6c]
xor r13d, eax
mov ecx, dword [rbp - 0x64]
shr ecx, 1
lea r14d, [rax*4]
xor ecx, edx
and ecx, 0x55555555
xor r14d, r10d
xor edx, ecx
mov eax, edx
shr eax, 2
xor eax, r11d
lea r9d, [rcx + rcx]
xor r9d, dword [rbp - 0x64]
and eax, 0x33333333
xor r11d, eax
lea ecx, [rax*4]
mov eax, r9d
shr eax, 2
xor ecx, edx
xor eax, esi
and eax, 0x33333333
xor esi, eax
lea edx, [rax*4]
mov eax, r11d
shr eax, 4
xor edx, r9d
xor eax, r12d
and eax, 0xf0f0f0f
mov edi, eax
xor r12d, eax
shl edi, 4
mov eax, esi
shr eax, 4
xor edi, r11d
xor eax, r13d
and eax, 0xf0f0f0f
mov ebx, eax
xor r13d, eax
shl ebx, 4
mov eax, ecx
shr eax, 4
xor ebx, esi
xor eax, r15d
and eax, 0xf0f0f0f
mov r11d, eax
xor r15d, eax
shl r11d, 4
mov eax, edx
xor r11d, ecx
mov rcx, qword [rsp + 0x48]
shr eax, 4
xor eax, r14d
and eax, 0xf0f0f0f
mov rcx, qword [rcx]
mov r10d, eax
xor r14d, eax
shl r10d, 4
mov rax, qword [rsp + 0x50]
xor r10d, edx
mov rdx, qword [rsp + 0x68]
mov r9d, dword [rcx + rax]
mov eax, r9d
mov edx, dword [rdx + rcx]
xor eax, r12d
mov r12, qword [rsp + 0x38]
xor edi, r9d
xor r14d, edx
mov dword [rbp - 0x80], eax
mov rax, qword [rsp + 0x58]
xor edx, r10d
mov dword [rbp - 0x70], edi
mov r9, r12
mov dword [rbp - 0x74], r14d
mov dword [rbp - 0x64], edx
mov r8d, dword [rcx + rax]
xor ebx, r8d
mov rax, qword [rsp + 0x60]
xor r13d, r8d
mov dword [rbp - 0x6c], ebx
mov rbx, qword [rsp + 0x70]
mov rdi, rbx
mov dword [rbp - 0x7c], r13d
xor r15d, dword [rax + rcx]
xor r11d, dword [rax + rcx]
lea rcx, [rbp - 0x80]
shl rdi, 4
mov dword [rbp - 0x78], r15d
mov r10, rdi
mov dword [rbp - 0x68], r11d
cmp rdi, 4
jb 0x14007f6c5
mov rdx, rdi
shr rdx, 2
imul rax, rdx, 0xfffffffffffffffc
add r10, rax
nop word [rax + rax]
mov eax, dword [rcx]
add rcx, 4
bswap eax
mov dword [r9], eax
add r9, 4
sub rdx, 1
jne 0x14007f6b0
xor r8d, r8d
test r10, r10
je 0x14007f6ed
mov r11d, dword [rcx]
movzx ecx, r8b
mov edx, r11d
not cl
and cl, 3
shl cl, 3
shr edx, cl
mov byte [r8 + r9], dl
inc r8
cmp r8, r10
jne 0x14007f6d0
mov rsi, qword [rsp + 0x30]
add r12, rdi
mov r15, qword [rsp + 0x40]
add rsi, rdi
mov edi, dword [reloc.WS2_32.dll_accept]
sub r15, rbx
mov r13, qword [rsp + 0x78]
mov edx, 2
mov qword [rsp + 0x38], r12
mov r12, qword [rsp + 0x48]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x30], rsi
jne 0x14007f190
mov r13, qword [rsp + 0x258]
mov rbx, qword [rsp + 0x2a8]
mov r14, qword [rsp + 0x250]
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14010f1d0
add rsp, 0x260
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r9, str.src_lib_block_aes_aes.cpp
mov dword [rsp + 0x20], 0x242
lea r8, str.aes_decrypt_n
lea rdx, str.Key_was_set
lea rcx, str.DK.size____44__DK.size____52__DK.size____60
call fcn.14006e610
int3