Function at 0x14011b7f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rsi, [r8 + 0x100000]
mov r14, r8
mov qword [rsp + 0x48], rcx
mov r8d, 0x4c
mov rcx, rsi
mov rbx, rdx
lea r13, [r14 + 0x1000d0]
lea r12, [r14 + 0x1000f0]
call sym.hash_process
call sym.oaes_alloc
lea r11, [r14 + 0x100040]
mov qword [rsp + 0x40], rsi
vmovdqu ymm2, ymmword [r14 + 0x100040]
mov qword [r14 + 0x100180], rax
mov rcx, rax
vmovdqu ymm3, ymmword [r14 + 0x100060]
mov qword [rsp + 0x50], r11
mov rdx, rsi
mov r8d, 0x20
vmovdqu ymm4, ymmword [r14 + 0x100080]
lea r15, [r14 + 0x100100]
lea rbp, [r14 + 0x100140]
vmovdqu ymm5, ymmword [r14 + 0x1000a0]
vmovdqu ymmword [r14 + 0x1000d0], ymm2
vmovdqu ymmword [r14 + 0x1000f0], ymm3
vmovdqu ymmword [r14 + 0x100110], ymm4
vmovdqu ymmword [r14 + 0x100130], ymm5
mov rdi, qword [rbx + 0x23]
mov rbx, r13
xor rdi, qword [r14 + 0x1000c0]
vzeroupper
call sym.oaes_key_import_data
lea rax, [r14 + 0x1000e0]
lea rcx, [r14 + 0x100120]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rcx
lea rax, [r14 + 0x100110]
mov rsi, qword [rsp + 0x40]
lea rcx, [r14 + 0x100130]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x38], rax
mov rdi, r14
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x60], r14
mov r13, rax
jmp 0x14011b913
vzeroupper
mov rax, qword [r14 + 0x100180]
mov rcx, rbx
sub rdi, 0xffffffffffffff80
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x100180]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x100180]
mov rcx, r12
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x100180]
mov rcx, r15
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x100180]
mov rcx, r13
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x100180]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x100180]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x100180]
mov rcx, rbp
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
vmovdqu ymm1, ymmword [rbx]
vmovdqu ymmword [rdi - 0x80], ymm1
vmovdqu ymm2, ymmword [rbx + 0x20]
vmovdqu ymmword [rdi - 0x60], ymm2
vmovdqu ymm3, ymmword [rbx + 0x40]
vmovdqu ymmword [rdi - 0x40], ymm3
vmovdqu ymm4, ymmword [rbx + 0x60]
vmovdqu ymmword [rdi - 0x20], ymm4
cmp rsi, rdi
jne 0x14011b910
mov rax, qword [r14 + 0x100000]
lea r9, [r14 + 0x100160]
lea rcx, [r14 + 0x100170]
mov qword [rsp + 0x70], rbp
xor rax, qword [r14 + 0x100020]
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x68], r15
mov rbp, r14
mov esi, 0x20000
mov r12, r9
mov rdx, qword [r14 + 0x100008]
xor rdx, qword [r14 + 0x100028]
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x58], rbx
mov qword [r14 + 0x100150], rax
mov rax, qword [r14 + 0x100010]
xor rax, qword [r14 + 0x100030]
mov qword [r14 + 0x100158], rdx
mov rdx, qword [r14 + 0x100018]
xor rdx, qword [r14 + 0x100038]
mov qword [r14 + 0x100160], rax
lea rax, [r14 + 0x100150]
mov r13, rax
mov qword [r14 + 0x100168], rdx
lea rdx, [rsp + 0x88]
mov r14, rcx
mov rbx, rdx
vzeroupper
nop
mov ecx, dword [rbp + 0x100150]
mov r8, r13
mov rdx, r14
and ecx, 0xffff0
lea r15, [rbp + rcx]
mov rcx, r15
call sym.aesb_single_round
mov rdx, qword [rbp + 0x100178]
mov ecx, 0x75310
xor rdx, qword [rbp + 0x100168]
mov rax, qword [rbp + 0x100170]
xor rax, qword [rbp + 0x100160]
mov qword [r15 + 8], rdx
shr rdx, 0x18
mov qword [r15], rax
mov eax, edx
mov r8d, edx
shr al, 3
and r8d, 1
and eax, 6
or eax, r8d
mov r8, rbx
add eax, eax
sarx eax, ecx, eax
and eax, 0x30
xor eax, edx
mov byte [r15 + 0xb], al
mov r10d, dword [rbp + 0x100170]
mov rcx, qword [rbp + 0x100170]
and r10d, 0xffff0
lea r15, [rbp + r10]
mov rdx, qword [r15]
call sym.mul128
mov rdx, qword [rsp + 0x88]
mov r8, r13
add rdx, qword [rbp + 0x100150]
mov r9, qword [r15]
add rax, qword [rbp + 0x100158]
xor r9, rdx
vmovq xmm5, rdx
mov rdx, r12
mov qword [rbp + 0x100150], r9
mov r11, qword [r15 + 8]
xor r11, rax
xor rax, rdi
vpinsrq xmm0, xmm5, rax, 1
mov qword [rbp + 0x100158], r11
vmovdqu xmmword [r15], xmm0
mov ecx, dword [rbp + 0x100150]
and ecx, 0xffff0
lea r15, [rbp + rcx]
mov rcx, r15
call sym.aesb_single_round
mov rdx, qword [rbp + 0x100168]
mov ecx, 0x75310
xor rdx, qword [rbp + 0x100178]
mov rax, qword [rbp + 0x100160]
xor rax, qword [rbp + 0x100170]
mov qword [r15 + 8], rdx
shr rdx, 0x18
mov qword [r15], rax
mov eax, edx
mov r8d, edx
shr al, 3
and r8d, 1
and eax, 6
or eax, r8d
mov r8, rbx
add eax, eax
sarx eax, ecx, eax
and eax, 0x30
xor eax, edx
mov byte [r15 + 0xb], al
mov r10d, dword [rbp + 0x100160]
mov rcx, qword [rbp + 0x100160]
and r10d, 0xffff0
lea r15, [rbp + r10]
mov rdx, qword [r15]
call sym.mul128
mov rdx, qword [rsp + 0x88]
add rdx, qword [rbp + 0x100150]
mov rcx, qword [r15]
add rax, qword [rbp + 0x100158]
xor rcx, rdx
vmovq xmm1, rdx
mov qword [rbp + 0x100150], rcx
mov rcx, qword [r15 + 8]
xor rcx, rax
xor rax, rdi
dec rsi
vpinsrq xmm0, xmm1, rax, 1
mov qword [rbp + 0x100158], rcx
vmovdqu xmmword [r15], xmm0
jne 0x14011baa0
mov r14, rbp
mov r11, qword [rsp + 0x50]
mov r8d, 0x20
vmovdqu ymm2, ymmword [r14 + 0x100040]
mov r13, qword [rsp + 0x58]
lea rdx, [r14 + 0x100020]
mov rdi, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
mov r15, qword [rsp + 0x68]
mov rsi, rbx
vmovdqu ymmword [r14 + 0x1000d0], ymm2
vmovdqu ymm3, ymmword [r11 + 0x20]
vmovdqu ymmword [r13 + 0x20], ymm3
vmovdqu ymm4, ymmword [r11 + 0x40]
vmovdqu ymmword [r13 + 0x40], ymm4
vmovdqu ymm5, ymmword [r11 + 0x60]
vmovdqu ymmword [r13 + 0x60], ymm5
mov rcx, qword [r14 + 0x100180]
mov r14, r12
mov r12, rbp
vzeroupper
call sym.oaes_key_import_data
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
nop
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
mov rcx, r13
sub rsi, 0xffffffffffffff80
xor qword [rdi + 0x1000d0], rax
mov rax, qword [rdi + 0x100180]
xor qword [rdi + 0x1000d8], rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rsi - 0x70]
mov rcx, rbp
mov rdx, qword [rsi - 0x68]
xor qword [rdi + 0x1000e0], rax
mov rax, qword [rdi + 0x100180]
xor qword [rdi + 0x1000e8], rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rsi - 0x60]
mov rcx, r14
mov rdx, qword [rsi - 0x58]
xor qword [rdi + 0x1000f0], rax
mov rax, qword [rdi + 0x100180]
xor qword [rdi + 0x1000f8], rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rsi - 0x50]
mov rcx, r15
mov rdx, qword [rsi - 0x48]
xor qword [rdi + 0x100100], rax
mov rax, qword [rdi + 0x100180]
xor qword [rdi + 0x100108], rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rsi - 0x40]
mov rdx, qword [rsi - 0x38]
xor qword [rdi + 0x100110], rax
mov rax, qword [rdi + 0x100180]
xor qword [rdi + 0x100118], rdx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rsi - 0x30]
mov rdx, qword [rsi - 0x28]
xor qword [rdi + 0x100120], rax
mov rax, qword [rdi + 0x100180]
xor qword [rdi + 0x100128], rdx
mov rcx, qword [rsp + 0x20]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rsi - 0x20]
mov rdx, qword [rsi - 0x18]
xor qword [rdi + 0x100130], rax
mov rax, qword [rdi + 0x100180]
xor qword [rdi + 0x100138], rdx
mov rcx, qword [rsp + 0x28]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rsi - 0x10]
mov rcx, r12
mov rdx, qword [rsi - 8]
xor qword [rdi + 0x100140], rax
mov rax, qword [rdi + 0x100180]
xor qword [rdi + 0x100148], rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
cmp rbx, rsi
jne 0x14011bce0
vmovdqu ymm2, ymmword [rdi + 0x1000d0]
mov r11, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
vmovdqu ymmword [rdi + 0x100040], ymm2
vmovdqu ymm3, ymmword [r13 + 0x20]
vmovdqu ymmword [r11 + 0x20], ymm3
vmovdqu ymm4, ymmword [r13 + 0x40]
vmovdqu ymmword [r11 + 0x40], ymm4
vmovdqu ymm5, ymmword [r13 + 0x60]
vmovdqu ymmword [r11 + 0x60], ymm5
vzeroupper
call sym.hash_permutation
lea r10, sym.do_blake_hash_1
mov rcx, rbx
movzx eax, byte [rdi + 0x100000]
mov r8, qword [rsp + 0x48]
mov edx, 0xc8
and eax, 3
call qword [r10 + rax*8]
lea rcx, [rdi + 0x100180]
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.oaes_free