Function at 0x4a89f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x74]
test ecx, ecx
cmove eax, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0043ec50
test eax, eax
mov edi, eax
js 0x4a8b3d
cmp ebx, 0xffffffff
je 0x4a8cc0
cmp ebx, 0xfffffffe
je 0x4a8a3c
jl 0x4a8b66
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0041e180
mov dword [esp], ebp
sub eax, 1
mov dword [esp + 0x14], eax
and dword [esp + 0x14], 7
call fcn.0041ed20
mov edx, dword [esp + 0x14]
test edx, edx
mov ebp, eax
jne 0x4a8a76
mov eax, dword [esp + 0x64]
sub ebp, 1
mov byte [eax], 0
add eax, 1
mov dword [esp + 0x64], eax
cmp ebx, 0xfffffffe
je 0x4a8b50
lea eax, [edi + ebx + 1]
cmp ebp, eax
jle 0x4a8b11
test ebx, ebx
jle 0x4a8b5f
mov dword [esp + 8], 0xf2
mov dword [esp + 4], str.external_openssl_crypto_rsa_rsa_pss.c
mov dword [esp], ebx
call fcn.00427550
test eax, eax
mov esi, eax
je 0x4a8cd0
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00433670
test eax, eax
jle 0x4a8cc7
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.00462e60
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.00462f40
test eax, eax
jne 0x4a8b94
xor ebx, ebx
test esi, esi
je 0x4a8b3f
mov dword [esp], esi
call fcn.00427840
add esp, 0x4c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0xed
mov dword [esp + 0xc], str.external_openssl_crypto_rsa_rsa_pss.c
mov dword [esp + 8], 0x6e
mov dword [esp + 4], 0x94
mov dword [esp], 4
call fcn.00429970
xor ebx, ebx
add esp, 0x4c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, ebp
sub ebx, edi
sub ebx, 2
test ebx, ebx
jg 0x4a8a93
xor esi, esi
jmp 0x4a8ac9
mov dword [esp + 0x10], 0xdc
mov dword [esp + 0xc], str.external_openssl_crypto_rsa_rsa_pss.c
mov dword [esp + 8], 0x88
mov dword [esp + 4], 0x94
mov dword [esp], 4
call fcn.00429970
jmp 0x4a8b3d
lea eax, [esp + 0x28]
mov dword [esp + 8], 8
mov dword [esp + 4], 0x4e916e
mov dword [esp], eax
call fcn.00463230
test eax, eax
je 0x4a8af9
mov eax, dword [esp + 0x68]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.00463230
test eax, eax
je 0x4a8af9
test ebx, ebx
je 0x4a8bf8
lea eax, [esp + 0x28]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00463230
test eax, eax
je 0x4a8af9
mov eax, ebp
sub eax, edi
sub eax, 1
mov dword [esp + 0x18], eax
add eax, dword [esp + 0x64]
mov dword [esp + 8], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 4], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.00463240
test eax, eax
je 0x4a8af9
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.004632e0
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0043fd90
test eax, eax
jne 0x4a8af9
mov edx, dword [esp + 0x64]
mov eax, ebp
sub eax, ebx
sub eax, edi
lea edx, [edx + eax - 2]
xor eax, eax
xor byte [edx], 1
test ebx, ebx
jle 0x4a8c8d
movzx ecx, byte [esi + eax]
xor byte [edx + eax + 1], cl
add eax, 1
cmp eax, ebx
jne 0x4a8c7e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a8cab
mov edx, dword [esp + 0x64]
mov ecx, 8
mov eax, 0xff
sub ecx, dword [esp + 0x14]
sar eax, cl
and byte [edx], al
mov eax, dword [esp + 0x64]
mov ebx, 1
mov byte [eax + ebp - 1], 0xbc
jmp 0x4a8afb
mov ebx, eax
jmp 0x4a8a3c
xor ebx, ebx
jmp 0x4a8aff
mov dword [esp + 0x10], 0xf5
mov dword [esp + 0xc], str.external_openssl_crypto_rsa_rsa_pss.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x94
mov dword [esp], 4
call fcn.00429970
jmp 0x4a8b3d