Function at 0x140040350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
neg rsp
sub rsp, 0xffffffffffffffd0
neg rsp
cmp qword [rcx + 0x68], 0
mov rsi, rdx
mov rdi, rcx
jne 0x1400403a6
mov r9d, dword [rcx + 0x64]
mov r8d, dword [rcx + 0x60]
xor r9d, 0x734237da
mov rax, qword [rdx]
xor r8d, 0x2ed57f6f
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 0x1400403f0
mov r9d, dword [rdi + 0xec]
lea rdx, [rdi + 0xa8]
mov r8d, dword [rdi + 0xe8]
xor r9d, 0x734237da
mov rax, qword [rsi]
xor r8d, 0x2ed57f6f
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 0x14004043a
mov r9d, dword [rdi + 0x314]
lea rdx, [rdi + 0x2d0]
mov r8d, dword [rdi + 0x310]
xor r9d, 0x734237da
mov rax, qword [rsi]
xor r8d, 0x2ed57f6f
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 0x140040484
mov r9d, dword [rdi + 0x37c]
lea rdx, [rdi + 0x338]
mov r8d, dword [rdi + 0x378]
xor r9d, 0x734237da
mov rax, qword [rsi]
xor r8d, 0x2ed57f6f
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 0x1400404ce
mov r9d, dword [rdi + 0x3fc]
lea rdx, [rdi + 0x3b8]
mov r8d, dword [rdi + 0x3f8]
xor r9d, 0x734237da
mov rax, qword [rsi]
xor r8d, 0x2ed57f6f
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 0x140040518
mov r9d, dword [rdi + 0x45c]
lea rdx, [rdi + 0x418]
mov r8d, dword [rdi + 0x458]
xor r9d, 0x734237da
mov rax, qword [rsi]
xor r8d, 0x2ed57f6f
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 0x140040562
mov r9d, dword [rdi + 0x69c]
lea rdx, [rdi + 0x658]
mov r8d, dword [rdi + 0x698]
xor r9d, 0x734237da
mov rax, qword [rsi]
xor r8d, 0x2ed57f6f
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 0x1400405ac
mov r9d, dword [rdi + 0x96c]
lea rdx, [rdi + 0x928]
mov r8d, dword [rdi + 0x968]
xor r9d, 0x734237da
mov rax, qword [rsi]
xor r8d, 0x2ed57f6f
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 0x1400405f6
mov r9d, dword [rdi + 0x9e4]
lea rdx, [rdi + 0x9a0]
mov r8d, dword [rdi + 0x9e0]
xor r9d, 0x734237da
mov rax, qword [rsi]
xor r8d, 0x2ed57f6f
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 0x140040640
mov r9d, dword [rdi + 0xadc]
lea rdx, [rdi + 0xa98]
mov r8d, dword [rdi + 0xad8]
xor r9d, 0x734237da
mov rax, qword [rsi]
xor r8d, 0x2ed57f6f
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 0x14004068a
mov r9d, dword [rdi + 0xbd4]
lea rdx, [rdi + 0xb90]
mov r8d, dword [rdi + 0xbd0]
xor r9d, 0x734237da
mov rax, qword [rsi]
xor r8d, 0x2ed57f6f
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, 0x2ed57f6f
mov rcx, rdi
call fcn.140040060
inc rbx
cmp rbx, 4
jb 0x1400406a2
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
nop
sub rsp, 0x3f8ae105
add rsp, 0x3f8ae135
pop rdi
ret