Function at 0x490850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x533014]
xor ecx, ebp
mov dword [esp + 0x68], ecx
test eax, eax
jne 0x490890
push 0x484190
push 0x54735c
mov esi, edx
call fcn.004b9400
mov edx, esi
add esp, 8
mov eax, 0x547360
test ebx, ebx
cmove ebx, eax
mov edi, dword [eax + 4]
lea ecx, [edi + edi]
add ecx, 2
cmp ecx, edx
jbe 0x4908b0
push 0x147
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7e
jmp 0x4908d3
mov dword [esp + 0x18], ebx
lea ecx, [edi + edi]
mov esi, ecx
not esi
mov ebx, edi
mov edi, edx
add edx, esi
dec edx
cmp edx, dword [ebp + 0x14]
jae 0x4908f6
push 0x14d
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x72
push 0
push 4
call fcn.004b9040
add esp, 0x14
xor esi, esi
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004e3343
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x1c], ebx
lea edx, [edi - 1]
or ecx, 1
cmp edx, ecx
jae 0x49090b
push 0x152
jmp 0x4908a7
mov dword [esp + 8], edx
mov ebx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
mov edi, dword [esp + 0x1c]
add ecx, edi
inc ecx
sub esp, 4
push eax
push 0
mov dword [esp + 0x20], ecx
push ecx
push ebx
push edx
call fcn.00483e60
add esp, 0x18
test eax, eax
je 0x490a97
mov edx, dword [esp + 8]
mov ecx, dword [ebp + 0x14]
sub edx, ecx
add esi, edx
mov ebx, dword [esp + 0x14]
je 0x490966
lea eax, [ebx + edi]
push esi
push 0
push eax
mov esi, edx
call fcn.004e5eb0
mov edx, esi
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov eax, edi
not eax
add edx, eax
mov byte [ebx + edx], 1
mov edx, dword [ebp + 8]
lea eax, [edx + 1]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x490998
add edx, edi
add edx, dword [ebp + 0xc]
sub edx, ecx
sub edx, edi
push ecx
push dword [ebp + 0x10]
push edx
call fcn.004e5930
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0x525588
push edi
push eax
mov ebx, eax
call fcn.004831e0
add esp, 0xc
mov esi, dword [esp + 8]
sub esi, edi
push esi
call fcn.0049f180
add esp, 4
test eax, eax
je 0x490a7f
mov dword [esp + 4], eax
mov ecx, eax
mov dword [esp + 0xc], esi
mov edx, esi
mov eax, dword [esp + 0x18]
push eax
push edi
push ebx
call fcn.00490ac0
add esp, 0xc
test eax, eax
je 0x490a9d
cmp dword [esp + 8], edi
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 4]
je 0x490a1c
mov ecx, dword [esp + 0xc]
cmp ecx, 2
mov eax, 1
cmovae eax, ecx
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [esi + ecx]
xor byte [ebx + ecx], dl
inc ecx
cmp eax, ecx
jne 0x490a10
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
lea ecx, [esp + 0x20]
mov edx, edi
push dword [esp + 0x18]
push dword [esp + 0x10]
push ebx
call fcn.00490ac0
add esp, 0xc
test eax, eax
je 0x490a9d
mov esi, 1
test edi, edi
je 0x490a9f
xor eax, eax
mov edx, dword [esp + 0x10]
nop word cs:[eax + eax]
movzx ecx, byte [esp + eax + 0x20]
xor byte [edx + eax], cl
inc eax
cmp edi, eax
jne 0x490a70
jmp 0x490a9f
push 0x169
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x41
push 0
push 4
call fcn.004b9040
add esp, 0x14
xor eax, eax
xor esi, esi
jmp 0x490aa3
xor esi, esi
mov eax, dword [esp + 4]
push eax
call fcn.0049f1c0
add esp, 4
jmp 0x4908e1