Function at 0x496400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x98
mov edi, dword [ebp + 0x28]
mov esi, dword [ebp + 0x24]
mov edx, dword [ebp + 0x18]
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test esi, esi
jne 0x49643e
push 0x489d00
push 0x550638
mov esi, edx
call fcn.004bf200
mov edx, esi
add esp, 8
mov esi, 0x55063c
test edi, edi
cmove edi, esi
mov ecx, dword [esi + 4]
lea eax, [ecx + ecx]
add eax, 2
xor ebx, ebx
cmp eax, edx
jbe 0x496472
push 0x1e0
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x85
push 0
push 4
call fcn.004bee40
add esp, 0x14
jmp 0x496655
mov dword [ebp - 0xa0], esi
mov esi, ecx
mov dword [ebp - 0x94], ecx
not esi
add esi, edx
push esi
call fcn.004a4f10
add esp, 4
test eax, eax
je 0x49663b
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x94]
add eax, edx
inc eax
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]
push edi
mov dword [ebp - 0x98], esi
push esi
mov esi, eax
push eax
call fcn.00496250
add esp, 0xc
test eax, eax
je 0x496655
mov dword [ebp - 0x9c], esi
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x4964fd
mov eax, dword [ebp + 0x14]
inc eax
xor ecx, ecx
nop
movzx edx, byte [eax + ecx]
xor byte [ebp + ecx - 0x50], dl
inc ecx
cmp esi, ecx
jne 0x4964f0
mov ecx, ebx
mov eax, esi
mov esi, dword [ebp - 0x98]
mov edx, esi
push edi
mov edi, eax
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00496250
add esp, 0xc
test eax, eax
je 0x496655
test esi, esi
mov ecx, dword [ebp - 0x9c]
je 0x49653c
xor edx, edx
nop dword [eax]
movzx eax, byte [ecx + edx]
xor byte [ebx + edx], al
inc edx
cmp esi, edx
jne 0x496530
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x60], xmm0
movdqu xmmword [ebp - 0x70], xmm0
movdqu xmmword [ebp - 0x80], xmm0
movdqu xmmword [ebp - 0x90], xmm0
sub esp, 4
lea esi, [ebp - 0x90]
push dword [ebp - 0xa0]
push 0
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
call fcn.004899e0
add esp, 0x18
test eax, eax
je 0x496655
push edi
push esi
mov esi, edi
push ebx
call fcn.004a5060
add esp, 0xc
mov ecx, eax
not ecx
dec eax
and eax, ecx
mov ecx, dword [ebp + 0x14]
movzx edi, byte [ecx]
dec edi
and edi, eax
sar edi, 0x1f
not edi
mov ecx, dword [ebp - 0x98]
cmp esi, ecx
jae 0x496677
lea ecx, [esi + esi]
not ecx
add ecx, dword [ebp + 0x18]
mov edx, 0xffffffff
xor eax, eax
mov dword [ebp - 0xa4], ebx
nop word cs:[eax + eax]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x94], edi
mov ecx, ebx
mov ebx, edx
mov dword [ebp - 0x9c], edx
movzx edi, byte [ecx + esi]
mov edx, edi
xor edx, 1
dec edx
sar edx, 0x1f
mov ecx, edx
and ecx, ebx
mov ebx, ecx
not ecx
and eax, ecx
mov ecx, dword [ebp - 0xa0]
and ebx, esi
or eax, ebx
mov ebx, dword [ebp - 0xa4]
not edx
and edx, dword [ebp - 0x9c]
test edi, edi
cmovne edi, edx
or dword [ebp - 0x94], edi
mov edi, dword [ebp - 0x94]
inc esi
dec ecx
jne 0x4965d0
inc eax
mov ecx, dword [ebp - 0x98]
or edi, edx
jne 0x496452
jmp 0x496689
push 0x1a0
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x41
push 0
push 4
call fcn.004bee40
add esp, 0x14
xor ebx, ebx
push ebx
call fcn.004a4f50
add esp, 4
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e96e3
mov eax, esi
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 1
mov edx, 0xffffffff
or edi, edx
jne 0x496452
mov esi, ecx
sub esi, eax
cmp esi, dword [ebp + 0x10]
jbe 0x4966a3
push 0x1d3
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x71
jmp 0x496461
mov edi, dword [ebp + 0xc]
cmp ecx, eax
je 0x4966bb
mov ecx, ebx
add ecx, eax
push esi
push ecx
push dword [ebp + 8]
call fcn.004ebcd0
add esp, 0xc
mov dword [edi], esi
push ebx
call fcn.004a4f50
add esp, 4
mov esi, 1
jmp 0x496660