Function at 0x140235800
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push r13
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x1404af540]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0xd8]
xorps xmm0, xmm0
mov rbx, qword [rbp + 0xd0]
xor r15d, r15d
mov r13, qword [rbp + 0xe0]
xorps xmm1, xmm1
mov qword [rsp + 0x30], rax
mov r11d, edx
xor eax, eax
mov qword [rsp + 0x48], r9
mov r9, qword [rbp + 0xe8]
mov r10, rcx
mov dword [rsp + 0x1c], r8d
mov r8, qword [rbp + 0xc8]
mov qword [rbp + 0x40], rax
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], r9
mov qword [rsp], r15
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x78], r15
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm1
nop dword [rax]
mov eax, dword [rcx]
lea rcx, [rcx + 4]
inc dword [rsp + rax*4 + 0x50]
add edx, 0xffffffff
jne 0x1402358c0
cmp dword [rsp + 0x50], r11d
jne 0x1402358e3
mov qword [r8], r15
xor eax, eax
mov dword [rbx], r15d
jmp 0x140235c9c
mov qword [rsp + 0x1b0], rsi
mov ecx, 1
mov esi, dword [rbx]
mov qword [rsp + 0x160], r14
nop word [rax + rax]
mov eax, ecx
cmp dword [rsp + rax*4 + 0x50], r15d
jne 0x140235910
inc ecx
cmp ecx, 0xf
jbe 0x140235900
cmp esi, ecx
mov r14d, ecx
mov edx, reloc.SinoSPE.dll_Ordinal_15
cmovb esi, ecx
nop dword [rax]
mov eax, edx
cmp dword [rsp + rax*4 + 0x50], r15d
jne 0x14023592e
add edx, 0xffffffff
jne 0x140235920
cmp esi, edx
mov qword [rsp + 0x170], rdi
mov r8d, 1
mov qword [rsp + 0x168], r12
cmova esi, edx
mov dword [rsp + 8], edx
shl r8d, cl
mov dword [rbx], esi
cmp ecx, edx
jae 0x140235976
nop word [rax + rax]
mov eax, ecx
sub r8d, dword [rsp + rax*4 + 0x50]
js 0x140235c77
inc ecx
add r8d, r8d
cmp ecx, edx
jb 0x140235960
mov eax, edx
mov ecx, r8d
sub r8d, dword [rsp + rax*4 + 0x50]
mov dword [rsp + 0x20], r8d
js 0x140235c77
mov dword [rsp + rax*4 + 0x50], ecx
mov ecx, r15d
add edx, 0xffffffff
je 0x1402359b1
mov rax, r15
nop word [rax + rax]
add ecx, dword [rsp + rax + 0x54]
mov dword [rbp + rax - 0x68], ecx
lea rax, [rax + 4]
add edx, 0xffffffff
jne 0x1402359a0
mov edx, r15d
mov eax, dword [r10]
lea r10, [r10 + 4]
test eax, eax
je 0x1402359d1
lea rcx, [rbp - 0x70]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
mov dword [r9 + rax*4], edx
inc eax
mov dword [rcx], eax
inc edx
cmp edx, r11d
jb 0x1402359b4
movsxd rcx, dword [rsp + 8]
mov rdx, r9
mov r10d, esi
mov qword [rsp + 0x10], rdx
neg r10d
mov edi, r15d
mov r9, r15
mov r11d, r15d
mov eax, dword [rbp + rcx*4 - 0x70]
mov dword [rsp + 0x18], eax
mov dword [rbp - 0x70], r15d
cmp r14d, ecx
jg 0x140235c62
mov rbx, 0xffffffffffffffff
movsxd rax, r14d
lea r8, [rsp + 0x50]
mov r12d, dword [r8 + rax*4]
lea r8, [r8 + rax*4]
mov qword [rsp + 0x28], r8
test r12d, r12d
je 0x140235c51
nop
mov r15d, r12d
lea eax, [r10 + rsi]
dec r12d
cmp r14d, eax
jle 0x140235b37
nop dword [rax]
nop word [rax + rax]
add r10d, esi
mov r9d, ecx
sub r9d, r10d
inc rbx
cmp r9d, esi
mov edx, r14d
mov eax, 1
cmova r9d, esi
sub edx, r10d
mov ecx, edx
shl eax, cl
cmp eax, r15d
jbe 0x140235aa7
mov ecx, 0xffffffff
sub ecx, r12d
add eax, ecx
cmp edx, r9d
jae 0x140235aa7
inc edx
cmp edx, r9d
jae 0x140235aa7
nop dword [rax]
mov ecx, dword [r8 + 4]
lea r8, [r8 + 4]
add eax, eax
cmp eax, ecx
jbe 0x140235aa7
sub eax, ecx
inc edx
cmp edx, r9d
jb 0x140235a90
mov eax, dword [r13]
mov ecx, edx
mov r11d, 1
shl r11d, cl
lea ecx, [rax + r11]
cmp ecx, 0x5a0
ja 0x140235c77
mov r8, qword [rsp + 0x30]
mov dword [r13], ecx
lea r9, [r8 + rax*8]
mov qword [rbp + rbx*8 - 0x30], r9
test rbx, rbx
je 0x140235b14
mov byte [rsp], dl
mov r8d, edi
mov rdx, qword [rbp + rbx*8 - 0x38]
mov ecx, r10d
sub ecx, esi
mov byte [rsp + 1], sil
shr r8d, cl
mov rax, r9
sub rax, rdx
mov dword [rbp + rbx*4 - 0x70], edi
sar rax, 3
sub eax, r8d
mov dword [rsp + 4], eax
mov rax, qword [rsp]
mov qword [rdx + r8*8], rax
jmp 0x140235b1c
mov rax, qword [rsp + 0x38]
mov qword [rax], r9
mov r8, qword [rsp + 0x28]
lea eax, [r10 + rsi]
mov ecx, dword [rsp + 8]
cmp r14d, eax
jg 0x140235a50
mov rdx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x40]
movzx eax, r14b
sub al, r10b
mov byte [rsp + 1], al
mov eax, dword [rsp + 0x18]
lea rcx, [rcx + rax*4]
cmp rdx, rcx
jb 0x140235b5a
mov byte [rsp], 0xc0
jmp 0x140235bb6
mov ecx, dword [rdx]
add rdx, 4
mov eax, dword [rsp + 0x1c]
mov qword [rsp + 0x10], rdx
cmp ecx, eax
jae 0x140235b8b
cmp ecx, 0x100
mov dword [rsp + 4], ecx
mov eax, 0x60
mov r15d, 0
cmovb eax, r15d
mov byte [rsp], al
jmp 0x140235bb9
sub ecx, eax
mov qword [rsp + 0x10], rdx
mov rax, qword [rbp + 0xc0]
lea rcx, [rcx*4]
movzx eax, byte [rax + rcx]
add al, 0x50
mov byte [rsp], al
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + rcx]
mov dword [rsp + 4], eax
xor r15d, r15d
mov ecx, r14d
mov r8d, 1
sub ecx, r10d
mov edx, edi
shl r8d, cl
mov ecx, r10d
shr edx, cl
cmp edx, r11d
jae 0x140235bec
mov rax, qword [rsp]
nop dword [rax + rax]
mov qword [r9 + rdx*8], rax
add edx, r8d
cmp edx, r11d
jb 0x140235be0
lea ecx, [r14 - 1]
mov eax, 1
shl eax, cl
test edi, eax
je 0x140235c08
nop dword [rax + rax]
xor edi, eax
shr eax, 1
test edi, eax
jne 0x140235c00
xor edi, eax
mov ecx, r10d
mov eax, 1
shl eax, cl
dec eax
and eax, edi
cmp eax, dword [rbp + rbx*4 - 0x70]
je 0x140235c3a
nop
sub r10d, esi
mov eax, 1
mov ecx, r10d
dec rbx
shl eax, cl
dec eax
and eax, edi
cmp eax, dword [rbp + rbx*4 - 0x70]
jne 0x140235c20
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x28]
mov ecx, dword [rsp + 8]
test r12d, r12d
jne 0x140235a30
inc r14d
cmp r14d, ecx
jle 0x140235a10
mov r8d, dword [rsp + 0x20]
test r8d, r8d
je 0x140235c72
cmp ecx, 1
je 0x140235c72
mov r15d, 0xfffffffb
mov eax, r15d
jmp 0x140235c7c
mov eax, 0xfffffffd
mov r12, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x160]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1403ca460
add rsp, 0x178
pop r15
pop r13
pop rbx
pop rbp
ret