Function at 0x44b230
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov edi, dword [esp + 0xa8]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
test edi, edi
je 0x44b460
mov ecx, dword [esp + 0xac]
mov eax, edi
mov dword [esp], edi
test ecx, ecx
cmovne eax, dword [esp + 0xac]
mov dword [esp + 0xac], eax
call sym.adb.exe_EVP_MD_size
lea edx, [eax + 1]
mov ebx, eax
lea eax, [edx + edx]
cmp eax, esi
ja 0x44b380
lea ecx, [esi - 1]
sub esi, eax
cmp esi, dword [esp + 0x9c]
mov dword [esp + 0x24], ecx
lea ecx, [eax - 2]
jb 0x44b425
sub eax, 1
cmp dword [esp + 0x24], eax
jb 0x44b347
lea eax, [ebp + edx]
mov byte [ebp], 0
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
call sym.adb.exe_EVP_Digest
mov ecx, dword [esp + 0x2c]
test eax, eax
je 0x44b33d
mov esi, dword [esp + 0x24]
sub esi, dword [esp + 0x9c]
lea eax, [esi - 1]
sub eax, ecx
jne 0x44b405
mov edx, dword [esp + 0x9c]
sub esi, ebx
mov eax, dword [esp + 0x28]
test edx, edx
mov byte [eax + esi - 1], 1
jne 0x44b3e0
lea eax, [ebp + 1]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 0x2c], eax
call sym.adb.exe_RAND_bytes
test eax, eax
jne 0x44b390
xor eax, eax
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0x15e
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x7e
mov dword [esp + 4], 0
mov dword [esp], 4
call sym.adb.exe_ERR_put_error
xor eax, eax
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0x153
jmp 0x44b34f
mov edi, dword [esp + 0x24]
sub edi, ebx
mov dword [esp], edi
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je 0x44b4da
mov eax, dword [esp + 0xac]
mov edx, edi
mov ecx, dword [esp + 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, esi
call fcn.0044aa60
test eax, eax
jne 0x44b470
xor ebx, ebx
mov dword [esp], esi
call fcn.004bd938
mov eax, ebx
jmp 0x44b375
add esi, eax
mov eax, dword [esp + 0x9c]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
jmp 0x44b326
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
lea edx, [ecx + ebx]
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x44b30c
mov dword [esp + 0x10], 0x159
mov dword [esp + 0xc], str.external_boringssl_src_crypto_rsa_padding.c
mov dword [esp + 8], 0x72
mov dword [esp + 4], 0
mov dword [esp], 4
call sym.adb.exe_ERR_put_error
add esp, 0x7c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
call sym.adb.exe_EVP_sha1
mov edi, eax
jmp 0x44b254
xor eax, eax
test edi, edi
mov ecx, dword [esp + 0x28]
je 0x44b48e
lea esi, [esi]
movzx edx, byte [esi + eax]
xor byte [ecx + eax], dl
add eax, 1
cmp eax, edi
jne 0x44b480
mov eax, dword [esp + 0xac]
mov edx, ebx
mov ecx, dword [esp + 0x28]
mov dword [esp], edi
mov dword [esp + 4], eax
lea eax, [esp + 0x30]
call fcn.0044aa60
test eax, eax
je 0x44b3cb
test ebx, ebx
je 0x44b4d0
xor eax, eax
lea esi, [esi]
movzx edx, byte [esp + eax + 0x30]
xor byte [ebp + eax + 1], dl
add eax, 1
cmp eax, ebx
jne 0x44b4c0
mov ebx, 1
jmp 0x44b3cd
mov dword [esp + 0x10], 0x172
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
xor eax, eax
jmp 0x44b33f