Function at 0x14003a410
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0xa8]
sub rsp, 0x1a8
mov r12, rcx
mov r14, rdx
mov ecx, 0x208
call fcn.14000f978
mov ecx, 0x208
mov rdi, rax
call fcn.14000f978
mov r8, qword [0x1400a8850]
xor ecx, ecx
mov rbx, qword [0x1400a8858]
mov rsi, rax
call r8
mov rcx, rax
mov r8d, 0x104
mov rdx, rdi
call rbx
call fcn.14003a150
test al, al
je 0x14003a489
mov rax, rdi
add rsp, 0x1a8
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rsi
mov qword [rsp + 0x1e0], r13
sub rcx, rdi
mov qword [rsp + 0x1a0], r15
nop
movzx eax, word [rdi]
mov word [rcx + rdi], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x14003a4a0
mov edx, 0x5c
mov rcx, rsi
call fcn.14001089c
movdqa xmm0, xmmword [0x140049fd0]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x7036133f
lea rbx, [rax + 2]
call fcn.140001570
xor edi, edi
cmp qword [rax], rdi
je 0x14003a508
lea rcx, [rbp + 0xf0]
mov word [rbp + 0xf0], 0x6a4e
call fcn.140001b50
mov rcx, qword [rax]
movsx rax, byte [rcx]
mov word [rbx + rax*2], di
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140001cc0
mov r15, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
mov r13, qword [rbp - 0x58]
lea rdi, [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea rsi, [rbp - 0x70]
cmp r13, 8
cmovae rcx, r15
cmovae rdi, r15
cmovae rsi, r15
lea rbx, [rcx + rax*2]
cmp rdi, rbx
je 0x14003a565
sub rsi, rdi
movzx ecx, word [rdi]
call fcn.140016298
mov word [rdi + rsi], ax
add rdi, 2
cmp rdi, rbx
jne 0x14003a548
mov r13, qword [rbp - 0x58]
mov r15, qword [rbp - 0x70]
cmp r13, 8
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
cmovae rdx, r15
call fcn.140038940
xor edi, edi
lea rdx, [0x140049420]
xorps xmm0, xmm0
mov qword [rbp - 0x80], rdi
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x78], rdi
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x14003a5a0
lea rcx, [rsp + 0x70]
call fcn.1400022e0
cmp qword [rbp - 0x78], 0x10
lea rdx, [rsp + 0x70]
mov rbx, qword [rbp - 0x80]
lea rsi, [rsp + 0x70]
cmovae rdx, qword [rsp + 0x70]
xorps xmm0, xmm0
add rbx, rdx
mov qword [rsp + 0x40], rdi
cmp qword [rbp - 0x78], 0x10
movups xmmword [rsp + 0x30], xmm0
cmovae rsi, qword [rsp + 0x70]
cmp rsi, rbx
jne 0x14003a602
mov edi, 7
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x30], cx
jmp 0x14003a6ba
mov rax, rbx
mov r14, rdi
sub rax, rsi
movabs rcx, 0x7ffffffffffffffe
mov edi, 7
mov qword [rsp + 0x48], rdi
cmp rax, rcx
ja 0x14003ab8b
cmp rax, 8
jb 0x14003a663
mov rdi, rax
or rdi, 7
cmp rdi, rcx
jbe 0x14003a63f
mov rdi, rcx
jmp 0x14003a64b
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x30]
call fcn.140002620
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rdi
movsx eax, byte [rsi]
lea rcx, [rsp + 0x30]
cmp rdi, 8
cmovae rcx, qword [rsp + 0x30]
inc rsi
mov word [rcx + r14*2], ax
mov r14, qword [rsp + 0x40]
inc r14
mov qword [rsp + 0x40], r14
cmp rsi, rbx
je 0x14003a696
mov rdi, qword [rsp + 0x48]
jmp 0x14003a663
cmp qword [rsp + 0x48], 8
lea rax, [rsp + 0x30]
cmovae rax, qword [rsp + 0x30]
xor ecx, ecx
mov word [rax + r14*2], cx
mov rdi, qword [rsp + 0x48]
mov r14, qword [rbp + 0xe8]
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x30]
cmp rdi, 8
lea rcx, [rbp - 0x50]
cmovae rdx, rbx
call fcn.140038940
cmp rdi, 8
jb 0x14003a710
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003a708
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab91
mov rcx, rbx
call fcn.14000f970
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14003a74c
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a747
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab91
call fcn.14000f970
cmp qword [rbp - 0x18], 0x10
lea rsi, [rbp - 0x30]
mov rdi, qword [rbp - 0x20]
movabs rbx, 0x7fffffffffffffff
cmovae rsi, qword [rbp - 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
cmp rdi, rbx
ja 0x14003ab97
cmp rdi, 0x10
jae 0x14003a79b
mov ecx, 0xf
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rcx
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x50], xmm0
jmp 0x14003a838
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x14003a7d7
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14000f92c
mov rcx, rax
test rax, rax
je 0x14003ab7f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14003a810
mov ecx, 0x16
mov rbx, rax
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14003a802
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003ab85
jmp 0x14003a7b5
test rcx, rcx
je 0x14003a80e
call fcn.14000f92c
jmp 0x14003a810
xor eax, eax
lea r8, [rdi + 1]
mov qword [rsp + 0x50], rax
mov rdx, rsi
mov qword [rsp + 0x60], rdi
mov rcx, rax
mov qword [rsp + 0x68], rbx
call fcn.140011bd0
mov rcx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
cmp qword [rbp - 0x38], 0x10
lea r9, [rbp - 0x50]
mov rsi, qword [rbp - 0x40]
mov rax, rcx
cmovae r9, qword [rbp - 0x50]
sub rax, rdi
cmp rsi, rax
ja 0x14003a886
cmp rcx, 0x10
lea rax, [rdi + rsi]
lea rbx, [rsp + 0x50]
mov qword [rsp + 0x60], rax
cmovae rbx, qword [rsp + 0x50]
mov r8, rsi
mov rdx, r9
lea rcx, [rbx + rdi]
call fcn.140011bd0
lea rax, [rsi + rbx]
mov byte [rax + rdi], 0
jmp 0x14003a8a0
movzx r8d, byte [rbp + 0xf0]
lea rcx, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x20], rsi
call fcn.140002400
cmp qword [rsp + 0x68], 0x10
lea rbx, [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
cmovae rbx, qword [rsp + 0x50]
mov rax, rdi
xor esi, esi
mov dword [rbp + 0x40], 0x6a09e667
mov qword [rbp - 0x10], rsi
mov ecx, esi
mov qword [rbp - 8], rcx
mov dword [rbp + 0x44], 0xbb67ae85
mov dword [rbp + 0x48], 0x3c6ef372
mov dword [rbp + 0x4c], 0xa54ff53a
mov dword [rbp + 0x50], 0x510e527f
mov dword [rbp + 0x54], 0x9b05688c
mov dword [rbp + 0x58], 0x1f83d9ab
mov dword [rbp + 0x5c], 0x5be0cd19
test rdi, rdi
je 0x14003a96c
cmp rax, 0x40
jb 0x14003a93f
mov rsi, rax
shr rsi, 6
imul rdi, rsi, 0xffffffffffffffc0
add rdi, rax
nop word [rax + rax]
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.1400324e0
add qword [rbp - 0x10], 0x40
add rbx, 0x40
sub rsi, 1
jne 0x14003a920
mov rcx, qword [rbp - 8]
test rdi, rdi
je 0x14003a96c
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rbp + rcx], al
mov rcx, qword [rbp - 8]
inc rcx
mov qword [rbp - 8], rcx
sub rdi, 1
jne 0x14003a950
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.140032170
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.140001ee0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140039ee0
mov rcx, r14
call fcn.14000f978
mov r9, qword [rsp + 0x30]
mov rbx, rax
mov r8, rsi
test r14, r14
je 0x14003a9ce
sub r12, rax
mov rcx, r8
lea rdx, [r8 + rbx]
movzx eax, byte [rdx + r12]
and ecx, 0x1f
inc r8
xor al, byte [rcx + r9]
mov byte [rdx], al
cmp r8, r14
jb 0x14003a9b1
test r9, r9
je 0x14003aa08
mov rdx, qword [rsp + 0x40]
mov rax, r9
sub rdx, r9
cmp rdx, 0x1000
jb 0x14003aa00
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab7f
mov rcx, r9
call fcn.14000f970
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14003aa43
mov rcx, qword [rbp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aa3e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab7f
call fcn.14000f970
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14003aa80
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aa7b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab7f
call fcn.14000f970
mov rdx, qword [rbp - 0x38]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
cmp rdx, 0x10
jb 0x14003aace
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aac9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab7f
call fcn.14000f970
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
cmp rdx, 0x10
jb 0x14003ab15
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ab10
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab7f
call fcn.14000f970
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
cmp r13, 8
jb 0x14003ab5c
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x14003ab54
mov r15, qword [r15 - 8]
add rdx, 0x27
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ab7f
mov rcx, r15
call fcn.14000f970
mov r13, qword [rsp + 0x1e0]
mov rax, rbx
mov r15, qword [rsp + 0x1a0]
add rsp, 0x1a8
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400166b0
int3
call fcn.140001260
int3
call fcn.140001280
int3
call fcn.1400166b0
int3
call fcn.140001280
int3