Function at 0x140038700
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400f1010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r13, r9
mov ebx, r8d
mov r15, rdx
mov r12, rcx
mov rcx, qword [rcx]
add rcx, 0x20
movdqa xmm0, xmmword [0x1400dda10]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x50], 1
xor eax, eax
nop word [rax + rax]
lea edx, [rax - 0xb]
xor byte [rbp + rax + 0x40], dl
inc rax
cmp rax, 0xf
jb 0x140038760
mov byte [rbp + 0x50], 0
mov dword [rsp + 0x20], 0
mov r9d, ebx
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x20]
call fcn.140046f70
nop
lea rdi, [rbp + 0x40]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea r14d, [rax - 1]
cmp qword [r12 + 0x18], rax
je 0x140038a8a
cmp dword [rbp - 0x20], eax
jl 0x140038a8a
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.14002b540
nop
mov rdi, qword [rsp + 0x38]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 8]
mov rax, qword [rdi]
mov rsi, qword [rax + 0x18]
mov qword [rbp + 0x70], 0xffffffffffff0001
mov qword [rbp + 0x78], 0xff
movabs rdx, 0xffffffff00000003
mov qword [rbp + 0x80], rdx
mov r8d, 0xffffffff
mov qword [rbp + 0x88], r8
xor ecx, ecx
mov qword [rbp + 0x98], rcx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rcx
mov rax, qword [r12 + 0x18]
mov dword [rbp + 0x60], 2
mov qword [rbp + 0x68], 8
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xc8], 0xffffffffffff0001
mov qword [rbp + 0xd0], 0xff
mov qword [rbp + 0xd8], rdx
mov qword [rbp + 0xe0], r8
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], rcx
movdqa xmmword [rbp + 0x100], xmm0
mov dword [rbp + 0xb8], 2
mov qword [rbp + 0xc0], 4
mov qword [rbp + 0xe8], 8
mov qword [rbp + 0x120], 0xffffffffffff0001
mov qword [rbp + 0x128], 0xff
mov qword [rbp + 0x130], rdx
mov qword [rbp + 0x138], r8
mov qword [rbp + 0x148], rcx
movdqa xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], rcx
mov dword [rbp + 0x110], 2
mov qword [rbp + 0x118], 8
mov qword [rbp + 0x140], r13
lea rax, [rbp + 0x60]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x168]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
call fcn.14002c090
nop
cmp byte [rbp + 0x38], 0
je 0x140038bb4
mov qword [rbp - 0x80], 0xffffffffffff0001
mov qword [rbp - 0x78], 0xff
movabs rax, 0xffffffff00000003
mov qword [rbp - 0x70], rax
mov eax, 0xffffffff
mov qword [rbp - 0x68], rax
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov dword [rsp + 0x70], 2
mov qword [rsp + 0x78], 8
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x60], rax
lea r9d, [r14 + 2]
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call rsi
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400389c7
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400389b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038bba
call fcn.14005fb2c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
lea rcx, [rbp - 0x38]
call fcn.14002c2d0
nop
lea r9, [0x14002b3f0]
mov edx, 0x58
lea r8d, [rdx - 0x55]
lea rcx, [rbp + 0x60]
call fcn.14005fa5c
mov rcx, qword [r12]
add rcx, 0x220
mov dword [rsp + 0x20], 8
mov r8d, ebx
mov rdx, rdi
call fcn.14004c680
mov rax, qword [rdi]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x10]
mov qword [rsp + 0x30], 0
mov rsi, qword [r12]
lea rcx, [rdi + 0xa8]
mov ebx, dword [rcx + 0x60]
sub rbx, qword [rcx + 0x48]
add rbx, qword [rcx + 0x58]
mov rax, qword [rcx]
call qword [rax + 8]
lea r9, [rsp + 0x30]
mov r8, rbx
mov rdx, rax
lea rcx, [rsi + 0x220]
call fcn.14004a8e0
test eax, eax
js 0x140038a7d
mov dword [r15], 0
mov rax, qword [rsp + 0x30]
mov qword [r15 + 8], rax
mov byte [r15 + 0x10], 1
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
jmp 0x140038b72
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rdx, qword [r12]
add rdx, 0xa8
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r8, r13
lea rcx, [rsp + 0x40]
call fcn.140044b30
nop
mov eax, dword [rsp + 0x40]
test eax, eax
jns 0x140038b11
mov dword [r15], eax
xorps xmm0, xmm0
movups xmmword [r15 + 8], xmm0
mov byte [r15 + 0x10], 0
cmp byte [rsp + 0x58], 0
je 0x140038b72
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x140038b72
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140038b72
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r14d
cmp r14d, 1
jne 0x140038b72
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x140038b72
cmp byte [rsp + 0x58], 0
je 0x140038bae
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140038b2b
mov rcx, qword [rax]
jmp 0x140038b2d
xor ecx, ecx
mov dword [r15], 0
mov qword [r15 + 8], rcx
mov byte [r15 + 0x10], 1
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x140038b72
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140038b72
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r14d
cmp r14d, 1
jne 0x140038b72
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 8]
nop
cmp byte [rbp + 0x38], 0
je 0x140038b81
lea rcx, [rbp - 0x18]
call fcn.14002c430
mov rax, r15
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14005fa30
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14002b350
nop
call fcn.14002b350
int3
call fcn.14009598c
int3