Function at 0x4903b0
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.0045abf0
add esp, 0x10
test ebx, ebx
je 0x4904f8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
call fcn.0043a320
add esp, 0x10
mov dword [ebp - 0x7c], eax
test eax, eax
js 0x4904a0
cmp dword [ebp + 0x1c], 0xffffffff
je 0x490520
cmp dword [ebp + 0x1c], 0xfffffffe
je 0x490406
jl 0x4904d8
mov ecx, dword [ebp + 8]
sub esp, 0xc
mov eax, dword [ecx + 0x10]
push eax
call fcn.0041bfc0
mov ecx, dword [ebp + 8]
lea esi, [eax - 1]
pop eax
push ecx
call fcn.0041be10
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 0x4904b8
test esi, esi
jne 0x490451
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 0x490500
mov eax, dword [ebp - 0x84]
cmp byte [eax + edi - 1], 0xbc
je 0x49052b
sub esp, 0xc
push 0x83
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.00424150
add esp, 0x20
lea esi, [esi]
xor ebx, ebx
sub esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
call fcn.0045aae0
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.00424150
add esp, 0x20
jmp 0x4904a0
sub esp, 0xc
push 0x6c
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.00424150
add esp, 0x20
jmp 0x4904a0
mov ebx, dword [ebp + 0x10]
jmp 0x4903d6
sub esp, 0xc
push 0x7e
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.00424150
add esp, 0x20
jmp 0x4904a0
mov edx, dword [ebp - 0x7c]
mov dword [ebp + 0x1c], edx
jmp 0x490406
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.00424980
add esp, 0x10
mov dword [ebp - 0x70], eax
test eax, eax
je 0x490670
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.0044eee0
add esp, 0x20
test eax, eax
js 0x4906ac
mov eax, dword [ebp - 0x78]
test eax, eax
jle 0x4905a2
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 0x490591
test esi, esi
jne 0x490640
mov eax, dword [ebp - 0x70]
mov cl, byte [eax]
test cl, cl
jne 0x490770
mov eax, dword [ebp - 0x78]
dec eax
test eax, eax
jle 0x49065c
mov eax, dword [ebp - 0x80]
xor edx, edx
sub eax, 2
jmp 0x4905d8
cmp edx, eax
je 0x49065c
inc edx
mov ebx, dword [ebp - 0x70]
mov cl, byte [edx + ebx]
test cl, cl
je 0x4905d0
lea ebx, [edx + 1]
dec cl
jne 0x49065c
mov edi, dword [ebp + 0x1c]
test edi, edi
js 0x490695
mov eax, dword [ebp - 0x78]
sub eax, ebx
cmp eax, dword [ebp + 0x1c]
je 0x490695
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.00424150
add esp, 0x20
sub esp, 0xc
mov esi, dword [ebp - 0x70]
push esi
call fcn.00424ab0
add esp, 0x10
jmp 0x4904a2
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 0x4905af
sub esp, 0xc
push 0x97
push str.external_openssl_crypto_rsa_rsa_pss.c
push 0x87
jmp 0x490615
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.00424150
add esp, 0x20
jmp 0x4904a2
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push esi
push 0
push ecx
push eax
call fcn.0045aef0
add esp, 0x10
test eax, eax
jne 0x4906b3
xor ebx, ebx
jmp 0x490626
push edx
lea edx, [ebp - 0x24]
push 8
push 0x4c7542
push edx
call fcn.0045aad0
add esp, 0x10
test eax, eax
je 0x4906ac
push eax
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp + 0xc]
push eax
push ecx
call fcn.0045aad0
add esp, 0x10
test eax, eax
je 0x4906ac
cmp dword [ebp - 0x78], ebx
je 0x49070c
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.0045aad0
add esp, 0x10
test eax, eax
je 0x4906ac
lea eax, [ebp - 0x24]
lea ebx, [ebp - 0x64]
push edi
push 0
push ebx
push eax
call fcn.0045ae30
add esp, 0x10
test eax, eax
je 0x4906ac
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 0x490626
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.00424150
add esp, 0x20
jmp 0x490626
mov ebx, 1
jmp 0x4905e6