Function at 0x1004b950
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x48
call fcn.1011d0a0
mov eax, dword [0x101a7890]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x5c]
push edi
test ebp, ebp
je 0x1004b999
test esi, esi
je 0x1004b999
test eax, eax
je 0x1004b999
test ebx, ebx
jne 0x1004b9b0
push 0xb7
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 edi, dword [esp + 0x74]
cmp edi, 1
je 0x1004b9d4
test edi, edi
je 0x1004b9d4
push 0xb8
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
mov eax, dword [esp + 0x10]
test al, 0xf
je 0x1004b9f7
push 0xb9
push str.crypto_aes_aes_ige.c
push str.assertion_failed:__length___AES_BLOCK_SIZE___0
call sym.libcrypto_1_1.dll_CPENSSL_die
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp edi, 1
jne 0x1004bbad
lea edi, [ebx + 0x10]
mov ecx, ebx
cmp eax, 0x10
jb 0x1004bade
mov ebx, eax
shr ebx, 4
mov dword [esp + 0x18], ebx
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x1004ba25
lea eax, [esi + 0xf]
cmp eax, ecx
jae 0x1004ba33
lea eax, [ebp + 0xf]
cmp esi, eax
ja 0x1004ba60
lea eax, [esi + 0xf]
cmp eax, ebp
jb 0x1004ba60
mov eax, esi
sub ebp, ecx
sub eax, ecx
mov edx, 0x10
mov dword [esp + 0x20], eax
mov ebx, eax
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub edx, 1
jne 0x1004ba44
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jmp 0x1004ba6e
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [ebp]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
push dword [esp + 0x1c]
push esi
push esi
call sym.libcrypto_1_1.dll_CES_encrypt
lea eax, [edi + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x1004baa3
lea eax, [esi + 0xf]
cmp eax, edi
jb 0x1004baa3
mov ecx, esi
sub edi, esi
mov edx, 0x10
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x1004ba93
jmp 0x1004bab0
movups xmm0, xmmword [esi]
movups xmm1, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [ebp]
mov ecx, esi
lea edi, [esp + 0x44]
add ebp, 0x10
add esi, 0x10
sub ebx, 1
mov dword [esp + 0x14], ebp
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x18], ebx
jne 0x1004ba17
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
lea edx, [ebx + 0x20]
lea edi, [ebx + 0x30]
cmp eax, 0x10
jb 0x1004bd6b
shr eax, 4
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esi - 0x10]
mov ebp, esi
lea eax, [edx + 0xf]
sub esi, 0x10
movups xmmword [esp + 0x34], xmm0
cmp esi, eax
ja 0x1004bb30
lea eax, [ebp - 1]
cmp eax, edx
jb 0x1004bb30
mov ecx, esi
sub edx, esi
mov ebx, 0x10
nop dword [eax]
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebx, 1
jne 0x1004bb20
jmp 0x1004bb3d
movups xmm1, xmmword [esi]
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
push dword [esp + 0x1c]
push esi
push esi
call sym.libcrypto_1_1.dll_CES_encrypt
lea eax, [edi + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x1004bb72
lea eax, [ebp - 1]
cmp eax, edi
jb 0x1004bb72
mov ecx, esi
sub edi, esi
mov edx, 0x10
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x1004bb62
jmp 0x1004bb7f
movups xmm0, xmmword [esi]
movups xmm1, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
sub dword [esp + 0x10], 1
lea edi, [esp + 0x44]
movups xmm0, xmmword [esp + 0x34]
mov edx, esi
movups xmmword [esp + 0x44], xmm0
jne 0x1004baf4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1011d087
add esp, 0x48
ret
add dword [esp + 0x14], eax
lea ebp, [ebx + 0x20]
add esi, eax
lea edi, [ebx + 0x30]
cmp eax, 0x10
jb 0x1004bc98
mov ebx, dword [esp + 0x14]
lea ecx, [esi + 0xf]
shr eax, 4
mov dword [esp + 0x18], eax
movups xmm0, xmmword [ebx - 0x10]
lea ebx, [ebx - 0x10]
sub ecx, 0x10
mov dword [esp + 0x14], ecx
lea eax, [edi + 0xf]
movups xmmword [esp + 0x34], xmm0
lea ecx, [esp + 0x34]
sub esi, 0x10
movups xmm0, xmmword [ebx]
xor edx, edx
movups xmmword [esp + 0x24], xmm0
cmp ecx, eax
ja 0x1004bc1a
lea eax, [esp + 0x43]
cmp eax, edi
jb 0x1004bc1a
mov eax, ecx
sub edi, eax
lea ecx, [esp + 0x34]
add ecx, edx
inc edx
mov al, byte [ecx + edi]
xor byte [ecx], al
cmp edx, 0x10
jb 0x1004bc07
jmp 0x1004bc2b
movups xmm0, xmmword [esp + 0x34]
movups xmm1, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esp + 0x34], xmm1
push dword [esp + 0x1c]
lea eax, [esp + 0x38]
push esi
push eax
call sym.libcrypto_1_1.dll_CES_decrypt
lea eax, [ebp + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x1004bc63
cmp dword [esp + 0x14], ebp
jb 0x1004bc63
mov ecx, esi
sub ebp, esi
mov edx, 0x10
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x1004bc53
jmp 0x1004bc71
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ebp]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
sub dword [esp + 0x18], 1
lea ebp, [esp + 0x44]
movups xmm0, xmmword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, esi
movups xmmword [esp + 0x44], xmm0
jne 0x1004bbd0
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
lea edi, [ebx + 0x10]
cmp eax, 0x10
jb 0x1004bd6b
shr eax, 4
mov dword [esp + 0x10], eax
nop dword [eax + eax]
movups xmm0, xmmword [esi]
lea eax, [edi + 0xf]
xor edx, edx
lea ecx, [esp + 0x34]
movups xmmword [esp + 0x34], xmm0
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x24], xmm0
cmp ecx, eax
ja 0x1004bcf3
lea eax, [esp + 0x43]
cmp eax, edi
jb 0x1004bcf3
mov eax, ecx
sub edi, eax
nop dword [eax]
lea ecx, [esp + 0x34]
add ecx, edx
inc edx
mov al, byte [ecx + edi]
xor byte [ecx], al
cmp edx, 0x10
jb 0x1004bce0
jmp 0x1004bd04
movups xmm0, xmmword [esp + 0x34]
movups xmm1, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esp + 0x34], xmm1
push dword [esp + 0x1c]
lea eax, [esp + 0x38]
push esi
push eax
call sym.libcrypto_1_1.dll_CES_decrypt
lea eax, [ebx + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x1004bd40
lea eax, [esi + 0xf]
cmp eax, ebx
jb 0x1004bd40
mov ecx, esi
sub ebx, esi
mov edx, 0x10
nop dword [eax]
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x1004bd30
jmp 0x1004bd4d
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ebx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [esp + 0x24]
mov edi, esi
lea ebx, [esp + 0x44]
add esi, 0x10
sub dword [esp + 0x10], 1
movups xmmword [esp + 0x44], xmm0
jne 0x1004bcb0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011d087
add esp, 0x48
ret