Function at 0x10068520
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10068520
mov eax, 0x44
call fcn.101704b0
mov eax, dword [0x101f2700]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], eax
push ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x10], ebp
push esi
mov esi, dword [esp + 0x54]
push edi
mov edi, dword [esp + 0x5c]
test ebx, ebx
je 0x1006884f
test esi, esi
je 0x1006856d
test edi, edi
je 0x1006856d
test eax, eax
je 0x1006856d
test ebp, ebp
jne 0x10068581
push 0x2f
push str.crypto_aes_aes_ige.c
push str.assertion_failed:_in__out__key__ivec
call sym.libcrypto_1_1.dll_OPENSSL_die
add esp, 0xc
mov eax, dword [esp + 0x6c]
cmp eax, 1
je 0x100685a2
test eax, eax
je 0x100685a2
push 0x30
push str.crypto_aes_aes_ige.c
push str.assertion_failed:__AES_ENCRYPT__enc____AES_DECRYPT__enc_
call sym.libcrypto_1_1.dll_OPENSSL_die
add esp, 0xc
test bl, 0xf
je 0x100685bb
push 0x31
push str.crypto_aes_aes_ige.c
push str.assertion_failed:__length___AES_BLOCK_SIZE___0
call sym.libcrypto_1_1.dll_OPENSSL_die
add esp, 0xc
shr ebx, 4
cmp dword [esp + 0x6c], 1
jne 0x1006870e
cmp esi, edi
je 0x10068687
mov eax, ebp
or eax, edi
or eax, esi
test al, 3
jne 0x10068687
lea eax, [ebp + 0x10]
mov edx, ebp
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x10068662
lea ecx, [esi + 8]
lea ebp, [edi + 8]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx - 8]
lea edi, [ecx - 8]
xor eax, dword [edx]
lea esi, [ebp - 8]
push dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [ecx - 4]
xor eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov eax, dword [edx + 8]
xor eax, dword [ecx]
mov dword [ebp], eax
mov eax, dword [ecx + 4]
xor eax, dword [edx + 0xc]
push esi
push esi
mov dword [ebp + 4], eax
call sym.libcrypto_1_1.dll_AES_encrypt
mov ecx, dword [esp + 0x28]
lea ebp, [ebp + 0x10]
add esp, 0xc
mov edx, esi
mov eax, dword [ecx]
xor dword [esi], eax
mov eax, dword [ecx + 4]
xor dword [ebp - 0x14], eax
mov eax, dword [ecx + 8]
xor dword [ebp - 0x10], eax
mov eax, dword [ecx + 0xc]
xor dword [ebp - 0xc], eax
mov eax, edi
mov ecx, dword [esp + 0x10]
add ecx, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
dec ebx
jne 0x100685f6
mov ebp, dword [esp + 0x18]
movdqu xmm0, xmmword [edx]
pop edi
pop esi
movdqu xmmword [ebp], xmm0
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebp + 0x10], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.101704a0
add esp, 0x44
ret
movdqu xmm0, xmmword [ebp + 0x10]
movdqu xmm1, xmmword [ebp]
movdqu xmmword [esp + 0x20], xmm0
test ebx, ebx
je 0x100686f1
mov ebp, dword [esp + 0x14]
nop
movdqu xmm0, xmmword [esi]
lea eax, [esp + 0x40]
push ebp
movdqu xmmword [esp + 0x34], xmm0
push eax
pxor xmm0, xmm1
push eax
movdqu xmmword [esp + 0x4c], xmm0
call sym.libcrypto_1_1.dll_AES_encrypt
movdqu xmm0, xmmword [esp + 0x2c]
add esp, 0xc
lea esi, [esi + 0x10]
lea edi, [edi + 0x10]
movdqu xmm1, xmmword [esp + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [esp + 0x30]
movdqu xmmword [edi - 0x10], xmm1
movdqu xmmword [esp + 0x20], xmm0
dec ebx
jne 0x100686a0
mov ebp, dword [esp + 0x18]
pop edi
pop esi
movdqu xmmword [ebp], xmm1
movdqu xmmword [ebp + 0x10], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.101704a0
add esp, 0x44
ret
cmp esi, edi
je 0x100687cf
mov eax, ebp
or eax, edi
or eax, esi
test al, 3
jne 0x100687cf
lea ecx, [ebp + 0x10]
mov eax, ebp
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x100687aa
add edi, 8
lea ebp, [esi + 8]
mov eax, dword [ecx]
lea esi, [ebp - 8]
xor eax, dword [esi]
push dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 4]
xor eax, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 8]
xor eax, dword [ebp]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 4]
xor eax, dword [ecx + 0xc]
mov dword [esp + 0x50], eax
lea eax, [edi - 8]
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
push eax
call sym.libcrypto_1_1.dll_AES_decrypt
mov edx, dword [esp + 0x1c]
lea ebp, [ebp + 0x10]
mov ecx, dword [esp + 0x28]
lea edi, [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x10], esi
mov eax, dword [edx]
xor dword [ecx], eax
mov eax, dword [edx + 4]
xor dword [edi - 0x14], eax
mov eax, dword [edx + 8]
xor dword [edi - 0x10], eax
mov eax, dword [edx + 0xc]
xor dword [edi - 0xc], eax
mov eax, esi
dec ebx
jne 0x10068737
mov ebp, dword [esp + 0x18]
movdqu xmm0, xmmword [eax]
pop edi
pop esi
movdqu xmmword [ebp], xmm0
movdqu xmm0, xmmword [ecx]
movdqu xmmword [ebp + 0x10], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.101704a0
add esp, 0x44
ret
movdqu xmm0, xmmword [ebp]
movdqu xmm2, xmmword [ebp + 0x10]
movdqu xmmword [esp + 0x20], xmm0
test ebx, ebx
je 0x10068845
mov ebp, dword [esp + 0x14]
jmp 0x100687f0
movdqu xmm0, xmmword [esi]
lea eax, [esp + 0x40]
movdqu xmm1, xmmword [esi]
push ebp
push eax
pxor xmm0, xmm2
push eax
movdqu xmmword [esp + 0x3c], xmm1
movdqu xmmword [esp + 0x4c], xmm0
call sym.libcrypto_1_1.dll_AES_decrypt
movdqu xmm0, xmmword [esp + 0x2c]
add esp, 0xc
lea esi, [esi + 0x10]
lea edi, [edi + 0x10]
movdqu xmm2, xmmword [esp + 0x40]
pxor xmm2, xmm0
movdqu xmm0, xmmword [esp + 0x30]
movdqu xmmword [edi - 0x10], xmm2
movdqu xmmword [esp + 0x20], xmm0
dec ebx
jne 0x100687f0
mov ebp, dword [esp + 0x18]
movdqu xmmword [ebp], xmm0
movdqu xmmword [ebp + 0x10], xmm2
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101704a0
add esp, 0x44
ret