Function at 0x140078e90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rbp, rdx
mov rsi, qword [rsp + 0xe0]
mov rax, qword [0x1403a1f58]
xor rax, rsp
test rsi, rsi
cmove rsi, r9
mov qword [rsp + 0x70], rax
mov rdx, qword [rcx + 8]
movsxd rax, dword [rdx + 8]
test rax, rax
je 0x140078f9b
mov rdx, qword [rdx]
cmp eax, 4
jae 0x140078ee2
xor r10d, r10d
xor r11d, r11d
jmp 0x140078f40
mov r10, rax
and r10, 0xfffffffffffffffc
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
nop word cs:[rax + rax]
movdqu xmm2, xmmword [rdx + r11*8]
por xmm0, xmm2
movdqu xmm2, xmmword [rdx + r11*8 + 0x10]
por xmm1, xmm2
add r11, 4
cmp r10, r11
jne 0x140078f00
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r11, xmm0
cmp r10, rax
je 0x140078f4c
nop word cs:[rax + rax]
or r11, qword [rdx + r10*8]
inc r10
cmp rax, r10
jne 0x140078f40
test r11, r11
je 0x140078f9b
mov ebx, dword [r9 + 4]
test eax, eax
mov r14, r9
mov qword [rsp + 0x48], r8
jle 0x140078fbf
nop word cs:[rax + rax]
mov r9d, eax
cmp qword [rdx + r9*8 - 8], 0
jne 0x140078fbf
lea r9d, [rax - 1]
cmp eax, 1
mov eax, r9d
jg 0x140078f70
call fcn.140078d80
mov r15d, eax
mov ecx, 7
xor edx, edx
jmp 0x140079060
mov dword [rsp + 0x20], 0x149
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x78
jmp 0x1400790cb
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 rdx, r8
shr rdx, 4
xor r9d, r9d
cmp r8, 0x10
setae r9b
cmovb rdx, r8
shl r9d, 2
mov r8, rdx
shr r8, 2
xor r10d, r10d
cmp rdx, 4
setae r10b
cmovb r8, rdx
xor edx, edx
cmp r8, 2
setae dl
sub r9d, eax
lea edi, [r9 + r10*2]
add edi, edx
call fcn.140078d80
xor ecx, ecx
mov r15d, eax
and edi, 7
je 0x140079054
xor edx, edx
mov ecx, edi
jmp 0x140079060
mov byte [rbp], 0
inc rbp
dec r15
mov dl, 1
lea rax, [rbx + 2]
cmp r15, rax
jae 0x140079073
mov dword [rsp + 0x20], 0x156
jmp 0x1400790b4
mov eax, dword [rsp + 0xe8]
mov rdi, rbx
cmp eax, 0xffffffff
je 0x14007909d
cmp eax, 0xfffffffe
jne 0x140079093
mov rdi, r15
sub rdi, rbx
add rdi, 0xfffffffffffffffe
jmp 0x14007909d
test eax, eax
js 0x140079340
mov edi, eax
mov r13, r15
sub r13, rbx
lea rax, [r13 - 2]
cmp rax, rdi
jae 0x1400790f8
mov dword [rsp + 0x20], 0x16b
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, WSAStartup
call fcn.14004bbe0
xor ecx, ecx
call fcn.140093110
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14025cd50
mov eax, r12d
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x38], ecx
xor r12d, r12d
test rdi, rdi
je 0x14007912e
mov rcx, rdi
call fcn.1400930b0
test rax, rax
je 0x1400790d0
lea r8, [0x1402ac560]
mov rcx, rax
mov qword [rsp + 0x30], rax
mov rdx, rdi
call fcn.1400651a0
jmp 0x140079135
xor eax, eax
mov qword [rsp + 0x30], rax
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov rax, r14
test r14, r14
mov qword [rsp + 0x40], rbp
je 0x14007917f
mov ecx, dword [rax + 0x2c]
call fcn.1400930b0
test rax, rax
je 0x140079364
mov rbp, rax
xor ecx, ecx
call fcn.140093110
mov qword [rsp + 0x58], rbp
mov rax, r14
mov qword [rsp + 0x50], r14
mov rbp, qword [rsp + 0x40]
add rbp, r13
dec rbp
dec r13
lea r14, [rsp + 0x50]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rsp + 0x50]
lea rdx, [0x1402ac5c0]
mov r8d, 8
mov rcx, r14
call qword [rax + 0x18]
mov rax, qword [rsp + 0x50]
mov rcx, r14
mov rdx, qword [rsp + 0x48]
mov r8, rbx
call qword [rax + 0x18]
mov rax, qword [rsp + 0x50]
mov rcx, r14
mov rdx, qword [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x18]
mov rax, qword [rsp + 0x50]
mov rcx, r14
mov rdx, rbp
call qword [rax + 0x20]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov edx, dword [rax + 0x2c]
call fcn.140093150
mov rcx, qword [rsp + 0x58]
call fcn.140093110
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14007920c
mov rcx, qword [rsp + 0x60]
call qword [rax]
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], rsi
mov rsi, qword [rsp + 0x40]
mov rcx, rsi
mov rdx, r13
mov r8, rbp
mov r9, rbx
call fcn.1400786a0
test eax, eax
je 0x14007937e
lea rax, [rdi + rbx]
mov r8, r15
sub r8, rax
xor byte [r8 + rsi - 2], 1
test rdi, rdi
mov rcx, qword [rsp + 0x30]
je 0x140079314
lea rdx, [r8 + rsi]
add rdx, 0xfffffffffffffffe
cmp rdi, 8
jb 0x140079294
lea r9, [r15 - 1]
mov r10, r9
sub r10, rax
add r10, rsi
lea rax, [rcx + rdi]
cmp r10, rax
jae 0x140079388
sub r9, rbx
add r9, rsi
cmp rcx, r9
jae 0x140079388
xor eax, eax
mov r8, rdx
mov r9, rdi
mov rdx, rax
and r9, 3
je 0x1400792c4
nop word cs:[rax + rax]
movzx r10d, byte [rcx + rdx]
xor byte [r8 + 1], r10b
inc r8
inc rdx
dec r9
jne 0x1400792b0
sub rax, rdi
cmp rax, 0xfffffffffffffffc
ja 0x140079314
sub rdi, rdx
lea rax, [rdx + rcx]
add rax, 3
xor edx, edx
nop word [rax + rax]
movzx r9d, byte [rax + rdx - 3]
xor byte [r8 + rdx + 1], r9b
movzx r9d, byte [rax + rdx - 2]
xor byte [r8 + rdx + 2], r9b
movzx r9d, byte [rax + rdx - 1]
xor byte [r8 + rdx + 3], r9b
movzx r9d, byte [rax + rdx]
xor byte [r8 + rdx + 4], r9b
add rdx, 4
cmp rdi, rdx
jne 0x1400792e0
cmp byte [rsp + 0x3c], 0
jne 0x14007932f
mov cl, 8
sub cl, byte [rsp + 0x38]
mov eax, 0xff
shr eax, cl
mov rcx, qword [rsp + 0x30]
and byte [rsi], al
mov byte [r15 + rsi - 1], 0xbc
mov r12d, 1
jmp 0x1400790d2
mov dword [rsp + 0x20], 0x164
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 0x1400790cb
xor r12d, r12d
xor ecx, ecx
call fcn.140093110
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0x30]
jmp 0x1400790d2
cmp rdi, 0x20
jae 0x140079392
xor eax, eax
jmp 0x1400793ea
mov rax, rdi
and rax, 0xffffffffffffffe0
add r8, rsi
add r8, 0xf
xor r9d, r9d
movdqu xmm0, xmmword [rcx + r9]
movdqu xmm1, xmmword [rcx + r9 + 0x10]
movdqu xmm2, xmmword [r8 + r9 - 0x10]
pxor xmm2, xmm0
movdqu xmm0, xmmword [r8 + r9]
pxor xmm0, xmm1
movdqu xmmword [r8 + r9 - 0x10], xmm2
movdqu xmmword [r8 + r9], xmm0
add r9, 0x20
cmp rax, r9
jne 0x1400793a3
cmp rdi, rax
je 0x140079314
test dil, 0x18
je 0x140079418
mov r9, rax
mov rax, rdi
and rax, 0xfffffffffffffff8
lea r8, [rdx + rax]
mov r10, qword [rcx + r9]
xor qword [rdx + r9 + 1], r10
add r9, 8
cmp rax, r9
jne 0x1400793f8
cmp rdi, rax
jne 0x140079299
jmp 0x140079314
add rdx, rax
jmp 0x140079296