Function at 0x5b5350
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 0x5b5653
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x5b5387
mov ecx, dword [esp + 0x48]
push str.NULL_passed_to_CFB_encryptor
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 0x5b53b5
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 edi
push eax
mov ecx, ebp
call dword [edx + 0x18]
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 0x5b53d9
mov ecx, dword [esp + 0x48]
push str.CFB_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 0x5b53f3
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 esi, eax
add ebx, esi
mov dword [esp + 0x10], ebx
add ebx, 0x20
push ebx
call fcn.004e0920
test al, al
jne 0x5b5438
mov ecx, dword [esp + 0x48]
push str.Unable_to_allocate_CFB_encrypt_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 esi
call fcn.004ddaa0
mov esi, eax
mov al, byte [esp + 0x40]
test al, al
je 0x5b551d
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x80]
add eax, 8
mov dword [esp + 0x38], edi
test ecx, ecx
mov dword [esp + 0x40], eax
mov ebx, esi
jbe 0x5b547f
mov edx, ecx
mov esi, eax
lea edi, [esp + 0x14]
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 + 0x24]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x10]
mov eax, dword [ebp + 0x80]
xor ecx, ecx
test eax, eax
jbe 0x5b54d0
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x24]
mov edi, ebx
lea eax, [esp + 0x24]
sub esi, edx
sub edi, eax
lea edx, [esp + ecx + 0x24]
mov al, byte [esi + edx]
xor al, byte [edx]
inc ecx
mov byte [edi + edx], al
mov byte [esp + ecx + 0x13], al
cmp ecx, dword [ebp + 0x80]
jb 0x5b54b7
mov eax, dword [ebp + 0x80]
mov edx, dword [esp + 0x38]
add edx, eax
add ebx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], edx
dec eax
mov dword [esp + 0x48], eax
jne 0x5b5487
mov eax, dword [ebp + 0x80]
xor ecx, ecx
sub ebx, eax
test eax, eax
jbe 0x5b5645
mov eax, dword [esp + 0x40]
mov esi, ebx
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 0x5b5507
jmp 0x5b5645
mov eax, dword [ebp + 0x80]
cmp eax, 0x10
jne 0x5b55dd
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 [edi]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor eax, ecx
mov ecx, dword [edi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
xor ecx, edx
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x20]
xor edx, eax
mov eax, dword [edi + 0xc]
mov dword [esi + 8], edx
mov edx, dword [esi + 4]
xor eax, ecx
mov ecx, dword [esi]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
add edi, 0x10
add esi, 0x10
dec eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
jne 0x5b5554
mov edx, dword [esi - 0x10]
sub esi, 0x10
mov dword [ebx + 8], edx
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi + 8]
mov dword [ebx + 0x10], ecx
mov edx, dword [esi + 0xc]
mov dword [ebx + 0x14], edx
jmp 0x5b5645
cmp eax, 8
jne 0x5b5653
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 [edi]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor eax, ecx
mov ecx, dword [edi + 4]
mov dword [esi], eax
xor ecx, edx
add edi, 8
mov dword [esi + 4], ecx
mov edx, dword [esi]
mov eax, ecx
add esi, 8
dec ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jne 0x5b55f8
mov eax, dword [esp + 0x38]
mov ecx, dword [esi - 8]
mov dword [eax + 8], ecx
mov edx, dword [esi - 4]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
push eax
call fcn.004dfd50
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret 0x14