Function at 0x10067f90
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10067f90
mov eax, 0x48
call fcn.101704b0
mov eax, dword [0x101f2700]
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 0x10067fd9
test esi, esi
je 0x10067fd9
test eax, eax
je 0x10067fd9
test ebx, ebx
jne 0x10067ff0
push 0xb7
push str.crypto_aes_aes_ige.c
push str.assertion_failed:_in__out__key__ivec
call sym.libcrypto_1_1.dll_OPENSSL_die
add esp, 0xc
mov edi, dword [esp + 0x74]
cmp edi, 1
je 0x10068014
test edi, edi
je 0x10068014
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_OPENSSL_die
add esp, 0xc
mov eax, dword [esp + 0x10]
test al, 0xf
je 0x10068037
push 0xb9
push str.crypto_aes_aes_ige.c
push str.assertion_failed:__length___AES_BLOCK_SIZE___0
call sym.libcrypto_1_1.dll_OPENSSL_die
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp edi, 1
jne 0x100681ff
lea edi, [ebx + 0x10]
mov ecx, ebx
cmp eax, 0x10
jb 0x10068122
mov ebx, eax
shr ebx, 4
mov dword [esp + 0x18], ebx
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x10068065
lea eax, [esi + 0xf]
cmp eax, ecx
jae 0x10068073
lea eax, [ebp + 0xf]
cmp esi, eax
ja 0x100680a0
lea eax, [esi + 0xf]
cmp eax, ebp
jb 0x100680a0
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
dec edx
jne 0x10068084
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jmp 0x100680b1
movdqu xmm1, xmmword [ebp]
movdqu xmm0, xmmword [ecx]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
push dword [esp + 0x1c]
push esi
push esi
call sym.libcrypto_1_1.dll_AES_encrypt
lea eax, [edi + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x100680e4
lea eax, [esi + 0xf]
cmp eax, edi
jb 0x100680e4
mov ecx, esi
sub edi, esi
mov edx, 0x10
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x100680d6
jmp 0x100680f4
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edi]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
movdqu xmm0, xmmword [ebp]
mov ecx, esi
lea edi, [esp + 0x44]
add ebp, 0x10
add esi, 0x10
dec ebx
mov dword [esp + 0x14], ebp
movdqu xmmword [esp + 0x44], xmm0
mov dword [esp + 0x18], ebx
jne 0x10068057
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
lea edx, [ebx + 0x20]
lea edi, [ebx + 0x30]
cmp eax, 0x10
jb 0x100683ef
shr eax, 4
mov dword [esp + 0x10], eax
jmp 0x10068140
movdqu xmm0, xmmword [esi - 0x10]
sub esi, 0x10
lea eax, [edx + 0xf]
movdqu xmmword [esp + 0x34], xmm0
cmp esi, eax
ja 0x10068173
lea eax, [esi + 0xf]
cmp eax, edx
jb 0x10068173
mov ecx, esi
sub edx, esi
mov ebx, 0x10
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec ebx
jne 0x10068165
jmp 0x10068183
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edx]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
push dword [esp + 0x1c]
push esi
push esi
call sym.libcrypto_1_1.dll_AES_encrypt
lea eax, [edi + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x100681c0
lea eax, [esi + 0xf]
cmp eax, edi
jb 0x100681c0
mov ecx, esi
sub edi, esi
mov edx, 0x10
jmp 0x100681b0
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x100681b0
jmp 0x100681d0
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edi]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
dec dword [esp + 0x10]
lea edi, [esp + 0x44]
movdqu xmm0, xmmword [esp + 0x34]
mov edx, esi
movdqu xmmword [esp + 0x44], xmm0
jne 0x10068140
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101704a0
add esp, 0x48
ret
add dword [esp + 0x14], eax
lea ebp, [ebx + 0x20]
add esi, eax
lea edi, [ebx + 0x30]
cmp eax, 0x10
jb 0x10068309
mov ebx, dword [esp + 0x14]
lea ecx, [esi + 0xf]
shr eax, 4
mov dword [esp + 0x18], eax
movdqu xmm1, xmmword [ebx - 0x10]
sub ecx, 0x10
lea ebx, [ebx - 0x10]
movdqu xmm0, xmmword [ebx]
mov dword [esp + 0x14], ecx
lea eax, [edi + 0xf]
lea ecx, [esp + 0x34]
sub esi, 0x10
xor edx, edx
movdqu xmmword [esp + 0x34], xmm1
movdqu xmmword [esp + 0x24], xmm0
cmp ecx, eax
ja 0x10068280
lea eax, [esp + 0x43]
cmp eax, edi
jb 0x10068280
mov eax, ecx
sub edi, eax
lea ecx, [ecx]
lea ecx, [esp + 0x34]
add ecx, edx
inc edx
mov al, byte [ecx + edi]
xor byte [ecx], al
cmp edx, 0x10
jb 0x10068260
jmp 0x1006828e
movdqu xmm0, xmmword [edi]
pxor xmm0, xmm1
movdqu xmmword [esp + 0x34], xmm0
push dword [esp + 0x1c]
lea eax, [esp + 0x38]
push esi
push eax
call sym.libcrypto_1_1.dll_AES_decrypt
lea eax, [ebp + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x100682d0
cmp dword [esp + 0x14], ebp
jb 0x100682d0
mov ecx, esi
sub ebp, esi
mov edx, 0x10
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x100682b6
jmp 0x100682e1
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [ebp]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
dec dword [esp + 0x18]
lea ebp, [esp + 0x44]
movdqu xmm0, xmmword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, esi
movdqu xmmword [esp + 0x44], xmm0
jne 0x10068222
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
lea edi, [ebx + 0x10]
cmp eax, 0x10
jb 0x100683ef
shr eax, 4
mov dword [esp + 0x10], eax
lea esp, [esp]
movdqu xmm1, xmmword [esi]
lea eax, [edi + 0xf]
xor edx, edx
movdqu xmm0, xmmword [esi]
lea ecx, [esp + 0x34]
movdqu xmmword [esp + 0x34], xmm1
movdqu xmmword [esp + 0x24], xmm0
cmp ecx, eax
ja 0x10068370
lea eax, [esp + 0x43]
cmp eax, edi
jb 0x10068370
mov eax, ecx
sub edi, eax
lea ecx, [ecx]
lea ecx, [esp + 0x34]
add ecx, edx
inc edx
mov al, byte [ecx + edi]
xor byte [ecx], al
cmp edx, 0x10
jb 0x10068350
jmp 0x1006837e
movdqu xmm0, xmmword [edi]
pxor xmm0, xmm1
movdqu xmmword [esp + 0x34], xmm0
push dword [esp + 0x1c]
lea eax, [esp + 0x38]
push esi
push eax
call sym.libcrypto_1_1.dll_AES_decrypt
lea eax, [ebx + 0xf]
add esp, 0xc
cmp esi, eax
ja 0x100683c0
lea eax, [esi + 0xf]
cmp eax, ebx
jb 0x100683c0
mov ecx, esi
sub ebx, esi
mov edx, 0x10
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x100683a7
jmp 0x100683d0
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [ebx]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
movdqu xmm0, xmmword [esp + 0x24]
mov edi, esi
lea ebx, [esp + 0x44]
add esi, 0x10
dec dword [esp + 0x10]
movdqu xmmword [esp + 0x44], xmm0
jne 0x10068320
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101704a0
add esp, 0x48
ret