Function at 0x140036140
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.14000ea88
mov ecx, 0x208
mov rdi, rax
call fcn.14000ea88
mov r8, qword [0x140075d20]
xor ecx, ecx
mov rbx, qword [0x140075d28]
mov rsi, rax
call r8
mov rcx, rax
mov r8d, 0x104
mov rdx, rdi
call rbx
call fcn.140037f10
test al, al
je 0x1400361b9
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 0x1400361d0
mov edx, 0x5c
mov rcx, rsi
call fcn.14000f9ac
movdqa xmm0, xmmword [0x140047ea0]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x61015210
lea rbx, [rax + 2]
call fcn.140001450
xor edi, edi
cmp qword [rax], rdi
je 0x140036238
lea rcx, [rbp + 0xf0]
mov word [rbp + 0xf0], 0x7676
call fcn.140001a30
mov rcx, qword [rax]
movsx rax, byte [rcx]
mov word [rbx + rax*2], di
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140001b20
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 0x140036295
sub rsi, rdi
movzx ecx, word [rdi]
call fcn.1400153a8
mov word [rdi + rsi], ax
add rdi, 2
cmp rdi, rbx
jne 0x140036278
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.140037a00
xor edi, edi
lea rdx, [0x140047420]
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 0x1400362d0
lea rcx, [rsp + 0x70]
call fcn.140002120
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 0x140036332
mov edi, 7
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x30], cx
jmp 0x1400363ea
mov rax, rbx
mov r14, rdi
sub rax, rsi
movabs rcx, 0x7ffffffffffffffe
mov edi, 7
mov qword [rsp + 0x48], rdi
cmp rax, rcx
ja 0x1400368bb
cmp rax, 8
jb 0x140036393
mov rdi, rax
or rdi, 7
cmp rdi, rcx
jbe 0x14003636f
mov rdi, rcx
jmp 0x14003637b
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x30]
call fcn.140002460
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 0x1400363c6
mov rdi, qword [rsp + 0x48]
jmp 0x140036393
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.140037a00
cmp rdi, 8
jb 0x140036440
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140036438
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400368c1
mov rcx, rbx
call fcn.14000ea80
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14003647c
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036477
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400368c1
call fcn.14000ea80
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 0x1400368c7
cmp rdi, 0x10
jae 0x1400364cb
mov ecx, 0xf
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rcx
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x50], xmm0
jmp 0x140036568
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x140036507
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14000ea3c
mov rcx, rax
test rax, rax
je 0x1400368af
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140036540
mov ecx, 0x16
mov rbx, rax
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140036532
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400368b5
jmp 0x1400364e5
test rcx, rcx
je 0x14003653e
call fcn.14000ea3c
jmp 0x140036540
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.140010ce0
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 0x1400365b6
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.140010ce0
lea rax, [rsi + rbx]
mov byte [rax + rdi], 0
jmp 0x1400365d0
movzx r8d, byte [rbp + 0xf0]
lea rcx, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x20], rsi
call fcn.140002240
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 0x14003669c
cmp rax, 0x40
jb 0x14003666f
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.1400310e0
add qword [rbp - 0x10], 0x40
add rbx, 0x40
sub rsi, 1
jne 0x140036650
mov rcx, qword [rbp - 8]
test rdi, rdi
je 0x14003669c
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 0x140036680
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.140030d70
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.140001d40
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140035e30
mov rcx, r14
call fcn.14000ea88
mov r9, qword [rsp + 0x30]
mov rbx, rax
mov r8, rsi
test r14, r14
je 0x1400366fe
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 0x1400366e1
test r9, r9
je 0x140036738
mov rdx, qword [rsp + 0x40]
mov rax, r9
sub rdx, r9
cmp rdx, 0x1000
jb 0x140036730
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400368af
mov rcx, r9
call fcn.14000ea80
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140036773
mov rcx, qword [rbp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003676e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400368af
call fcn.14000ea80
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400367b0
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400367ab
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400368af
call fcn.14000ea80
mov rdx, qword [rbp - 0x38]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
cmp rdx, 0x10
jb 0x1400367fe
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400367f9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400368af
call fcn.14000ea80
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
cmp rdx, 0x10
jb 0x140036845
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036840
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400368af
call fcn.14000ea80
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
cmp r13, 8
jb 0x14003688c
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140036884
mov r15, qword [r15 - 8]
add rdx, 0x27
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400368af
mov rcx, r15
call fcn.14000ea80
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.1400157c0
int3
call fcn.140001250
int3
call fcn.140001270
int3
call fcn.1400157c0
int3
call fcn.140001270
int3