Function at 0x44e920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
dec eax
cmp eax, 0x28
jle 0x44ead8
mov edi, eax
sub edi, esi
js 0x44e9b4
mov dword [ebp - 0x40], 0
lea edx, [eax - 0x14]
mov dword [ebp - 0x44], edx
add eax, edx
push ecx
push 0x7c
push str.external_openssl_crypto_rsa_rsa_oaep.c
push eax
call fcn.00424350
add esp, 0x10
mov dword [ebp - 0x48], eax
test eax, eax
je 0x44e9c1
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
add ebx, eax
push ecx
push edi
push 0
push ebx
call sub.m_memset
add esp, 0xc
lea eax, [ebx + edi]
push esi
lea esi, [ebp - 0x20]
mov edx, dword [ebp + 0x10]
push edx
push eax
call sub.m_memcpy
pop eax
mov edi, dword [ebp - 0x44]
lea ecx, [ebx + 0x14]
mov edx, 0x14
mov eax, esi
push edi
call fcn.0044e8f0
add esp, 0x10
test eax, eax
je 0x44e9e6
or ebx, 0xffffffff
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, eax
xor edi, edi
mov dword [ebp - 0x40], 1
jmp 0x44e946
sub esp, 0xc
push 0x7f
push str.external_openssl_crypto_rsa_rsa_oaep.c
push 0x41
push 0x7a
push 4
call fcn.00423b20
or ebx, 0xffffffff
mov eax, ebx
add esp, 0x20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov al, byte [ebx]
mov edx, 2
xor byte [ebp - 0x20], al
mov al, byte [edx + ebx - 1]
xor byte [edx + esi - 1], al
inc edx
cmp edx, 0x15
jne 0x44e9f0
sub esp, 0xc
mov ecx, esi
push 0x14
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
call fcn.0044e8f0
add esp, 0x10
test eax, eax
jne 0x44e9a7
mov esi, dword [ebp + 0x18]
mov edx, 1
lea ecx, [esi - 0x14]
mov esi, dword [ebp - 0x48]
mov al, byte [edx + ebx + 0x13]
xor byte [edx + esi - 1], al
inc edx
cmp edx, ecx
jne 0x44ea22
call fcn.004512b0
lea ebx, [ebp - 0x34]
push edx
push edx
push 0
push eax
push 0
push ebx
mov edi, dword [ebp + 0x20]
push edi
mov esi, dword [ebp + 0x1c]
push esi
call fcn.0045a970
add esp, 0x20
test eax, eax
je 0x44e9a7
cld
mov ecx, 0x14
mov esi, dword [ebp - 0x48]
mov edi, ebx
repe cmpsb byte [esi], byte es:[edi]
seta al
setb dl
sub al, dl
movsx eax, al
or eax, dword [ebp - 0x40]
jne 0x44eaa9
mov edx, dword [ebp - 0x48]
mov eax, 0x14
cmp byte [edx + 0x14], 0
jne 0x44eaa0
mov ecx, dword [ebp + 0x18]
lea edx, [ecx - 0x15]
jmp 0x44ea96
mov esi, dword [ebp - 0x48]
cmp byte [eax + esi], 0
jne 0x44ea9b
inc eax
cmp eax, edx
jne 0x44ea8d
cmp eax, dword [ebp - 0x44]
je 0x44eaa9
mov edx, dword [ebp - 0x48]
cmp byte [edx + eax], 1
je 0x44eaec
sub esp, 0xc
or ebx, 0xffffffff
push 0xb5
push str.external_openssl_crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.00423b20
add esp, 0x14
mov eax, dword [ebp - 0x48]
push eax
call fcn.00424480
add esp, 0x10
jmp 0x44e9aa
sub esp, 0xc
push 0xb5
push str.external_openssl_crypto_rsa_rsa_oaep.c
push 0x79
jmp 0x44e9cd
inc eax
mov ebx, dword [ebp - 0x44]
sub ebx, eax
cmp ebx, dword [ebp + 0xc]
jle 0x44eb29
sub esp, 0xc
or ebx, 0xffffffff
push 0xa8
push str.external_openssl_crypto_rsa_rsa_oaep.c
push 0x6d
push 0x7a
push 4
call fcn.00423b20
add esp, 0x20
sub esp, 0xc
mov eax, dword [ebp - 0x48]
push eax
call fcn.00424480
add esp, 0x10
jmp 0x44e9aa
mov ecx, dword [ebp - 0x48]
push edx
add eax, ecx
push ebx
push eax
mov eax, dword [ebp + 8]
push eax
call sub.m_memcpy
add esp, 0x10
jmp 0x44eb15