Function at 0x14023ac10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x340
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov rdi, r9
movzx r13d, dl
mov byte [rsp + 0x20], dl
mov r14, rcx
mov rsi, qword [rsp + 0x3a8]
mov r12, qword [rsp + 0x3b8]
mov qword [rsp + 0x28], r12
mov rbx, qword [rsp + 0x3c0]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
movzx r9d, byte [rbx + 0x162]
lea r8, str.gcm_process
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400f6520
nop
mov ebp, dword [rsp + 0x3b0]
test ebp, ebp
je 0x14023acea
test rsi, rsi
jne 0x14023acea
mov rax, qword [rbx]
lea rdx, str.NULL_input.
mov rcx, rbx
call qword [rax + 0x28]
xor bl, bl
lea rcx, [rsp + 0x38]
call fcn.1400f65e0
movzx eax, bl
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.1402545b0
mov rbx, qword [rsp + 0x388]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, r12
call fcn.1400e6bc0
mov r15d, eax
add eax, ebp
mov dword [rsp + 0x30], eax
lea edx, [rax + 0x20]
mov rcx, r12
call fcn.1400e63a0
test al, al
jne 0x14023ad16
mov rax, qword [rbx]
lea rdx, str.Unable_to_allocate_GCM_output_buffer.
jmp 0x14023acaa
mov edx, r15d
mov rcx, r12
test r13b, r13b
je 0x14023ad2e
mov rbp, rsi
call fcn.1400e6860
mov rsi, rax
jmp 0x14023ad36
call fcn.1400e6860
mov rbp, rax
movzx r15d, byte [0x14043bd70]
movsxd rax, dword [rdi + 0x558]
cmp eax, 0x10
ja 0x14023acb0
mov ecx, dword [rdi + 0x554]
cmp ecx, 1
jne 0x14023adfb
test eax, eax
je 0x14023adb4
shl rax, 3
add qword [rdi + 0x560], rax
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x1c0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x1c0]
call fcn.1400f7ec0
nop
lea rdx, [rdi + 0x510]
lea r8, [rsp + 0x1c0]
mov rcx, rdi
call fcn.14023a970
nop
lea rcx, [rsp + 0x1c0]
call fcn.1400f7ef0
lea rcx, [rdi + 0x52f]
mov rdx, 0xfffffffffffffae0
sub rdx, rdi
add byte [rcx], 1
jne 0x14023add7
dec rcx
lea rax, [rdx + rcx]
cmp rax, 0xc
jge 0x14023adc5
mov rax, qword [r14]
lea r8, [rdi + 0x540]
lea rdx, [rdi + 0x520]
mov rcx, r14
call qword [rax + 0x20]
mov qword [rdi + 0x554], 2
jmp 0x14023ae04
cmp ecx, 2
jne 0x14023acb0
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x50]
call fcn.1400f7ec0
nop
xor ebx, ebx
cmp dword [rdi + 0x558], ebx
jne 0x14023b42c
mov r12d, dword [rsp + 0x3b0]
and r12d, 0xfffffff0
test r13b, r13b
je 0x14023b133
test r15b, r15b
je 0x14023b09f
test r12d, r12d
je 0x14023b427
lea r11, [rdi + 0x510]
mov r15, 0xfffffffffffffae0
sub r15, rdi
nop word [rax + rax]
lea r9, [rdi + 0x546]
mov r10d, 2
nop dword [rax]
movzx ecx, byte [rbx + rbp + 7]
shl rcx, 8
movzx eax, byte [rbx + rbp + 6]
or rcx, rax
shl rcx, 8
movzx eax, byte [rbx + rbp + 5]
or rcx, rax
shl rcx, 8
movzx eax, byte [rbx + rbp + 4]
or rcx, rax
shl rcx, 8
movzx eax, byte [rbx + rbp + 3]
or rcx, rax
shl rcx, 8
movzx eax, byte [rbx + rbp + 2]
or rcx, rax
shl rcx, 8
movzx eax, byte [rbx + rbp + 1]
or rcx, rax
shl rcx, 8
movzx eax, byte [rbx + rbp]
or rcx, rax
movzx r8d, byte [r9 + 1]
shl r8, 8
movzx eax, byte [r9]
or r8, rax
shl r8, 8
movzx eax, byte [r9 - 1]
or r8, rax
shl r8, 8
movzx eax, byte [r9 - 2]
or r8, rax
shl r8, 8
movzx eax, byte [r9 - 3]
or r8, rax
shl r8, 8
movzx eax, byte [r9 - 4]
or r8, rax
shl r8, 8
movzx eax, byte [r9 - 5]
or r8, rax
shl r8, 8
movzx eax, byte [r9 - 6]
or r8, rax
xor r8, rcx
mov rax, r8
shr rax, 0x38
mov byte [rbx + rsi + 7], al
mov rax, r8
shr rax, 0x30
mov byte [rbx + rsi + 6], al
mov rax, r8
shr rax, 0x28
mov byte [rbx + rsi + 5], al
mov rax, r8
shr rax, 0x20
mov byte [rbx + rsi + 4], al
mov rax, r8
shr rax, 0x18
mov byte [rbx + rsi + 3], al
mov rax, r8
shr rax, 0x10
mov byte [rbx + rsi + 2], al
mov rax, r8
shr rax, 8
mov byte [rbx + rsi + 1], al
mov byte [rbx + rsi], r8b
movzx ecx, byte [r9 - 0x2f]
shl rcx, 8
movzx eax, byte [r9 - 0x30]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 0x31]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 0x32]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 0x33]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 0x34]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 0x35]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 0x36]
or rcx, rax
xor rcx, r8
mov rax, rcx
shr rax, 0x38
mov byte [r9 - 0x2f], al
mov rax, rcx
shr rax, 0x30
mov byte [r9 - 0x30], al
mov rax, rcx
shr rax, 0x28
mov byte [r9 - 0x31], al
mov rax, rcx
shr rax, 0x20
mov byte [r9 - 0x32], al
mov rax, rcx
shr rax, 0x18
mov byte [r9 - 0x33], al
mov rax, rcx
shr rax, 0x10
mov byte [r9 - 0x34], al
mov rax, rcx
shr rax, 8
mov byte [r9 - 0x35], al
mov byte [r9 - 0x36], cl
add ebx, 8
lea r9, [r9 + 8]
sub r10, 1
jne 0x14023ae80
sub qword [rdi + 0x568], 0xffffffffffffff80
lea r8, [rsp + 0x50]
mov rdx, r11
mov rcx, rdi
call fcn.14023a970
lea rcx, [rdi + 0x52f]
add byte [rcx], 1
jne 0x14023b073
dec rcx
lea rax, [r15 + rcx]
cmp rax, 0xc
jge 0x14023b061
mov rax, qword [r14]
lea r8, [rdi + 0x540]
lea rdx, [rdi + 0x520]
mov rcx, r14
call qword [rax + 0x20]
cmp ebx, r12d
lea r11, [rdi + 0x510]
jb 0x14023ae70
jmp 0x14023b421
test r12d, r12d
je 0x14023b427
mov r15, 0xfffffffffffffae0
sub r15, rdi
lea rdx, [rdi + 0x510]
mov r8d, 2
nop
mov rax, qword [rbx + rbp]
xor rax, qword [rdx + 0x30]
mov qword [rbx + rsi], rax
xor qword [rdx], rax
add ebx, 8
lea rdx, [rdx + 8]
sub r8, 1
jne 0x14023b0c0
sub qword [rdi + 0x568], 0xffffffffffffff80
lea r8, [rsp + 0x50]
lea rdx, [rdi + 0x510]
mov rcx, rdi
call fcn.14023a970
lea rcx, [rdi + 0x52f]
nop
add byte [rcx], 1
jne 0x14023b112
dec rcx
lea rax, [r15 + rcx]
cmp rax, 0xc
jge 0x14023b100
mov rax, qword [r14]
lea r8, [rdi + 0x540]
lea rdx, [rdi + 0x520]
mov rcx, r14
call qword [rax + 0x20]
cmp ebx, r12d
jb 0x14023b0b2
jmp 0x14023b421
test r15b, r15b
je 0x14023b38f
test r12d, r12d
je 0x14023b427
lea r11, [rdi + 0x510]
mov r15, 0xfffffffffffffae0
sub r15, rdi
nop word [rax + rax]
lea r9, [rdi + 0x516]
mov r10d, 2
nop dword [rax]
movzx r8d, byte [rbx + rsi + 7]
shl r8, 8
movzx eax, byte [rbx + rsi + 6]
or r8, rax
shl r8, 8
movzx eax, byte [rbx + rsi + 5]
or r8, rax
shl r8, 8
movzx eax, byte [rbx + rsi + 4]
or r8, rax
shl r8, 8
movzx eax, byte [rbx + rsi + 3]
or r8, rax
shl r8, 8
movzx eax, byte [rbx + rsi + 2]
or r8, rax
shl r8, 8
movzx eax, byte [rbx + rsi + 1]
or r8, rax
shl r8, 8
movzx eax, byte [rbx + rsi]
or r8, rax
movzx ecx, byte [r9 + 1]
shl rcx, 8
movzx eax, byte [r9]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 1]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 2]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 3]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 4]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 5]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 - 6]
or rcx, rax
xor rcx, r8
mov rax, rcx
shr rax, 0x38
mov byte [r9 + 1], al
mov rax, rcx
shr rax, 0x30
mov byte [r9], al
mov rax, rcx
shr rax, 0x28
mov byte [r9 - 1], al
mov rax, rcx
shr rax, 0x20
mov byte [r9 - 2], al
mov rax, rcx
shr rax, 0x18
mov byte [r9 - 3], al
mov rax, rcx
shr rax, 0x10
mov byte [r9 - 4], al
mov rax, rcx
shr rax, 8
mov byte [r9 - 5], al
mov byte [r9 - 6], cl
movzx ecx, byte [r9 + 0x31]
shl rcx, 8
movzx eax, byte [r9 + 0x30]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 + 0x2f]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 + 0x2e]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 + 0x2d]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 + 0x2c]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 + 0x2b]
or rcx, rax
shl rcx, 8
movzx eax, byte [r9 + 0x2a]
or rcx, rax
xor r8, rcx
mov rax, r8
shr rax, 0x38
mov byte [rbx + rbp + 7], al
mov rax, r8
shr rax, 0x30
mov byte [rbx + rbp + 6], al
mov rax, r8
shr rax, 0x28
mov byte [rbx + rbp + 5], al
mov rax, r8
shr rax, 0x20
mov byte [rbx + rbp + 4], al
mov rax, r8
shr rax, 0x18
mov byte [rbx + rbp + 3], al
mov rax, r8
shr rax, 0x10
mov byte [rbx + rbp + 2], al
mov rax, r8
shr rax, 8
mov byte [rbx + rbp + 1], al
mov byte [rbx + rbp], r8b
add ebx, 8
lea r9, [r9 + 8]
sub r10, 1
jne 0x14023b170
sub qword [rdi + 0x568], 0xffffffffffffff80
lea r8, [rsp + 0x50]
mov rdx, r11
mov rcx, rdi
call fcn.14023a970
lea rcx, [rdi + 0x52f]
add byte [rcx], 1
jne 0x14023b363
dec rcx
lea rax, [r15 + rcx]
cmp rax, 0xc
jge 0x14023b351
mov rax, qword [r14]
lea r8, [rdi + 0x540]
lea rdx, [rdi + 0x520]
mov rcx, r14
call qword [rax + 0x20]
cmp ebx, r12d
lea r11, [rdi + 0x510]
jb 0x14023b160
jmp 0x14023b421
test r12d, r12d
je 0x14023b427
mov r15, 0xfffffffffffffae0
sub r15, rdi
lea rdx, [rdi + 0x510]
mov r8d, 2
nop
mov rax, qword [rbx + rsi]
xor qword [rdx], rax
mov rax, qword [rdx + 0x30]
xor rax, qword [rbx + rsi]
mov qword [rbx + rbp], rax
add ebx, 8
lea rdx, [rdx + 8]
sub r8, 1
jne 0x14023b3b0
sub qword [rdi + 0x568], 0xffffffffffffff80
lea r8, [rsp + 0x50]
lea rdx, [rdi + 0x510]
mov rcx, rdi
call fcn.14023a970
lea rcx, [rdi + 0x52f]
add byte [rcx], 1
jne 0x14023b405
dec rcx
lea rax, [r15 + rcx]
cmp rax, 0xc
jge 0x14023b3f3
mov rax, qword [r14]
lea r8, [rdi + 0x540]
lea rdx, [rdi + 0x520]
mov rcx, r14
call qword [rax + 0x20]
cmp ebx, r12d
jb 0x14023b3a2
movzx r13d, byte [rsp + 0x20]
mov r12, qword [rsp + 0x28]
cmp ebx, dword [rsp + 0x3b0]
jae 0x14023b509
mov r15d, ebx
add r15, rbp
sub rsi, rbp
mov eax, dword [rsp + 0x3b0]
sub eax, ebx
mov ebx, eax
nop dword [rax]
mov eax, dword [rdi + 0x558]
cmp eax, 0x10
jne 0x14023b4bd
sub qword [rdi + 0x568], 0xffffffffffffff80
lea rdx, [rdi + 0x510]
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.14023a970
lea rcx, [rdi + 0x52f]
mov rdx, 0xfffffffffffffae0
sub rdx, rdi
add byte [rcx], 1
jne 0x14023b49a
dec rcx
lea rax, [rdx + rcx]
cmp rax, 0xc
jge 0x14023b488
mov rax, qword [r14]
lea r8, [rdi + 0x540]
lea rdx, [rdi + 0x520]
mov rcx, r14
call qword [rax + 0x20]
mov dword [rdi + 0x558], 0
xor eax, eax
movsxd rdx, eax
test r13b, r13b
je 0x14023b4d6
movzx ecx, byte [r15]
xor cl, byte [rdx + rdi + 0x540]
mov byte [r15 + rsi], cl
jmp 0x14023b4e8
movzx ecx, byte [r15 + rsi]
movzx eax, cl
xor al, byte [rdx + rdi + 0x540]
mov byte [r15], al
movsxd rax, dword [rdi + 0x558]
xor byte [rax + rdi + 0x510], cl
inc dword [rdi + 0x558]
inc r15
sub rbx, 1
jne 0x14023b450
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.1400e86e0
mov bl, 1
lea rcx, [rsp + 0x50]
call fcn.1400f7ef0
jmp 0x14023acb2