Function at 0x14011a700
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
mov qword [rsp + 0x40], rcx
mov ecx, 0x200190
mov rbx, rdx
call sym.malloc
mov rdx, rbx
mov r8d, 0x4c
lea rdi, [rax + 0x200000]
mov r14, rax
mov rcx, rdi
lea r15, [r14 + 0x2000d0]
lea rbp, [r14 + 0x2000f0]
lea r13, [r14 + 0x200100]
call sym.hash_process
call sym.oaes_alloc
lea r11, [r14 + 0x200040]
mov r8d, 0x20
vmovdqu ymm2, ymmword [r14 + 0x200040]
vmovdqu ymm3, ymmword [r14 + 0x200060]
mov qword [r14 + 0x200180], rax
mov qword [rsp + 0x50], r11
mov rcx, rax
mov rdx, rdi
mov rbx, r15
lea r12, [r14 + 0x200140]
vmovdqu ymm4, ymmword [r14 + 0x200080]
vmovdqu ymm5, ymmword [r14 + 0x2000a0]
mov r15, r14
vmovdqu ymmword [r14 + 0x2000d0], ymm2
vmovdqu ymmword [r14 + 0x2000f0], ymm3
vmovdqu ymmword [r14 + 0x200110], ymm4
vmovdqu ymmword [r14 + 0x200130], ymm5
vzeroupper
call sym.oaes_key_import_data
lea rax, [r14 + 0x2000e0]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x38], rax
lea rax, [r14 + 0x200110]
mov qword [rsp + 0x28], rax
lea rax, [r14 + 0x200120]
mov qword [rsp + 0x30], rax
lea rax, [r14 + 0x200130]
mov qword [rsp + 0x48], rax
mov rsi, rax
jmp 0x14011a813
vzeroupper
mov rax, qword [r14 + 0x200180]
mov rcx, rbx
sub r15, 0xffffffffffffff80
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x200180]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x200180]
mov rcx, rbp
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x200180]
mov rcx, r13
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x200180]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x200180]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x200180]
mov rcx, rsi
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [r14 + 0x200180]
mov rcx, r12
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
vmovdqu ymm1, ymmword [rbx]
vmovdqu ymmword [r15 - 0x80], ymm1
vmovdqu ymm2, ymmword [rbx + 0x20]
vmovdqu ymmword [r15 - 0x60], ymm2
vmovdqu ymm3, ymmword [rbx + 0x40]
vmovdqu ymmword [r15 - 0x40], ymm3
vmovdqu ymm4, ymmword [rbx + 0x60]
vmovdqu ymmword [r15 - 0x20], ymm4
cmp r15, rdi
jne 0x14011a810
mov rax, qword [r14 + 0x200000]
mov r15, rbx
lea rcx, [r14 + 0x200170]
lea r9, [r14 + 0x200160]
xor rax, qword [r14 + 0x200020]
mov rdx, qword [r14 + 0x200008]
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r13
mov esi, 0x40000
mov rbp, r14
xor rdx, qword [r14 + 0x200028]
mov r12, r9
mov r13, rcx
mov rbx, qword [rsp + 0x58]
mov r11, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov qword [r14 + 0x200150], rax
mov rax, qword [r14 + 0x200010]
xor rax, qword [r14 + 0x200030]
mov qword [r14 + 0x200158], rdx
mov rdx, qword [r14 + 0x200018]
xor rdx, qword [r14 + 0x200038]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], r11
mov qword [r14 + 0x200160], rax
lea rax, [r14 + 0x200150]
mov rbx, rax
mov qword [r14 + 0x200168], rdx
lea rdx, [rsp + 0x88]
mov rdi, rdx
vzeroupper
nop word cs:[rax + rax]
nop
mov ecx, dword [rbp + 0x200150]
mov r8, rbx
mov rdx, r13
and ecx, 0x1ffff0
lea r14, [rbp + rcx]
mov rcx, r14
call sym.aesb_single_round
mov rax, qword [rbp + 0x200170]
mov r8, rdi
xor rax, qword [rbp + 0x200160]
mov rdx, qword [rbp + 0x200178]
xor rdx, qword [rbp + 0x200168]
mov qword [r14], rax
mov qword [r14 + 8], rdx
mov r10d, dword [rbp + 0x200170]
mov rcx, qword [rbp + 0x200170]
and r10d, 0x1ffff0
lea r14, [rbp + r10]
mov rdx, qword [r14]
call sym.mul128
vmovq xmm5, qword [rsp + 0x88]
mov r8, rbx
mov rdx, r12
vpinsrq xmm0, xmm5, rax, 1
vpaddq xmm0, xmm0, xmmword [rbp + 0x200150]
vmovq rax, xmm0
xor rax, qword [r14]
mov qword [rbp + 0x200150], rax
vpextrq rax, xmm0, 1
xor rax, qword [r14 + 8]
mov qword [rbp + 0x200158], rax
vmovdqu xmmword [r14], xmm0
mov ecx, dword [rbp + 0x200150]
and ecx, 0x1ffff0
lea r14, [rbp + rcx]
mov rcx, r14
call sym.aesb_single_round
mov rax, qword [rbp + 0x200160]
mov r8, rdi
xor rax, qword [rbp + 0x200170]
mov rdx, qword [rbp + 0x200168]
xor rdx, qword [rbp + 0x200178]
mov qword [r14], rax
mov qword [r14 + 8], rdx
mov r10d, dword [rbp + 0x200160]
mov rcx, qword [rbp + 0x200160]
and r10d, 0x1ffff0
lea r14, [rbp + r10]
mov rdx, qword [r14]
call sym.mul128
vmovq xmm1, qword [rsp + 0x88]
vpinsrq xmm0, xmm1, rax, 1
vpaddq xmm0, xmm0, xmmword [rbp + 0x200150]
vmovq rax, xmm0
xor rax, qword [r14]
mov qword [rbp + 0x200150], rax
vpextrq rax, xmm0, 1
xor rax, qword [r14 + 8]
dec rsi
mov qword [rbp + 0x200158], rax
vmovdqu xmmword [r14], xmm0
jne 0x14011a9c0
mov r14, rbp
mov r8d, 0x20
vmovdqu ymm2, ymmword [r14 + 0x200040]
mov r11, qword [rsp + 0x58]
lea rdx, [r14 + 0x200020]
mov rsi, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x50], r11
vmovdqu ymmword [r14 + 0x2000d0], ymm2
vmovdqu ymm3, ymmword [r11 + 0x20]
vmovdqu ymmword [r15 + 0x20], ymm3
vmovdqu ymm4, ymmword [r11 + 0x40]
vmovdqu ymmword [r15 + 0x40], ymm4
vmovdqu ymm5, ymmword [r11 + 0x60]
vmovdqu ymmword [r15 + 0x60], ymm5
mov rcx, qword [r14 + 0x200180]
mov r14, r13
mov r13, rbp
vzeroupper
mov rbp, rbx
mov rbx, r12
call sym.oaes_key_import_data
mov r12, qword [rsp + 0x48]
nop dword [rax + rax]
mov rax, qword [rbp]
mov rdx, qword [rbp + 8]
mov rcx, r15
sub rbp, 0xffffffffffffff80
xor qword [rsi + 0x2000d0], rax
mov rax, qword [rsi + 0x200180]
xor qword [rsi + 0x2000d8], rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
xor qword [rsi + 0x2000e0], rax
mov rax, qword [rsi + 0x200180]
xor qword [rsi + 0x2000e8], rdx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rbp - 0x60]
mov rcx, r13
mov rdx, qword [rbp - 0x58]
xor qword [rsi + 0x2000f0], rax
mov rax, qword [rsi + 0x200180]
xor qword [rsi + 0x2000f8], rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rbp - 0x50]
mov rcx, r14
mov rdx, qword [rbp - 0x48]
xor qword [rsi + 0x200100], rax
mov rax, qword [rsi + 0x200180]
xor qword [rsi + 0x200108], rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
xor qword [rsi + 0x200110], rax
mov rax, qword [rsi + 0x200180]
xor qword [rsi + 0x200118], rdx
mov rcx, qword [rsp + 0x28]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
xor qword [rsi + 0x200120], rax
mov rax, qword [rsi + 0x200180]
xor qword [rsi + 0x200128], rdx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rbp - 0x20]
mov rcx, r12
mov rdx, qword [rbp - 0x18]
xor qword [rsi + 0x200130], rax
mov rax, qword [rsi + 0x200180]
xor qword [rsi + 0x200138], rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
mov rax, qword [rbp - 0x10]
mov rcx, rbx
mov rdx, qword [rbp - 8]
xor qword [rsi + 0x200140], rax
mov rax, qword [rsi + 0x200180]
xor qword [rsi + 0x200148], rdx
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
call sym.aesb_pseudo_round_mut
cmp rbp, rdi
jne 0x14011aba0
vmovdqu ymm2, ymmword [rsi + 0x2000d0]
mov r11, qword [rsp + 0x50]
mov rcx, rbp
vmovdqu ymmword [rsi + 0x200040], ymm2
vmovdqu ymm3, ymmword [r15 + 0x20]
vmovdqu ymmword [r11 + 0x20], ymm3
vmovdqu ymm4, ymmword [r15 + 0x40]
vmovdqu ymmword [r11 + 0x40], ymm4
vmovdqu ymm5, ymmword [r15 + 0x60]
vmovdqu ymmword [r11 + 0x60], ymm5
vzeroupper
call sym.hash_permutation
lea r10, sym.do_blake_hash
mov edx, 0xc8
movzx eax, byte [rsi + 0x200000]
mov r8, qword [rsp + 0x40]
mov rcx, rbp
and eax, 3
call qword [r10 + rax*8]
lea rcx, [rsi + 0x200180]
call sym.oaes_free
mov rcx, rsi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.free