Function at 0x506210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov ebx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x18]
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0xa8], eax
test edx, edx
jne 0x506255
push 0x4f1350
push 0x7054ac
mov esi, ecx
call fcn.0057fb00
mov ecx, esi
add esp, 8
mov edx, 0x7054b0
test ebx, ebx
cmove ebx, edx
mov esi, dword [edx + 4]
lea eax, [esi + esi]
add eax, 2
xor edi, edi
cmp eax, ecx
jbe 0x506289
push 0x1de
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x85
push 0
push 4
call fcn.004d86c0
add esp, 0x14
jmp 0x506698
mov dword [esp + 8], ebx
mov dword [esp + 0x18], edx
mov ebx, esi
not ebx
add ebx, ecx
push ebx
call fcn.005166d0
add esp, 4
test eax, eax
je 0x5063a2
mov edi, eax
mov eax, dword [ebp + 0x14]
add eax, esi
add eax, 1
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
lea ecx, [esp + 0x60]
mov edx, esi
push dword [esp + 8]
push ebx
mov dword [esp + 0x1c], eax
push eax
call fcn.00506050
add esp, 0xc
test eax, eax
je 0x506698
test esi, esi
mov dword [esp + 4], esi
je 0x506409
mov eax, dword [ebp + 0x14]
add eax, 1
xor ecx, ecx
cmp esi, 0x1f
jbe 0x5063fd
mov ecx, esi
and ecx, 0xffffffe0
lea edx, [ecx - 0x20]
mov esi, edx
shr esi, 5
add esi, 1
test edx, edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], esi
je 0x5063c1
mov edi, esi
and edi, 0xfffffffe
neg edi
xor edx, edx
mov esi, dword [ebp + 0x14]
nop dword [eax]
movups xmm0, xmmword [esi + edx + 1]
movups xmm1, xmmword [esi + edx + 0x11]
movups xmm2, xmmword [esp + edx + 0x60]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + edx + 0x70]
xorps xmm0, xmm1
movups xmmword [esp + edx + 0x60], xmm2
movups xmmword [esp + edx + 0x70], xmm0
movups xmm0, xmmword [esi + edx + 0x21]
movdqu xmm1, xmmword [esi + edx + 0x31]
movups xmm2, xmmword [esp + edx + 0x80]
xorps xmm2, xmm0
movdqu xmm0, xmmword [esp + edx + 0x90]
pxor xmm0, xmm1
movups xmmword [esp + edx + 0x80], xmm2
movdqu xmmword [esp + edx + 0x90], xmm0
add edx, 0x40
add edi, 2
jne 0x506340
jmp 0x5063c3
push 0x19f
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
jmp 0x506698
xor edx, edx
test byte [esp + 0x1c], 1
mov edi, dword [esp + 0xc]
je 0x5063f5
movups xmm0, xmmword [eax + edx]
movdqu xmm1, xmmword [eax + edx + 0x10]
movups xmm2, xmmword [esp + edx + 0x60]
xorps xmm2, xmm0
movdqu xmm0, xmmword [esp + edx + 0x70]
pxor xmm0, xmm1
movups xmmword [esp + edx + 0x60], xmm2
movdqu xmmword [esp + edx + 0x70], xmm0
mov esi, dword [esp + 4]
cmp esi, ecx
je 0x506409
mov dl, byte [eax + ecx]
xor byte [esp + ecx + 0x60], dl
add ecx, 1
jmp 0x5063f9
mov ecx, edi
mov edx, ebx
push dword [esp + 8]
push esi
lea eax, [esp + 0x68]
push eax
call fcn.00506050
add esp, 0xc
test eax, eax
je 0x506698
test ebx, ebx
je 0x506599
xor edx, edx
cmp ebx, 0x1f
jbe 0x506521
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
add eax, ecx
cmp edi, eax
jae 0x506453
lea eax, [edi + ebx]
cmp dword [esp + 0x14], eax
jb 0x506521
mov edx, ebx
and edx, 0xffffffe0
lea eax, [edx - 0x20]
mov ecx, eax
shr ecx, 5
add ecx, 1
test eax, eax
mov dword [esp + 8], ecx
je 0x5064e3
mov esi, edi
mov eax, ecx
mov ecx, dword [ebp + 0x14]
mov edi, dword [esp + 4]
add edi, ecx
add edi, 0x31
and eax, 0xfffffffe
neg eax
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
movups xmm0, xmmword [edi + ecx - 0x30]
movups xmm1, xmmword [edi + ecx - 0x20]
movups xmm2, xmmword [esi + ecx]
xorps xmm2, xmm0
movups xmm0, xmmword [esi + ecx + 0x10]
xorps xmm0, xmm1
movups xmmword [esi + ecx], xmm2
movups xmmword [esi + ecx + 0x10], xmm0
movups xmm0, xmmword [edi + ecx - 0x10]
movdqu xmm1, xmmword [edi + ecx]
movups xmm2, xmmword [esi + ecx + 0x20]
xorps xmm2, xmm0
movdqu xmm0, xmmword [esi + ecx + 0x30]
pxor xmm0, xmm1
movups xmmword [esi + ecx + 0x20], xmm2
movdqu xmmword [esi + ecx + 0x30], xmm0
add ecx, 0x40
add eax, 2
jne 0x506490
jmp 0x5064e7
xor ecx, ecx
mov esi, edi
test byte [esp + 8], 1
mov edi, esi
je 0x506519
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [eax + ecx]
movdqu xmm1, xmmword [eax + ecx + 0x10]
movups xmm2, xmmword [edi + ecx]
xorps xmm2, xmm0
movdqu xmm0, xmmword [edi + ecx + 0x10]
pxor xmm0, xmm1
movups xmmword [edi + ecx], xmm2
movdqu xmmword [edi + ecx + 0x10], xmm0
cmp ebx, edx
mov esi, dword [esp + 4]
je 0x506599
mov eax, dword [ebp + 0x18]
sub eax, edx
sub eax, esi
add eax, 0xfffffffe
mov ecx, ebx
and ecx, 3
mov dword [esp + 0x10], ebx
je 0x50654f
mov esi, dword [esp + 0x14]
nop word [eax + eax]
movzx ebx, byte [esi + edx]
xor byte [edi + edx], bl
add edx, 1
add ecx, 0xffffffff
jne 0x506540
cmp eax, 3
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 4]
jb 0x506599
mov ecx, dword [ebp + 0x14]
add eax, ecx
add eax, 4
nop word cs:[eax + eax]
nop
movzx ecx, byte [eax + edx - 3]
xor byte [edi + edx], cl
movzx ecx, byte [eax + edx - 2]
xor byte [edi + edx + 1], cl
movzx ecx, byte [eax + edx - 1]
xor byte [edi + edx + 2], cl
movzx ecx, byte [eax + edx]
xor byte [edi + edx + 3], cl
add edx, 4
cmp ebx, edx
jne 0x506570
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
sub esp, 4
lea esi, [esp + 0x24]
push dword [esp + 0x1c]
push 0
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
call fcn.004f1240
add esp, 0x18
test eax, eax
je 0x506698
mov eax, dword [esp + 4]
push eax
push esi
mov esi, eax
push edi
call fcn.00516910
add esp, 0xc
mov ecx, eax
not ecx
add eax, 0xffffffff
and eax, ecx
mov ecx, dword [ebp + 0x14]
movzx ecx, byte [ecx]
add ecx, 0xffffffff
and ecx, eax
sar ecx, 0x1f
not ecx
cmp esi, ebx
jae 0x5066bb
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
lea eax, [esi + esi]
not eax
add eax, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
mov edi, ecx
mov edx, 0xffffffff
xor eax, eax
nop dword [eax + eax]
mov dword [esp + 4], esi
mov ebx, edx
mov dword [esp + 8], edx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
movzx esi, byte [edx + ecx]
mov edx, esi
xor edx, 1
add edx, 0xffffffff
sar edx, 0x1f
mov ecx, edx
and ecx, ebx
mov ebx, ecx
not ecx
and eax, ecx
and ebx, dword [esp + 4]
or eax, ebx
not edx
and edx, dword [esp + 8]
add esi, 0xffffffff
sar esi, 0x1f
not esi
and esi, edx
or edi, esi
mov esi, dword [esp + 4]
add esi, 1
add dword [esp + 0x18], 0xffffffff
jne 0x506630
mov ecx, edi
add eax, 1
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
or ecx, edx
jne 0x506269
jmp 0x5066cd
push edi
call fcn.00516700
add esp, 4
xor esi, esi
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.0064180a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 1
mov edx, 0xffffffff
or ecx, edx
jne 0x506269
sub ebx, eax
cmp ebx, dword [ebp + 0x10]
jbe 0x5066e5
push 0x1d2
push str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x71
jmp 0x506278
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x5066fd
mov ecx, edi
add ecx, eax
push ebx
push ecx
push dword [ebp + 8]
call fcn.006452d0
add esp, 0xc
mov dword [esi], ebx
push edi
call fcn.00516700
add esp, 4
mov esi, 1
jmp 0x5066a3