Function at 0x10053310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x100f529c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [ebp - 0x78], ecx
mov ecx, ebx
cmovne ecx, eax
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp + 0x1c]
push esi
push edi
mov dword [ebp - 0x64], ecx
xor esi, esi
mov ecx, dword [ebx + 4]
xor edi, edi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
movups xmmword [ebp - 0x60], xmm0
cmp eax, 0xffffffff
jne 0x10053388
mov dword [ebp + 0x1c], ecx
mov esi, dword [edx + 4]
mov ecx, dword [esi + 4]
test ecx, ecx
jle 0x10053382
mov eax, dword [esi]
lea eax, [eax + ecx*4]
add eax, 0xfffffffc
cmp dword [eax], edi
jne 0x100533b4
dec ecx
sub eax, 4
test ecx, ecx
jg 0x10053376
jne 0x100533b4
xor eax, eax
jmp 0x100533c5
cmp eax, 0xfffffffe
jne 0x10053392
mov dword [ebp + 0x1c], eax
jmp 0x10053364
jge 0x10053364
push 0xe9
push str.C:_boringssl_x86crypto_fipsmodule_rsa_padding.c
push 0x8a
push 0
push 4
call fcn.10068920
add esp, 0x14
jmp 0x10053690
mov eax, dword [esi]
push dword [eax + ecx*4 - 4]
call fcn.1004ae80
mov edx, dword [ebp - 0x50]
add esp, 4
lea ebx, [eax - 1]
mov eax, dword [edx]
and ebx, 7
mov dword [ebp - 0x70], ebx
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100533dc
push edx
call eax
jmp 0x100533e2
push esi
call fcn.1004af10
mov edx, eax
mov ecx, ebx
mov eax, 0xff
add esp, 4
shl eax, cl
mov ecx, dword [ebp - 0x48]
test byte [ecx], al
je 0x10053408
push 0xf0
push str.C:_boringssl_x86crypto_fipsmodule_rsa_padding.c
push 0x7a
jmp 0x10053682
test ebx, ebx
lea esi, [ecx + 1]
lea ebx, [edx - 1]
cmovne esi, ecx
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x70], edi
cmovne ebx, edx
lea eax, [ecx + 2]
cmp ebx, eax
jb 0x10053676
mov eax, dword [ebp + 0x1c]
test eax, eax
js 0x1005343b
add eax, 2
add eax, ecx
cmp ebx, eax
jb 0x10053676
cmp byte [ebx + esi - 1], 0xbc
je 0x10053453
push 0xfe
push str.C:_boringssl_x86crypto_fipsmodule_rsa_padding.c
push 0x7f
jmp 0x10053682
sub ebx, ecx
dec ebx
push ebx
mov dword [ebp - 0x6c], ebx
lea eax, [esi + ebx]
mov dword [ebp - 0x50], eax
call fcn.1006c4c0
mov edi, eax
add esp, 4
test edi, edi
je 0x1005368e
push dword [ebp - 0x64]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push ebx
push edi
call fcn.10051820
add esp, 0x14
test eax, eax
je 0x1005368e
xor ecx, ecx
mov dword [ebp - 0x48], ecx
test ebx, ebx
je 0x1005354e
cmp ebx, 0x40
jb 0x1005352f
lea eax, [esi - 1]
mov dword [ebp - 0x48], ecx
lea edx, [edi - 1]
add eax, ebx
add edx, ebx
cmp edi, eax
ja 0x100534b8
cmp edx, esi
jae 0x1005352f
mov eax, ebx
lea edx, [esi + 0x30]
and eax, 0xffffffc0
mov ecx, esi
sub ecx, edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
lea eax, [edi + 0x10]
mov ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x64]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea edx, [edx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp - 0x68]
jb 0x100534d3
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x48], ecx
cmp ecx, ebx
jae 0x1005354e
mov edx, ebx
add ecx, edi
sub esi, edi
sub edx, dword [ebp - 0x48]
nop dword [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x10053540
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x10053565
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [edi], al
mov al, byte [edi]
xor esi, esi
test al, al
jne 0x1005357b
lea eax, [ebx - 1]
cmp esi, eax
jae 0x1005357b
inc esi
cmp byte [esi + edi], 0
je 0x10053570
cmp byte [esi + edi], 1
je 0x10053595
push 0x119
push str.C:_boringssl_x86crypto_fipsmodule_rsa_padding.c
push 0x8b
jmp 0x10053682
mov eax, dword [ebp + 0x1c]
inc esi
sub ebx, esi
test eax, eax
js 0x100535b7
cmp ebx, eax
je 0x100535b7
push 0x11f
push str.C:_boringssl_x86crypto_fipsmodule_rsa_padding.c
push 0x8a
jmp 0x10053682
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x74]
cmp eax, ecx
je 0x100535ee
push dword [ecx + 0x1c]
call fcn.1006c4c0
add esp, 4
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x1005368e
push dword [ebp - 0x5c]
call fcn.1006c350
mov eax, dword [ebp - 0x6c]
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], eax
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x60]
push ecx
call eax
push 8
lea eax, [ebp - 0x60]
push 0x100c708c
push eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
call eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
push dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
call eax
push ebx
lea eax, [esi + edi]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
call eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [ebp - 0x60]
push dword [eax + 0x1c]
push dword [ebp - 0x5c]
call fcn.1006c330
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push dword [ebp - 0x50]
push eax
call fcn.100331d0
add esp, 0x44
test eax, eax
je 0x1005366f
push 0x12b
push str.C:_boringssl_x86crypto_fipsmodule_rsa_padding.c
push 0x69
jmp 0x10053682
mov esi, 1
jmp 0x10053690
push 0xfa
push str.C:_boringssl_x86crypto_fipsmodule_rsa_padding.c
push 0x71
push 0
push 4
call fcn.10068920
add esp, 0x14
xor esi, esi
push edi
call fcn.1006c350
push dword [ebp - 0x5c]
call fcn.1006c350
mov ecx, dword [ebp - 0x54]
add esp, 8
test ecx, ecx
je 0x100536b2
push dword [ebp - 0x58]
mov ecx, dword [ecx]
call ecx
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a69cd
mov esp, ebp
pop ebp
ret