Function at 0x1004bd80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4c
call fcn.1011d0a0
mov eax, dword [0x101a7890]
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 0x1004c0c6
test esi, esi
je 0x1004bdcd
test edi, edi
je 0x1004bdcd
test eax, eax
je 0x1004bdcd
test ebp, ebp
jne 0x1004bde1
push 0x2f
push str.crypto_aes_aes_ige.c
push str.assertion_failed:_in__out__key__ivec
call sym.libcrypto_1_1.dll_CPENSSL_die
add esp, 0xc
mov eax, dword [esp + 0x74]
cmp eax, 1
je 0x1004be02
test eax, eax
je 0x1004be02
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_CPENSSL_die
add esp, 0xc
test bl, 0xf
je 0x1004be1b
push 0x31
push str.crypto_aes_aes_ige.c
push str.assertion_failed:__length___AES_BLOCK_SIZE___0
call sym.libcrypto_1_1.dll_CPENSSL_die
add esp, 0xc
shr ebx, 4
cmp dword [esp + 0x74], 1
jne 0x1004bf76
cmp esi, edi
je 0x1004befa
mov eax, ebp
or eax, edi
or eax, esi
test al, 3
jne 0x1004befa
lea eax, [ebp + 0x10]
mov edx, ebp
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x1004bed9
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_CES_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 0x1004be63
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.1011d087
add esp, 0x4c
ret
movups xmm0, xmmword [ebp + 0x10]
movups xmm1, xmmword [ebp]
movups xmmword [esp + 0x28], xmm0
test ebx, ebx
je 0x1004bf5b
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_CES_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 0x1004bf10
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.1011d087
add esp, 0x4c
ret
cmp esi, edi
je 0x1004c056
mov eax, ebp
or eax, edi
or eax, esi
test al, 3
jne 0x1004c056
lea ecx, [ebp + 0x10]
mov eax, ebp
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x1004c035
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_CES_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 0x1004bfb3
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.1011d087
add esp, 0x4c
ret
movups xmm0, xmmword [ebp]
movups xmm2, xmmword [ebp + 0x10]
movups xmmword [esp + 0x28], xmm0
test ebx, ebx
je 0x1004c0be
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_CES_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 0x1004c070
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.1011d087
add esp, 0x4c
ret