Function at 0x44b880
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov ebx, dword [esp + 0xe8]
mov esi, dword [esp + 0xd8]
mov edi, dword [esp + 0xdc]
test ebx, ebx
je 0x44bb4b
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0xec]
test ecx, ecx
cmove eax, dword [esp + 0xe8]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
call sym.adb.exe_EVP_MD_size
mov ebx, eax
lea eax, [eax + 1]
mov dword [esp + 0x2c], eax
add eax, eax
cmp eax, edi
ja 0x44bacd
lea eax, [edi - 1]
mov dword [esp + 0x20], eax
sub dword [esp + 0x20], ebx
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebp, eax
je 0x44bb5c
mov eax, dword [esp + 0x2c]
mov edx, ebx
lea edi, [esi + eax]
mov eax, dword [esp + 0xec]
mov ecx, edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
lea eax, [esp + 0x30]
call fcn.0044add0
test eax, eax
je 0x44bafb
test ebx, ebx
je 0x44b950
xor eax, eax
lea esi, [esi]
movzx edx, byte [esi + eax + 1]
xor byte [esp + eax + 0x30], dl
add eax, 1
cmp eax, ebx
jne 0x44b940
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, ebp
call fcn.0044add0
test eax, eax
je 0x44bafb
mov edx, dword [esp + 0x20]
xor eax, eax
mov ecx, dword [esp + 0x20]
test edx, edx
je 0x44b992
movzx edx, byte [edi + eax]
xor byte [ebp + eax], dl
add eax, 1
cmp eax, ecx
jne 0x44b983
mov eax, dword [esp + 0xe8]
lea edi, [esp + 0x70]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call sym.adb.exe_EVP_Digest
test eax, eax
je 0x44bafb
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym.adb.exe_CRYPTO_memcmp
movzx ecx, byte [esi]
lea edx, [eax - 1]
not eax
and edx, eax
lea eax, [ecx - 1]
not ecx
and eax, ecx
and eax, edx
cdq
cmp ebx, dword [esp + 0x20]
mov dword [esp + 0x24], edx
not dword [esp + 0x24]
jae 0x44bacf
xor eax, eax
mov edx, 0xffffffff
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
jmp 0x44ba25
add ebp, 1
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + ebx]
mov edi, ecx
xor edi, 1
mov eax, edi
movzx edi, al
lea esi, [edi - 1]
not edi
and esi, edi
sar esi, 0x1f
mov edi, esi
not esi
and edi, edx
and edx, esi
mov eax, edi
and ebx, edi
not eax
and dword [esp + 0x1c], eax
or dword [esp + 0x1c], ebx
lea ebx, [ecx - 1]
not ecx
and ebx, ecx
sar ebx, 0x1f
not ebx
and ebx, edx
or dword [esp + 0x24], ebx
mov ebx, ebp
cmp ebp, dword [esp + 0x20]
jne 0x44ba22
mov ecx, dword [esp + 0x24]
mov ebx, ebp
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
or ecx, edx
jne 0x44bacf
add eax, 1
sub ebx, eax
cmp ebx, dword [esp + 0xd4]
ja 0x44bb15
xor esi, esi
test ebx, ebx
jne 0x44bab0
mov dword [esp], ebp
call fcn.004bdca8
add esp, 0xbc
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, ebp
mov esi, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 8], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x44ba9b
xor ebp, ebp
mov dword [esp + 0x10], 0x1e3
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
mov dword [esp], ebp
mov esi, 0xffffffff
call fcn.004bdca8
add esp, 0xbc
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0x1d7
mov esi, 0xffffffff
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x71
mov dword [esp + 4], 0
mov dword [esp], 4
call sym.adb.exe_ERR_put_error
jmp 0x44ba9b
call sym.adb.exe_EVP_sha1
mov dword [esp + 0xe8], eax
jmp 0x44b8a7
mov dword [esp + 0x10], 0x1a7
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 0x44bafb