Function at 0x485e00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
mov eax, pe_nt_image_headers64
sarx r8d, eax, r8d
mov r10d, edx
mov edx, r8d
mov qword [rsp + 0x180], rcx
neg edx
mov rax, qword [rsp + 0x180]
mov rcx, qword [rcx + 0x40]
mov qword [rsp + 0x198], r9
and edx, r10d
or edx, r8d
mov rax, qword [rax + 0x88]
mov byte [rsp + 0xe0], dl
cmp rcx, 0x37
ja 0x4869e8
mov esi, 0x40
lea rbx, [rax + 1]
sub rsi, rcx
lea rdi, [rsp + 0xe0]
lea rcx, [rsp + 0xe1]
xor edx, edx
lea r8, [rsi - 9]
mov qword [rsp + 0x58], rdi
call sub.msvcrt.dll_memset
mov rax, rbx
bswap rax
mov rcx, qword [rsp + 0x180]
mov r8, rsi
mov rdx, rdi
mov qword [rsp + rsi + 0xd8], rax
call fcn.004814d0
mov rax, qword [rsp + 0x180]
mov r10, qword [rax + 0x80]
mov rdx, qword [rax + 0x78]
mov r9, qword [rax + 0x48]
mov rsi, qword [rax + 0x50]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rax + 0x68]
mov qword [rsp + 0x90], rdx
mov r11, qword [rax + 0x70]
mov r8, qword [rax + 0x58]
mov rax, rdx
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], rsi
mov r13, rsi
mov rbp, rbx
mov rdi, rax
mov qword [rsp + 0x98], r10
mov r12, r8
mov qword [rsp + 0xd0], rdx
mov rdx, r10
mov qword [rsp + 0xd8], r10
xor r10d, r10d
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], r11
mov qword [rsp + 0xa0], r9
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xc8], r11
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x70], r8
mov qword [rsp + 0xb0], r8
mov r8, rdx
mov rbx, qword [rsp + 0x28]
mov r14, qword [rsp + 0x50]
lea r15, [0x0069eb80]
lea r9, [0x0069b380]
lea rcx, [0x0069e380]
lea r10, [0x0069d380]
lea rax, [rbx + 0x10]
xor r14, rbx
lea rsi, [rbx + 0x40]
xor rsi, qword [rsp + 0x48]
xor r13, rax
lea rax, [rbx + 0x20]
movzx edx, r14b
xor r12, rax
lea rax, [rbx + 0x30]
xor rbp, rax
lea rax, [rbx + 0x50]
xor r11, rax
lea rax, [rbx + 0x60]
xor rdi, rax
lea rax, [rbx + 0x70]
xor r8, rax
lea rax, [rbx + 1]
xor rax, qword [r15 + rdx*8]
mov rbx, r13
mov rdx, r8
shr rdx, 0x38
xor rax, qword [r9 + rdx*8]
movzx edx, bh
lea rbx, [0x0069db80]
xor rax, qword [rcx + rdx*8]
mov rdx, r12
shr rdx, 0x10
movzx edx, dl
xor rax, qword [rbx + rdx*8]
mov rdx, rbp
lea rbx, [0x0069cb80]
shr rdx, 0x18
movzx edx, dl
xor rax, qword [r10 + rdx*8]
mov rdx, rsi
shr rdx, 0x20
movzx edx, dl
xor rax, qword [rbx + rdx*8]
mov rdx, r11
lea rbx, [0x0069c380]
shr rdx, 0x28
movzx edx, dl
xor rax, qword [rbx + rdx*8]
mov rdx, rdi
lea rbx, [0x0069bb80]
shr rdx, 0x30
movzx edx, dl
xor rax, qword [rbx + rdx*8]
mov rdx, r14
mov rbx, r12
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
shr rdx, 0x38
add rax, 0x11
xor rax, qword [r9 + rdx*8]
movzx edx, r13b
xor rax, qword [r15 + rdx*8]
movzx edx, bh
mov rbx, rcx
xor rax, qword [rcx + rdx*8]
mov rdx, rbp
lea rcx, [0x0069db80]
shr rdx, 0x10
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov rdx, rsi
lea rcx, [0x0069cb80]
shr rdx, 0x18
movzx edx, dl
xor rax, qword [r10 + rdx*8]
mov rdx, r11
shr rdx, 0x20
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov rdx, rdi
lea rcx, [0x0069c380]
shr rdx, 0x28
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov rdx, r8
lea rcx, [0x0069bb80]
shr rdx, 0x30
movzx edx, dl
xor rax, qword [rcx + rdx*8]
lea rdx, [0x0069bb80]
movzx ecx, r12b
mov qword [rsp + 0x30], rax
mov rax, r14
shr rax, 0x30
movzx eax, al
mov rdx, qword [rdx + rax*8]
mov rax, qword [rsp + 0x28]
xor rdx, qword [r15 + rcx*8]
lea rcx, [0x0069db80]
add rax, 0x21
xor rdx, rax
mov rax, r13
shr rax, 0x38
xor rdx, qword [r9 + rax*8]
mov rax, rbp
movzx eax, ah
xor rdx, qword [rbx + rax*8]
mov rax, rsi
lea rbx, [0x0069cb80]
shr rax, 0x10
movzx eax, al
xor rdx, qword [rcx + rax*8]
mov rax, r11
movzx ecx, bpl
shr rax, 0x18
movzx eax, al
xor rdx, qword [r10 + rax*8]
mov rax, rdi
shr rax, 0x20
movzx eax, al
xor rdx, qword [rbx + rax*8]
mov rax, r8
lea rbx, [0x0069c380]
shr rax, 0x28
movzx eax, al
xor rdx, qword [rbx + rax*8]
mov rax, r14
shr rax, 0x28
mov qword [rsp + 0x38], rdx
lea rdx, [0x0069cb80]
movzx eax, al
mov rbx, qword [rbx + rax*8]
mov rax, qword [rsp + 0x28]
xor rbx, qword [r15 + rcx*8]
lea rcx, [0x0069e380]
add rax, 0x31
xor rbx, rax
mov rax, r12
shr rax, 0x38
xor rbx, qword [r9 + rax*8]
mov rax, rsi
movzx eax, ah
xor rbx, qword [rcx + rax*8]
mov rax, r11
lea rcx, [0x0069db80]
shr rax, 0x10
movzx eax, al
xor rbx, qword [rcx + rax*8]
mov rax, rdi
lea rcx, [0x0069bb80]
shr rax, 0x18
movzx eax, al
xor rbx, qword [r10 + rax*8]
mov rax, r8
shr rax, 0x20
movzx eax, al
xor rbx, qword [rdx + rax*8]
mov rax, r13
shr rax, 0x30
movzx eax, al
xor rbx, qword [rcx + rax*8]
mov rax, r14
shr rax, 0x20
mov qword [rsp + 0x40], rbx
mov rbx, qword [rsp + 0x28]
movzx ecx, al
movzx eax, sil
mov rcx, qword [rdx + rcx*8]
xor rcx, qword [r15 + rax*8]
mov rax, rbx
mov rdx, r9
add rax, 0x41
xor rcx, rax
mov rax, rbp
shr rax, 0x38
xor rcx, qword [r9 + rax*8]
mov rax, r11
lea r9, [0x0069e380]
movzx eax, ah
xor rcx, qword [r9 + rax*8]
mov rax, rdi
lea r9, [0x0069db80]
shr rax, 0x10
movzx eax, al
xor rcx, qword [r9 + rax*8]
mov rax, r8
lea r9, [0x0069c380]
shr rax, 0x18
movzx eax, al
xor rcx, qword [r10 + rax*8]
mov rax, r13
shr rax, 0x28
movzx eax, al
xor rcx, qword [r9 + rax*8]
mov rax, r12
lea r9, [0x0069bb80]
shr rax, 0x30
movzx eax, al
xor rcx, qword [r9 + rax*8]
mov rax, r14
movzx r9d, r11b
shr rax, 0x18
movzx eax, al
mov rax, qword [r10 + rax*8]
xor rax, qword [r15 + r9*8]
lea r15, [0x0069e380]
mov r9, rax
lea rax, [rbx + 0x51]
xor rax, r9
mov r9, rsi
shr r9, 0x38
xor rax, qword [rdx + r9*8]
mov rdx, rdi
mov r9, r8
movzx edx, dh
shr r9, 0x10
xor rax, qword [r15 + rdx*8]
movzx r9d, r9b
lea r15, [0x0069db80]
xor rax, qword [r15 + r9*8]
mov r9, r13
mov rdx, r15
shr r9, 0x20
lea r15, [0x0069cb80]
movzx r9d, r9b
xor rax, qword [r15 + r9*8]
mov r9, r12
lea r15, [0x0069c380]
shr r9, 0x28
movzx r9d, r9b
xor rax, qword [r15 + r9*8]
mov r9, rbp
lea r15, [0x0069bb80]
shr r9, 0x30
movzx r9d, r9b
xor rax, qword [r15 + r9*8]
mov r9, r14
movzx r15d, dil
shr r9, 0x10
shr rdi, 0x38
movzx r9d, r9b
mov r9, qword [rdx + r9*8]
lea rdx, [0x0069eb80]
xor r9, qword [rdx + r15*8]
lea rdx, [0x0069b380]
mov r15, r9
lea r9, [rbx + 0x61]
xor r9, r15
mov r15, r11
shr r11, 0x30
shr r15, 0x38
movzx r11d, r11b
xor r9, qword [rdx + r15*8]
mov rdx, r8
movzx edx, dh
mov r15, rdx
lea rdx, [0x0069e380]
xor r9, qword [rdx + r15*8]
mov r15, r13
lea rdx, [0x0069cb80]
shr r13, 0x10
shr r15, 0x18
movzx r13d, r13b
movzx r15d, r15b
xor r9, qword [r10 + r15*8]
mov r15, r12
shr r12, 0x18
shr r15, 0x20
movzx r12d, r12b
movzx r15d, r15b
xor r9, qword [rdx + r15*8]
mov r15, rbp
lea rdx, [0x0069c380]
shr rbp, 0x20
shr r15, 0x28
movzx ebp, bpl
movzx r15d, r15b
xor r9, qword [rdx + r15*8]
mov r15, rsi
lea rdx, [0x0069bb80]
shr rsi, 0x28
shr r15, 0x30
movzx esi, sil
movzx r15d, r15b
xor r9, qword [rdx + r15*8]
mov rdx, r14
movzx r15d, r8b
movzx edx, dh
lea r8, [0x0069e380]
mov r14, qword [r8 + rdx*8]
lea rdx, [0x0069eb80]
lea r8, [rbx + 0x71]
mov rbx, qword [rsp + 0x30]
xor r14, qword [rdx + r15*8]
lea r15, [0x0069b380]
lea rdx, [0x0069db80]
xor r8, r14
lea r14, [0x0069db80]
xor r8, qword [r15 + rdi*8]
xor r8, qword [r14 + r13*8]
lea r13, [0x0069cb80]
xor r8, qword [r10 + r12*8]
xor r8, qword [r13 + rbp*8]
lea rbp, [0x0069c380]
lea r12, [0x0069e380]
xor r8, qword [rbp + rsi*8]
lea rsi, [0x0069bb80]
lea rdi, [0x0069eb80]
mov rbp, r15
xor r8, qword [rsi + r11*8]
movzx esi, bh
mov rbx, qword [rsp + 0x38]
mov r11, r8
mov r14, qword [r12 + rsi*8]
lea rsi, [0x0069bb80]
shr r11, 0x38
xor r14, qword [r15 + r11*8]
movzx r11d, byte [rsp + 0x48]
lea r15, [0x0069c380]
xor r14, qword [rdi + r11*8]
mov r11, qword [rsp + 0x38]
shr r11, 0x10
movzx r11d, r11b
xor r14, qword [rdx + r11*8]
mov r11, qword [rsp + 0x40]
shr r11, 0x18
movzx r11d, r11b
xor r14, qword [r10 + r11*8]
mov r11, rcx
shr r11, 0x20
movzx r11d, r11b
xor r14, qword [r13 + r11*8]
mov r11, rax
shr r11, 0x28
movzx r11d, r11b
xor r14, qword [r15 + r11*8]
mov r11, r9
mov r15, rsi
shr r11, 0x30
movzx r11d, r11b
xor r14, qword [rsi + r11*8]
mov r11, qword [rsp + 0x48]
movzx esi, byte [rsp + 0x30]
mov qword [rsp + 0x50], r14
mov r14, rdi
shr r11, 0x38
mov r13, qword [rdi + rsi*8]
xor r13, qword [rbp + r11*8]
movzx edi, bh
lea rsi, [0x0069cb80]
mov r11, qword [rsp + 0x40]
xor r13, qword [r12 + rdi*8]
lea rdi, [0x0069c380]
shr r11, 0x10
movzx r11d, r11b
xor r13, qword [rdx + r11*8]
mov r11, rcx
shr r11, 0x18
movzx r11d, r11b
xor r13, qword [r10 + r11*8]
mov r11, rax
mov rbx, qword [rsp + 0x48]
shr r11, 0x20
mov rdx, qword [rsp + 0x40]
movzx r11d, r11b
xor r13, qword [rsi + r11*8]
mov r11, r9
movzx esi, byte [rsp + 0x38]
shr r11, 0x28
movzx r11d, r11b
xor r13, qword [rdi + r11*8]
mov r11, r8
movzx edi, dh
shr r11, 0x30
lea rdx, [0x0069b380]
movzx r11d, r11b
xor r13, qword [r15 + r11*8]
mov r11, rbx
shr r11, 0x30
movzx r11d, r11b
mov r12, qword [r15 + r11*8]
mov r15, qword [rsp + 0x30]
xor r12, qword [r14 + rsi*8]
lea rsi, [0x0069db80]
mov r11, r15
shr r11, 0x38
xor r12, qword [rbp + r11*8]
mov r11, rdi
lea rdi, [0x0069e380]
xor r12, qword [rdi + r11*8]
mov r11, rcx
lea rbp, [0x0069cb80]
movzx edi, ch
shr r11, 0x10
movzx r11d, r11b
xor r12, qword [rsi + r11*8]
mov r11, rax
movzx esi, byte [rsp + 0x40]
shr r11, 0x18
movzx r11d, r11b
xor r12, qword [r10 + r11*8]
mov r11, r9
shr r11, 0x20
movzx r11d, r11b
xor r12, qword [rbp + r11*8]
mov r11, r8
lea rbp, [0x0069c380]
shr r11, 0x28
movzx r11d, r11b
xor r12, qword [rbp + r11*8]
mov r11, rbx
shr r11, 0x28
movzx r11d, r11b
mov rbp, qword [rbp + r11*8]
mov r11, r15
lea r15, [0x0069bb80]
xor rbp, qword [r14 + rsi*8]
shr r11, 0x30
lea rsi, [0x0069db80]
movzx r11d, r11b
xor rbp, qword [r15 + r11*8]
mov r11, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
shr r11, 0x38
xor rbp, qword [rdx + r11*8]
mov r11, rdi
lea rdi, [0x0069e380]
shr r15, 0x38
xor rbp, qword [rdi + r11*8]
mov r11, rax
movzx edi, cl
shr r11, 0x10
movzx r11d, r11b
xor rbp, qword [rsi + r11*8]
mov r11, r9
lea rsi, [0x0069cb80]
shr r11, 0x18
movzx r11d, r11b
xor rbp, qword [r10 + r11*8]
mov r11, r8
lea r10, [0x0069db80]
shr r11, 0x20
movzx r11d, r11b
xor rbp, qword [rsi + r11*8]
mov r11, rbx
shr r11, 0x20
movzx r11d, r11b
mov rsi, qword [rsi + r11*8]
mov r11, qword [rsp + 0x30]
xor rsi, qword [r14 + rdi*8]
lea rdi, [0x0069c380]
shr r11, 0x28
movzx r11d, r11b
xor rsi, qword [rdi + r11*8]
movzx edi, ah
xor rsi, qword [rdx + r15*8]
mov r15, r9
mov r11, rdi
shr r15, 0x10
lea rdi, [0x0069e380]
xor rsi, qword [rdi + r11*8]
movzx r11d, r15b
mov r15, r8
shr r15, 0x18
xor rsi, qword [r10 + r11*8]
lea r10, [0x0069d380]
movzx r11d, r15b
mov r15, qword [rsp + 0x38]
xor rsi, qword [r10 + r11*8]
shr r15, 0x30
movzx r11d, r15b
lea r15, [0x0069bb80]
xor rsi, qword [r15 + r11*8]
mov r11, rbx
shr r11, 0x18
mov qword [rsp + 0x48], rsi
movzx esi, al
movzx r11d, r11b
mov r11, qword [r10 + r11*8]
xor r11, qword [r14 + rsi*8]
lea r14, [0x0069cb80]
lea r10, [0x0069db80]
mov rsi, qword [rsp + 0x30]
shr rsi, 0x20
movzx esi, sil
xor r11, qword [r14 + rsi*8]
mov rsi, rcx
movzx r14d, r9b
shr rsi, 0x38
xor r11, qword [rdx + rsi*8]
mov rdx, r9
shr r9, 0x38
movzx esi, dh
lea rdx, [0x0069b380]
xor r11, qword [rdi + rsi*8]
mov rsi, r8
mov rdi, r10
shr rsi, 0x10
movzx esi, sil
xor r11, qword [r10 + rsi*8]
mov rsi, qword [rsp + 0x38]
lea r10, [0x0069c380]
shr rsi, 0x28
movzx esi, sil
xor r11, qword [r10 + rsi*8]
mov rsi, qword [rsp + 0x40]
lea r10, [0x0069d380]
shr rsi, 0x30
movzx esi, sil
xor r11, qword [r15 + rsi*8]
mov rsi, rbx
mov r15, rax
shr rsi, 0x10
shr r15, 0x38
movzx esi, sil
mov rdi, qword [rdi + rsi*8]
lea rsi, [0x0069eb80]
xor rdi, qword [rsi + r14*8]
mov rsi, qword [rsp + 0x30]
lea r14, [0x0069e380]
shr rsi, 0x18
movzx esi, sil
xor rdi, qword [r10 + rsi*8]
xor rdi, qword [rdx + r15*8]
mov rdx, r8
movzx r8d, r8b
mov r15, qword [rsp + 0x38]
movzx esi, dh
lea rdx, [0x0069cb80]
xor rdi, qword [r14 + rsi*8]
shr r15, 0x20
movzx esi, r15b
mov r15, qword [rsp + 0x40]
xor rdi, qword [rdx + rsi*8]
lea rdx, [0x0069c380]
shr r15, 0x28
movzx esi, r15b
mov r15, rcx
shr r15, 0x30
xor rdi, qword [rdx + rsi*8]
lea rdx, [0x0069b380]
movzx esi, r15b
lea r15, [0x0069bb80]
xor rdi, qword [r15 + rsi*8]
movzx esi, bh
mov rsi, qword [r14 + rsi*8]
lea r14, [0x0069eb80]
xor rsi, qword [r14 + r8*8]
mov r8, qword [rsp + 0x30]
lea r14, [0x0069db80]
shr r8, 0x10
movzx r8d, r8b
xor rsi, qword [r14 + r8*8]
mov r8, rsi
xor r8, qword [rdx + r9*8]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
shr rsi, 0x18
movzx edx, sil
shr rbx, 0x20
xor r8, qword [r10 + rdx*8]
movzx ebx, bl
lea rdx, [0x0069cb80]
xor r8, qword [rdx + rbx*8]
shr rcx, 0x28
add qword [rsp + 0x28], 2
lea rdx, [0x0069c380]
shr rax, 0x30
mov rbx, qword [rsp + 0x28]
movzx ecx, cl
movzx eax, al
xor r8, qword [rdx + rcx*8]
xor r8, qword [r15 + rax*8]
cmp rbx, 0xa
jne 0x485f72
vmovq xmm3, qword [rsp + 0x48]
vmovq xmm2, rdi
mov rax, qword [rsp + 0x58]
vpinsrq xmm1, xmm2, r8, 1
sub rax, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x198]
vpinsrq xmm0, xmm3, r11, 1
lea rsi, [rax + 0x20]
mov eax, dword [rsp + 0x1a0]
vinserti128 ymm0, ymm0, xmm1, 1
vpxor ymm0, ymm0, ymmword [rsp + 0x80]
vmovdqu ymmword [rsp + 0x80], ymm0
vmovdqu ymmword [rsp + 0xe0], ymm0
mov rdx, qword [rsi + rax - 8]
vpxor xmm0, xmm0, xmm0
mov qword [rbx + rax - 8], rdx
mov eax, dword [rsp + 0x1a0]
movabs rdx, 0xff000000000000
mov rdi, qword [rsp + 0x198]
lea ecx, [rax - 1]
shr ecx, 3
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rsp + 0x180]
mov rbx, qword [rsp + 0x180]
vmovdqu ymmword [rax + 0x40], ymm0
vmovdqu ymmword [rax + 0x60], ymm0
mov eax, 0x2b
shlx rax, qword [rsp + 0x1a0], rax
and rdx, rax
mov qword [rbx + 0x88], 0
mov eax, 0x3b
shlx rax, qword [rsp + 0x1a0], rax
or rax, rdx
mov qword [rbx + 0x80], rax
vzeroupper
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov esi, pe_nt_image_headers64
lea rbx, [rax + 2]
sub rsi, rcx
jmp 0x485e6b