Function at 0x534ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
test edi, edi
jne 0x534adb
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0x14
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x534afd
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.NULL_passed_to_CBC_decryptor
call edx
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esi + 0x80]
cmp ecx, 1
ja 0x534b28
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [eax + 0x1c]
push edi
push ebx
push ecx
mov ecx, esi
call edx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
xor edx, edx
mov eax, edi
div ecx
test edx, edx
je 0x534b6e
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push str.CBC_decrypt_input_not_a_multiple_of_the_cipher_block_size.
mov ecx, ebx
call edx
push edi
push str.inputLen
mov ecx, ebx
call fcn.00459e80
mov eax, dword [esi + 0x80]
push eax
push str.cipherBlockSize
mov ecx, ebx
call fcn.00459e80
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov cl, byte [0x68782a]
mov byte [ebp + 0xf], cl
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
call fcn.004078c0
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edi, eax
lea eax, [edi + edx]
mov dword [ebp + 0x10], eax
add eax, 0x20
push eax
call fcn.00420200
test al, al
jne 0x534bb7
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.Unable_to_allocate_CBC_decrypt_output_buffer.
call edx
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x14]
push edi
call fcn.0041b720
cmp byte [ebp + 0xf], 0
mov edi, eax
je 0x534cf9
mov ecx, dword [esi + 0x80]
mov eax, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x34]
add eax, 8
push ebx
push edx
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], ebx
call sub.MSVCR100.dll_memcpy
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
call eax
xor eax, eax
mov dword [ebp + 8], eax
cmp dword [esi + 0x80], eax
jbe 0x534c3e
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x24]
sub ecx, edx
mov dword [ebp + 0x18], ecx
mov ecx, edi
sub ecx, edx
lea esp, [esp]
mov edx, dword [ebp + 0x18]
lea eax, [ebp + eax - 0x24]
mov dl, byte [edx + eax]
xor dl, byte [eax]
mov byte [ecx + eax], dl
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [esi + 0x80]
jb 0x534c20
mov eax, dword [esi + 0x80]
add ebx, eax
add eax, edi
dec dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 8], eax
je 0x534cc4
mov eax, dword [esi + 0x80]
lea esp, [esp]
push eax
lea eax, [ebp - 0x34]
push ebx
push eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x80]
xor ecx, ecx
test eax, eax
je 0x534caf
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x24]
sub edi, eax
sub edx, eax
lea eax, [ebp + ecx - 0x24]
mov bl, byte [edi + eax]
xor bl, byte [eax]
inc ecx
mov byte [edx + eax], bl
mov eax, dword [esi + 0x80]
cmp ecx, eax
jb 0x534c95
mov ebx, dword [ebp + 0x18]
mov ecx, dword [esi + 0x80]
add dword [ebp + 8], ecx
mov edi, ebx
add ebx, ecx
dec dword [ebp - 4]
mov dword [ebp + 0x18], ebx
jne 0x534c60
xor ecx, ecx
cmp dword [esi + 0x80], ecx
jbe 0x534ce2
mov eax, dword [ebp - 8]
sub edi, eax
mov dl, byte [edi + eax]
mov byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esi + 0x80]
jb 0x534cd3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0041b930
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esi + 0x80]
cmp eax, 0x10
jne 0x534dc7
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x14]
push eax
push ebx
mov ecx, esi
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
xor ecx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x10]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
xor ecx, dword [ebp - 0xc]
xor edx, dword [ebp - 8]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
lea ecx, [ebx + 0x10]
add edi, 0x10
dec dword [ebp - 4]
mov dword [ebp + 0x18], ecx
je 0x534d99
lea ebx, [ebx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
xor eax, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x10]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, dword [ebx + 0xc]
xor eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
xor edx, dword [ebp - 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 8], edx
mov ebx, eax
add eax, 0x10
add edi, 0x10
dec dword [ebp - 4]
mov dword [ebp + 0x18], eax
jne 0x534d50
mov eax, dword [ebp + 8]
mov ecx, dword [ebx]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 0xc], edx
mov ecx, dword [ebx + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0041b930
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 8
jne 0x534e4e
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0xc]
push eax
push ebx
mov ecx, esi
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
xor ecx, dword [ebp - 0xc]
xor edx, dword [ebp - 8]
mov dword [edi], ecx
mov dword [edi + 4], edx
lea ecx, [ebx + 8]
add edi, 8
dec dword [ebp - 4]
mov dword [ebp + 0x18], ecx
je 0x534e37
mov ecx, dword [ebp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [ebx]
xor eax, dword [ebp - 0xc]
mov ecx, dword [ebx + 4]
xor ecx, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 4], ecx
mov ebx, eax
add eax, 8
add edi, 8
dec dword [ebp - 4]
mov dword [ebp + 0x18], eax
jne 0x534e00
mov eax, dword [ebp + 8]
mov edx, dword [ebx]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 4]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x14]
push edx
call fcn.0041b930
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0x14