Function at 0x140040380
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
nop
sub rsp, 0x637bc062
add rsp, 0x637bc032
cmp qword [rcx + 0x68], 0
mov rsi, rdx
mov rdi, rcx
jne 0x1400403db
mov r9d, dword [rcx + 0x64]
mov r8d, dword [rcx + 0x60]
xor r9d, 0x5d8d086a
mov rax, qword [rdx]
xor r8d, 0x33f12d3
lea rdx, [rcx + 0x20]
mov rcx, rsi
call qword [rax + 0x10]
mov qword [rdi + 0x68], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 8]
cmp qword [rdi + 0xf0], 0
jne 0x140040425
mov r9d, dword [rdi + 0xec]
lea rdx, [rdi + 0xa8]
mov r8d, dword [rdi + 0xe8]
xor r9d, 0x5d8d086a
mov rax, qword [rsi]
xor r8d, 0x33f12d3
mov rcx, rsi
call qword [rax + 0x10]
mov qword [rdi + 0xf0], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 8]
cmp qword [rdi + 0x318], 0
jne 0x14004046f
mov r9d, dword [rdi + 0x314]
lea rdx, [rdi + 0x2d0]
mov r8d, dword [rdi + 0x310]
xor r9d, 0x5d8d086a
mov rax, qword [rsi]
xor r8d, 0x33f12d3
mov rcx, rsi
call qword [rax + 0x10]
mov qword [rdi + 0x318], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 8]
cmp qword [rdi + 0x380], 0
jne 0x1400404b9
mov r9d, dword [rdi + 0x37c]
lea rdx, [rdi + 0x338]
mov r8d, dword [rdi + 0x378]
xor r9d, 0x5d8d086a
mov rax, qword [rsi]
xor r8d, 0x33f12d3
mov rcx, rsi
call qword [rax + 0x10]
mov qword [rdi + 0x380], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 8]
cmp qword [rdi + 0x400], 0
jne 0x140040503
mov r9d, dword [rdi + 0x3fc]
lea rdx, [rdi + 0x3b8]
mov r8d, dword [rdi + 0x3f8]
xor r9d, 0x5d8d086a
mov rax, qword [rsi]
xor r8d, 0x33f12d3
mov rcx, rsi
call qword [rax + 0x10]
mov qword [rdi + 0x400], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 8]
cmp qword [rdi + 0x460], 0
jne 0x14004054d
mov r9d, dword [rdi + 0x45c]
lea rdx, [rdi + 0x418]
mov r8d, dword [rdi + 0x458]
xor r9d, 0x5d8d086a
mov rax, qword [rsi]
xor r8d, 0x33f12d3
mov rcx, rsi
call qword [rax + 0x10]
mov qword [rdi + 0x460], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 8]
cmp qword [rdi + 0x6a0], 0
jne 0x140040597
mov r9d, dword [rdi + 0x69c]
lea rdx, [rdi + 0x658]
mov r8d, dword [rdi + 0x698]
xor r9d, 0x5d8d086a
mov rax, qword [rsi]
xor r8d, 0x33f12d3
mov rcx, rsi
call qword [rax + 0x10]
mov qword [rdi + 0x6a0], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 8]
cmp qword [rdi + 0x970], 0
jne 0x1400405e1
mov r9d, dword [rdi + 0x96c]
lea rdx, [rdi + 0x928]
mov r8d, dword [rdi + 0x968]
xor r9d, 0x5d8d086a
mov rax, qword [rsi]
xor r8d, 0x33f12d3
mov rcx, rsi
call qword [rax + 0x10]
mov qword [rdi + 0x970], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 8]
cmp qword [rdi + 0x9e8], 0
jne 0x14004062b
mov r9d, dword [rdi + 0x9e4]
lea rdx, [rdi + 0x9a0]
mov r8d, dword [rdi + 0x9e0]
xor r9d, 0x5d8d086a
mov rax, qword [rsi]
xor r8d, 0x33f12d3
mov rcx, rsi
call qword [rax + 0x10]
mov qword [rdi + 0x9e8], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 8]
cmp qword [rdi + 0xae0], 0
jne 0x140040675
mov r9d, dword [rdi + 0xadc]
lea rdx, [rdi + 0xa98]
mov r8d, dword [rdi + 0xad8]
xor r9d, 0x5d8d086a
mov rax, qword [rsi]
xor r8d, 0x33f12d3
mov rcx, rsi
call qword [rax + 0x10]
mov qword [rdi + 0xae0], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 8]
cmp qword [rdi + 0xbd8], 0
jne 0x1400406bf
mov r9d, dword [rdi + 0xbd4]
lea rdx, [rdi + 0xb90]
mov r8d, dword [rdi + 0xbd0]
xor r9d, 0x5d8d086a
mov rax, qword [rsi]
xor r8d, 0x33f12d3
mov rcx, rsi
call qword [rax + 0x10]
mov qword [rdi + 0xbd8], rax
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 8]
movdqa xmm0, xmmword [0x140004220]
xor ebx, ebx
movdqu xmmword [rsp + 0x20], xmm0
nop dword [rax + rax]
mov r8d, dword [rsp + rbx*4 + 0x20]
mov rdx, rsi
xor r8d, 0x33f12d3
mov rcx, rdi
call fcn.1400400a0
inc rbx
cmp rbx, 4
jb 0x1400406d7
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
sub rsp, 0xffffffffffffffd0
pop rdi
ret