Function at 0x609cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x4c], esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
test edx, edx
je 0x60a02a
test esi, esi
jne 0x609d0a
mov eax, dword [ebx]
mov ecx, ebx
push str.NULL_passed_to_CBC_decryptor
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14
cmp dword [edi + 0x80], 1
ja 0x609d36
mov eax, dword [edi]
push ebx
push dword [ebp - 0x48]
mov eax, dword [eax + 0x1c]
push edx
push esi
push ecx
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14
mov eax, edx
xor edx, edx
div dword [edi + 0x80]
mov dword [ebp - 0x38], eax
test edx, edx
je 0x609d8a
mov eax, dword [ebx]
mov ecx, ebx
push str.CBC_decrypt_input_not_a_multiple_of_the_cipher_block_size.
call dword [eax + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, ebx
push eax
push str.inputLen
call fcn.004b3290
push dword [edi + 0x80]
mov ecx, ebx
push str.cipherBlockSize
call fcn.004b3290
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14
mov al, byte [0x7da898]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 0x3d], al
call fcn.0046e290
mov ecx, eax
mov eax, dword [ebp + 0x10]
add eax, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x50], eax
lea ecx, [eax + 0x20]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004a2730
test al, al
jne 0x609dd8
mov eax, dword [ebx]
mov ecx, ebx
push str.Unable_to_allocate_CBC_decrypt_output_buffer.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
call fcn.004a2c70
cmp byte [ebp - 0x3d], 0
mov ebx, eax
mov ecx, dword [edi + 0x80]
mov dword [ebp - 8], ebx
je 0x609efc
push ecx
lea eax, [ebp - 0x34]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [edi + 0x80]
xor edx, edx
test eax, eax
je 0x609e53
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x24]
add esi, 8
lea ecx, [ebp - 0x24]
sub esi, eax
mov eax, ebx
sub eax, ecx
mov ebx, eax
lea ecx, [ebp - 0x24]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor al, byte [ecx]
mov byte [ecx + ebx], al
mov eax, dword [edi + 0x80]
cmp edx, eax
jb 0x609e35
mov esi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 8]
lea edx, [eax + ebx]
mov ebx, dword [ebp - 0x38]
lea ecx, [eax + esi]
mov dword [ebp - 0x4c], edx
sub ebx, 1
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ebx
je 0x609ed3
nop word [eax + eax]
push eax
push ecx
lea eax, [ebp - 0x34]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [edi + 0x80]
xor edx, edx
test eax, eax
je 0x609ebe
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp - 0x24]
sub esi, eax
sub ebx, eax
lea ecx, [ebp - 0x24]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor al, byte [ecx]
mov byte [ecx + ebx], al
mov eax, dword [edi + 0x80]
cmp edx, eax
jb 0x609ea3
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
add dword [ebp - 0x4c], eax
add ecx, eax
sub ebx, 1
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ebx
jne 0x609e70
xor edx, edx
test eax, eax
je 0x60a01f
mov ecx, dword [ebp - 0x44]
add ecx, 8
sub esi, ecx
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
inc edx
cmp edx, dword [edi + 0x80]
jb 0x609ee5
jmp 0x60a01f
cmp ecx, 0x10
jne 0x609fa5
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push esi
mov ecx, edi
call dword [eax + 0x14]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [edx + 8]
mov eax, dword [edx + 0xc]
xor eax, dword [ebp - 0x10]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 4], eax
xor ecx, dword [edx + 0x10]
mov eax, dword [ebp - 8]
xor eax, dword [edx + 0x14]
mov dword [ebx + 8], ecx
lea ecx, [esi + 0x10]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], ecx
je 0x609f8c
mov eax, dword [edi]
lea edx, [ebp - 0x14]
push edx
push ecx
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [esi + 4]
lea ebx, [ebx + 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [esi]
xor eax, dword [ebp - 0x10]
mov dword [ebx - 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx - 0xc], eax
xor ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
xor eax, dword [ebp - 8]
mov dword [ebx - 8], ecx
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
add ecx, 0x10
mov dword [ebx - 4], eax
sub dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], ecx
jne 0x609f46
mov edx, dword [ebp - 0x44]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
jmp 0x60a01f
cmp ecx, 8
jne 0x60a02a
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
push esi
mov ecx, edi
call dword [eax + 0x14]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
xor ecx, dword [edx + 8]
xor eax, dword [ebp - 8]
mov dword [ebx], ecx
lea ecx, [esi + 8]
mov dword [ebx + 4], eax
add ebx, 8
sub dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], ecx
je 0x60a014
nop dword [eax]
mov eax, dword [edi]
lea edx, [ebp - 0xc]
push edx
push ecx
mov ecx, edi
call dword [eax + 0x14]
mov ecx, dword [ebp - 0xc]
lea ebx, [ebx + 8]
xor ecx, dword [esi]
mov eax, dword [esi + 4]
xor eax, dword [ebp - 8]
mov dword [ebx - 8], ecx
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
add ecx, 8
mov dword [ebx - 4], eax
sub dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], ecx
jne 0x609fe0
mov edx, dword [ebp - 0x44]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
push dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
call fcn.004a4be0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14