Function at 0x44bfc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x60]
mov dword [esp], eax
test ebx, ebx
cmove ebx, dword [esp + 0x6c]
call sym.adb.exe_EVP_MD_size
mov edi, eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call sym.adb.exe_BN_is_zero
test eax, eax
jne 0x44c1f0
mov eax, dword [esi + 4]
mov dword [esp], eax
call sym.adb.exe_BN_num_bits
mov dword [esp], esi
lea ebp, [eax - 1]
call sym.adb.exe_RSA_size
and ebp, 7
test ebp, ebp
mov dword [esp + 0x20], eax
jne 0x44c02b
mov eax, dword [esp + 0x64]
sub dword [esp + 0x20], 1
mov byte [eax], 0
add eax, 1
mov dword [esp + 0x64], eax
lea eax, [edi + 2]
cmp dword [esp + 0x20], eax
jb 0x44c278
cmp dword [esp + 0x74], 0xffffffff
je 0x44c295
cmp dword [esp + 0x74], 0xfffffffe
mov eax, dword [esp + 0x74]
je 0x44c2a0
test eax, eax
mov dword [esp + 0x24], eax
js 0x44c2d0
mov eax, dword [esp + 0x20]
sub eax, edi
mov dword [esp + 0x28], eax
sub eax, 2
cmp dword [esp + 0x24], eax
ja 0x44c2c0
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x44c240
xor esi, esi
lea eax, [esp + 0x30]
mov dword [esp], eax
call sym.adb.exe_EVP_MD_CTX_init
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
call sym.adb.exe_EVP_DigestInit_ex
mov dword [esp + 0x1c], 0
test eax, eax
je 0x44c226
lea eax, [esp + 0x30]
mov dword [esp + 8], 8
mov dword [esp + 4], 0x537044
mov dword [esp], eax
call sym.adb.exe_EVP_DigestUpdate
test eax, eax
je 0x44c226
mov eax, dword [esp + 0x68]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
call sym.adb.exe_EVP_DigestUpdate
test eax, eax
je 0x44c226
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44c127
mov eax, dword [esp + 0x24]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
call sym.adb.exe_EVP_DigestUpdate
test eax, eax
je 0x44c226
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0
sub eax, 1
mov dword [esp + 0x28], eax
add eax, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
mov dword [esp + 4], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
call sym.adb.exe_EVP_DigestFinal_ex
mov dword [esp + 0x1c], 0
test eax, eax
je 0x44c226
lea eax, [esp + 0x30]
mov dword [esp], eax
call sym.adb.exe_EVP_MD_CTX_cleanup
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.0044add0
test eax, eax
je 0x44c226
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
sub eax, edi
sub edx, ecx
lea edx, [edx + eax - 2]
xor byte [edx], 1
test ecx, ecx
je 0x44c1bf
mov ebx, dword [esp + 0x24]
xor eax, eax
nop
movzx ecx, byte [esi + eax]
xor byte [edx + eax + 1], cl
add eax, 1
cmp eax, ebx
jne 0x44c1b0
test ebp, ebp
je 0x44c1d7
mov ecx, 8
mov eax, 0xff
sub ecx, ebp
sar eax, cl
mov ecx, dword [esp + 0x64]
and byte [ecx], al
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], 1
mov byte [eax + ecx - 1], 0xbc
jmp 0x44c226
mov dword [esp + 0x10], 0x265
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x78
mov dword [esp + 4], 0
xor esi, esi
mov dword [esp], 4
call sym.adb.exe_ERR_put_error
mov dword [esp + 0x1c], 0
mov dword [esp], esi
call fcn.004bdca8
mov eax, dword [esp + 0x1c]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je 0x44c2f0
mov eax, dword [esp + 0x24]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.adb.exe_RAND_bytes
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x44c083
jmp 0x44c226
mov dword [esp + 0x10], 0x272
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x72
jmp 0x44c208
mov dword [esp + 0x24], edi
jmp 0x44c05e
sub eax, edi
mov edx, eax
mov eax, dword [esp + 0x20]
add edx, eax
sub eax, edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0x44c075
mov dword [esp + 0x10], 0x287
jmp 0x44c280
mov dword [esp + 0x10], 0x280
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x8a
jmp 0x44c208
mov dword [esp + 0x10], 0x28e
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0
mov dword [esp], 4
call sym.adb.exe_ERR_put_error
mov dword [esp + 0x1c], 0
jmp 0x44c226