Function at 0x48fbf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x88
lea eax, [ebp - 0x24]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
push eax
call fcn.0045a460
add esp, 0x10
test ebx, ebx
je 0x48fd38
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
call fcn.00439be0
add esp, 0x10
mov dword [ebp - 0x7c], eax
test eax, eax
js 0x48fce0
cmp dword [ebp + 0x1c], 0xffffffff
je 0x48fd60
cmp dword [ebp + 0x1c], 0xfffffffe
je 0x48fc46
jl 0x48fd18
mov ecx, dword [ebp + 8]
sub esp, 0xc
mov eax, dword [ecx + 0x10]
push eax
call fcn.0041b9c0
mov ecx, dword [ebp + 8]
lea esi, [eax - 1]
pop eax
push ecx
call fcn.0041b810
and esi, 7
mov dword [ebp - 0x84], eax
xor edx, edx
mov eax, 0xff
mov ecx, esi
mov dl, byte [edi]
shl eax, cl
add esp, 0x10
test eax, edx
jne 0x48fcf8
test esi, esi
jne 0x48fc91
mov edx, dword [ebp - 0x84]
inc edi
dec edx
mov dword [ebp - 0x84], edx
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp + 0x1c]
lea eax, [edx + ecx + 2]
cmp dword [ebp - 0x84], eax
jl 0x48fd40
mov eax, dword [ebp - 0x84]
cmp byte [eax + edi - 1], 0xbc
je 0x48fd6b
sub esp, 0xc
push 0x83
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.00423b20
add esp, 0x20
lea esi, [esi]
xor ebx, ebx
sub esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
call fcn.0045a350
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
push 0x74
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.00423b20
add esp, 0x20
jmp 0x48fce0
sub esp, 0xc
push 0x6c
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.00423b20
add esp, 0x20
jmp 0x48fce0
mov ebx, dword [ebp + 0x10]
jmp 0x48fc16
sub esp, 0xc
push 0x7e
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.00423b20
add esp, 0x20
jmp 0x48fce0
mov edx, dword [ebp - 0x7c]
mov dword [ebp + 0x1c], edx
jmp 0x48fc46
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x84]
sub edx, eax
push eax
mov dword [ebp - 0x80], edx
dec edx
push 0x88
mov dword [ebp - 0x78], edx
push str.external_openssl_crypto_rsa_rsa_pss.c
push edx
call fcn.00424350
add esp, 0x10
mov dword [ebp - 0x70], eax
test eax, eax
je 0x48feb0
sub esp, 0xc
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
push ebx
add ecx, edi
push eax
mov eax, dword [ebp - 0x78]
push ecx
push eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
push eax
call fcn.0044e7a0
add esp, 0x20
test eax, eax
js 0x48feec
mov eax, dword [ebp - 0x78]
test eax, eax
jle 0x48fde2
mov edx, 1
mov ebx, dword [ebp - 0x70]
mov al, byte [edx + edi - 1]
xor byte [edx + ebx - 1], al
inc edx
cmp edx, dword [ebp - 0x80]
jne 0x48fdd1
test esi, esi
jne 0x48fe80
mov eax, dword [ebp - 0x70]
mov cl, byte [eax]
test cl, cl
jne 0x48ffb0
mov eax, dword [ebp - 0x78]
dec eax
test eax, eax
jle 0x48fe9c
mov eax, dword [ebp - 0x80]
xor edx, edx
sub eax, 2
jmp 0x48fe18
cmp edx, eax
je 0x48fe9c
inc edx
mov ebx, dword [ebp - 0x70]
mov cl, byte [edx + ebx]
test cl, cl
je 0x48fe10
lea ebx, [edx + 1]
dec cl
jne 0x48fe9c
mov edi, dword [ebp + 0x1c]
test edi, edi
js 0x48fed5
mov eax, dword [ebp - 0x78]
sub eax, ebx
cmp eax, dword [ebp + 0x1c]
je 0x48fed5
sub esp, 0xc
push 0x9c
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
xor ebx, ebx
call fcn.00423b20
add esp, 0x20
sub esp, 0xc
mov esi, dword [ebp - 0x70]
push esi
call fcn.00424480
add esp, 0x10
jmp 0x48fce2
mov edx, dword [ebp - 0x70]
mov ecx, 8
sub ecx, esi
mov eax, 0xff
sar eax, cl
mov cl, byte [edx]
and ecx, eax
mov byte [edx], cl
jmp 0x48fdef
sub esp, 0xc
push 0x97
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x87
jmp 0x48fe55
sub esp, 0xc
xor ebx, ebx
push 0x8b
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.00423b20
add esp, 0x20
jmp 0x48fce2
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push esi
push 0
push ecx
push eax
call fcn.0045a760
add esp, 0x10
test eax, eax
jne 0x48fef3
xor ebx, ebx
jmp 0x48fe66
push edx
lea edx, [ebp - 0x24]
push 8
push 0x4c5fe2
push edx
call fcn.0045a340
add esp, 0x10
test eax, eax
je 0x48feec
push eax
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp + 0xc]
push eax
push ecx
call fcn.0045a340
add esp, 0x10
test eax, eax
je 0x48feec
cmp dword [ebp - 0x78], ebx
je 0x48ff4c
push eax
mov eax, dword [ebp - 0x78]
sub eax, ebx
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x70]
add eax, ebx
lea ebx, [ebp - 0x24]
push eax
push ebx
call fcn.0045a340
add esp, 0x10
test eax, eax
je 0x48feec
lea eax, [ebp - 0x24]
lea ebx, [ebp - 0x64]
push edi
push 0
push ebx
push eax
call fcn.0045a6a0
add esp, 0x10
test eax, eax
je 0x48feec
mov edx, dword [ebp - 0x7c]
mov esi, ebx
cld
cmp edx, edx
mov ecx, edx
mov edi, dword [ebp - 0x74]
mov ebx, 1
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
je 0x48fe66
sub esp, 0xc
xor bl, bl
push 0xac
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.00423b20
add esp, 0x20
jmp 0x48fe66
mov ebx, 1
jmp 0x48fe26