Function at 0x5b5660
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
test ebx, ebx
push edi
mov ebp, ecx
je 0x5b5974
mov esi, dword [esp + 0x3c]
test esi, esi
jne 0x5b5697
mov ecx, dword [esp + 0x48]
push str.NULL_passed_to_CFB_decryptor
mov eax, dword [ecx]
call dword [eax + 0x14]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 0x14
mov ecx, dword [ebp + 0x80]
cmp ecx, 1
ja 0x5b56c5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push ebx
push esi
push eax
mov ecx, ebp
call dword [edx + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x14
mov eax, ebx
xor edx, edx
div ecx
test edx, edx
je 0x5b56e9
mov ecx, dword [esp + 0x48]
push str.CFB_decrypt_input_not_a_multiple_of_the_cipher_block_size.
mov edx, dword [ecx]
call dword [edx + 0x14]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 0x14
mov eax, ebx
xor edx, edx
div ecx
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x5b5703
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 0x14
mov al, byte [0x724abc]
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x40], al
call fcn.005a8750
mov ecx, dword [esp + 0x44]
mov edi, eax
add ebx, edi
mov dword [esp + 0x10], ebx
add ebx, 0x20
push ebx
call fcn.004e0920
test al, al
jne 0x5b5748
mov ecx, dword [esp + 0x48]
push str.Unable_to_allocate_CFB_decrypt_output_buffer.
mov edx, dword [ecx]
call dword [edx + 0x14]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 0x14
mov ecx, dword [esp + 0x44]
push edi
call fcn.004ddaa0
mov edi, eax
mov al, byte [esp + 0x40]
test al, al
je 0x5b5848
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x80]
add eax, 8
mov ebx, esi
test ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], edi
jbe 0x5b578f
mov edx, ecx
mov esi, eax
lea edi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov edx, dword [ebp]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x10]
mov eax, dword [ebp + 0x80]
xor ecx, ecx
test eax, eax
jbe 0x5b57de
mov edi, dword [esp + 0x38]
mov esi, ebx
lea edx, [esp + 0x14]
lea eax, [esp + 0x14]
sub esi, edx
sub edi, eax
lea eax, [esp + ecx + 0x14]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
mov byte [edi + eax], dl
mov eax, dword [ebp + 0x80]
cmp ecx, eax
jb 0x5b57c7
mov ecx, dword [ebp + 0x80]
mov esi, dword [esp + 0x38]
add esi, ecx
xor eax, eax
test ecx, ecx
mov dword [esp + 0x38], esi
jbe 0x5b580a
mov edi, ebx
lea edx, [esp + 0x24]
sub edi, edx
lea esi, [esp + eax + 0x24]
inc eax
cmp eax, ecx
mov dl, byte [edi + esi]
mov byte [esi], dl
jb 0x5b57fc
mov eax, dword [esp + 0x48]
add ebx, ecx
dec eax
mov dword [esp + 0x48], eax
jne 0x5b5797
mov eax, dword [ebp + 0x80]
xor ecx, ecx
test eax, eax
jbe 0x5b583e
mov eax, dword [esp + 0x40]
lea esi, [esp + 0x24]
sub esi, eax
mov dl, byte [esi + eax]
inc ecx
mov byte [eax], dl
mov edx, dword [ebp + 0x80]
inc eax
cmp ecx, edx
jb 0x5b582d
mov eax, dword [esp + 0x10]
push eax
jmp 0x5b596b
mov eax, dword [ebp + 0x80]
cmp eax, 0x10
jne 0x5b5902
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor eax, ecx
mov ecx, dword [esi + 4]
mov dword [edi], eax
xor ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 4], ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
xor edx, eax
mov eax, dword [esp + 0x20]
mov dword [edi + 8], edx
xor eax, ecx
add esi, 0x10
mov dword [edi + 0xc], eax
mov edx, dword [esi - 8]
mov eax, dword [esi - 0x10]
mov ecx, dword [esi - 0xc]
mov dword [esp + 0x2c], edx
mov edx, dword [esi - 4]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x38]
add edi, 0x10
dec edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edx
jne 0x5b587f
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
jmp 0x5b5966
cmp eax, 8
jne 0x5b5974
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, ebp
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor eax, ecx
mov ecx, dword [esi + 4]
mov dword [edi], eax
xor ecx, edx
add esi, 8
mov dword [edi + 4], ecx
mov eax, dword [esi - 8]
mov ecx, dword [esi - 4]
add edi, 8
dec ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x5b591d
mov edx, dword [esp + 0x38]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x10]
push edx
mov ecx, dword [esp + 0x48]
call fcn.004dfd50
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret 0x14