Function at 0x140004420
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x438
movdqa xmmword [rsp + 0x420], xmm9
movdqa xmmword [rsp + 0x410], xmm8
movdqa xmmword [rsp + 0x400], xmm7
movdqa xmmword [rsp + 0x3f0], xmm6
mov rbx, rdx
mov rsi, rcx
lea rdi, [rsp + 0x30]
mov r8d, 0x3c0
mov rcx, rdi
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, rbx
mov r8, rbx
mov r9, rbx
call sym.aes::soft::fixslice::bitslice::h57cbaf6cab974f96
lea rcx, [rsp + 0x70]
add rbx, 0x10
mov qword [rsp + 0x20], rbx
mov rdx, rbx
mov r8, rbx
mov r9, rbx
call sym.aes::soft::fixslice::bitslice::h57cbaf6cab974f96
mov ebx, 8
mov r14d, pe_nt_image_headers64
mov r15d, 0xc0
pcmpeqd xmm6, xmm6
mov r12d, pe_nt_image_headers64
nop
mov rcx, rdi
mov rdx, rbx
call sym.aes::soft::fixslice::memshift32::h9dd2e8a50f75e914
lea rcx, [rsp + r14]
add rcx, 0x30
call sym.aes::soft::fixslice::sub_bytes::h8ee16cd47fdf4030
movdqu xmm0, xmmword [rsp + r14 + 0x30]
movdqu xmm1, xmmword [rsp + r14 + 0x58]
pxor xmm0, xmm6
movdqu xmmword [rsp + r14 + 0x30], xmm0
pxor xmm1, xmm6
movdqu xmmword [rsp + r14 + 0x58], xmm1
xor byte [rsp + r12 + 0x33], 0xf0
add rbx, 8
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x1c
call sym.aes::soft::fixslice::xor_columns::h25c71eeb9fb481fe
cmp r12, 0x3b0
je 0x14000458b
mov rcx, rdi
mov rdx, rbx
call sym.aes::soft::fixslice::memshift32::h9dd2e8a50f75e914
lea rcx, [rsp + r15]
add rcx, 0x30
call sym.aes::soft::fixslice::sub_bytes::h8ee16cd47fdf4030
movdqu xmm0, xmmword [rsp + r14 + 0x70]
movdqu xmm1, xmmword [rsp + r14 + 0x98]
pxor xmm0, xmm6
movdqu xmmword [rsp + r14 + 0x70], xmm0
pxor xmm1, xmm6
movdqu xmmword [rsp + r14 + 0x98], xmm1
add rbx, 8
mov rcx, rdi
mov rdx, rbx
mov r8d, 0xc
call sym.aes::soft::fixslice::xor_columns::h25c71eeb9fb481fe
add r12, 0x88
sub r14, 0xffffffffffffff80
sub r15, 0xffffffffffffff80
jmp 0x1400044c0
mov eax, 0xf0
movdqa xmm1, xmmword [section..rdata]
movdqa xmm0, xmmword [0x140396010]
movdqa xmm2, xmmword [0x140396020]
movdqa xmm3, xmmword [0x140396030]
movdqu xmm7, xmmword [rsp + rax - 0x80]
movdqu xmm6, xmmword [rsp + rax - 0x70]
movdqu xmm5, xmmword [rsp + rax - 0x60]
movdqu xmm4, xmmword [rsp + rax - 0x50]
movdqa xmm8, xmm7
psrlq xmm8, 8
pxor xmm8, xmm7
pand xmm8, xmm1
movdqa xmm9, xmm8
psllq xmm9, 8
por xmm9, xmm8
pxor xmm9, xmm7
movdqa xmm7, xmm9
psrlq xmm7, 4
pxor xmm7, xmm9
pand xmm7, xmm0
movdqa xmm8, xmm7
psllq xmm8, 4
por xmm8, xmm7
pxor xmm8, xmm9
movdqu xmmword [rsp + rax - 0x80], xmm8
movdqa xmm7, xmm6
psrlq xmm7, 8
pxor xmm7, xmm6
pand xmm7, xmm1
movdqa xmm8, xmm7
psllq xmm8, 8
por xmm8, xmm7
pxor xmm8, xmm6
movdqa xmm6, xmm8
psrlq xmm6, 4
pxor xmm6, xmm8
pand xmm6, xmm0
movdqa xmm7, xmm6
psllq xmm7, 4
por xmm7, xmm6
pxor xmm7, xmm8
movdqu xmmword [rsp + rax - 0x70], xmm7
movdqa xmm6, xmm5
psrlq xmm6, 8
pxor xmm6, xmm5
pand xmm6, xmm1
movdqa xmm7, xmm6
psllq xmm7, 8
por xmm7, xmm6
pxor xmm7, xmm5
movdqa xmm5, xmm7
psrlq xmm5, 4
pxor xmm5, xmm7
pand xmm5, xmm0
movdqa xmm6, xmm5
psllq xmm6, 4
por xmm6, xmm5
pxor xmm6, xmm7
movdqu xmmword [rsp + rax - 0x60], xmm6
movdqa xmm5, xmm4
psrlq xmm5, 8
pxor xmm5, xmm4
pand xmm5, xmm1
movdqa xmm6, xmm5
psllq xmm6, 8
por xmm6, xmm5
pxor xmm6, xmm4
movdqa xmm4, xmm6
psrlq xmm4, 4
pxor xmm4, xmm6
pand xmm4, xmm0
movdqa xmm5, xmm4
psllq xmm5, 4
por xmm5, xmm4
pxor xmm5, xmm6
movdqu xmmword [rsp + rax - 0x50], xmm5
movdqu xmm4, xmmword [rsp + rax - 0x40]
movdqa xmm5, xmm4
psrlq xmm5, 8
pxor xmm5, xmm4
pand xmm5, xmm2
movdqa xmm6, xmm5
psllq xmm6, 8
por xmm6, xmm5
pxor xmm6, xmm4
movdqu xmmword [rsp + rax - 0x40], xmm6
movdqu xmm4, xmmword [rsp + rax - 0x30]
movdqa xmm5, xmm4
psrlq xmm5, 8
pxor xmm5, xmm4
pand xmm5, xmm2
movdqa xmm6, xmm5
psllq xmm6, 8
por xmm6, xmm5
pxor xmm6, xmm4
movdqu xmmword [rsp + rax - 0x30], xmm6
movdqu xmm4, xmmword [rsp + rax - 0x20]
movdqa xmm5, xmm4
psrlq xmm5, 8
pxor xmm5, xmm4
pand xmm5, xmm2
movdqa xmm6, xmm5
psllq xmm6, 8
por xmm6, xmm5
pxor xmm6, xmm4
movdqu xmmword [rsp + rax - 0x20], xmm6
movdqu xmm4, xmmword [rsp + rax - 0x10]
movdqa xmm5, xmm4
psrlq xmm5, 8
pxor xmm5, xmm4
pand xmm5, xmm2
movdqa xmm6, xmm5
psllq xmm6, 8
por xmm6, xmm5
pxor xmm6, xmm4
movdqu xmmword [rsp + rax - 0x10], xmm6
movdqu xmm4, xmmword [rsp + rax]
movdqa xmm5, xmm4
psrlq xmm5, 8
pxor xmm5, xmm4
pand xmm5, xmm3
movdqa xmm6, xmm5
psllq xmm6, 8
por xmm6, xmm5
pxor xmm6, xmm4
movdqa xmm4, xmm6
psrlq xmm4, 4
pxor xmm4, xmm6
pand xmm4, xmm0
movdqa xmm5, xmm4
psllq xmm5, 4
por xmm5, xmm4
pxor xmm5, xmm6
movdqu xmmword [rsp + rax], xmm5
movdqu xmm4, xmmword [rsp + rax + 0x10]
movdqa xmm5, xmm4
psrlq xmm5, 8
pxor xmm5, xmm4
pand xmm5, xmm3
movdqa xmm6, xmm5
psllq xmm6, 8
por xmm6, xmm5
pxor xmm6, xmm4
movdqa xmm4, xmm6
psrlq xmm4, 4
pxor xmm4, xmm6
pand xmm4, xmm0
movdqa xmm5, xmm4
psllq xmm5, 4
por xmm5, xmm4
pxor xmm5, xmm6
movdqu xmmword [rsp + rax + 0x10], xmm5
movdqu xmm4, xmmword [rsp + rax + 0x20]
movdqa xmm5, xmm4
psrlq xmm5, 8
pxor xmm5, xmm4
pand xmm5, xmm3
movdqa xmm6, xmm5
psllq xmm6, 8
por xmm6, xmm5
pxor xmm6, xmm4
movdqa xmm4, xmm6
psrlq xmm4, 4
pxor xmm4, xmm6
pand xmm4, xmm0
movdqa xmm5, xmm4
psllq xmm5, 4
por xmm5, xmm4
pxor xmm5, xmm6
movdqu xmmword [rsp + rax + 0x20], xmm5
movdqu xmm4, xmmword [rsp + rax + 0x30]
movdqa xmm5, xmm4
psrlq xmm5, 8
pxor xmm5, xmm4
pand xmm5, xmm3
movdqa xmm6, xmm5
psllq xmm6, 8
por xmm6, xmm5
pxor xmm6, xmm4
movdqa xmm4, xmm6
psrlq xmm4, 4
pxor xmm4, xmm6
pand xmm4, xmm0
movdqa xmm5, xmm4
psllq xmm5, 4
por xmm5, xmm4
pxor xmm5, xmm6
movdqu xmmword [rsp + rax + 0x30], xmm5
add rax, 0x100
cmp rax, 0x3f0
jne 0x1400045b0
movdqu xmm2, xmmword [rsp + 0x370]
movdqa xmm3, xmm2
psrlq xmm3, 8
pxor xmm3, xmm2
pand xmm3, xmm1
movdqa xmm4, xmm3
psllq xmm4, 8
por xmm4, xmm3
pxor xmm4, xmm2
movdqa xmm2, xmm4
psrlq xmm2, 4
pxor xmm2, xmm4
pand xmm2, xmm0
movdqa xmm3, xmm2
psllq xmm3, 4
por xmm3, xmm2
pxor xmm3, xmm4
movdqu xmmword [rsp + 0x370], xmm3
movdqu xmm2, xmmword [rsp + 0x380]
movdqa xmm3, xmm2
psrlq xmm3, 8
pxor xmm3, xmm2
pand xmm3, xmm1
movdqa xmm4, xmm3
psllq xmm4, 8
por xmm4, xmm3
pxor xmm4, xmm2
movdqa xmm2, xmm4
psrlq xmm2, 4
pxor xmm2, xmm4
pand xmm2, xmm0
movdqa xmm3, xmm2
psllq xmm3, 4
por xmm3, xmm2
pxor xmm3, xmm4
movdqu xmmword [rsp + 0x380], xmm3
movdqu xmm2, xmmword [rsp + 0x390]
movdqa xmm3, xmm2
psrlq xmm3, 8
pxor xmm3, xmm2
pand xmm3, xmm1
movdqa xmm1, xmm3
psllq xmm1, 8
por xmm1, xmm3
pxor xmm1, xmm2
movdqa xmm2, xmm1
psrlq xmm2, 4
pxor xmm2, xmm1
pand xmm2, xmm0
movdqa xmm0, xmm2
psllq xmm0, 4
por xmm0, xmm2
pxor xmm0, xmm1
movdqu xmmword [rsp + 0x390], xmm0
mov rax, qword [rsp + 0x3a0]
mov rcx, rax
shr rcx, 8
xor rcx, rax
movabs rdx, 0xf00ff00f00000
and rcx, rdx
mov r8, rcx
shl r8, 8
or r8, rcx
xor r8, rax
mov rax, r8
shr rax, 4
xor rax, r8
movabs rcx, 0xf0f00000f0f0000
and rax, rcx
mov r9, rax
shl r9, 4
or r9, rax
xor r9, r8
mov qword [rsp + 0x3a0], r9
mov rax, qword [rsp + 0x3a8]
mov r8, rax
shr r8, 8
xor r8, rax
and r8, rdx
mov rdx, r8
shl rdx, 8
or rdx, r8
xor rdx, rax
mov rax, rdx
shr rax, 4
xor rax, rdx
and rax, rcx
mov rcx, rax
shl rcx, 4
or rcx, rax
xor rcx, rdx
mov qword [rsp + 0x3a8], rcx
pcmpeqd xmm0, xmm0
movdqu xmm1, xmmword [rsp + 0x70]
movdqu xmm2, xmmword [rsp + 0x98]
movdqu xmm3, xmmword [rsp + 0xb0]
movdqu xmm4, xmmword [rsp + 0xd8]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x70], xmm1
pxor xmm2, xmm0
movdqu xmmword [rsp + 0x98], xmm2
pxor xmm3, xmm0
movdqu xmmword [rsp + 0xb0], xmm3
pxor xmm4, xmm0
movdqu xmmword [rsp + 0xd8], xmm4
movdqu xmm1, xmmword [rsp + 0xf0]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0xf0], xmm1
movdqu xmm1, xmmword [rsp + 0x118]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x118], xmm1
movdqu xmm1, xmmword [rsp + 0x130]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x130], xmm1
movdqu xmm1, xmmword [rsp + 0x158]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x158], xmm1
movdqu xmm1, xmmword [rsp + 0x170]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x170], xmm1
movdqu xmm1, xmmword [rsp + 0x198]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x198], xmm1
movdqu xmm1, xmmword [rsp + 0x1b0]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x1b0], xmm1
movdqu xmm1, xmmword [rsp + 0x1d8]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x1d8], xmm1
movdqu xmm1, xmmword [rsp + 0x1f0]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x1f0], xmm1
movdqu xmm1, xmmword [rsp + 0x218]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x218], xmm1
movdqu xmm1, xmmword [rsp + 0x230]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x230], xmm1
movdqu xmm1, xmmword [rsp + 0x258]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x258], xmm1
movdqu xmm1, xmmword [rsp + 0x270]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x270], xmm1
movdqu xmm1, xmmword [rsp + 0x298]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x298], xmm1
movdqu xmm1, xmmword [rsp + 0x2b0]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x2b0], xmm1
movdqu xmm1, xmmword [rsp + 0x2d8]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x2d8], xmm1
movdqu xmm1, xmmword [rsp + 0x2f0]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x2f0], xmm1
movdqu xmm1, xmmword [rsp + 0x318]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x318], xmm1
movdqu xmm1, xmmword [rsp + 0x330]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x330], xmm1
movdqu xmm1, xmmword [rsp + 0x358]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x358], xmm1
movdqu xmm1, xmmword [rsp + 0x370]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x370], xmm1
movdqu xmm1, xmmword [rsp + 0x398]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x398], xmm1
movdqu xmm1, xmmword [rsp + 0x3b0]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x3b0], xmm1
movdqu xmm1, xmmword [rsp + 0x3d8]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x3d8], xmm1
lea rdx, [rsp + 0x30]
mov r8d, 0x3c0
mov rcx, rsi
call sym.memcpy
movaps xmm6, xmmword [rsp + 0x3f0]
movaps xmm7, xmmword [rsp + 0x400]
movaps xmm8, xmmword [rsp + 0x410]
movaps xmm9, xmmword [rsp + 0x420]
add rsp, 0x438
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret