Function at 0x1004bd00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4c
call fcn.10228380
mov eax, dword [0x1033b254]
xor eax, esp
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov ebx, ecx
push esi
mov esi, dword [esp + 0x5c]
shr ebx, 4
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
push edi
mov edi, dword [esp + 0x64]
test ecx, ecx
je 0x1004c047
test esi, esi
je 0x1004bd52
test edi, edi
je 0x1004bd52
test eax, eax
je 0x1004bd52
test ebp, ebp
jne 0x1004bd66
push 0x3a
push str.crypto_aes_aes_ige.c
push str.assertion_failed:_in__out__key__ivec
call sym.libcrypto_3.dll_OPENSSL_die
add esp, 0xc
mov eax, dword [esp + 0x74]
cmp eax, 1
je 0x1004bd87
test eax, eax
je 0x1004bd87
push 0x3b
push str.crypto_aes_aes_ige.c
push str.assertion_failed:__AES_ENCRYPT__enc____AES_DECRYPT__enc_
call sym.libcrypto_3.dll_OPENSSL_die
add esp, 0xc
test byte [esp + 0x68], 0xf
je 0x1004bda2
push 0x3c
push str.crypto_aes_aes_ige.c
push str.assertion_failed:__length___AES_BLOCK_SIZE___0
call sym.libcrypto_3.dll_OPENSSL_die
add esp, 0xc
cmp dword [esp + 0x74], 1
jne 0x1004bf06
cmp esi, edi
je 0x1004be87
mov eax, ebp
or eax, edi
or eax, esi
test al, 3
jne 0x1004be87
lea eax, [ebp + 0x10]
mov edx, ebp
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x1004be66
mov eax, dword [ebp]
lea ecx, [esi + 8]
add edi, 8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov ebp, edi
nop word [eax + eax]
mov eax, dword [ecx - 8]
lea edi, [ecx - 8]
xor eax, dword [esp + 0x24]
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_3.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 [esi]
mov dword [esp + 0x24], 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
sub ebx, 1
jne 0x1004bdf0
mov ebp, dword [esp + 0x18]
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.1022836f
add esp, 0x4c
ret
movups xmm0, xmmword [ebp + 0x10]
movups xmm1, xmmword [ebp]
movups xmmword [esp + 0x28], xmm0
test ebx, ebx
je 0x1004beeb
mov ebp, dword [esp + 0x14]
nop dword [eax]
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_3.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 0x1004bea0
mov ebp, dword [esp + 0x18]
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.1022836f
add esp, 0x4c
ret
cmp esi, edi
je 0x1004bfdc
mov eax, ebp
or eax, edi
or eax, esi
test al, 3
jne 0x1004bfdc
lea edx, [ebp + 0x10]
mov eax, ebp
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x1c], edx
test ebx, ebx
je 0x1004bfbc
mov edx, dword [edx]
lea ebp, [esi + 8]
add edi, 8
nop dword [eax + eax]
mov eax, dword [ebp - 8]
lea esi, [ebp - 8]
push dword [esp + 0x14]
xor eax, edx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp - 4]
xor eax, dword [ecx + 4]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 8]
xor eax, dword [ebp]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 4]
xor eax, dword [ecx + 0xc]
mov dword [esp + 0x58], eax
lea eax, [edi - 8]
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x50]
push eax
call sym.libcrypto_3.dll_AES_decrypt
mov edx, dword [esp + 0x1c]
lea ebp, [ebp + 0x10]
mov ecx, dword [esp + 0x2c]
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
mov edx, dword [ecx]
sub ebx, 1
jne 0x1004bf40
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movups xmm0, xmmword [eax]
pop edi
pop esi
movups xmmword [ebp], xmm0
pop ebp
movups xmm0, xmmword [ecx]
pop ebx
movups xmmword [edx], xmm0
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1022836f
add esp, 0x4c
ret
movups xmm0, xmmword [ebp]
movups xmm2, xmmword [ebp + 0x10]
movups xmmword [esp + 0x28], xmm0
test ebx, ebx
je 0x1004c03f
mov ebp, dword [esp + 0x14]
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_3.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 0x1004bff1
mov ebp, dword [esp + 0x18]
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.1022836f
add esp, 0x4c
ret