Function at 0x140078020
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 r14, rdx
mov eax, dword [rsp + 0x138]
mov rdx, qword [0x1403a8f38]
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 esi, dword [r8 + 4]
cmp eax, 0xfffffffe
je 0x1400780a6
mov r12d, esi
cmp eax, 0xffffffff
je 0x1400780a9
mov r12d, eax
cmp eax, 0xfffffffd
jg 0x1400780a9
mov dword [rsp + 0x20], 0x204
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 0x1400781f9
mov r12d, eax
mov rdi, qword [rsp + 0x130]
mov rax, qword [rcx + 8]
mov r8d, dword [rax + 8]
mov edx, r8d
sar edx, 0x1f
and edx, r8d
lea r9d, [r8 + 1]
mov r10, r8
nop dword [rax]
test r10d, r10d
jle 0x1400780e9
mov r11, qword [rax]
dec r9d
cmp qword [r11 + r10*8 - 8], 0
lea r10, [r10 - 1]
je 0x1400780d0
jmp 0x1400780fd
mov ebp, 7
test r8d, r8d
jns 0x140078180
mov r11, qword [rax]
mov r9d, edx
movsxd rax, r9d
mov rdx, qword [r11 + 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
call fcn.140078560
movzx edx, byte [rdi]
mov ecx, ebp
shr edx, cl
test edx, edx
je 0x1400781b1
mov dword [rsp + 0x20], 0x20b
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 0x1400781f9
mov ecx, eax
xor edi, edi
test ebp, ebp
sete dil
mov r15, rcx
sub r15, rdi
lea rax, [rsi + 2]
cmp r15, rax
jb 0x1400781da
mov edx, r12d
test r12d, r12d
js 0x14007824b
add rax, rdx
cmp r15, rax
jae 0x14007824b
mov dword [rsp + 0x20], 0x215
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.14004adc0
xor r12d, r12d
mov rcx, r14
call fcn.1400940b0
mov rcx, qword [rsp + 0x68]
call fcn.1400940b0
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140078224
mov rcx, qword [rsp + 0x70]
call qword [rax]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140265f90
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, rdi
cmp byte [rax + r15 - 1], 0xbc
jne 0x1400783ae
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x34], r12d
mov qword [rsp + 0x48], r14
mov rax, rsi
not rax
mov qword [rsp + 0x50], rax
add r15, rax
mov rcx, r15
call fcn.140094050
xor r12d, r12d
test rax, rax
je 0x1400783d2
mov r14, rax
mov rax, qword [rsp + 0x40]
add rax, r15
mov qword [rsp + 0x20], r13
mov r13, rax
mov rcx, r14
mov rdx, r15
mov r8, rax
mov r9, rsi
call fcn.140077a70
test eax, eax
je 0x140078201
mov rax, rdi
neg rax
test r15, r15
mov r9d, dword [rsp + 0x34]
mov r10, qword [rsp + 0x40]
je 0x140078331
cmp r15, 8
jb 0x140078318
mov rcx, qword [rsp + 0x130]
add rcx, rax
mov rdx, qword [rsp + 0x38]
add rdx, rdi
mov r8, qword [rsp + 0x50]
add r8, rdx
add r8, rcx
cmp r14, r8
jae 0x1400784d1
lea rcx, [r14 + r15]
cmp r10, rcx
jae 0x1400784d1
xor ecx, ecx
nop word [rax + rax]
movzx edx, byte [r10 + rcx]
xor byte [r14 + rcx], dl
inc rcx
cmp rcx, r15
jb 0x140078320
test ebp, ebp
je 0x140078344
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 rdi, [rdx + 1]
test r8b, r8b
jne 0x140078366
cmp rdx, rcx
mov rdx, rdi
jb 0x140078350
cmp r8b, 1
jne 0x1400783da
test r9d, r9d
js 0x140078403
add rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
not rcx
add rcx, rax
sub rcx, rsi
cmp rcx, rdi
je 0x140078403
mov dword [rsp + 0x20], 0x23a
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 0x1400783f9
mov dword [rsp + 0x20], 0x219
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 0x1400781f9
xor r14d, r14d
jmp 0x140078201
mov dword [rsp + 0x20], 0x234
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.14004adc0
jmp 0x140078201
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.140067200
test eax, eax
je 0x1400781fe
sub r15, rdi
mov rax, qword [rsp + 0x60]
lea rdx, [0x1402b5660]
lea rbx, [rsp + 0x60]
mov r8d, 8
mov rcx, rbx
call qword [rax + 0x18]
mov rax, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
mov r8, rsi
call qword [rax + 0x18]
mov rdx, r14
add rdx, rdi
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.1400940f0
mov r12d, 1
test esi, esi
je 0x140078201
lea rcx, [rsp + 0x80]
mov rdx, r13
mov r8, rsi
call fcn.140269340
test eax, eax
je 0x140078201
mov dword [rsp + 0x20], 0x246
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 0x1400783f9
cmp r15, 0x20
jae 0x1400784db
xor ecx, ecx
jmp 0x140078537
mov rcx, r15
and rcx, 0xffffffffffffffe0
mov rdx, qword [rsp + 0x130]
add rdx, rdi
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 0x1400784f4
cmp r15, rcx
je 0x140078331
test r15b, 0x18
je 0x140078320
mov rdx, rcx
mov rcx, r15
and rcx, 0xfffffffffffffff8
mov r8, qword [r10 + rdx]
xor qword [r14 + rdx], r8
add rdx, 8
cmp rcx, rdx
jne 0x140078541
cmp r15, rcx
jne 0x140078320
jmp 0x140078331