Function at 0x59c4b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rax, qword [rcx + 0x40]
mov r8d, eax
mov rbx, rcx
lea r12, [rcx + 0x40]
mov rcx, qword [rcx + 0x48]
mov qword [rsp + 0x40], rax
mov r10, qword [rbx + 0x68]
movdqu xmm1, xmmword [rbx + 0x70]
mov r9, qword [rbx + 0x58]
mov r14d, dword [rsp + 0x44]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rbx + 0x50]
mov esi, dword [rsp + 0x48]
mov qword [rsp + 0x68], r10
mov edi, dword [rsp + 0x4c]
movups xmmword [rsp + 0x70], xmm1
mov r15d, dword [rsp + 0x7c]
mov qword [rsp + 0x50], rcx
mov eax, ecx
mov rcx, qword [rbx + 0x60]
mov dword [rsp + 0x20], esi
mov r13d, dword [rsp + 0x54]
mov qword [rsp + 0x60], rcx
mov esi, dword [rsp + 0x64]
mov dword [rsp + 0x24], edi
mov edi, dword [rsp + 0x68]
mov dword [rsp + 0x28], esi
mov esi, dword [rsp + 0x6c]
mov dword [rsp + 0x2c], edi
mov edi, dword [rsp + 0x70]
mov qword [rsp + 0x58], r9
mov r9d, ecx
mov r11d, dword [rsp + 0x58]
mov ebp, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x74]
mov dword [rsp + 0x34], esi
lea rsi, [rsp + 0x40]
mov dword [rsp + 0x30], edi
mov r10d, dword [rsp + 0x78]
lea rdi, [rbx + 0x80]
mov qword [rsp + 0x38], r12
mov r12d, dword [rsp + 0x34]
nop dword [rax]
movd xmm0, r11d
movd xmm5, ebp
movd xmm2, eax
add rbx, 0x40
punpckldq xmm0, xmm5
movd xmm5, r13d
movd xmm4, r12d
punpckldq xmm2, xmm5
movdqu xmm5, xmmword [rbx - 0x30]
movd xmm1, r9d
movd xmm3, r10d
punpcklqdq xmm2, xmm0
movd xmm0, dword [rsp + 0x2c]
pxor xmm2, xmm5
movd xmm5, dword [rsp + 0x28]
punpckldq xmm0, xmm4
movdqu xmm4, xmmword [rbx - 0x20]
movups xmmword [rsp + 0x50], xmm2
punpckldq xmm1, xmm5
movd xmm5, r15d
punpcklqdq xmm1, xmm0
movd xmm0, dword [rsp + 0x30]
punpckldq xmm3, xmm5
movdqu xmm5, xmmword [rbx - 0x10]
pxor xmm1, xmm4
movd xmm4, ecx
mov rcx, rsi
punpckldq xmm0, xmm4
movd xmm4, dword [rsp + 0x20]
movups xmmword [rsp + 0x60], xmm1
punpcklqdq xmm0, xmm3
movd xmm3, r8d
pxor xmm0, xmm5
movd xmm5, dword [rsp + 0x24]
movups xmmword [rsp + 0x70], xmm0
punpckldq xmm4, xmm5
movd xmm5, r14d
punpckldq xmm3, xmm5
punpcklqdq xmm3, xmm4
movdqu xmm4, xmmword [rbx - 0x40]
pxor xmm3, xmm4
movups xmmword [rsp + 0x40], xmm3
call fcn.0059aa80
mov ecx, dword [rsp + 0x64]
movdqu xmm1, xmmword [rsp + 0x40]
movdqu xmm2, xmmword [rsp + 0x50]
mov eax, dword [rsp + 0x48]
movups xmmword [rbx - 0x40], xmm1
movdqu xmm1, xmmword [rsp + 0x60]
mov r8d, dword [rsp + 0x40]
movups xmmword [rbx - 0x30], xmm2
movdqu xmm2, xmmword [rsp + 0x70]
mov r14d, dword [rsp + 0x44]
movups xmmword [rbx - 0x20], xmm1
mov r13d, dword [rsp + 0x54]
mov r11d, dword [rsp + 0x58]
movups xmmword [rbx - 0x10], xmm2
mov ebp, dword [rsp + 0x5c]
mov r9d, dword [rsp + 0x60]
mov r12d, dword [rsp + 0x6c]
mov r10d, dword [rsp + 0x78]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x68]
mov r15d, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x2c], ecx
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x74]
cmp rbx, rdi
jne 0x59c580
mov r12, qword [rsp + 0x38]
mov edx, dword [rdx + 4]
mov rcx, r12
call fcn.0059a6e0
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret