Function at 0x1004b8d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x48
call fcn.10228380
mov eax, dword [0x1033b254]
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 0x1004b919
test esi, esi
je 0x1004b919
test eax, eax
je 0x1004b919
test ebx, ebx
jne 0x1004b930
push 0xc8
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 edi, dword [esp + 0x74]
cmp edi, 1
je 0x1004b954
test edi, edi
je 0x1004b954
push 0xc9
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
mov eax, dword [esp + 0x10]
test al, 0xf
je 0x1004b977
push 0xca
push str.crypto_aes_aes_ige.c
push str.assertion_failed:__length___AES_BLOCK_SIZE___0
call sym.libcrypto_3.dll_OPENSSL_die
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp edi, 1
jne 0x1004bb2d
lea edi, [ebx + 0x10]
mov ecx, ebx
cmp eax, 0x10
jb 0x1004ba5e
mov ebx, eax
shr ebx, 4
mov dword [esp + 0x18], ebx
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x1004b9a5
lea eax, [esi + 0xf]
cmp eax, ecx
jae 0x1004b9b3
lea eax, [ebp + 0xf]
cmp esi, eax
ja 0x1004b9e0
lea eax, [esi + 0xf]
cmp eax, ebp
jb 0x1004b9e0
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 0x1004b9c4
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jmp 0x1004b9ee
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_3.dll_AES_encrypt
lea eax, [edi + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x1004ba23
lea eax, [esi + 0xf]
cmp eax, edi
jb 0x1004ba23
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 0x1004ba13
jmp 0x1004ba30
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 0x1004b997
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
lea edx, [ebx + 0x20]
lea edi, [ebx + 0x30]
cmp eax, 0x10
jb 0x1004bceb
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 0x1004bab0
lea eax, [ebp - 1]
cmp eax, edx
jb 0x1004bab0
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 0x1004baa0
jmp 0x1004babd
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_3.dll_AES_encrypt
lea eax, [edi + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x1004baf2
lea eax, [ebp - 1]
cmp eax, edi
jb 0x1004baf2
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 0x1004bae2
jmp 0x1004baff
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 0x1004ba74
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1022836f
add esp, 0x48
ret
add dword [esp + 0x14], eax
lea ebp, [ebx + 0x20]
add esi, eax
lea edi, [ebx + 0x30]
cmp eax, 0x10
jb 0x1004bc18
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 0x1004bb9a
lea eax, [esp + 0x43]
cmp eax, edi
jb 0x1004bb9a
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 0x1004bb87
jmp 0x1004bbab
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_3.dll_AES_decrypt
lea eax, [ebp + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x1004bbe3
cmp dword [esp + 0x14], ebp
jb 0x1004bbe3
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 0x1004bbd3
jmp 0x1004bbf1
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 0x1004bb50
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
lea edi, [ebx + 0x10]
cmp eax, 0x10
jb 0x1004bceb
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 0x1004bc73
lea eax, [esp + 0x43]
cmp eax, edi
jb 0x1004bc73
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 0x1004bc60
jmp 0x1004bc84
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_3.dll_AES_decrypt
lea eax, [ebx + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x1004bcc0
lea eax, [esi + 0xf]
cmp eax, ebx
jb 0x1004bcc0
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 0x1004bcb0
jmp 0x1004bccd
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 0x1004bc30
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1022836f
add esp, 0x48
ret