Function at 0x140046f70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov rax, qword [0x1400f1010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov edi, r9d
mov r15, r8
mov rsi, rdx
mov r14, rcx
mov qword [rbp - 0x51], rdx
mov dword [rbp - 0x41], 0x33843381
mov dword [rbp - 0x3d], 0x339e3395
mov dword [rbp - 0x39], 0x33da339f
mov dword [rbp - 0x35], 0x339a3391
mov dword [rbp - 0x31], 0x339b
xor r12d, r12d
mov byte [rbp - 0x2d], 1
mov ecx, r12d
mov edx, 0x33ef
nop dword [rax]
lea eax, [rdx + rcx]
xor word [rbp + rcx*2 - 0x41], ax
inc rcx
cmp rcx, 9
jb 0x140046fe0
mov byte [rbp - 0x2d], 0
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r12w
lea rax, [rbp - 0x41]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x140047014
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x29]
call fcn.14002a2d0
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.140041230
nop
lea r13, [0x1400dd0a4]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], edi
mov r9d, dword [rbp + 0x7f]
lea r8, [rbp - 9]
lea rdx, [rbp - 0x51]
mov rcx, r14
call fcn.140045ae0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x1400470a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004709b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400471df
call fcn.14005fb2c
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x1400470e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400470dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400471d9
call fcn.14005fb2c
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r12w
lea rdi, [rbp - 0x41]
xor eax, eax
mov ecx, 0x14
rep stosb byte [rdi], al
mov r8, qword [rbp - 0x51]
test r8, r8
jne 0x140047166
mov dword [rsi], 0xc0000225
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x18], xmm0
movups xmmword [rsi + 0x28], xmm0
movups xmmword [rsi + 0x38], xmm0
movups xmmword [rsi + 0x48], xmm0
mov qword [rsi + 0x58], rax
mov byte [rsi + 8], al
mov byte [rsi + 0x58], al
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400471af
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400471af
mov rdi, qword [rbp - 0x49]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400471af
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400471af
mov qword [rsp + 0x20], r13
mov r9, r15
mov rdx, rsi
mov rcx, r14
call fcn.140045f70
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400471af
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400471af
mov rdi, qword [rbp - 0x49]
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400471af
mov rcx, qword [rbp - 0x49]
mov rdx, qword [rcx]
call qword [rdx + 8]
mov rax, rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14005fa30
mov rbx, qword [rsp + 0xf8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14009598c
nop
call fcn.14009598c
int3