Function at 0x1400787e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r13, r9
mov rbx, r8
mov r12, rdx
mov eax, dword [rsp + 0x138]
mov rdx, qword [0x1403a6f68]
xor rdx, rsp
mov qword [rsp + 0xc0], rdx
test r9, r9
cmove r13, r8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov r14d, dword [r8 + 4]
cmp eax, 0xfffffffe
je 0x140078865
mov edi, r14d
cmp eax, 0xffffffff
je 0x140078867
mov edi, eax
cmp eax, 0xfffffffd
jg 0x140078867
mov dword [rsp + 0x20], 0xe9
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r14d, r14d
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x1400789a5
mov edi, eax
mov rsi, qword [rsp + 0x130]
mov rdx, qword [rcx + 8]
mov eax, dword [rdx + 8]
test eax, eax
jle 0x14007889c
mov rdx, qword [rdx]
nop dword [rax]
mov r8d, eax
cmp qword [rdx + r8*8 - 8], 0
jne 0x1400788a5
lea r8d, [rax - 1]
cmp eax, 1
mov eax, r8d
jg 0x140078880
jmp 0x140078929
je 0x140078929
mov rdx, qword [rdx]
cdqe
mov rdx, qword [rdx + rax*8 - 8]
xor eax, eax
test rdx, rdx
sete al
mov r8, rdx
shr r8, 0x20
cmove r8, rdx
mov rdx, r8
shr rdx, 0x10
cmp r8, 0x10000
cmovb rdx, r8
mov r8, rdx
shr r8, 8
cmp rdx, 0x100
cmovb r8, rdx
mov r9, r8
shr r9, 4
xor edx, edx
cmp r8, 0x10
cmovb r9, r8
setae dl
shl edx, 2
mov r8, r9
shr r8, 2
xor r10d, r10d
cmp r9, 4
cmovb r8, r9
setae r10b
xor r9d, r9d
cmp r8, 2
setae r9b
sub edx, eax
lea ebp, [rdx + r10*2]
add ebp, r9d
and ebp, 7
jmp 0x14007892e
mov ebp, 7
call fcn.140078d20
movzx edx, byte [rsi]
mov ecx, ebp
shr edx, cl
test edx, edx
je 0x14007895f
mov dword [rsp + 0x20], 0xf0
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r14d, r14d
mov ecx, 4
xor edx, edx
mov r8d, 0x7a
jmp 0x1400789a5
mov ecx, eax
xor esi, esi
test ebp, ebp
sete sil
mov r15, rcx
sub r15, rsi
lea rax, [r14 + 2]
cmp r15, rax
jb 0x140078986
mov edx, edi
test edi, edi
js 0x1400789f7
add rax, rdx
cmp r15, rax
jae 0x1400789f7
mov dword [rsp + 0x20], 0xfa
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r14d, r14d
mov ecx, 4
xor edx, edx
mov r8d, WSAStartup
call fcn.14004bb80
xor r12d, r12d
mov rcx, r14
call fcn.1400930b0
mov rcx, qword [rsp + 0x68]
call fcn.1400930b0
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400789d0
mov rcx, qword [rsp + 0x70]
call qword [rax]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140262cb0
mov eax, r12d
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x130]
add rax, rsi
cmp byte [rax + r15 - 1], 0xbc
jne 0x140078b5d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x58], r12
mov rax, r14
not rax
mov qword [rsp + 0x48], rax
add r15, rax
mov rcx, r15
call fcn.140093050
xor r12d, r12d
test rax, rax
je 0x140078b81
mov r9, r14
mov r14, rax
mov rax, qword [rsp + 0x38]
lea r8, [rax + r15]
mov qword [rsp + 0x20], r13
mov rcx, r14
mov rdx, r15
mov qword [rsp + 0x40], r8
mov r13, r9
call fcn.140078640
test eax, eax
je 0x1400789ad
mov rax, rsi
neg rax
test r15, r15
mov r12, qword [rsp + 0x58]
mov r9, qword [rsp + 0x38]
je 0x140078ae1
cmp r15, 8
jb 0x140078ac2
mov rcx, qword [rsp + 0x130]
add rcx, rax
mov rdx, qword [rsp + 0x30]
add rdx, rsi
mov r8, qword [rsp + 0x48]
add r8, rdx
add r8, rcx
cmp r14, r8
jae 0x140078c83
lea rcx, [r14 + r15]
cmp r9, rcx
jae 0x140078c83
xor ecx, ecx
nop word cs:[rax + rax]
movzx edx, byte [r9 + rcx]
xor byte [r14 + rcx], dl
inc rcx
cmp rcx, r15
jb 0x140078ad0
test ebp, ebp
je 0x140078af4
mov cl, 8
sub cl, bpl
mov edx, 0xff
shr edx, cl
and byte [r14], dl
lea rcx, [r15 - 1]
xor edx, edx
nop word [rax + rax]
movzx r8d, byte [r14 + rdx]
lea rsi, [rdx + 1]
test r8b, r8b
jne 0x140078b16
cmp rdx, rcx
mov rdx, rsi
jb 0x140078b00
cmp r8b, 1
jne 0x140078b89
test edi, edi
js 0x140078bb2
add rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
not rcx
add rcx, rax
sub rcx, r13
cmp rcx, rsi
je 0x140078bb2
mov dword [rsp + 0x20], 0x11f
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140078ba8
mov dword [rsp + 0x20], 0xfe
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r14d, r14d
mov ecx, 4
xor edx, edx
mov r8d, 0x7f
jmp 0x1400789a5
xor r14d, r14d
jmp 0x1400789ad
mov dword [rsp + 0x20], 0x119
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x8b
call fcn.14004bb80
jmp 0x1400789ad
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.140068160
test eax, eax
je 0x1400789aa
sub r15, rsi
mov rax, qword [rsp + 0x60]
lea rdx, [0x1402b1650]
lea rbx, [rsp + 0x60]
mov r8d, 8
mov rcx, rbx
call qword [rax + 0x18]
mov rax, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, r12
mov rdi, r13
mov r8, r13
call qword [rax + 0x18]
mov rdx, r14
add rdx, rsi
mov rax, qword [rsp + 0x60]
mov rcx, rbx
mov r8, r15
call qword [rax + 0x18]
mov rax, qword [rsp + 0x60]
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [rax + 0x20]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rax + 0x2c]
call fcn.1400930f0
mov r12d, 1
test edi, edi
je 0x1400789ad
lea rcx, [rsp + 0x80]
mov rdx, qword [rsp + 0x40]
mov r8, rdi
call fcn.140266060
test eax, eax
je 0x1400789ad
mov dword [rsp + 0x20], 0x12b
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x69
jmp 0x140078ba8
cmp r15, 0x20
jae 0x140078c8d
xor ecx, ecx
jmp 0x140078ce9
mov rcx, r15
and rcx, 0xffffffffffffffe0
mov rdx, qword [rsp + 0x130]
add rdx, rsi
add rdx, 0x10
xor r8d, r8d
movups xmm0, xmmword [rdx + r8 - 0x10]
movups xmm1, xmmword [rdx + r8]
movups xmm2, xmmword [r14 + r8]
xorps xmm2, xmm0
movups xmm0, xmmword [r14 + r8 + 0x10]
xorps xmm0, xmm1
movups xmmword [r14 + r8], xmm2
movups xmmword [r14 + r8 + 0x10], xmm0
add r8, 0x20
cmp rcx, r8
jne 0x140078ca6
cmp r15, rcx
je 0x140078ae1
test r15b, 0x18
je 0x140078ad0
mov rdx, rcx
mov rcx, r15
and rcx, 0xfffffffffffffff8
mov r8, qword [r9 + rdx]
xor qword [r14 + rdx], r8
add rdx, 8
cmp rcx, rdx
jne 0x140078cf3
cmp r15, rcx
jne 0x140078ad0
jmp 0x140078ae1