Function at 0x58f6e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
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 - 0x44], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x4c], ecx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x58], edi
test edx, edx
je 0x58f9cc
test edi, edi
jne 0x58f73d
mov eax, dword [esi]
mov ecx, esi
push str.NULL_passed_to_CFB_decryptor
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 [ebx + 0x80], 1
ja 0x58f769
mov eax, dword [ebx]
push esi
push dword [ebp - 0x44]
mov eax, dword [eax + 0x1c]
push edx
push edi
push ecx
mov ecx, ebx
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 [ebx + 0x80]
mov eax, edx
xor edx, edx
div ecx
test edx, edx
je 0x58f79a
mov eax, dword [esi]
mov ecx, esi
push str.CFB_decrypt_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 - 0x48], eax
test eax, eax
je 0x58f728
mov al, byte [0x68f000]
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 0x3d], al
call fcn.00402f80
mov ecx, eax
mov eax, dword [ebp + 0x10]
add eax, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
lea ecx, [eax + 0x20]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.004386f0
test al, al
jne 0x58f7f6
mov eax, dword [esi]
mov ecx, esi
push str.Unable_to_allocate_CFB_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.005af618
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
call fcn.00438be0
cmp byte [ebp - 0x3d], 0
mov esi, eax
mov ecx, dword [ebx + 0x80]
mov dword [ebp - 0x50], esi
je 0x58f8d9
mov eax, dword [ebp - 0x4c]
add eax, 8
test ecx, ecx
je 0x58f830
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
nop
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov esi, dword [ebx + 0x80]
xor edx, edx
test esi, esi
je 0x58f87e
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], edi
sub edi, eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x50]
sub eax, ecx
mov dword [ebp - 0x38], eax
nop
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor al, byte [ecx]
mov byte [esi + ecx], al
mov esi, dword [ebx + 0x80]
cmp edx, esi
jb 0x58f860
mov edi, dword [ebp - 0x58]
add dword [ebp - 0x50], esi
xor edx, edx
test esi, esi
je 0x58f8a2
mov ebx, edi
lea eax, [ebp - 0x24]
sub ebx, eax
nop
lea ecx, [ebp - 0x24]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
mov byte [ecx], al
cmp edx, esi
jb 0x58f890
mov ebx, dword [ebp - 8]
add edi, esi
sub dword [ebp - 0x48], 1
mov dword [ebp - 0x58], edi
jne 0x58f830
xor edx, edx
test esi, esi
je 0x58f9c1
mov ecx, dword [ebp - 0x4c]
lea esi, [ebp - 0x24]
add ecx, 8
sub esi, ecx
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
inc edx
cmp edx, dword [ebx + 0x80]
jb 0x58f8c2
jmp 0x58f9c1
cmp ecx, 0x10
jne 0x58f964
mov edx, dword [ebp - 0x4c]
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
nop dword [eax]
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov eax, dword [edi + 4]
lea esi, [esi + 0x10]
mov ecx, dword [ebp - 0x24]
lea edi, [edi + 0x10]
xor ecx, dword [edi - 0x10]
xor eax, dword [ebp - 0x20]
mov dword [esi - 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi - 0xc], eax
mov eax, dword [edi - 4]
xor ecx, dword [edi - 8]
xor eax, dword [ebp - 0x18]
sub dword [ebp - 0x48], 1
mov dword [esi - 8], ecx
mov dword [esi - 4], eax
movups xmm0, xmmword [edi - 0x10]
movups xmmword [ebp - 0x14], xmm0
jne 0x58f900
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
jmp 0x58f9c1
cmp ecx, 8
jne 0x58f9cc
mov ecx, dword [ebp - 0x4c]
sub esi, edi
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
nop word [eax + eax]
mov eax, dword [ebx]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov eax, dword [edi + 4]
lea edi, [edi + 8]
mov ecx, dword [ebp - 0x3c]
xor ecx, dword [edi - 8]
xor eax, dword [ebp - 0x38]
sub dword [ebp - 0x48], 1
mov dword [esi + edi - 8], ecx
mov dword [esi + edi - 4], eax
mov ecx, dword [edi - 8]
mov edx, dword [edi - 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jne 0x58f980
mov eax, dword [ebp - 0x4c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x44]
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