Function at 0x140077a40
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 r13, rdx
mov rsi, qword [rsp + 0xe0]
mov rax, qword [0x1403a6f08]
xor rax, rsp
test rsi, rsi
cmove rsi, r9
mov qword [rsp + 0x70], rax
mov rax, qword [rcx + 8]
movsxd rdx, dword [rax + 8]
test rdx, rdx
je 0x140077b3c
mov r12, r9
mov r15, r8
mov rax, qword [rax]
cmp edx, 4
jae 0x140077a98
xor r8d, r8d
xor r9d, r9d
jmp 0x140077af0
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor r9d, r9d
pxor xmm1, xmm1
nop word [rax + rax]
movdqu xmm2, xmmword [rax + r9*8]
por xmm0, xmm2
movdqu xmm2, xmmword [rax + r9*8 + 0x10]
por xmm1, xmm2
add r9, 4
cmp r8, r9
jne 0x140077ab0
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r9, xmm0
cmp r8, rdx
je 0x140077afc
nop word cs:[rax + rax]
or r9, qword [rax + r8*8]
inc r8
cmp rdx, r8
jne 0x140077af0
test r9, r9
je 0x140077b3c
mov r14d, dword [r12 + 4]
mov r8d, edx
mov edi, dword [rsp + 0xe8]
mov edx, r8d
sar edx, 0x1f
and edx, r8d
mov r9, r8
nop dword [rax]
test r9d, r9d
jle 0x140077b60
lea r10, [r9 - 1]
cmp qword [rax + r9*8 - 8], 0
mov r9, r10
je 0x140077b20
inc r10d
mov edx, r10d
jmp 0x140077b78
mov dword [rsp + 0x20], 0x264
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r13d, r13d
mov ecx, 4
xor edx, edx
mov r8d, 0x78
jmp 0x140077c84
test r8d, r8d
js 0x140077b78
call fcn.140077930
mov ebx, eax
mov ecx, 7
xor edx, edx
jmp 0x140077c1a
movsxd rdx, edx
mov rdx, qword [rax + rdx*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 ebp, [r9 + r10*2]
add ebp, edx
call fcn.140077930
xor ecx, ecx
mov ebx, eax
and ebp, 7
je 0x140077c0d
xor edx, edx
mov ecx, ebp
jmp 0x140077c1a
mov byte [r13], 0
inc r13
dec rbx
mov dl, 1
lea rax, [r14 + 2]
cmp rbx, rax
jae 0x140077c2d
mov dword [rsp + 0x20], 0x271
jmp 0x140077c6d
mov qword [rsp + 0x48], r15
mov r15, r14
cmp edi, 0xffffffff
je 0x140077c56
cmp edi, 0xfffffffe
jne 0x140077c4b
mov r15, rbx
sub r15, r14
add r15, 0xfffffffffffffffe
jmp 0x140077c56
test edi, edi
js 0x140077efb
mov r15d, edi
mov rbp, rbx
sub rbp, r14
lea rax, [rbp - 2]
cmp rax, r15
jae 0x140077cb4
mov dword [rsp + 0x20], 0x286
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r13d, r13d
mov ecx, 4
xor edx, edx
mov r8d, WSAStartup
call fcn.14004a660
xor edi, edi
mov rcx, rdi
call fcn.140093660
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140263800
mov eax, r13d
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
mov qword [rsp + 0x40], r13
xor r13d, r13d
test r15, r15
je 0x140077ced
mov rcx, r15
call fcn.140093600
test rax, rax
je 0x140077c89
mov rdi, rax
lea r8, [0x1402e6a50]
mov rcx, rax
mov rdx, r15
call fcn.140063ac0
jmp 0x140077cef
xor edi, edi
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
test r12, r12
je 0x140077d32
mov ecx, dword [r12 + 0x2c]
call fcn.140093600
test rax, rax
je 0x140077f1f
xor ecx, ecx
mov qword [rsp + 0x30], rax
call fcn.140093660
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x40]
lea rbx, [rax + rbp]
dec rbx
dec rbp
lea rcx, [rsp + 0x50]
call qword [r12 + reloc.WS2_32.dll_recv]
mov r12, rbx
mov rax, qword [rsp + 0x50]
lea rdx, [0x1402e6ab0]
mov r8d, 8
lea rbx, [rsp + 0x50]
mov rcx, rbx
call qword [rax + 0x18]
mov rax, qword [rsp + 0x50]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
mov r8, r14
call qword [rax + 0x18]
mov rax, qword [rsp + 0x50]
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call qword [rax + 0x18]
mov rax, qword [rsp + 0x50]
mov rcx, rbx
mov rdx, r12
call qword [rax + 0x20]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov edx, dword [rax + 0x2c]
call fcn.1400936a0
mov rcx, qword [rsp + 0x58]
call fcn.140093660
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140077dcf
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, rbp
mov r8, r12
mov r9, r14
call fcn.140076e40
test eax, eax
mov r10, qword [rsp + 0x30]
je 0x140077c8b
lea rax, [r15 + r14]
mov rdx, r10
sub rdx, rax
xor byte [rdx + rsi - 2], 1
test r15, r15
je 0x140077ed4
lea rcx, [rdx + rsi]
add rcx, 0xfffffffffffffffe
cmp r15, 8
jb 0x140077e56
lea r8, [r10 - 1]
mov r9, r8
sub r9, rax
add r9, rsi
lea rax, [rdi + r15]
cmp r9, rax
jae 0x140077f3e
sub r8, r14
add r8, rsi
cmp rdi, r8
jae 0x140077f3e
xor eax, eax
mov rdx, rcx
mov rcx, rax
not rcx
add rcx, r15
mov r8, r15
and r8, 3
je 0x140077e84
nop dword [rax]
movzx r9d, byte [rdi + rax]
xor byte [rdx + 1], r9b
inc rdx
inc rax
dec r8
jne 0x140077e70
cmp rcx, 3
jb 0x140077ed4
sub r15, rax
add rax, rdi
add rax, 3
xor ecx, ecx
nop word cs:[rax + rax]
movzx r8d, byte [rax + rcx - 3]
xor byte [rdx + rcx + 1], r8b
movzx r8d, byte [rax + rcx - 2]
xor byte [rdx + rcx + 2], r8b
movzx r8d, byte [rax + rcx - 1]
xor byte [rdx + rcx + 3], r8b
movzx r8d, byte [rax + rcx]
xor byte [rdx + rcx + 4], r8b
add rcx, 4
cmp r15, rcx
jne 0x140077ea0
cmp byte [rsp + 0x3c], 0
jne 0x140077eea
mov cl, 8
sub cl, byte [rsp + 0x38]
mov eax, 0xff
shr eax, cl
and byte [rsi], al
mov byte [r10 + rsi - 1], 0xbc
mov r13d, 1
jmp 0x140077c8b
mov dword [rsp + 0x20], 0x27f
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r13d, r13d
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140077c84
xor r13d, r13d
xor ecx, ecx
call fcn.140093660
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
jmp 0x140077c8b
cmp r15, 0x20
jae 0x140077f48
xor eax, eax
jmp 0x140077fa0
mov rax, r15
and rax, 0xffffffffffffffe0
add rdx, rsi
add rdx, 0xf
xor r8d, r8d
movdqu xmm0, xmmword [rdi + r8]
movdqu xmm1, xmmword [rdi + r8 + 0x10]
movdqu xmm2, xmmword [rdx + r8 - 0x10]
pxor xmm2, xmm0
movdqu xmm0, xmmword [rdx + r8]
pxor xmm0, xmm1
movdqu xmmword [rdx + r8 - 0x10], xmm2
movdqu xmmword [rdx + r8], xmm0
add r8, 0x20
cmp rax, r8
jne 0x140077f59
cmp r15, rax
je 0x140077ed4
test r15b, 0x18
je 0x140077fce
mov r8, rax
mov rax, r15
and rax, 0xfffffffffffffff8
lea rdx, [rcx + rax]
mov r9, qword [rdi + r8]
xor qword [rcx + r8 + 1], r9
add r8, 8
cmp rax, r8
jne 0x140077fae
cmp r15, rax
jne 0x140077e5b
jmp 0x140077ed4
add rcx, rax
jmp 0x140077e58