Function at 0x55a710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x34
push edi
mov edi, ecx
test eax, eax
jne 0x55a729
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 0x14
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x55a74a
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.NULL_passed_to_OFB_decryptor
call edx
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [edi + 0x80]
cmp ecx, 1
ja 0x55a774
mov ecx, dword [ebp + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
push eax
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, edi
call edx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0x14
xor edx, edx
div ecx
test edx, edx
je 0x55a795
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.OFB_decrypt_input_not_a_multiple_of_the_cipher_block_size.
call edx
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], eax
test eax, eax
je 0x55a7d4
mov al, byte [0x8a0274]
mov ecx, dword [ebp + 0x14]
mov byte [ebp + 0xf], al
call fcn.004033b0
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], eax
add eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
add eax, 0x20
push eax
call fcn.00413a50
test al, al
jne 0x55a7de
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.Unable_to_allocate_OFB_decrypt_output_buffer.
call eax
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 8]
push ebx
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.0040fc00
cmp byte [ebp + 0xf], 0
mov ebx, eax
je 0x55a8bb
mov edx, dword [ebp + 8]
mov dword [ebp + 8], esi
mov esi, ebx
mov ebx, dword [edi + 0x80]
add edx, 8
xor eax, eax
mov dword [ebp - 8], edx
mov dword [ebp + 0x18], esi
test ebx, ebx
je 0x55a835
lea ecx, [ebp - 0x34]
sub edx, ecx
mov dword [ebp + 0xc], edx
jmp 0x55a823
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + eax - 0x34]
mov dl, byte [edx + ecx]
mov byte [ebp + eax - 0x24], dl
inc eax
mov byte [ecx], dl
cmp eax, ebx
jb 0x55a820
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, edi
call edx
xor eax, eax
cmp dword [edi + 0x80], eax
jbe 0x55a882
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x24]
sub edx, esi
sub esi, ecx
mov dword [ebp + 0xc], esi
jmp 0x55a863
mov esi, dword [ebp + 0xc]
lea ecx, [ebp + eax - 0x24]
add esi, ecx
mov bl, byte [esi + edx]
xor bl, byte [ecx]
inc eax
mov byte [esi], bl
mov cl, byte [ecx]
mov byte [ebp + eax - 0x35], cl
cmp eax, dword [edi + 0x80]
jb 0x55a860
mov esi, dword [ebp + 0x18]
mov eax, dword [edi + 0x80]
add dword [ebp + 8], eax
add esi, eax
dec dword [ebp - 4]
mov dword [ebp + 0x18], esi
jne 0x55a835
xor ecx, ecx
test eax, eax
jbe 0x55a9d0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x24]
sub esi, eax
mov dl, byte [esi + eax]
mov byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [edi + 0x80]
jb 0x55a8a7
jmp 0x55a9d0
mov eax, dword [edi + 0x80]
cmp eax, 0x10
jne 0x55a975
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
sub ebx, esi
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, edi
call eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor edx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov dword [ebx + esi + 4], edx
mov dword [ebx + esi], ecx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
xor ecx, dword [ebp - 0x1c]
xor edx, eax
mov dword [ebx + esi + 0xc], edx
mov edx, dword [ebp - 0x20]
mov dword [ebx + esi + 8], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x1c]
add esi, 0x10
dec dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
jne 0x55a8f3
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x20]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0x14], eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.0040fe10
pop ebx
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 8
jne 0x55a9dc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
lea esp, [esp]
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xc]
push edx
mov ecx, edi
call eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
xor edx, eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 4], edx
add ebx, 8
add esi, 8
dec dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
jne 0x55a990
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0040fe10
pop ebx
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 0x14