Function at 0x180003430
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x428]
sub rsp, 0x528
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x18003c080]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rdi, r9
mov rbx, r8
mov r14, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x68]
call fcn.180001d60
nop
mov r13, qword [rsp + 0x78]
mov rcx, r13
call fcn.180008cc4
mov r12, rax
mov r8, r13
xor edx, edx
mov rcx, rax
call fcn.18000a3f0
lea rax, vtable.AES.0
mov qword [rbp - 0x70], rax
mov byte [rbp - 0x68], sil
mov qword [rbp + 0x35c], rsi
mov dword [rbp + 0x364], esi
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1800018f0
mov r15, qword [rsp + 0x78]
lea rdi, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdi, qword [rsp + 0x68]
cmp byte [rbp - 0x68], sil
je 0x18000366b
test r15, r15
je 0x18000366b
movsxd rcx, dword [rbp + 0x360]
xor edx, edx
mov rax, r15
div rcx
mov r8, rax
xor edx, edx
mov rax, r15
div rcx
test rdx, rdx
jne 0x18000366b
mov rbx, r12
test r8, r8
je 0x180003669
nop dword [rax]
nop dword [rax + rax]
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.180001580
lea r8, [rbp + 0x388]
mov rax, rbx
movsxd r9, dword [rbp + 0x360]
cmp byte [rbp - 0x68], 0
je 0x180003631
xor r10d, r10d
test r9d, r9d
jle 0x180003631
cmp r9d, 0x40
jb 0x18000360e
lea ecx, [r9 - 1]
movsxd rdx, ecx
lea r11, [rdx + rbx]
lea rcx, [rbp + 0x388]
add rcx, rdx
cmp rbx, rcx
ja 0x180003596
lea rcx, [rbp + 0x388]
cmp r11, rcx
jae 0x18000360e
mov ecx, r9d
and ecx, 0x8000003f
jge 0x1800035a8
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, r9d
sub edx, ecx
nop dword [rax]
movdqu xmm1, xmmword [rax]
movdqu xmm0, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm1, xmmword [rax + 0x10]
movdqu xmm0, xmmword [r8 + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
movdqu xmm1, xmmword [rax + 0x20]
movdqu xmm0, xmmword [r8 + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x20], xmm1
movdqu xmm1, xmmword [rax + 0x30]
movdqu xmm0, xmmword [r8 + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x30], xmm1
add r8, 0x40
add rax, 0x40
add r10d, 0x40
cmp r10d, edx
jl 0x1800035b0
cmp r10d, r9d
jge 0x180003631
sub r8, rax
mov edx, r9d
sub edx, r10d
nop dword [rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x180003620
mov r8, r9
mov rdx, rdi
lea rcx, [rbp + 0x388]
call fcn.180009f90
movsxd rcx, dword [rbp + 0x360]
add rdi, rcx
add rbx, rcx
inc esi
xor edx, edx
mov rax, r15
div rcx
mov rcx, rax
movsxd rax, esi
cmp rax, rcx
jb 0x180003530
xor esi, esi
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov dword [rsp + 0x30], 1
mov r8, r13
mov rdx, r12
mov rcx, r14
call fcn.180004d30
mov rcx, r12
call fcn.1800085d4
movdqa xmm0, xmmword [0x180036b60]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, 0x56830
cmp qword [r14 + 0x10], r8
cmovb r8, qword [r14 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1800036c8
mov rdx, qword [r14]
lea rcx, [rsp + 0x38]
call fcn.180002220
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.180004db0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x180003719
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003713
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000377d
call fcn.1800085d4
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x180003751
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000374c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003777
call fcn.1800085d4
mov rax, r14
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1800085b0
add rsp, 0x528
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18000cb8c
nop
call fcn.18000cb8c
int3