Function at 0x5b5cb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x44]
push ebp
push esi
test ebx, ebx
push edi
mov ebp, ecx
je 0x5b5fc9
mov edi, dword [esp + 0x4c]
test edi, edi
jne 0x5b5ce7
mov ecx, dword [esp + 0x58]
push str.NULL_passed_to_OFB_decryptor
mov eax, dword [ecx]
call dword [eax + 0x14]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x34
ret 0x14
mov ecx, dword [ebp + 0x80]
cmp ecx, 1
ja 0x5b5d15
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [ebp]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push ebx
push edi
push eax
mov ecx, ebp
call dword [edx + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x14
mov eax, ebx
xor edx, edx
div ecx
test edx, edx
je 0x5b5d39
mov ecx, dword [esp + 0x58]
push str.OFB_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, 0x34
ret 0x14
mov eax, ebx
xor edx, edx
div ecx
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x5b5d53
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x34
ret 0x14
mov al, byte [0x724abc]
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x50], al
call fcn.005a8750
mov ecx, dword [esp + 0x54]
mov esi, eax
add ebx, esi
mov dword [esp + 0x10], ebx
add ebx, 0x20
push ebx
call fcn.004e0920
test al, al
jne 0x5b5d98
mov ecx, dword [esp + 0x58]
push str.Unable_to_allocate_OFB_decrypt_output_buffer.
mov edx, dword [ecx]
call dword [edx + 0x14]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x34
ret 0x14
mov ecx, dword [esp + 0x54]
push esi
call fcn.004ddaa0
mov esi, eax
mov al, byte [esp + 0x50]
test al, al
je 0x5b5e91
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], edi
mov edi, esi
mov esi, dword [ebp + 0x80]
lea ebx, [eax + 8]
xor eax, eax
test esi, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x58], edi
jbe 0x5b5de9
lea ecx, [esp + 0x34]
sub ebx, ecx
lea ecx, [esp + eax + 0x34]
inc eax
cmp eax, esi
mov dl, byte [ebx + ecx]
mov byte [esp + eax + 0x23], dl
mov byte [ecx], dl
jb 0x5b5dd7
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x50], edx
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, ebp
call dword [eax + 0x10]
mov ecx, dword [ebp + 0x80]
xor eax, eax
test ecx, ecx
jbe 0x5b5e40
mov esi, dword [esp + 0x48]
mov edx, edi
lea ecx, [esp + 0x24]
sub esi, edi
sub edx, ecx
lea ecx, [esp + eax + 0x24]
lea edi, [edx + ecx]
mov bl, byte [edi + esi]
xor bl, byte [ecx]
inc eax
mov byte [edi], bl
mov cl, byte [ecx]
mov byte [esp + eax + 0x33], cl
mov ecx, dword [ebp + 0x80]
cmp eax, ecx
jb 0x5b5e1d
mov edi, dword [esp + 0x58]
mov eax, dword [ebp + 0x80]
mov edx, dword [esp + 0x48]
add edx, eax
add edi, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], edx
dec eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x50], eax
jne 0x5b5df1
mov eax, dword [ebp + 0x80]
xor ecx, ecx
test eax, eax
jbe 0x5b5fbb
mov eax, dword [esp + 0x14]
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 0x5b5e7b
jmp 0x5b5fbb
mov eax, dword [ebp + 0x80]
cmp eax, 0x10
jne 0x5b5f5b
mov ebx, dword [esp + 0x48]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
mov edx, dword [ebp]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x10]
mov edx, dword [edi]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
xor edx, eax
mov eax, dword [edi + 4]
mov dword [esi], edx
xor eax, ecx
add edi, 0x10
mov dword [esi + 4], eax
mov ecx, dword [edi - 8]
mov eax, dword [esp + 0x2c]
mov edx, dword [edi - 4]
xor ecx, eax
mov eax, dword [esp + 0x30]
xor edx, eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x2c]
add esi, 0x10
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x48]
dec edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], edx
jne 0x5b5ed8
mov edx, dword [esp + 0x2c]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x14], eax
jmp 0x5b5fbb
cmp eax, 8
jne 0x5b5fc9
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
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 ecx, dword [edi]
mov eax, dword [esp + 0x24]
mov edx, dword [edi + 4]
xor ecx, eax
xor edx, dword [esp + 0x28]
mov dword [esi], ecx
mov ecx, dword [esp + 0x28]
add edi, 8
mov dword [esi + 4], edx
add esi, 8
dec ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x5b5f76
mov edx, dword [esp + 0x48]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
push eax
call fcn.004dfd50
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x34
ret 0x14