Function at 0x140078840
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 [0x1403a1f58]
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 0x1400788c5
mov edi, r14d
cmp eax, 0xffffffff
je 0x1400788c7
mov edi, eax
cmp eax, 0xfffffffd
jg 0x1400788c7
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 0x140078a05
mov edi, eax
mov rsi, qword [rsp + 0x130]
mov rdx, qword [rcx + 8]
mov eax, dword [rdx + 8]
test eax, eax
jle 0x1400788fc
mov rdx, qword [rdx]
nop dword [rax]
mov r8d, eax
cmp qword [rdx + r8*8 - 8], 0
jne 0x140078905
lea r8d, [rax - 1]
cmp eax, 1
mov eax, r8d
jg 0x1400788e0
jmp 0x140078989
je 0x140078989
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 0x14007898e
mov ebp, 7
call fcn.140078d80
movzx edx, byte [rsi]
mov ecx, ebp
shr edx, cl
test edx, edx
je 0x1400789bf
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 0x140078a05
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 0x1400789e6
mov edx, edi
test edi, edi
js 0x140078a57
add rax, rdx
cmp r15, rax
jae 0x140078a57
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.14004bbe0
xor r12d, r12d
mov rcx, r14
call fcn.140093110
mov rcx, qword [rsp + 0x68]
call fcn.140093110
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140078a30
mov rcx, qword [rsp + 0x70]
call qword [rax]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14025cd50
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 0x140078bbd
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.1400930b0
xor r12d, r12d
test rax, rax
je 0x140078be1
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.1400786a0
test eax, eax
je 0x140078a0d
mov rax, rsi
neg rax
test r15, r15
mov r12, qword [rsp + 0x58]
mov r9, qword [rsp + 0x38]
je 0x140078b41
cmp r15, 8
jb 0x140078b22
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 0x140078ce3
lea rcx, [r14 + r15]
cmp r9, rcx
jae 0x140078ce3
xor ecx, ecx
nop word cs:[rax + rax]
movzx edx, byte [r9 + rcx]
xor byte [r14 + rcx], dl
inc rcx
cmp rcx, r15
jb 0x140078b30
test ebp, ebp
je 0x140078b54
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 0x140078b76
cmp rdx, rcx
mov rdx, rsi
jb 0x140078b60
cmp r8b, 1
jne 0x140078be9
test edi, edi
js 0x140078c12
add rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
not rcx
add rcx, rax
sub rcx, r13
cmp rcx, rsi
je 0x140078c12
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 0x140078c08
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 0x140078a05
xor r14d, r14d
jmp 0x140078a0d
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.14004bbe0
jmp 0x140078a0d
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.1400681c0
test eax, eax
je 0x140078a0a
sub r15, rsi
mov rax, qword [rsp + 0x60]
lea rdx, [0x1402ac5c0]
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.140093150
mov r12d, 1
test edi, edi
je 0x140078a0d
lea rcx, [rsp + 0x80]
mov rdx, qword [rsp + 0x40]
mov r8, rdi
call fcn.14025fd70
test eax, eax
je 0x140078a0d
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 0x140078c08
cmp r15, 0x20
jae 0x140078ced
xor ecx, ecx
jmp 0x140078d49
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 0x140078d06
cmp r15, rcx
je 0x140078b41
test r15b, 0x18
je 0x140078b30
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 0x140078d53
cmp r15, rcx
jne 0x140078b30
jmp 0x140078b41