Function at 0x58f9f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x50], ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
push edi
mov edi, dword [ebp + 0x18]
test edx, edx
je 0x58fcc7
test ebx, ebx
jne 0x58fa4a
mov eax, dword [edi]
mov ecx, edi
push str.NULL_passed_to_CFB_encryptor
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
cmp dword [esi + 0x80], 1
ja 0x58fa76
mov eax, dword [esi]
push edi
push dword [ebp - 0x3c]
mov eax, dword [eax + 0x18]
push edx
push ebx
push ecx
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esi + 0x80]
mov eax, edx
xor edx, edx
div ecx
test edx, edx
je 0x58faa7
mov eax, dword [edi]
mov ecx, edi
push str.CFB_input_not_a_multiple_of_the_cipher_block_size.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
xor edx, edx
div ecx
mov dword [ebp - 0x40], eax
test eax, eax
je 0x58fa35
mov al, byte [0x68f000]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 0x35], al
call fcn.00402f80
mov ecx, eax
mov eax, dword [ebp + 0x10]
add eax, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
lea ecx, [eax + 0x20]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.004386f0
test al, al
jne 0x58fb03
mov eax, dword [edi]
mov ecx, edi
push str.Unable_to_allocate_CFB_encrypt_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.005af618
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x3c]
call fcn.00438be0
cmp byte [ebp - 0x35], 0
mov edi, eax
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x48], edi
je 0x58fbce
mov eax, dword [ebp - 0x44]
add eax, 8
test ecx, ecx
je 0x58fb40
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
nop dword [eax + eax]
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], edi
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [esi + 0x80]
xor eax, eax
test ecx, ecx
je 0x58fb92
lea ecx, [ebp - 0x24]
sub ebx, ecx
lea edx, [ebp - 0x24]
mov ecx, edi
sub ecx, edx
mov dword [ebp - 0x30], ecx
mov edi, ecx
nop
lea edx, [ebp - 0x24]
add edx, eax
mov cl, byte [ebx + edx]
xor cl, byte [edx]
mov byte [edi + edx], cl
mov byte [ebp + eax - 0x14], cl
inc eax
mov ecx, dword [esi + 0x80]
cmp eax, ecx
jb 0x58fb70
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x50]
add ebx, ecx
add edi, ecx
sub dword [ebp - 0x40], 1
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], edi
jne 0x58fb40
xor edx, edx
test ecx, ecx
je 0x58fcbc
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x28]
add ecx, 8
sub ebx, ecx
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
inc edx
cmp edx, dword [esi + 0x80]
jb 0x58fbb7
jmp 0x58fcbc
cmp ecx, 0x10
jne 0x58fc66
mov edx, dword [ebp - 0x44]
sub ebx, edi
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [ebx + edi + 4]
lea edx, [edi + 8]
xor ecx, dword [ebp - 0x20]
lea edi, [edi + 0x10]
mov eax, dword [ebp - 0x24]
xor eax, dword [ebx + edi - 0x10]
mov dword [edi - 0x10], eax
mov dword [edi - 0xc], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebx + edi - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + edi - 4]
xor eax, dword [ebp - 0x18]
sub dword [ebp - 0x40], 1
mov dword [edx], ecx
mov dword [edx + 4], eax
movups xmm0, xmmword [edi - 0x10]
mov dword [ebp - 0x48], edx
movups xmmword [ebp - 0x14], xmm0
jne 0x58fbf4
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x28]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xc], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
jmp 0x58fcbc
cmp ecx, 8
jne 0x58fcc7
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
nop word [eax + eax]
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [ebx + 4]
lea ebx, [ebx + 8]
mov ecx, dword [ebp - 0x34]
lea edi, [edi + 8]
xor ecx, dword [ebx - 8]
xor edx, dword [ebp - 0x30]
sub dword [ebp - 0x40], 1
mov dword [edi - 8], ecx
mov dword [edi - 4], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
jne 0x58fc80
mov eax, dword [ebp - 0x44]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
push dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x3c]
call fcn.0043a9f0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14