Function at 0x506be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov eax, dword [0x7024bc]
xor eax, ebp
test edi, edi
cmove edi, ecx
mov dword [esp + 0x38], eax
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
test eax, eax
je 0x506d56
mov ecx, dword [ecx + 4]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov ecx, dword [edx]
xor edx, edx
mov esi, 0
cmp eax, 8
jb 0x506d20
mov dword [esp + 0x10], edi
mov edx, eax
and edx, 0xfffffff8
lea ebx, [edx - 8]
mov esi, ebx
shr esi, 3
add esi, 1
mov edi, esi
and edi, 3
cmp ebx, 0x18
jae 0x506c5a
pxor xmm0, xmm0
xor ebx, ebx
pxor xmm1, xmm1
jmp 0x506cc7
and esi, 0xfffffffc
neg esi
pxor xmm0, xmm0
xor ebx, ebx
pxor xmm1, xmm1
nop dword [eax]
movdqu xmm2, xmmword [ecx + ebx*4]
por xmm2, xmm0
movdqu xmm0, xmmword [ecx + ebx*4 + 0x10]
por xmm0, xmm1
movdqu xmm1, xmmword [ecx + ebx*4 + 0x20]
movdqu xmm3, xmmword [ecx + ebx*4 + 0x30]
movdqu xmm4, xmmword [ecx + ebx*4 + 0x40]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [ecx + ebx*4 + 0x50]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [ecx + ebx*4 + 0x60]
por xmm0, xmm4
movdqu xmm1, xmmword [ecx + ebx*4 + 0x70]
por xmm1, xmm2
add ebx, 0x20
add esi, 4
jne 0x506c70
test edi, edi
je 0x506cf7
lea esi, [ecx + ebx*4]
add esi, 0x10
neg edi
nop word cs:[eax + eax]
nop dword [eax]
movdqu xmm2, xmmword [esi - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [esi]
por xmm1, xmm2
add esi, 0x20
inc edi
jne 0x506ce0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd esi, xmm0
cmp eax, edx
mov edi, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
je 0x506d2a
nop dword [eax]
or esi, dword [ecx + edx*4]
add edx, 1
cmp eax, edx
jne 0x506d20
test esi, esi
mov esi, dword [esp + 4]
je 0x506d56
push esi
call fcn.004df330
add esp, 4
add eax, 0xffffffff
and eax, 7
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x506d64
push ebx
call eax
add esp, 4
jmp 0x506d73
push 0x259
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push pe_nt_image_headers32
jmp 0x506dd4
push esi
call fcn.004df330
add esp, 4
add eax, 7
shr eax, 3
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 8]
mov edx, dword [ebp + 0xc]
test ecx, ecx
jne 0x506d8b
mov byte [edx], 0
add edx, 1
add eax, 0xffffffff
lea ecx, [esi + 2]
cmp eax, ecx
jae 0x506d99
push 0x266
jmp 0x506dcd
mov ecx, dword [ebp + 0x1c]
mov ebx, esi
cmp ecx, 0xffffffff
je 0x506dbb
cmp ecx, 0xfffffffe
jne 0x506db1
mov ebx, eax
sub ebx, esi
add ebx, 0xfffffffe
jmp 0x506dbb
mov ebx, ecx
test ecx, ecx
js 0x507025
mov ecx, esi
mov esi, eax
sub esi, ecx
lea ecx, [esi - 2]
cmp ecx, ebx
jae 0x506e02
push 0x27b
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x72
push 0
push 4
call fcn.004d86c0
add esp, 0x14
xor esi, esi
xor edi, edi
push edi
call fcn.00516700
add esp, 4
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.0064180a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
mov ecx, edx
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
je 0x506e40
push ebx
call fcn.005166d0
add esp, 4
test eax, eax
je 0x507039
mov edi, eax
push 0x68d2c1
push ebx
push eax
call fcn.004eed60
add esp, 0xc
mov edx, dword [esp + 4]
jmp 0x506e42
xor edi, edi
pxor xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x506e81
push dword [eax + 0x1c]
call fcn.005166d0
add esp, 4
test eax, eax
je 0x50704a
push 0
mov ebx, eax
call fcn.00516700
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 4]
lea ecx, [edx + esi]
add ecx, 0xffffffff
mov dword [esp + 0x14], ecx
add esi, 0xffffffff
lea ebx, [esp + 0x20]
push ebx
call dword [eax + 0xc]
add esp, 4
mov eax, dword [esp + 0x20]
push 8
push 0x68d362
push ebx
call dword [eax + 0x10]
add esp, 0xc
mov eax, dword [esp + 0x20]
push dword [esp + 8]
push dword [ebp + 0x10]
push ebx
call dword [eax + 0x10]
add esp, 0xc
mov eax, dword [esp + 0x20]
push dword [esp + 0xc]
push edi
push ebx
call dword [eax + 0x10]
add esp, 0xc
mov eax, dword [esp + 0x20]
push dword [esp + 0x14]
push ebx
call dword [eax + 0x14]
add esp, 8
mov eax, dword [esp + 0x20]
push dword [eax + 0x1c]
push dword [esp + 0x28]
call fcn.00516790
add esp, 8
push dword [esp + 0x24]
call fcn.00516700
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x506f0c
push dword [esp + 0x28]
call dword [eax]
add esp, 4
pxor xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
mov ebx, dword [esp + 4]
mov ecx, ebx
mov edx, esi
push dword [esp + 0x10]
mov esi, dword [esp + 0xc]
push esi
push dword [esp + 0x1c]
call fcn.00506050
add esp, 0xc
test eax, eax
je 0x507076
mov edx, dword [esp + 0xc]
lea eax, [esi + edx]
mov esi, dword [esp + 0x18]
sub esi, eax
xor byte [esi + ebx - 2], 1
test edx, edx
je 0x50712a
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 4]
lea eax, [esi + ebx]
add eax, 0xfffffffe
xor ecx, ecx
cmp edx, 0x20
jb 0x5070b9
mov ebx, dword [esp + 0x18]
add ebx, 0xffffffff
mov dword [esp + 0x14], ebx
sub ebx, dword [esp + 0x10]
add ebx, dword [esp + 4]
add edx, edi
cmp ebx, edx
jae 0x506f9b
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 8]
add edx, dword [esp + 4]
cmp edi, edx
jb 0x5070b9
mov ecx, dword [esp + 0xc]
and ecx, 0xffffffe0
lea edx, [ecx - 0x20]
mov ebx, edx
shr ebx, 5
add ebx, 1
test edx, edx
mov dword [esp + 8], ebx
je 0x50707d
mov edx, dword [esp + 4]
lea ebx, [esi + edx]
add ebx, 0x2f
mov edx, dword [esp + 8]
and edx, 0xfffffffe
neg edx
xor esi, esi
movups xmm0, xmmword [edi + esi]
movups xmm1, xmmword [edi + esi + 0x10]
movups xmm2, xmmword [ebx + esi - 0x30]
xorps xmm2, xmm0
movups xmm0, xmmword [ebx + esi - 0x20]
xorps xmm0, xmm1
movups xmmword [ebx + esi - 0x30], xmm2
movups xmmword [ebx + esi - 0x20], xmm0
movdqu xmm0, xmmword [edi + esi + 0x20]
movdqu xmm1, xmmword [edi + esi + 0x30]
movdqu xmm2, xmmword [ebx + esi - 0x10]
pxor xmm2, xmm0
movdqu xmm0, xmmword [ebx + esi]
pxor xmm0, xmm1
movdqu xmmword [ebx + esi - 0x10], xmm2
movdqu xmmword [ebx + esi], xmm0
add esi, 0x40
add edx, 2
jne 0x506fce
jmp 0x50707f
push 0x274
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x8a
jmp 0x506dd4
push 0x282
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x41
jmp 0x506dd4
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
push 0
call fcn.00516700
add esp, 4
pxor xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
xor esi, esi
jmp 0x506de4
xor esi, esi
test byte [esp + 8], 1
je 0x5070b1
movdqu xmm0, xmmword [edi + esi]
movdqu xmm1, xmmword [edi + esi + 0x10]
movdqu xmm2, xmmword [eax + esi + 1]
pxor xmm2, xmm0
movdqu xmm0, xmmword [eax + esi + 0x11]
pxor xmm0, xmm1
movdqu xmmword [eax + esi + 1], xmm2
movdqu xmmword [eax + esi + 0x11], xmm0
cmp dword [esp + 0xc], ecx
je 0x50712a
add eax, ecx
mov edx, ecx
not edx
mov esi, dword [esp + 0xc]
add edx, esi
and esi, 3
je 0x5070e2
nop dword [eax + eax]
movzx ebx, byte [edi + ecx]
xor byte [eax + 1], bl
add eax, 1
add ecx, 1
add esi, 0xffffffff
jne 0x5070d0
cmp edx, 3
mov esi, dword [esp + 0xc]
jb 0x50712a
sub esi, ecx
add ecx, edi
add ecx, 3
xor edx, edx
nop word cs:[eax + eax]
nop
movzx ebx, byte [ecx + edx - 3]
xor byte [eax + edx + 1], bl
movzx ebx, byte [ecx + edx - 2]
xor byte [eax + edx + 2], bl
movzx ebx, byte [ecx + edx - 1]
xor byte [eax + edx + 3], bl
movzx ebx, byte [ecx + edx]
xor byte [eax + edx + 4], bl
add edx, 4
cmp esi, edx
jne 0x507100
mov eax, dword [esp + 0x1c]
test eax, eax
mov edx, dword [esp + 4]
je 0x507143
mov cl, 8
sub cl, al
mov eax, 0xff
shr eax, cl
and byte [edx], al
mov eax, dword [esp + 0x18]
mov byte [eax + edx - 1], 0xbc
mov esi, 1
jmp 0x506de4