Function at 0x140002260
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4d8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x450], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rcx
lea r15, [rbp + 0x420]
mov rcx, r15
call fcn.140001ca0
mov r14, qword [rbp + 0x430]
lea r12, [r14 + 1]
mov rcx, r12
call fcn.140009d80
mov r13, rax
cmp qword [rbp + 0x438], 0x10
jb 0x1400022c2
mov r15, qword [rbp + 0x420]
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.14000c250
mov rcx, r12
call fcn.140009d80
mov rbx, rax
mov qword [rbp + 0x448], r13
mov qword [rbp + 0x440], rsi
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.14000c250
lea rax, vtable.AES.0
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x50], 0
mov qword [rbp + 0x374], 0
mov dword [rbp + 0x37c], 0
mov dword [rsp + 0x20], 0x10
lea r8, str.gfdertfghjkuyrtg
lea rcx, [rbp - 0x58]
mov rdx, rdi
mov r9d, 0x10
call fcn.140001640
test r14, r14
je 0x1400024f8
cmp byte [rbp - 0x50], 0
je 0x1400024f8
mov r8d, dword [rbp + 0x378]
movsxd rcx, r8d
mov rax, r14
or rax, rcx
shr rax, 0x20
je 0x140002377
mov rax, r14
xor edx, edx
div rcx
test rdx, rdx
je 0x140002388
jmp 0x1400024f8
mov eax, r14d
xor edx, edx
div r8d
test rdx, rdx
jne 0x1400024f8
cmp r14, rcx
jb 0x1400024f8
xor r12d, r12d
mov r13, rbx
mov rdi, qword [rbp + 0x448]
jmp 0x1400023b7
mov rax, r14
xor edx, edx
div rsi
add rdi, rsi
add r13, rsi
cmp rax, r12
jbe 0x1400024f8
lea rcx, [rbp - 0x58]
mov rdx, rdi
mov r8, r13
call fcn.140001320
cmp byte [rbp - 0x50], 0
mov r15d, dword [rbp + 0x378]
je 0x1400024c3
test r15d, r15d
jle 0x1400024c3
lea eax, [r15 - 1]
lea r9, [rbp + 0x3a0]
mov r8, r13
cmp r15d, 8
jb 0x1400024a0
lea rcx, [rax + 1]
cmp r15d, 0x20
jae 0x140002406
xor edx, edx
jmp 0x140002453
mov rdx, rcx
and rdx, 0xffffffffffffffe0
xor r8d, r8d
movups xmm0, xmmword [rbp + r8 + 0x3a0]
movups xmm1, xmmword [rbp + r8 + 0x3b0]
movups xmm2, xmmword [r13 + r8]
xorps xmm2, xmm0
movups xmm0, xmmword [r13 + r8 + 0x10]
xorps xmm0, xmm1
movups xmmword [r13 + r8], xmm2
movups xmmword [r13 + r8 + 0x10], xmm0
add r8, 0x20
cmp rdx, r8
jne 0x140002410
cmp rcx, rdx
je 0x1400024c3
test cl, 0x18
je 0x14000248d
mov r10, rcx
and r10, 0xfffffffffffffff8
lea r8, [rbp + 0x3a0]
lea r9, [r8 + r10]
lea r8, [r10 + r13]
nop dword [rax]
mov r11, qword [rbp + rdx + 0x3a0]
xor qword [r13 + rdx], r11
add rdx, 8
cmp r10, rdx
jne 0x140002470
cmp rcx, r10
jne 0x1400024a0
jmp 0x1400024c3
lea r8, [rdx + r13]
lea rcx, [rbp + 0x3a0]
add rdx, rcx
mov r9, rdx
nop
lea rcx, [rbp + 0x3a0]
add rax, rcx
dec r9
nop dword [rax]
movzx ecx, byte [r9 + 1]
xor byte [r8], cl
inc r9
inc r8
cmp r9, rax
jne 0x1400024b0
movsxd rsi, r15d
lea rcx, [rbp + 0x3a0]
mov rdx, rdi
mov r8, rsi
call fcn.14000c250
inc r12
mov rax, r14
or rax, rsi
shr rax, 0x20
jne 0x1400023a0
mov eax, r14d
xor edx, edx
div r15d
jmp 0x1400023a8
lea rdx, [r14 - 1]
movsx rax, byte [rbx + r14 - 1]
mov rcx, r14
sub rcx, rax
movsxd rdx, edx
cmp rcx, rdx
mov r15, qword [rbp + 0x440]
mov r12, qword [rbp + 0x448]
ja 0x140002540
nop
cmp byte [rbx + rdx], al
jne 0x140002533
mov byte [rbx + rdx], 0
dec rdx
cmp rcx, rdx
jbe 0x140002520
jmp 0x140002540
mov rcx, rbx
xor edx, edx
mov r8, r14
call fcn.14000c8f0
xorps xmm0, xmm0
movups xmmword [r15 + 0x10], xmm0
movups xmmword [r15], xmm0
mov rcx, rbx
call fcn.14000ecd0
test rax, rax
js 0x140002658
mov rdi, rax
cmp rax, 0xf
ja 0x140002585
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], 0xf
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call fcn.14000c250
add rdi, r15
jmp 0x1400025ed
mov qword [r15 + 0x18], 0xf
mov rax, rdi
or rax, 0xf
cmp rax, 0x17
mov r14d, 0x16
cmovae r14, rax
cmp r14, 0xfff
jb 0x1400025c5
lea rcx, [r14 + 0x28]
call fcn.140009d08
mov rsi, rax
add rsi, 0x27
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400025d1
lea rcx, [r14 + 1]
call fcn.140009d08
mov rsi, rax
mov qword [r15], rsi
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], r14
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.14000c250
add rdi, rsi
mov byte [rdi], 0
mov rcx, r12
call fcn.140009d4c
mov rcx, rbx
call fcn.140009d4c
mov rax, qword [rbp + 0x438]
cmp rax, 0x10
jb 0x140002641
mov rcx, qword [rbp + 0x420]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000263c
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000265d
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140009d4c
mov rax, r15
add rsp, 0x4d8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140004f90
call fcn.14000e234
int3