Function at 0x100050c9
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1006bfa0
mov eax, 0x4c
call fcn.10001f96
mov eax, dword [0x1025e3d4]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x5c]
push ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
push ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x1c], ebp
push esi
mov esi, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x64]
test ebx, ebx
je 0x1006c2e6
test esi, esi
je 0x1006bfed
test edi, edi
je 0x1006bfed
test eax, eax
je 0x1006bfed
test ebp, ebp
jne 0x1006c001
push 0x33
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 + 0x74]
cmp eax, 1
je 0x1006c022
test eax, eax
je 0x1006c022
push 0x34
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 0x1006c03b
push 0x35
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 + 0x74], 1
jne 0x1006c196
cmp esi, edi
je 0x1006c11a
mov eax, ebp
or eax, edi
or eax, esi
test al, 3
jne 0x1006c11a
lea eax, [ebp + 0x10]
mov edx, ebp
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x1006c0f9
mov eax, dword [ebp]
lea ecx, [esi + 8]
add edi, 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov ebp, edi
mov eax, dword [ecx - 8]
lea edi, [ecx - 8]
xor eax, dword [esp + 0x10]
lea esi, [ebp - 8]
push dword [esp + 0x20]
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 + 0x20]
lea ebp, [ebp + 0x10]
add esp, 0xc
mov edx, esi
mov eax, dword [ecx]
xor dword [esi], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 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 + 0x18]
add ecx, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
sub ebx, 1
jne 0x1006c083
mov ebp, dword [esp + 0x24]
movups xmm0, xmmword [edx]
pop edi
pop esi
movups xmmword [ebp], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp + 0x10], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100032f1
add esp, 0x4c
ret
movups xmm0, xmmword [ebp + 0x10]
movups xmm1, xmmword [ebp]
movups xmmword [esp + 0x28], xmm0
test ebx, ebx
je 0x1006c17b
mov ebp, dword [esp + 0x20]
nop
movups xmm0, xmmword [esi]
lea eax, [esp + 0x48]
push ebp
push eax
pxor xmm1, xmm0
push eax
movups xmmword [esp + 0x44], xmm0
movups xmmword [esp + 0x54], xmm1
call sym.libcrypto_1_1.dll_AES_encrypt
movups xmm1, xmmword [esp + 0x34]
add esp, 0xc
lea esi, [esi + 0x10]
lea edi, [edi + 0x10]
movups xmm0, xmmword [esp + 0x48]
pxor xmm1, xmm0
movups xmm0, xmmword [esp + 0x38]
movups xmmword [edi - 0x10], xmm1
movups xmmword [esp + 0x28], xmm0
sub ebx, 1
jne 0x1006c130
mov ebp, dword [esp + 0x24]
pop edi
pop esi
movups xmmword [ebp], xmm1
movups xmmword [ebp + 0x10], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100032f1
add esp, 0x4c
ret
cmp esi, edi
je 0x1006c276
mov eax, ebp
or eax, edi
or eax, esi
test al, 3
jne 0x1006c276
lea ecx, [ebp + 0x10]
mov eax, ebp
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x1006c255
mov ebp, dword [esp + 0x20]
lea edx, [esi + 8]
mov eax, ecx
mov dword [esp + 0x10], edx
add edi, 8
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [edx - 8]
lea esi, [edx - 8]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov eax, dword [edx - 4]
xor eax, dword [ecx + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 8]
xor eax, dword [edx]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 4]
xor eax, dword [ecx + 0xc]
mov dword [esp + 0x54], eax
lea eax, [edi - 8]
push ebp
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x50]
push eax
call sym.libcrypto_1_1.dll_AES_decrypt
mov edx, dword [esp + 0x20]
lea edi, [edi + 0x10]
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [edx]
xor dword [ecx], eax
mov eax, dword [ecx]
mov dword [esp + 0x18], 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
mov edx, dword [esp + 0x10]
add edx, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
sub ebx, 1
jne 0x1006c1d3
mov ebp, dword [esp + 0x24]
movups xmm0, xmmword [eax]
pop edi
pop esi
movups xmmword [ebp], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp + 0x10], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100032f1
add esp, 0x4c
ret
movups xmm0, xmmword [ebp]
movups xmm2, xmmword [ebp + 0x10]
movups xmmword [esp + 0x28], xmm0
test ebx, ebx
je 0x1006c2de
mov ebp, dword [esp + 0x20]
nop dword [eax + eax]
movups xmm0, xmmword [esi]
lea eax, [esp + 0x48]
movups xmm1, xmmword [esi]
push ebp
push eax
pxor xmm2, xmm0
push eax
movups xmmword [esp + 0x44], xmm1
movups xmmword [esp + 0x54], xmm2
call sym.libcrypto_1_1.dll_AES_decrypt
movups xmm2, xmmword [esp + 0x34]
add esp, 0xc
lea esi, [esi + 0x10]
lea edi, [edi + 0x10]
movups xmm0, xmmword [esp + 0x48]
pxor xmm2, xmm0
movups xmm0, xmmword [esp + 0x38]
movups xmmword [edi - 0x10], xmm2
movups xmmword [esp + 0x28], xmm0
sub ebx, 1
jne 0x1006c290
mov ebp, dword [esp + 0x24]
movups xmmword [ebp], xmm0
movups xmmword [ebp + 0x10], xmm2
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100032f1
add esp, 0x4c
ret