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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], rdx
mov eax, dword [rsp + 0x138]
mov rdx, qword [0x14018f028]
xor rdx, rsp
mov qword [rsp + 0xc0], rdx
test r9, r9
cmove r9, r8
mov qword [rsp + 0x38], r9
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov edx, dword [r8 + 4]
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x34], edx
cmp eax, 0xffffffff
jne 0x140090e2c
mov r13, qword [rsp + 0x130]
mov rdx, qword [rcx + 8]
mov r9d, dword [rdx + 8]
mov r8d, r9d
sar r8d, 0x1f
and r8d, r9d
lea r10d, [r9 + 1]
mov r11, r9
test r11d, r11d
jle 0x140090e72
mov rax, qword [rdx]
dec r10d
cmp qword [rax + r11*8 - 8], 0
lea r11, [r11 - 1]
je 0x1400908e6
movsxd r11, r10d
shl r10d, 6
mov r11, qword [rax + r11*8 - 8]
xor eax, eax
test r11, r11
setne al
or eax, r10d
xor r10d, r10d
mov rsi, r11
shr rsi, 0x20
cmove rsi, r11
setne r10b
shl r10d, 5
mov rdi, rsi
shr rdi, 0x10
xor r11d, r11d
cmp rsi, 0x10000
cmovb rdi, rsi
setae r11b
shl r11d, 4
mov rbx, rdi
shr rbx, 8
xor esi, esi
cmp rdi, 0x100
cmovb rbx, rdi
setae sil
mov rdi, rbx
shr rdi, 4
xor r14d, r14d
cmp rbx, 0x10
setae r14b
cmovb rdi, rbx
mov rbx, rdi
shr rbx, 2
xor r15d, r15d
cmp rdi, 4
setae r15b
cmovb rbx, rdi
add r15d, r15d
or r10d, eax
or r10d, r11d
lea eax, [r10 + rsi*8]
lea ebp, [rax + r14*4]
add ebp, 0xffffffc0
or ebp, r15d
cmp rbx, 2
sbb ebp, 0xffffffff
dec ebp
and ebp, 7
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x140090e67
lea ecx, [r9 + 1]
mov r10, r9
test r10d, r10d
jle 0x140090e82
mov rax, qword [rdx]
dec ecx
cmp qword [rax + r10*8 - 8], 0
lea r10, [r10 - 1]
je 0x1400909c9
movsxd rdx, ecx
shl ecx, 6
mov rdx, qword [rax + rdx*8 - 8]
xor eax, eax
test rdx, rdx
setne al
or eax, ecx
xor ecx, ecx
mov r8, rdx
shr r8, 0x20
cmove r8, rdx
setne cl
shl ecx, 5
mov r9, r8
shr r9, 0x10
xor edx, edx
cmp r8, 0x10000
cmovb r9, r8
setae dl
shl edx, 4
mov r10, r9
shr r10, 8
xor r8d, r8d
cmp r9, 0x100
cmovb r10, r9
setae r8b
mov r9, r10
shr r9, 4
xor r11d, r11d
cmp r10, 0x10
setae r11b
cmovb r9, r10
mov r10, r9
shr r10, 2
xor esi, esi
cmp r9, 4
setae sil
cmovb r10, r9
add esi, esi
or ecx, eax
or ecx, edx
lea eax, [rcx + r8*8]
lea eax, [rax + r11*4]
add eax, 0xffffffc0
or eax, esi
cmp r10, 2
sbb eax, 0xffffffff
add eax, 7
shr eax, 3
movzx edx, byte [r13]
mov ecx, ebp
shr edx, cl
test edx, edx
jne 0x140090dc3
mov edx, eax
xor r14d, r14d
test ebp, ebp
sete r14b
mov r12, rdx
sub r12, r14
mov rax, qword [rsp + 0x40]
add rax, 2
cmp r12, rax
jb 0x140090d43
mov ecx, dword [rsp + 0x34]
mov ebx, ecx
test ecx, ecx
js 0x140090ad3
add rax, rbx
cmp r12, rax
jb 0x140090d43
mov qword [rsp + 0x48], rdx
add r13, r14
cmp byte [r13 + r12 - 1], 0xbc
jne 0x140090de6
mov rsi, qword [rsp + 0x40]
mov rax, rsi
not rax
add r12, rax
mov rcx, r12
call fcn.140091e70
xor edi, edi
test rax, rax
je 0x140090d66
mov r15, rax
lea r8, [r12 + r13]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, r15
mov rdx, r12
mov qword [rsp + 0x38], r8
mov r9, rsi
call fcn.14004af20
test eax, eax
je 0x140090ceb
test r12, r12
je 0x140090b4c
xor eax, eax
mov cl, byte [r13 + rax]
xor byte [r15 + rax], cl
inc rax
cmp rax, r12
jb 0x140090b3b
test ebp, ebp
je 0x140090b5f
mov cl, 8
sub cl, bpl
mov eax, 0xff
shr eax, cl
and byte [r15], al
neg r14
lea rax, [r12 - 1]
xor ecx, ecx
mov dl, byte [r15 + rcx]
lea r13, [rcx + 1]
test dl, dl
jne 0x140090b7d
cmp rcx, rax
mov rcx, r13
jb 0x140090b69
cmp dl, 1
mov rbp, qword [rsp + 0x40]
jne 0x140090d7b
cmp dword [rsp + 0x34], 0
js 0x140090ba9
add r14, qword [rsp + 0x48]
not rbx
add rbx, r14
sub rbx, rbp
cmp rbx, r13
jne 0x140090e09
movaps xmm0, xmmword [0x140167260]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
xor edi, edi
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x140090c04
mov ecx, dword [rsi + 0x2c]
call fcn.140091e70
test rax, rax
je 0x140090ceb
mov r14, rax
xor ecx, ecx
call fcn.140091f40
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], rsi
mov rdi, r14
sub r12, r13
mov rax, qword [rsi + 0x10]
lea rcx, [0x140133ba0]
cmp rax, rcx
jne 0x140090d2d
xorps xmm0, xmm0
movups xmmword [rdi + 0x5c], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movaps xmm0, xmmword [0x140174100]
movups xmmword [rdi], xmm0
movaps xmm0, xmmword [0x140174110]
movups xmmword [rdi + 0x10], xmm0
mov dword [rdi + 0x6c], 0x20
mov rax, qword [rsi + 0x18]
lea rdx, [0x140174810]
lea rdi, [rsp + 0x60]
mov r8d, 8
mov rcx, rdi
call qword [0x1401b6008]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
mov r8, rbp
call qword [0x1401b6008]
mov rdx, r15
add rdx, r13
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
mov r8, r12
call qword [0x1401b6008]
mov rax, qword [rdi]
mov rax, qword [rax + 0x20]
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [0x1401b6008]
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov edx, dword [rax + 0x2c]
call fcn.140091f80
mov edi, 1
test ebp, ebp
je 0x140090ceb
lea rcx, [rsp + 0x80]
mov rdx, qword [rsp + 0x38]
mov r8, rbp
call fcn.1400bb910
test eax, eax
jne 0x140090da3
mov rcx, r15
call fcn.140091f40
mov rcx, qword [rsp + 0x68]
call fcn.140091f40
mov rax, qword [rsp + 0x78]
test rax, rax
jne 0x140090d6b
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b9f70
mov eax, edi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, [rsp + 0x60]
mov rcx, rdi
call qword [0x1401b6008]
mov rsi, qword [rdi]
jmp 0x140090c4e
mov dword [rsp + 0x20], 0xfa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x71
call fcn.14013fb00
xor r15d, r15d
jmp 0x140090ceb
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [0x1401b6008]
jmp 0x140090d07
mov dword [rsp + 0x20], 0x119
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8b
call fcn.14013fb00
jmp 0x140090ceb
mov dword [rsp + 0x20], 0x12b
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x69
jmp 0x140090d99
mov dword [rsp + 0x20], 0xf0
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x7a
jmp 0x140090d61
mov dword [rsp + 0x20], 0xfe
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x7f
jmp 0x140090d61
mov dword [rsp + 0x20], 0x11f
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140090d99
cmp eax, 0xfffffffe
jne 0x140090e3a
mov dword [rsp + 0x34], eax
jmp 0x1400908c5
mov dword [rsp + 0x34], eax
jge 0x1400908c5
mov dword [rsp + 0x20], 0xe9
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
xor edi, edi
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140090d61
call qword [0x1401b6008]
jmp 0x140090a89
test r9d, r9d
jns 0x140090e92
mov rax, qword [rdx]
mov r10d, r8d
jmp 0x140090901
test r9d, r9d
jns 0x140090e99
mov rax, qword [rdx]
mov ecx, r8d
jmp 0x1400909e3
xor ebp, ebp
jmp 0x1400909ad
xor eax, eax
jmp 0x140090a83