Function at 0x10052bf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0xc], 0
test eax, eax
mov esi, dword [esi + 4]
cmovne edx, eax
mov eax, dword [ecx + 4]
push edi
push esi
mov dword [ebp - 0x10], edx
mov dword [ebp + 0x18], eax
call fcn.10057330
add esp, 8
test eax, eax
je 0x10052c54
push 0x149
push str.C:_boringssl_x86crypto_fipsmodule_rsa_padding.c
push 0x78
push edi
push 4
call fcn.10068920
add esp, 0x14
push edi
call fcn.1006c350
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.1004ae30
mov ecx, dword [ebp + 8]
add esp, 4
lea ebx, [eax - 1]
mov eax, dword [ecx]
and ebx, 7
mov dword [ebp - 0x14], ebx
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10052c7d
push ecx
call eax
mov ecx, eax
mov dword [ebp + 8], ecx
jmp 0x10052c88
push esi
call fcn.1004af10
mov ecx, eax
mov dword [ebp + 8], eax
add esp, 4
test ebx, ebx
mov ebx, dword [ebp + 0xc]
jne 0x10052c9a
mov byte [ebx], 0
inc ebx
dec ecx
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 4], ebx
lea eax, [edx + 2]
cmp ecx, eax
jae 0x10052cae
push 0x156
jmp 0x10052cc9
mov esi, dword [ebp + 0x1c]
cmp esi, 0xffffffff
jne 0x10052cef
mov esi, edx
sub ecx, edx
mov dword [ebp - 8], ecx
lea eax, [ecx - 2]
cmp eax, esi
jae 0x10052d06
push 0x16b
push str.C:_boringssl_x86crypto_fipsmodule_rsa_padding.c
push 0x72
push 0
push 4
call fcn.10068920
add esp, 0x14
pop ebx
push edi
call fcn.1006c350
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xfffffffe
jne 0x10052eca
mov esi, ecx
mov eax, ecx
sub esi, edx
sub esi, 2
sub eax, edx
mov dword [ebp - 8], eax
test esi, esi
je 0x10052d2c
push esi
call fcn.1006c4c0
mov edi, eax
add esp, 4
test edi, edi
je 0x10052f0c
push 0x100c6f48
push esi
push edi
call fcn.100519a0
add esp, 0xc
mov eax, dword [ebp - 8]
xorps xmm0, xmm0
dec eax
push 0
push dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.1004fb20
add esp, 0xc
test eax, eax
je 0x10052f00
push 8
lea eax, [ebp - 0x24]
push 0x100c708c
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
call eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x24]
push dword [ebp + 0x10]
push eax
call fcn.1004fda0
add esp, 0x18
test eax, eax
je 0x10052f00
push esi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.1004fda0
add esp, 0xc
test eax, eax
je 0x10052f00
mov eax, dword [ebp - 8]
add eax, ebx
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [ebp - 0x24]
push dword [eax + 0x1c]
push dword [ebp - 0x20]
call fcn.1006c330
lea eax, [ebp - 0x24]
push eax
call fcn.10050280
push dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
push dword [ebp + 0x18]
lea eax, [ecx + ebx]
push eax
push ecx
push ebx
call fcn.10051820
add esp, 0x28
test eax, eax
je 0x10052f0c
mov edx, dword [ebp + 8]
mov eax, edx
sub eax, esi
sub eax, dword [ebp + 0x18]
add eax, 0xfffffffe
add eax, ebx
mov dword [ebp + 0x14], eax
xor byte [eax], 1
inc eax
mov dword [ebp + 0x18], eax
test esi, esi
je 0x10052e94
xor edx, edx
mov ebx, esi
cmp esi, 0x40
jb 0x10052e80
lea ecx, [edi - 1]
add ecx, esi
cmp eax, ecx
ja 0x10052e1a
mov ecx, dword [ebp + 0x14]
add ecx, esi
cmp ecx, edi
jae 0x10052e80
mov ecx, esi
mov ebx, esi
and ecx, 0xffffffc0
mov dword [ebp + 0x14], ecx
lea ecx, [edi + 0x20]
mov esi, dword [ebp + 0x14]
nop word [eax + eax]
movups xmm0, xmmword [eax]
add edx, 0x40
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ecx - 0x60]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [eax + 0x10]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax + 0x10], xmm1
movups xmm1, xmmword [eax + 0x20]
pxor xmm1, xmm0
movups xmmword [eax + 0x20], xmm1
movups xmm0, xmmword [eax + 0x30]
movups xmm1, xmmword [ecx - 0x30]
pxor xmm1, xmm0
movups xmmword [eax + 0x30], xmm1
add eax, 0x40
cmp edx, esi
jb 0x10052e30
cmp edx, ebx
jae 0x10052e8e
nop
mov cl, byte [edx + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, ebx
jb 0x10052e80
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10052eab
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebx], al
mov byte [edx + ebx - 1], 0xbc
pop ebx
push edi
mov dword [ebp - 0xc], 1
call fcn.1006c350
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jns 0x10052cb8
push 0x164
push str.C:_boringssl_x86crypto_fipsmodule_rsa_padding.c
push 0x8a
push 0
push 4
call fcn.10068920
add esp, 0x14
pop ebx
push edi
call fcn.1006c350
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call fcn.10050280
add esp, 4
pop ebx
push edi
call fcn.1006c350
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret