Function at 0x6b402100
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], edi
mov dword [esp], eax
call sym.libcrypto_1_1.dll_AES_set_encrypt_key
test eax, eax
js 0x6b40232f
mov eax, dword [edi + 0xf0]
mov edx, edi
lea ebp, [eax*4]
test ebp, ebp
jle 0x6b402199
mov dword [esp + 0xc], edi
shl eax, 4
mov ecx, edi
xor ebx, ebx
add eax, edi
lea esi, [esi]
nop
mov esi, dword [ecx]
mov edx, dword [eax]
add ebx, 4
add ecx, 0x10
sub eax, 0x10
mov dword [ecx - 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [eax + 0x10], esi
mov esi, dword [ecx - 0xc]
mov dword [ecx - 0xc], edx
mov edx, dword [eax + 0x18]
mov dword [eax + 0x14], esi
mov esi, dword [ecx - 8]
mov dword [ecx - 8], edx
mov edx, dword [eax + 0x1c]
mov dword [eax + 0x18], esi
mov esi, dword [ecx - 4]
mov dword [ecx - 4], edx
mov dword [eax + 0x1c], esi
mov esi, ebp
sub esi, ebx
cmp ebx, esi
jl 0x6b402150
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0xf0]
mov ecx, 1
cmp eax, 1
jle 0x6b40232d
lea esi, [esi]
nop
mov esi, dword [edx + 0x10]
add edx, 0x10
add ecx, 1
mov ebx, esi
mov eax, esi
movzx ebx, bl
shr eax, 0x18
movzx ebp, byte [ebx*4 + 0x6b5c6940]
mov ebx, esi
movzx eax, byte [eax*4 + 0x6b5c6940]
shr ebx, 0x10
movzx ebx, bl
mov eax, dword [eax*4 + 0x6b5c5d40]
xor eax, dword [ebp*4 + 0x6b5c5140]
movzx ebx, byte [ebx*4 + 0x6b5c6940]
xor eax, dword [ebx*4 + 0x6b5c5940]
mov ebx, eax
mov eax, esi
mov esi, dword [edx + 4]
movzx eax, ah
movzx eax, byte [eax*4 + 0x6b5c6940]
xor ebx, dword [eax*4 + 0x6b5c5540]
mov eax, esi
mov dword [edx], ebx
mov ebx, esi
shr eax, 0x18
movzx ebx, bl
movzx eax, byte [eax*4 + 0x6b5c6940]
movzx ebp, byte [ebx*4 + 0x6b5c6940]
mov ebx, esi
shr ebx, 0x10
mov eax, dword [eax*4 + 0x6b5c5d40]
movzx ebx, bl
xor eax, dword [ebp*4 + 0x6b5c5140]
movzx ebx, byte [ebx*4 + 0x6b5c6940]
xor eax, dword [ebx*4 + 0x6b5c5940]
mov ebx, eax
mov eax, esi
mov esi, dword [edx + 8]
movzx eax, ah
movzx eax, byte [eax*4 + 0x6b5c6940]
xor ebx, dword [eax*4 + 0x6b5c5540]
mov eax, esi
mov dword [edx + 4], ebx
mov ebx, esi
shr eax, 0x18
movzx ebx, bl
movzx eax, byte [eax*4 + 0x6b5c6940]
movzx ebp, byte [ebx*4 + 0x6b5c6940]
mov ebx, esi
shr ebx, 0x10
mov eax, dword [eax*4 + 0x6b5c5d40]
movzx ebx, bl
xor eax, dword [ebp*4 + 0x6b5c5140]
movzx ebx, byte [ebx*4 + 0x6b5c6940]
xor eax, dword [ebx*4 + 0x6b5c5940]
mov ebx, eax
mov eax, esi
mov esi, dword [edx + 0xc]
movzx eax, ah
movzx eax, byte [eax*4 + 0x6b5c6940]
xor ebx, dword [eax*4 + 0x6b5c5540]
mov eax, esi
mov dword [edx + 8], ebx
mov ebx, esi
shr eax, 0x18
movzx ebx, bl
movzx eax, byte [eax*4 + 0x6b5c6940]
movzx ebp, byte [ebx*4 + 0x6b5c6940]
mov ebx, esi
shr ebx, 0x10
mov eax, dword [eax*4 + 0x6b5c5d40]
movzx ebx, bl
xor eax, dword [ebp*4 + 0x6b5c5140]
movzx ebx, byte [ebx*4 + 0x6b5c6940]
xor eax, dword [ebx*4 + 0x6b5c5940]
mov ebx, eax
mov eax, esi
movzx eax, ah
movzx eax, byte [eax*4 + 0x6b5c6940]
xor ebx, dword [eax*4 + 0x6b5c5540]
mov dword [edx + 0xc], ebx
cmp dword [edi + 0xf0], ecx
jg 0x6b4021b0
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
pop ebp
ret