Function at 0x552400
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov edx, dword [0x7436c8]
test edx, edx
je 0x55260d
mov esi, eax
lea ebx, [eax + 0x258]
lea eax, [esp + 0x28]
mov dword [esp], eax
call dbg._gcry_sha1_mixblock_init
lea eax, [esi + 0x244]
mov edi, eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x244]
mov dword [esi + 0x258], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov edx, dword [esi]
lea eax, [esp + 0x28]
mov dword [esi + 0x26c], edx
mov edx, dword [esi + 4]
mov dword [esi + 0x270], edx
mov edx, dword [esi + 8]
mov dword [esi + 0x274], edx
mov edx, dword [esi + 0xc]
mov dword [esi + 0x278], edx
mov edx, dword [esi + 0x10]
mov dword [esi + 0x27c], edx
mov edx, dword [esi + 0x14]
mov dword [esi + 0x280], edx
mov edx, dword [esi + 0x18]
mov dword [esi + 0x284], edx
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x288], edx
mov edx, dword [esi + 0x20]
mov dword [esi + 0x28c], edx
mov edx, dword [esi + 0x24]
mov dword [esi + 0x290], edx
mov edx, dword [esi + 0x28]
mov dword [esi + 0x294], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dbg._gcry_sha1_mixblock
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x258]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [0x743694]
test eax, eax
je 0x552507
cmp esi, dword [0x743704]
je 0x5525f4
lea edi, [esi + 0x298]
mov ebp, esi
nop
lea ecx, [ebp + 0x40]
mov eax, ebx
mov edx, ebp
cmp ebx, ecx
ja 0x552590
nop
lea esi, [esi]
cmp ebx, edx
cmovbe edx, esi
add eax, 1
mov ecx, edx
lea edx, [edx + 1]
movzx ecx, byte [ecx]
mov byte [eax - 1], cl
cmp edi, eax
jne 0x552520
lea eax, [esp + 0x28]
mov dword [esp + 4], ebx
add ebp, 0x14
mov dword [esp], eax
call dbg._gcry_sha1_mixblock
mov eax, dword [ebx]
cmp dword [esp + 0x18], ebp
mov dword [ebp], eax
mov eax, dword [ebx + 4]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0x10], eax
jne 0x552510
cmp esi, dword [0x743704]
je 0x552631
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call dbg.__gcry_burn_stack
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp]
mov dword [ebx], eax
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebx + 0x3c], eax
jmp 0x552537
xor edx, edx
movzx eax, byte [edx + 0x743680]
xor byte [esi + edx], al
add edx, 1
cmp edx, 0x14
jne 0x5525f6
jmp 0x552507
mov dword [esp + 0xc], str.mix_pool
mov dword [esp + 8], 0x260
mov dword [esp + 4], str.random_csprng.c
mov dword [esp], str.pool_is_locked
call dbg._gcry_assert_failed
mov dword [esp + 8], 0x258
mov dword [esp + 4], esi
mov dword [esp], 0x743680
call dbg._gcry_sha1_hash_buffer
mov dword [0x743694], 1
jmp 0x552579