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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov r12, rcx
mov r14, rdx
mov ecx, 0x208
call fcn.14000d788
mov ecx, 0x208
mov rdi, rax
call fcn.14000d788
mov r8, qword [0x1400a6870]
xor ecx, ecx
mov rbx, qword [0x1400a6878]
mov rsi, rax
call r8
mov rcx, rax
mov r8d, 0x104
mov rdx, rdi
call rbx
mov rcx, rsi
sub rcx, rdi
nop dword [rax + rax]
movzx eax, word [rdi]
mov word [rcx + rdi], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x1400379d0
mov edx, 0x5c
mov rcx, rsi
call fcn.14000e62c
movdqa xmm0, xmmword [0x140047ef0]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x40], 0x68
lea rbx, [rax + 2]
call fcn.1400015b0
xor edi, edi
cmp qword [rax], rdi
je 0x140037a35
lea rcx, [rbp + 0xf0]
mov word [rbp + 0xf0], 0x5271
call fcn.140001b80
mov rcx, qword [rax]
movsx rax, byte [rcx]
mov word [rbx + rax*2], di
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140001d00
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 0x140037a92
sub rsi, rdi
movzx ecx, word [rdi]
call fcn.140014028
mov word [rdi + rsi], ax
add rdi, 2
cmp rdi, rbx
jne 0x140037a75
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.140036e40
xor edi, edi
lea rdx, [0x140047570]
xorps xmm0, xmm0
mov qword [rbp - 0x80], rdi
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x78], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], dil
jne 0x140037ac7
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 0x140037b29
mov edi, 7
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x30], cx
jmp 0x140037be7
mov rax, rbx
mov r14, rdi
sub rax, rsi
movabs rcx, 0x7ffffffffffffffe
mov edi, 7
mov qword [rsp + 0x48], rdi
cmp rax, rcx
ja 0x1400380a6
cmp rax, 8
jb 0x140037b90
mov rdi, rax
or rdi, 7
cmp rdi, rcx
jbe 0x140037b66
mov rdi, rcx
jmp 0x140037b72
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
nop word [rax + rax]
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 0x140037bc3
mov rdi, qword [rsp + 0x48]
jmp 0x140037b90
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.140036e40
cmp rdi, 8
jb 0x140037c3d
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140037c35
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400380ac
mov rcx, rbx
call fcn.14000d780
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140037c79
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037c74
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400380ac
call fcn.14000d780
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 0x1400380b2
cmp rdi, 0x10
jae 0x140037cc8
mov ecx, 0xf
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rcx
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x50], xmm0
jmp 0x140037d65
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x140037d04
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14000d73c
mov rcx, rax
test rax, rax
je 0x14003809a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140037d3d
mov ecx, 0x16
mov rbx, rax
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140037d2f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400380a0
jmp 0x140037ce2
test rcx, rcx
je 0x140037d3b
call fcn.14000d73c
jmp 0x140037d3d
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.14000f960
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 0x140037db3
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.14000f960
lea rax, [rsi + rbx]
mov byte [rax + rdi], 0
jmp 0x140037dcd
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 0x140037e8c
cmp rax, 0x40
jb 0x140037e62
mov rsi, rax
shr rsi, 6
imul rdi, rsi, 0xffffffffffffffc0
add rdi, rax
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140031450
add qword [rbp - 0x10], 0x40
add rbx, 0x40
sub rsi, 1
jne 0x140037e43
mov rcx, qword [rbp - 8]
test rdi, rdi
je 0x140037e8c
nop word [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 0x140037e70
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400310e0
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.140001f20
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400376d0
mov rcx, r14
call fcn.14000d788
mov r9, qword [rsp + 0x30]
mov rbx, rax
mov r8, rsi
test r14, r14
je 0x140037eee
sub r12, rax
mov rcx, r8
lea rdx, [r8 + rbx]
movzx eax, byte [r12 + rdx]
and ecx, 0x1f
inc r8
xor al, byte [rcx + r9]
mov byte [rdx], al
cmp r8, r14
jb 0x140037ed1
test r9, r9
je 0x140037f28
mov rdx, qword [rsp + 0x40]
mov rax, r9
sub rdx, r9
cmp rdx, 0x1000
jb 0x140037f20
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003809a
mov rcx, r9
call fcn.14000d780
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140037f63
mov rcx, qword [rbp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037f5e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003809a
call fcn.14000d780
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140037fa0
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037f9b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003809a
call fcn.14000d780
mov rdx, qword [rbp - 0x38]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
cmp rdx, 0x10
jb 0x140037fee
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037fe9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003809a
call fcn.14000d780
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
cmp rdx, 0x10
jb 0x140038035
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038030
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003809a
call fcn.14000d780
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
cmp r13, 8
jb 0x14003807c
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140038074
mov r15, qword [r15 - 8]
add rdx, 0x27
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003809a
mov rcx, r15
call fcn.14000d780
mov rax, rbx
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140014440
int3
call fcn.140001260
int3
call fcn.140001280
int3
call fcn.140014440
int3
call fcn.140001280
int3