Function at 0x4461c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
lea ebp, [esp + 0x30]
mov edi, dword [esp + 0xac]
mov dword [esp], ebp
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0xb0]
call sym.adb.exe_EVP_MD_CTX_init
mov eax, dword [esp + 0xa8]
test edi, edi
cmove edi, dword [esp + 0xa8]
mov dword [esp], eax
call sym.adb.exe_EVP_MD_size
cmp dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0x20], eax
je 0x4464d0
cmp dword [esp + 0xb4], 0xfffffffe
je 0x446226
jl 0x4464e0
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sym.adb.exe_BN_num_bits
mov dword [esp], ebx
mov ebx, 0xff
lea ecx, [eax - 1]
and ecx, 7
mov dword [esp + 0x24], ecx
call sym.adb.exe_RSA_size
mov ecx, dword [esp + 0x24]
movzx edx, byte [esi]
shl ebx, cl
test ebx, edx
jne 0x446500
test ecx, ecx
je 0x4462c8
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xb4]
lea edx, [edx + ebx + 1]
cmp eax, edx
jle 0x446520
cmp byte [esi + eax - 1], 0xbc
je 0x4462d0
mov dword [esp + 0x10], 0x21d
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x7b
mov dword [esp + 4], 0
xor ebx, ebx
xor esi, esi
mov dword [esp], 4
call sym.adb.exe_ERR_put_error
mov dword [esp], ebx
call fcn.004b2a58
mov dword [esp], ebp
call sym.adb.exe_EVP_MD_CTX_cleanup
add esp, 0x8c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
add esi, 1
sub eax, 1
jmp 0x44625d
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
not edx
add edx, eax
lea eax, [esi + edx]
mov dword [esp], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
call sub.msvcrt.dll_malloc
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
test eax, eax
mov ebx, eax
je 0x4465b3
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edi
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 8], eax
call fcn.00445a40
test eax, eax
js 0x4465e6
mov edx, dword [esp + 0x24]
xor eax, eax
mov ecx, dword [esp + 0x28]
test edx, edx
jle 0x446351
mov edi, ecx
movzx ecx, byte [esi + eax]
xor byte [ebx + eax], cl
add eax, 1
cmp edx, eax
jne 0x446341
mov ecx, edi
test ecx, ecx
je 0x446540
mov esi, 8
mov eax, 0xff
sub esi, ecx
mov ecx, esi
sar eax, cl
and al, byte [ebx]
mov byte [ebx], al
test al, al
jne 0x4465ed
cmp edx, 1
jle 0x446548
lea esi, [edx - 1]
xor eax, eax
jmp 0x44638d
cmp eax, esi
je 0x446548
add eax, 1
movzx ecx, byte [ebx + eax]
test cl, cl
je 0x446385
lea edi, [eax + 1]
cmp cl, 1
jne 0x446548
mov eax, dword [esp + 0xb4]
test eax, eax
js 0x4463c0
mov eax, edx
sub eax, edi
cmp eax, dword [esp + 0xb4]
jne 0x446580
mov eax, dword [esp + 0xa8]
xor esi, esi
mov dword [esp + 8], 0
mov dword [esp], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 4], eax
call sym.adb.exe_EVP_DigestInit_ex
test eax, eax
je 0x4462ab
mov dword [esp + 8], 8
mov dword [esp + 4], 0x539e84
mov dword [esp], ebp
call sym.adb.exe_EVP_DigestUpdate
test eax, eax
je 0x4462ab
mov eax, dword [esp + 0x20]
mov dword [esp], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
call sym.adb.exe_EVP_DigestUpdate
test eax, eax
je 0x4462ab
mov edx, dword [esp + 0x24]
cmp edx, edi
je 0x446450
sub edx, edi
add edi, ebx
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym.adb.exe_EVP_DigestUpdate
test eax, eax
je 0x4462ab
lea edi, [esp + 0x40]
xor esi, esi
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym.adb.exe_EVP_DigestFinal_ex
test eax, eax
je 0x4462ab
mov eax, dword [esp + 0x20]
mov esi, 1
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x4462ab
mov dword [esp + 0x10], 0x249
xor si, si
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x68
mov dword [esp + 4], 0
mov dword [esp], 4
call sym.adb.exe_ERR_put_error
jmp 0x4462ab
mov dword [esp + 0xb4], eax
jmp 0x446226
mov dword [esp + 0x10], 0x209
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x85
jmp 0x446293
mov dword [esp + 0x10], 0x210
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x76
jmp 0x446293
mov dword [esp + 0x10], 0x219
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x6e
jmp 0x446293
movzx eax, byte [ebx]
jmp 0x44636d
mov dword [esp + 0x10], 0x234
xor esi, esi
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x86
mov dword [esp + 4], 0
mov dword [esp], 4
call sym.adb.exe_ERR_put_error
jmp 0x4462ab
mov dword [esp + 0x10], 0x238
xor esi, esi
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x85
mov dword [esp + 4], 0
mov dword [esp], 4
call sym.adb.exe_ERR_put_error
jmp 0x4462ab
mov dword [esp + 0x10], 0x224
xor esi, esi
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
jmp 0x4462ab
xor esi, esi
jmp 0x4462ab
mov ecx, eax
mov edi, 1
jmp 0x44639b