Function at 0x496020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x53c014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
test eax, eax
jne 0x49605c
push 0x489d00
push 0x550638
mov esi, edx
call fcn.004bf200
mov edx, esi
add esp, 8
mov eax, 0x55063c
test ebx, ebx
cmove ebx, eax
mov edi, dword [eax + 4]
lea ecx, [edi + edi]
add ecx, 2
cmp ecx, edx
jbe 0x49607c
push 0x147
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7e
jmp 0x49609e
mov dword [ebp - 0x68], 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 0x4960c0
push 0x14d
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x72
push 0
push 4
call fcn.004bee40
add esp, 0x14
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e96e3
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x6c], ebx
lea edx, [edi - 1]
or ecx, 1
cmp edx, ecx
jae 0x4960d4
push 0x152
jmp 0x496073
mov dword [ebp - 0x58], edx
mov ebx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
mov edi, dword [ebp - 0x6c]
add ecx, edi
inc ecx
sub esp, 4
push eax
push 0
mov dword [ebp - 0x64], ecx
push ecx
push ebx
push edx
call fcn.004899e0
add esp, 0x18
test eax, eax
je 0x496237
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp + 0x14]
sub edx, ecx
add esi, edx
mov ebx, dword [ebp - 0x64]
je 0x49612a
lea eax, [ebx + edi]
push esi
push 0
push eax
mov esi, edx
call fcn.004ec250
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 [ebp - 0x60], eax
je 0x49615a
add edx, edi
add edx, dword [ebp + 0xc]
sub edx, ecx
sub edx, edi
push ecx
push dword [ebp + 0x10]
push edx
call fcn.004ebcd0
mov eax, dword [ebp - 0x60]
add esp, 0xc
push 0x52d858
push edi
push eax
mov ebx, eax
call fcn.00488d60
add esp, 0xc
mov esi, dword [ebp - 0x58]
sub esi, edi
push esi
call fcn.004a4f10
add esp, 4
test eax, eax
je 0x49621f
mov dword [ebp - 0x54], eax
mov ecx, eax
mov dword [ebp - 0x5c], esi
mov edx, esi
mov eax, dword [ebp - 0x68]
push eax
push edi
push ebx
call fcn.00496250
add esp, 0xc
test eax, eax
je 0x49623d
cmp dword [ebp - 0x58], edi
mov ebx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x54]
je 0x4961cc
mov ecx, dword [ebp - 0x5c]
cmp ecx, 2
mov eax, 1
cmovae eax, ecx
xor ecx, ecx
nop dword [eax]
movzx edx, byte [esi + ecx]
xor byte [ebx + ecx], dl
inc ecx
cmp eax, ecx
jne 0x4961c0
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x40], xmm0
movdqu xmmword [ebp - 0x50], xmm0
lea ecx, [ebp - 0x50]
mov edx, edi
push dword [ebp - 0x68]
push dword [ebp - 0x5c]
push ebx
call fcn.00496250
add esp, 0xc
test eax, eax
je 0x49623d
mov esi, 1
test edi, edi
je 0x49623f
xor eax, eax
mov edx, dword [ebp - 0x60]
nop word [eax + eax]
movzx ecx, byte [ebp + eax - 0x50]
xor byte [edx + eax], cl
inc eax
cmp edi, eax
jne 0x496210
jmp 0x49623f
push 0x169
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x41
push 0
push 4
call fcn.004bee40
add esp, 0x14
xor eax, eax
xor esi, esi
jmp 0x496242
xor esi, esi
mov eax, dword [ebp - 0x54]
push eax
call fcn.004a4f50
add esp, 4
jmp 0x4960ac