Function at 0x140115550
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x128
mov rbx, qword [rsp + 0x190]
mov rsi, rcx
mov r10d, edx
mov qword [rsp + 0x188], r9
mov edx, pe_nt_image_headers64
mov r9, qword [rcx + 0x40]
mov ecx, r8d
sar edx, cl
mov eax, edx
neg eax
and eax, r10d
or eax, edx
mov byte [rsp + 0xd0], al
mov rax, qword [rsi + 0x88]
cmp r9, 0x37
ja 0x1401161d0
mov ebp, 0x40
lea rdi, [rax + 1]
sub rbp, r9
lea rcx, [rsp + 0xd1]
mov r9d, 0x47
lea r8, [rbp - 9]
xor edx, edx
call fcn.14018c6b0
lea r14, [rsp + 0xd0]
mov rax, rdi
bswap rax
mov r8, rbp
mov rdx, r14
mov rcx, rsi
xor r13d, r13d
mov qword [rsp + rbp + 0xc8], rax
call fcn.140113f90
mov r9, qword [rsi + 0x48]
mov r8, qword [rsi + 0x58]
mov qword [rsp + 0x190], rbx
mov rcx, qword [rsi + 0x68]
mov rdi, qword [rsi + 0x60]
mov qword [rsp + 0x170], rsi
mov r12, qword [rsi + 0x50]
mov r11, qword [rsi + 0x70]
mov rbp, r9
mov qword [rsp + 0x50], r9
mov rdx, qword [rsi + 0x78]
mov r10, qword [rsi + 0x80]
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x70], rcx
mov r15, r11
mov qword [rsp + 0x90], r9
mov r9, r8
mov rax, rdx
mov rsi, r15
mov qword [rsp + 0xa0], r8
mov r8, rcx
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xb0], rcx
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x58], r12
mov r12, rbp
mov rbp, qword [rsp + 0x98]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0xc0], rdx
mov rdx, r10
mov qword [rsp + 0x40], rcx
mov rcx, r8
mov r8, rdx
mov qword [rsp + 0x78], r11
mov r15, rcx
mov qword [rsp + 0x88], r10
mov qword [rsp + 0xb8], r11
mov r11, rbp
mov qword [rsp + 0xc8], r10
mov r10, r9
mov qword [rsp + 0x48], r14
mov r14, rax
nop dword [rax]
mov rax, qword [rsp + 0x40]
lea rbp, [r13 + 0x10]
xor r12, r13
lea rdi, [r13 + 0x20]
xor rbp, r11
lea r11, [r13 + 0x30]
xor rdi, r10
movzx edx, r12b
xor r11, rax
lea rax, [r13 + 0x70]
lea rcx, [0x1402d0940]
mov rbx, rbp
xor r8, rax
lea r10, [r13 + 0x40]
lea rax, [r13 + 1]
xor rax, qword [rcx + rdx*8]
xor r10, r15
mov rdx, r8
lea r15, [r13 + 0x50]
xor r15, rsi
lea r9, [0x1402cd140]
shr rdx, 0x38
lea rsi, [r13 + 0x60]
xor rsi, r14
xor rax, qword [r9 + rdx*8]
lea r14, [0x1402d0140]
movzx edx, bh
xor rax, qword [r14 + rdx*8]
mov rdx, rdi
lea rbx, [0x1402cf940]
shr rdx, 0x10
movzx edx, dl
xor rax, qword [rbx + rdx*8]
mov rdx, r11
lea rbx, [0x1402cf140]
shr rdx, 0x18
movzx edx, dl
xor rax, qword [rbx + rdx*8]
mov rdx, r10
lea rbx, [0x1402ce940]
shr rdx, 0x20
movzx edx, dl
xor rax, qword [rbx + rdx*8]
mov rdx, r15
lea rbx, [0x1402ce140]
shr rdx, 0x28
movzx edx, dl
xor rax, qword [rbx + rdx*8]
mov rdx, rsi
lea rbx, [0x1402cd940]
shr rdx, 0x30
movzx edx, dl
xor rax, qword [rbx + rdx*8]
mov rdx, r12
mov rbx, rdi
shr rdx, 0x38
mov qword [rsp + 0x40], rax
lea rax, [r13 + 0x11]
xor rax, qword [r9 + rdx*8]
movzx edx, bpl
xor rax, qword [rcx + rdx*8]
movzx edx, bh
lea rbx, [0x1402cf940]
xor rax, qword [r14 + rdx*8]
mov rdx, r11
lea r14, [0x1402cf140]
shr rdx, 0x10
movzx edx, dl
xor rax, qword [rbx + rdx*8]
mov rdx, r10
lea rbx, [0x1402ce940]
shr rdx, 0x18
movzx edx, dl
xor rax, qword [r14 + rdx*8]
mov rdx, r15
lea r14, [0x1402ce140]
shr rdx, 0x20
movzx edx, dl
xor rax, qword [rbx + rdx*8]
mov rdx, rsi
mov rbx, r11
shr rdx, 0x28
movzx edx, dl
xor rax, qword [r14 + rdx*8]
mov rdx, r8
lea r14, [0x1402cd940]
shr rdx, 0x30
movzx edx, dl
xor rax, qword [r14 + rdx*8]
mov rdx, r12
shr rdx, 0x30
mov qword [rsp + 0x20], rax
movzx eax, dil
movzx edx, dl
mov rdx, qword [r14 + rdx*8]
xor rdx, qword [rcx + rax*8]
lea rax, [r13 + 0x21]
mov r14, rcx
xor rax, rdx
mov rdx, rbp
lea rcx, [0x1402cf940]
shr rdx, 0x38
xor rax, qword [r9 + rdx*8]
movzx edx, bh
lea rbx, [0x1402d0140]
xor rax, qword [rbx + rdx*8]
mov rdx, r10
shr rdx, 0x10
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov rdx, r15
lea rcx, [0x1402cf140]
shr rdx, 0x18
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov rdx, rsi
lea rcx, [0x1402ce940]
shr rdx, 0x20
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov rdx, r8
lea rcx, [0x1402ce140]
shr rdx, 0x28
mov rbx, rcx
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov rdx, r12
shr rdx, 0x28
mov qword [rsp + 0x28], rax
mov rax, r9
movzx ecx, dl
movzx edx, r11b
mov rcx, qword [rbx + rcx*8]
xor rcx, qword [r14 + rdx*8]
lea rdx, [r13 + 0x31]
mov rbx, r10
xor rdx, rcx
mov rcx, rdi
shr rcx, 0x38
xor rdx, qword [r9 + rcx*8]
movzx ecx, bh
lea rbx, [0x1402d0140]
xor rdx, qword [rbx + rcx*8]
mov rcx, r15
lea r9, [0x1402cf940]
shr rcx, 0x10
lea rbx, [0x1402cf140]
movzx ecx, cl
xor rdx, qword [r9 + rcx*8]
mov rcx, rsi
lea r9, [0x1402cd940]
shr rcx, 0x18
movzx ecx, cl
xor rdx, qword [rbx + rcx*8]
mov rcx, r8
lea rbx, [0x1402ce940]
shr rcx, 0x20
movzx ecx, cl
xor rdx, qword [rbx + rcx*8]
mov rcx, rbp
shr rcx, 0x30
movzx ecx, cl
xor rdx, qword [r9 + rcx*8]
mov rcx, r12
movzx r9d, r10b
shr rcx, 0x20
mov qword [rsp + 0x30], rdx
lea rdx, [0x1402ce140]
movzx ecx, cl
mov rcx, qword [rbx + rcx*8]
lea rbx, [r13 + 0x41]
xor rcx, qword [r14 + r9*8]
lea r9, [0x1402d0140]
xor rbx, rcx
mov rcx, r11
shr rcx, 0x38
xor rbx, qword [rax + rcx*8]
mov rcx, r15
movzx ecx, ch
xor rbx, qword [r9 + rcx*8]
mov rcx, rsi
lea r9, [0x1402cf940]
shr rcx, 0x10
movzx ecx, cl
xor rbx, qword [r9 + rcx*8]
mov rcx, r8
lea r9, [0x1402cf140]
shr rcx, 0x18
movzx ecx, cl
xor rbx, qword [r9 + rcx*8]
mov rcx, rbp
lea r9, [0x1402cd940]
shr rcx, 0x28
movzx ecx, cl
xor rbx, qword [rdx + rcx*8]
mov rcx, rdi
lea rdx, [0x1402cf140]
shr rcx, 0x30
movzx ecx, cl
xor rbx, qword [r9 + rcx*8]
mov rcx, r12
shr rcx, 0x18
mov qword [rsp + 0x38], rbx
movzx r9d, cl
movzx ecx, r15b
mov r9, qword [rdx + r9*8]
xor r9, qword [r14 + rcx*8]
lea rcx, [r13 + 0x51]
lea r14, [0x1402d0140]
xor rcx, r9
mov r9, r10
lea rdx, [0x1402ce940]
shr r9, 0x38
xor rcx, qword [rax + r9*8]
mov rax, rsi
mov r9, r8
movzx eax, ah
shr r9, 0x10
xor rcx, qword [r14 + rax*8]
movzx r9d, r9b
lea r14, [0x1402cf940]
xor rcx, qword [r14 + r9*8]
mov r9, rbp
mov rax, r14
shr r9, 0x20
lea r14, [0x1402ce140]
movzx r9d, r9b
xor rcx, qword [rdx + r9*8]
mov r9, rdi
lea rdx, [0x1402cf140]
shr r9, 0x28
movzx r9d, r9b
xor rcx, qword [r14 + r9*8]
mov r9, r11
lea r14, [0x1402cd940]
shr r9, 0x30
mov rbx, r14
movzx r9d, r9b
xor rcx, qword [r14 + r9*8]
mov r9, r12
shr r9, 0x10
movzx r14d, r9b
movzx r9d, sil
mov r14, qword [rax + r14*8]
lea rax, [0x1402d0940]
xor r14, qword [rax + r9*8]
lea r9, [r13 + 0x61]
lea rax, [0x1402cd140]
xor r9, r14
mov r14, r15
shr r14, 0x38
xor r9, qword [rax + r14*8]
mov rax, r8
movzx r8d, r8b
shr rsi, 0x38
movzx eax, ah
shr r15, 0x30
mov r14, rax
lea rax, [0x1402d0140]
movzx r15d, r15b
xor r9, qword [rax + r14*8]
mov r14, rbp
lea rax, [0x1402ce140]
shr rbp, 0x10
shr r14, 0x18
movzx ebp, bpl
movzx r14d, r14b
xor r9, qword [rdx + r14*8]
mov rdx, rdi
shr rdi, 0x18
shr rdx, 0x20
movzx edi, dil
movzx r14d, dl
lea rdx, [0x1402ce940]
xor r9, qword [rdx + r14*8]
mov r14, r11
shr r11, 0x20
shr r14, 0x28
movzx r11d, r11b
movzx r14d, r14b
xor r9, qword [rax + r14*8]
mov r14, r10
mov rax, r12
shr r10, 0x28
shr r14, 0x30
movzx eax, ah
movzx r10d, r10b
movzx r14d, r14b
xor r9, qword [rbx + r14*8]
lea r14, [0x1402d0140]
mov r12, qword [r14 + rax*8]
lea r14, [0x1402d0940]
lea rax, [0x1402cd140]
xor r12, qword [r14 + r8*8]
lea r8, [r13 + 0x71]
xor r8, r12
xor r8, qword [rax + rsi*8]
lea rsi, [0x1402cf940]
mov rax, qword [rsp + 0x20]
xor r8, qword [rsi + rbp*8]
lea rbp, [0x1402cf140]
xor r8, qword [rbp + rdi*8]
xor r8, qword [rdx + r11*8]
movzx esi, ah
lea r11, [0x1402ce140]
lea rdi, [0x1402cd140]
xor r8, qword [r11 + r10*8]
xor r8, qword [rbx + r15*8]
lea r15, [0x1402d0140]
mov r12, r8
lea r11, [0x1402ce140]
mov rbx, qword [rsp + 0x28]
shr r12, 0x38
mov r10, r12
mov r12, qword [r15 + rsi*8]
lea rsi, [0x1402cf940]
xor r12, qword [rdi + r10*8]
movzx r10d, byte [rsp + 0x40]
mov rax, rsi
xor r12, qword [r14 + r10*8]
mov r10, qword [rsp + 0x28]
shr r10, 0x10
movzx r10d, r10b
xor r12, qword [rsi + r10*8]
mov r10, qword [rsp + 0x30]
lea rsi, [0x1402cd940]
shr r10, 0x18
movzx r10d, r10b
xor r12, qword [rbp + r10*8]
mov r10, qword [rsp + 0x38]
mov rbp, r15
shr r10, 0x20
movzx r10d, r10b
xor r12, qword [rdx + r10*8]
mov r10, rcx
shr r10, 0x28
movzx r10d, r10b
xor r12, qword [r11 + r10*8]
mov r10, r9
movzx r11d, byte [rsp + 0x20]
shr r10, 0x30
movzx r10d, r10b
mov r11, qword [r14 + r11*8]
xor r12, qword [rsi + r10*8]
mov r10, qword [rsp + 0x40]
movzx esi, bh
shr r10, 0x38
xor r11, qword [rdi + r10*8]
mov r10, qword [rsp + 0x30]
xor r11, qword [r15 + rsi*8]
lea rsi, [0x1402cf140]
lea r15, [0x1402ce140]
shr r10, 0x10
movzx r10d, r10b
xor r11, qword [rax + r10*8]
mov r10, qword [rsp + 0x38]
shr r10, 0x18
movzx r10d, r10b
xor r11, qword [rsi + r10*8]
mov r10, rcx
shr r10, 0x20
movzx r10d, r10b
xor r11, qword [rdx + r10*8]
mov r10, r9
shr r10, 0x28
movzx r10d, r10b
xor r11, qword [r15 + r10*8]
mov r10, r8
lea r15, [0x1402cd940]
shr r10, 0x30
movzx r10d, r10b
xor r11, qword [r15 + r10*8]
mov rbx, qword [rsp + 0x40]
movzx esi, byte [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov r10, rbx
shr r10, 0x30
movzx r10d, r10b
mov r10, qword [r15 + r10*8]
xor r10, qword [r14 + rsi*8]
mov r15, rdi
mov rsi, qword [rsp + 0x20]
shr rsi, 0x38
xor r10, qword [rdi + rsi*8]
movzx esi, dh
lea rdx, [0x1402cf140]
xor r10, qword [rbp + rsi*8]
mov rsi, qword [rsp + 0x38]
lea rdi, [0x1402ce940]
shr rsi, 0x10
movzx esi, sil
xor r10, qword [rax + rsi*8]
mov rsi, rcx
lea rax, [0x1402ce140]
shr rsi, 0x18
movzx esi, sil
xor r10, qword [rdx + rsi*8]
mov rsi, r9
lea rdx, [0x1402cd940]
shr rsi, 0x20
movzx esi, sil
xor r10, qword [rdi + rsi*8]
mov rsi, r8
movzx edi, byte [rsp + 0x30]
shr rsi, 0x28
movzx esi, sil
xor r10, qword [rax + rsi*8]
mov rsi, rbx
shr rsi, 0x28
movzx esi, sil
mov rsi, qword [rax + rsi*8]
xor rsi, qword [r14 + rdi*8]
mov rdi, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
shr rdi, 0x30
movzx edi, dil
xor rsi, qword [rdx + rdi*8]
mov rdi, qword [rsp + 0x28]
lea rdx, [0x1402cf140]
shr rdi, 0x38
xor rsi, qword [r15 + rdi*8]
movzx edi, ah
mov rax, rbp
xor rsi, qword [rbp + rdi*8]
mov rdi, rcx
lea rbp, [0x1402cf940]
shr rdi, 0x10
movzx edi, dil
xor rsi, qword [rbp + rdi*8]
mov rdi, r9
lea rbp, [0x1402ce940]
shr rdi, 0x18
movzx edi, dil
xor rsi, qword [rdx + rdi*8]
mov rdi, r8
shr rdi, 0x20
movzx edi, dil
xor rsi, qword [rbp + rdi*8]
movzx edi, byte [rsp + 0x38]
mov qword [rsp + 0x40], rsi
mov rsi, rbx
shr rsi, 0x20
movzx esi, sil
mov rsi, qword [rbp + rsi*8]
xor rsi, qword [r14 + rdi*8]
lea rbp, [0x1402ce140]
mov rdi, qword [rsp + 0x20]
shr rdi, 0x28
movzx edi, dil
xor rsi, qword [rbp + rdi*8]
mov rdi, qword [rsp + 0x30]
mov rbp, r15
shr rdi, 0x38
xor rsi, qword [r15 + rdi*8]
movzx edi, ch
lea r15, [0x1402cf940]
xor rsi, qword [rax + rdi*8]
mov rdi, r9
mov rax, rdx
shr rdi, 0x10
movzx edi, dil
xor rsi, qword [r15 + rdi*8]
mov rdi, r8
shr rdi, 0x18
movzx edi, dil
xor rsi, qword [rdx + rdi*8]
mov rdi, qword [rsp + 0x28]
lea rdx, [0x1402cd940]
shr rdi, 0x30
movzx edi, dil
mov r15, qword [rdx + rdi*8]
movzx edi, cl
lea rdx, [0x1402ce940]
xor r15, rsi
mov rsi, rbx
shr rsi, 0x18
movzx esi, sil
mov rsi, qword [rax + rsi*8]
xor rsi, qword [r14 + rdi*8]
mov rax, r9
lea r14, [0x1402cf940]
mov rdi, qword [rsp + 0x20]
shr rdi, 0x20
movzx edi, dil
xor rsi, qword [rdx + rdi*8]
mov rdi, qword [rsp + 0x38]
lea rdx, [0x1402cf140]
shr rdi, 0x38
xor rsi, qword [rbp + rdi*8]
movzx edi, ah
lea rax, [0x1402d0140]
xor rsi, qword [rax + rdi*8]
mov rdi, r8
lea rbp, [0x1402ce140]
shr rdi, 0x10
lea rax, [0x1402cd940]
movzx edi, dil
xor rsi, qword [r14 + rdi*8]
mov rdi, qword [rsp + 0x28]
shr rdi, 0x28
movzx edi, dil
xor rsi, qword [rbp + rdi*8]
mov rdi, qword [rsp + 0x30]
movzx ebp, r9b
shr r9, 0x38
shr rdi, 0x30
movzx edi, dil
xor rsi, qword [rax + rdi*8]
mov rdi, rbx
mov rax, r8
movzx r8d, r8b
shr rdi, 0x10
movzx edi, dil
mov r14, qword [r14 + rdi*8]
lea rdi, [0x1402d0940]
xor r14, qword [rdi + rbp*8]
mov rdi, qword [rsp + 0x20]
lea rbp, [0x1402cd140]
shr rdi, 0x18
movzx edi, dil
xor r14, qword [rdx + rdi*8]
mov rdi, rcx
lea rdx, [0x1402ce940]
shr rcx, 0x30
shr rdi, 0x38
movzx ecx, cl
xor r14, qword [rbp + rdi*8]
movzx edi, ah
lea rax, [0x1402d0140]
xor r14, qword [rax + rdi*8]
mov rdi, qword [rsp + 0x28]
lea rax, [0x1402d0140]
shr rdi, 0x20
movzx edi, dil
xor r14, qword [rdx + rdi*8]
mov rdi, qword [rsp + 0x30]
lea rdx, [0x1402ce140]
shr rdi, 0x28
movzx edi, dil
xor r14, qword [rdx + rdi*8]
mov rdi, qword [rsp + 0x38]
lea rdx, [0x1402cd940]
shr rdi, 0x30
movzx edi, dil
xor r14, qword [rdx + rdi*8]
movzx edi, bh
lea rdx, [0x1402cf140]
mov rdi, qword [rax + rdi*8]
lea rax, [0x1402d0940]
xor rdi, qword [rax + r8*8]
mov r8, qword [rsp + 0x20]
lea rax, [0x1402cf940]
mov rbx, qword [rsp + 0x38]
shr r8, 0x10
movzx r8d, r8b
shr rbx, 0x28
xor rdi, qword [rax + r8*8]
mov rax, qword [rsp + 0x28]
movzx ebx, bl
xor rdi, qword [rbp + r9*8]
lea rbp, [0x1402ce940]
shr rax, 0x18
movzx eax, al
xor rdi, qword [rdx + rax*8]
mov rdx, qword [rsp + 0x30]
lea rax, [0x1402ce140]
shr rdx, 0x20
movzx edx, dl
xor rdi, qword [rbp + rdx*8]
lea rdx, [0x1402cd940]
xor rdi, qword [rax + rbx*8]
mov r8, rdi
xor r8, qword [rdx + rcx*8]
add r13, 2
cmp r13, 0xa
jne 0x1401156e0
mov rbp, r11
mov r11, r15
mov r15, rsi
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x90], r12
mov rax, r14
lea rdx, [rsp + 0x90]
mov rsi, qword [rsp + 0x170]
mov qword [rsp + 0x98], rbp
mov rbx, qword [rsp + 0x190]
mov qword [rsp + 0xa0], r10
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0xb0], r11
mov qword [rsp + 0xb8], r15
mov qword [rsp + 0xc8], r8
mov qword [rsp + 0xa8], rcx
mov rcx, rdx
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x50]
movdqu xmm0, xmmword [rax]
pxor xmm0, xmmword [rdx]
add rax, 0x10
add rdx, 0x10
movups xmmword [rax - 0x10], xmm0
cmp rax, rcx
jne 0x1401160f6
movdqu xmm1, xmmword [rsp + 0x70]
sub r14, rbx
movdqu xmm2, xmmword [rsp + 0x80]
mov rdi, qword [rsp + 0x188]
lea rcx, [r14 + 0x20]
movups xmmword [rsp + 0xd0], xmm1
movups xmmword [rsp + 0xe0], xmm2
mov rax, qword [r14 + 0x20]
mov qword [rdi], rax
mov eax, ebx
mov rdi, qword [rsp + 0x188]
mov rdx, qword [rax + r14 + 0x18]
mov qword [rdi + rax - 8], rdx
mov rax, qword [rsp + 0x188]
lea r8, [rax + 8]
mov r13, rax
xor eax, eax
and r8, 0xfffffffffffffff8
sub r13, r8
sub rcx, r13
add r13d, ebx
and r13d, 0xfffffff8
mov edx, eax
add eax, 8
mov r9, qword [rcx + rdx]
mov qword [r8 + rdx], r9
cmp eax, r13d
jb 0x14011617a
pxor xmm0, xmm0
lea eax, [rbx*8]
mov qword [rsi + 0x88], 0
bswap rax
movups xmmword [rsi + 0x40], xmm0
mov qword [rsi + 0x80], rax
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x60], xmm0
movups xmmword [rsi + 0x70], xmm0
add rsp, 0x128
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, pe_nt_image_headers64
lea rdi, [rax + 2]
sub rbp, r9
jmp 0x1401155b4