Function at 0x140052780
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov dword [rsp - 0x38], ebp
mov rdi, rcx
mov rsi, rdx
mov ecx, 0x53a6941b
xchg r11, r11
add ecx, 0x232eacde
xor ecx, 0x488b7b7b
sub ecx, 0x202b16cb
xchg r12, r12
xor ecx, 0x1e3324ff
call fcn.140073cf0
mov rbx, rax
mov r13, r13
test rax, rax
je 0x1400528c7
mov rcx, rax
mov dword [rsp - 0x24], 0x4945ec51
call fcn.140035570
lea rax, [0x140002330]
mov qword [rbx + 0x20], rdi
xchg rbx, rbx
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov dword [rbx + 0x30], 0x2cbff8e0
mov r15, r15
sub dword [rbx + 0x30], 0x2a4e226a
add dword [rbx + 0x30], 0x39e040b5
xor dword [rbx + 0x30], 0x6125e13f
sub dword [rbx + 0x30], 0x3655c2bf
mov dword [rsp - 0x1c], 0x44341c35
mov dword [rbx + 0x34], 0x6e13f443
sub dword [rbx + 0x34], 0x1de46994
sub dword [rbx + 0x34], 0x1636b41d
add dword [rbx + 0x34], 0x1b5932b3
mov dword [rsp - 0x10], 0x30196d6e
sub dword [rbx + 0x34], 0x2e2fd5f0
mov qword [rbx + 0x28], rsi
call fcn.1400511b0
mov ecx, dword [rax + 4]
mov dword [rsp - 0x40], ebp
xor ecx, 0x27223355
mov dword [rbx + 0x38], 0x3275b9be
xor dword [rbx + 0x38], 0x56bb2b62
xor dword [rbx + 0x38], 0x7a868c9d
mov dword [rsp - 0x44], 0x3d08fbe7
add dword [rbx + 0x38], 0x31480194
xor dword [rbx + 0x38], 0x26465f8f
sub dword [rbx + 0x38], 0x12d71567
sub dword [rbx + 0x38], 0x2fdcf6fe
xchg rsp, rsp
mov dword [rbx + 0x3c], ecx
mov byte [rbx + 0x40], 0x52
sub byte [rbx + 0x40], 0x11
mov r8, r8
xor byte [rbx + 0x40], 0x52
add byte [rbx + 0x40], 0x6a
xor byte [rbx + 0x40], 0x72
sub byte [rbx + 0x40], 0xf
xchg r13, r13
jmp 0x1400528c9
xor ebx, ebx
mov rdx, qword [rdi + 0x160]
mov dword [rsp - 0x2c], edi
mov rcx, rbx
mov qword [rsp + 0x30], rbx
call fcn.140035b20
mov dword [rsp - 0x30], ebp
lea rcx, [rdi + 0x158]
lea rdx, [rsp + 0x30]
call fcn.1400525f0
mov rcx, rdi
mov r10, r10
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
mov dword [rsp - 0x10], ebx
pop rdi
jmp 0x140052b80
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x160], 0
xchg r13, r13
mov rbx, rcx
je 0x140052cb1
lea rdx, [rsp + 0x30]
call fcn.1400511b0
mov dword [rsp - 0x34], 0x7e6709b5
mov eax, dword [rsp + 0x30]
cdq
idiv dword [rbx + 0x160]
mov r15, r15
mov edx, 0x4c4cf2e
xor edx, 0x32da3614
xor edx, 0x2e8d2133
xchg rbx, rbx
add edx, 0x446762f2
sub edx, 0xbdffc9
sub edx, 0x5c3d3a92
mov rbp, rbp
cmp eax, edx
cmovl edx, eax
xor r8d, r8d
mov dword [rsp + 0x30], edx
mov dword [rsp - 0x28], edx
mov rdx, qword [rbx + 0x160]
test rdx, rdx
je 0x140052ca9
mov rax, qword [rbx + 0x158]
mov rcx, rcx
lea r9, [rax + rdx*8]
cmp rax, r9
je 0x140052ca9
nop dword [rax]
mov dword [rsp - 0x40], 0x3bab70f7
mov rdx, qword [rax]
mov ecx, r8d
xor ecx, 0x27223355
add rax, 8
mov dword [rsp - 0x1c], 0x24cd0cfc
mov dword [rdx + 0x30], ecx
mov dword [rdx + 0x34], 0x7c6ab04
add dword [rdx + 0x34], 0x340c5e0d
xchg r8, r8
add dword [rdx + 0x34], 0x229e97ed
sub dword [rdx + 0x34], 0x509bd302
add dword [rdx + 0x34], 0x412ed109
mov rbx, rbx
add dword [rdx + 0x34], 0x36a9420
sub dword [rdx + 0x34], 0x2b4cffd0
mov ecx, dword [rsp + 0x30]
xor ecx, 0x27223355
mov dword [rsp - 0x20], edi
mov dword [rdx + 0x38], ecx
mov ecx, dword [rsp + 0x34]
xor ecx, 0x27223355
xchg rcx, rcx
mov dword [rdx + 0x3c], ecx
add r8d, dword [rsp + 0x30]
cmp rax, r9
xchg r10, r10
jne 0x140052c29
mov rcx, rbx
call fcn.1400353e0
add rsp, 0x20
mov rcx, rcx
pop rbx
ret