Function at 0x506710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ecx, dword [0x7024bc]
xor ecx, ebp
mov dword [esp + 0x88], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
test esi, esi
cmove esi, edx
mov ecx, dword [edx + 4]
mov edx, ecx
cmp eax, 0xffffffff
je 0x506793
cmp eax, 0xfffffffe
jne 0x506778
mov edx, 0xfffffffe
jmp 0x506793
mov edx, eax
cmp eax, 0xfffffffd
jg 0x506793
push 0x202
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x8a
jmp 0x506972
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
push ebx
call fcn.004df330
add esp, 4
add eax, 0xffffffff
and eax, 7
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x5067c5
push edi
call eax
add esp, 4
jmp 0x5067d4
push ebx
call fcn.004df330
add esp, 4
add eax, 7
shr eax, 3
mov edi, dword [ebp + 0x18]
movzx edx, byte [edi]
mov ecx, dword [esp + 0x28]
shr edx, cl
test dl, dl
mov edx, dword [esp + 0x24]
je 0x5067f9
push 0x209
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x7a
jmp 0x506972
add edi, 1
xor ebx, ebx
test ecx, ecx
cmovne edi, dword [ebp + 0x18]
mov dword [esp + 8], edi
sete bl
mov edi, eax
mov dword [esp + 0x10], ebx
sub edi, ebx
mov ecx, dword [esp + 0x14]
lea ebx, [ecx + 2]
cmp edi, ebx
jl 0x50694a
add edx, ecx
add edx, 2
cmp edi, edx
jl 0x50694a
mov edx, dword [esp + 8]
cmp byte [edi + edx - 1], 0xbc
jne 0x506958
mov dword [esp + 0x20], eax
mov eax, ecx
not eax
mov dword [esp + 0x1c], eax
add edi, eax
push edi
call fcn.005166d0
add esp, 4
test eax, eax
je 0x506966
mov ebx, eax
mov eax, dword [esp + 8]
add eax, edi
mov ecx, ebx
mov edx, edi
push esi
push dword [esp + 0x18]
mov dword [esp + 0x20], eax
push eax
call fcn.00506050
add esp, 0xc
test eax, eax
je 0x5069c0
mov dword [esp + 4], ebx
neg dword [esp + 0x10]
test edi, edi
mov esi, dword [esp + 8]
jle 0x506a2e
xor eax, eax
mov ecx, 0
cmp edi, 0x20
jb 0x506a02
mov ecx, dword [esp + 0x18]
cmp dword [esp + 4], ecx
jae 0x5068c5
mov ecx, dword [esp + 4]
lea edx, [ecx + edi]
mov ecx, 0
cmp esi, edx
jb 0x506a02
mov dword [esp + 0xc], edi
mov ecx, edi
and ecx, 0xffffffe0
lea edx, [ecx - 0x20]
mov esi, edx
shr esi, 5
add esi, 1
test edx, edx
mov dword [esp + 0x2c], esi
je 0x5069c4
and esi, 0xfffffffe
neg esi
xor edx, edx
mov edi, dword [esp + 4]
mov ebx, dword [esp + 8]
movups xmm0, xmmword [ebx + edx]
movups xmm1, xmmword [ebx + edx + 0x10]
movups xmm2, xmmword [edi + edx]
xorps xmm2, xmm0
movups xmm0, xmmword [edi + edx + 0x10]
xorps xmm0, xmm1
movups xmmword [edi + edx], xmm2
movups xmmword [edi + edx + 0x10], xmm0
movups xmm0, xmmword [ebx + edx + 0x20]
movdqu xmm1, xmmword [ebx + edx + 0x30]
movups xmm2, xmmword [edi + edx + 0x20]
xorps xmm2, xmm0
movdqu xmm0, xmmword [edi + edx + 0x30]
pxor xmm0, xmm1
movups xmmword [edi + edx + 0x20], xmm2
movdqu xmmword [edi + edx + 0x30], xmm0
add edx, 0x40
add esi, 2
jne 0x5068f4
jmp 0x5069ce
push 0x212
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x71
jmp 0x506972
push 0x216
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x7f
jmp 0x506972
push 0x21d
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x41
push 0
push 4
call fcn.004d86c0
add esp, 0x14
xor edi, edi
xor ebx, ebx
push ebx
call fcn.00516700
add esp, 4
push dword [esp + 0x34]
call fcn.00516700
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5069a8
push dword [esp + 0x38]
call dword [eax]
add esp, 4
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.0064180a
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
jmp 0x506982
xor edx, edx
mov edi, dword [esp + 4]
mov ebx, dword [esp + 8]
test byte [esp + 0x2c], 1
je 0x5069fa
movups xmm0, xmmword [ebx + edx]
movdqu xmm1, xmmword [ebx + edx + 0x10]
movups xmm2, xmmword [edi + edx]
xorps xmm2, xmm0
movdqu xmm0, xmmword [edi + edx + 0x10]
pxor xmm0, xmm1
movups xmmword [edi + edx], xmm2
movdqu xmmword [edi + edx + 0x10], xmm0
mov edi, dword [esp + 0xc]
cmp edi, ecx
je 0x506a2e
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
add edx, esi
sub edx, ecx
add edx, dword [esp + 0x1c]
add dword [esp + 8], ecx
mov esi, dword [esp + 4]
add ecx, esi
mov esi, dword [esp + 8]
movzx ebx, byte [esi + eax]
xor byte [ecx + eax], bl
add eax, 1
cmp edx, eax
jne 0x506a20
mov eax, dword [esp + 0x28]
test eax, eax
mov ebx, dword [esp + 4]
je 0x506a47
mov cl, 8
sub cl, al
mov eax, 0xff
shr eax, cl
and byte [ebx], al
lea eax, [edi - 1]
xor esi, esi
nop dword [eax]
mov edx, esi
movzx ecx, byte [ebx + esi]
add esi, 1
cmp edx, eax
jge 0x506a61
test cl, cl
je 0x506a50
cmp cl, 1
jne 0x506a93
mov eax, dword [esp + 0x24]
test eax, eax
js 0x506ab5
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x1c]
add eax, ecx
cmp eax, esi
je 0x506ab5
push 0x231
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x8a
jmp 0x506aa2
push 0x22d
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x8b
push 0
push 4
call fcn.004d86c0
add esp, 0x14
xor edi, edi
jmp 0x506982
mov ebx, dword [ebp + 0x10]
cmp dword [esp + 0x30], ebx
je 0x506aef
mov dword [esp + 0xc], edi
push dword [ebx + 0x1c]
call fcn.005166d0
add esp, 4
test eax, eax
je 0x506b8b
mov edi, eax
push dword [esp + 0x34]
call fcn.00516700
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov edi, dword [esp + 0xc]
sub edi, esi
mov dword [esp + 0xc], edi
lea edi, [esp + 0x30]
push edi
call dword [ebx + 0xc]
add esp, 4
mov eax, dword [esp + 0x30]
push 8
push 0x68d362
push edi
call dword [eax + 0x10]
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
push ebx
push dword [ebp + 0xc]
push edi
call dword [eax + 0x10]
add esp, 0xc
mov eax, dword [esp + 4]
add eax, esi
mov ecx, dword [esp + 0x30]
push dword [esp + 0xc]
push eax
push edi
call dword [ecx + 0x10]
add esp, 0xc
mov eax, dword [esp + 0x30]
lea esi, [esp + 0x40]
push esi
push edi
call dword [eax + 0x14]
add esp, 8
mov eax, dword [esp + 0x30]
push dword [eax + 0x1c]
push dword [esp + 0x38]
call fcn.00516790
add esp, 8
mov edi, 1
test ebx, ebx
je 0x506ba5
push ebx
push dword [esp + 0x1c]
push esi
call fcn.006443bd
add esp, 0xc
test eax, eax
je 0x506ba5
push 0x23c
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x69
push 0
push 4
jmp 0x506b9b
push 0xc4
push str..._.._third_party_boringssl_src_crypto_fipsmodule_digest_digest.c
push 0x41
push 0
push 0x1d
call fcn.004d86c0
add esp, 0x14
xor edi, edi
mov ebx, dword [esp + 4]
jmp 0x506982