Function at 0x140059300
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xa0
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x68], r9
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x60], rcx
mov eax, 0x10
mov qword [rbp - 0x58], rax
call fcn.14024abd0
sub rsp, rax
mov rax, qword [rbp - 0x58]
mov rcx, rsp
mov qword [rbp - 0x38], rcx
call fcn.14024abd0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x50], rax
sub rsp, 0x20
call fcn.140047d06
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x38]
add rsp, 0x20
mov r9, rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x28], r9
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [r8], 0
mov rcx, qword [rdx]
mov qword [rbp + 8], rcx
mov rcx, qword [rdx + 8]
mov qword [rbp + 0x10], rcx
mov rcx, qword [rdx + 0x10]
mov qword [rbp + 0x18], rcx
mov rcx, qword [rax]
mov qword [rbp - 8], rcx
mov rax, qword [rax + 8]
mov qword [rbp], rax
lea rcx, [rbp + 8]
lea rdx, [rbp - 8]
sub rsp, 0x20
call fcn.14004e2b0
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x20], rcx
cmp byte [rax], 0
jne 0x1400595c9
mov rax, qword [rbp - 0x20]
cmp rax, 0xffffffffffffffff
jle 0x14005949a
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x40]
mov rcx, qword [rcx]
mov qword [rbp - 0x70], rcx
cmp rax, rcx
jl 0x140059456
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x70]
movabs rax, 0xcaf72802afe3b3d3
movabs r8, 0x3508d7fd501c4c2c
xor rax, r8
movabs r8, 0x12093703db140ef5
movabs r9, 0xedf6c8fc24ebf10a
xor r8, r9
xor rax, r8
xor r8d, r8d
sub r8, 1
sub rax, r8
sub rdx, rax
sub rsp, 0x20
call fcn.14001284c
add rsp, 0x20
jmp 0x1400595c9
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x40]
mov rax, qword [rax + 8]
add rax, 8
imul rdx, rdx, 0x28
add rax, rdx
add rax, 0x18
mov rdx, qword [rax]
mov qword [rbp - 0x18], rdx
mov rax, qword [rax + 8]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x18]
sub rsp, 0x20
call fcn.140018a3d
add rsp, 0x20
jmp 0x1400595c9
mov eax, dword [0x14024d770]
xor edx, edx
div dword [0x14024d774]
mov ecx, 0x15832de9
xor ecx, 0xea7cd216
mov edx, eax
xor edx, ecx
and edx, 0x170f7e49
mov r8d, 0xffffffff
xor r8d, 0x170f7e49
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0x170f7e49
or eax, 0x170f7e49
imul eax, edx
add eax, ecx
mov edx, 0x1dc2a466
xor edx, 0x58f703ee
mov ecx, eax
and ecx, edx
mov edx, 0xdc70d148
xor edx, 0xdc70d14a
imul ecx, edx
mov edx, 0xeb22da20
xor edx, 0xae177da8
xor eax, edx
add eax, ecx
mov ecx, 0xa2bef251
xor ecx, 0xd3f77033
xor edx, edx
div ecx
cmp eax, 0xec457b0a
ja 0x140059685
mov rcx, qword [rbp - 0x48]
mov eax, dword [0x14024d778]
xor eax, 0x27cb9ecc
mov edx, dword [0x14024d77c]
sub eax, 0x1fc8c216
add eax, edx
add eax, 0x1fc8c216
mov r8d, 0xf918f602
xor edx, edx
div r8d
mov rdx, qword [rbp - 0x50]
mov r9d, eax
mov rax, qword [rbp - 0x68]
mov r8d, 0xa37c8c79
xor r8d, 0xc96e47bf
or r9d, r8d
mov r10d, 0xb16b5028
xor r10d, 0x4aed7137
mov r8d, 0xcd4ddecb
xor r8d, 0x32b22134
xor r10d, r8d
mov r8d, r9d
xor r8d, r10d
and r8d, r9d
mov dword [rbp - 0x74], r8d
mov r8, qword [rax]
mov qword [rdx], r8
mov rax, qword [rax + 8]
mov qword [rdx + 8], rax
sub rsp, 0x20
call fcn.140018a3d
mov eax, dword [rbp - 0x74]
add rsp, 0x20
cmp eax, 0x423cf569
jb 0x14005952a
jmp 0x1400595c9
mov eax, dword [0x14024d780]
mov edx, dword [0x14024d784]
mov ecx, eax
add ecx, 1
xor eax, 0xffffffff
or eax, edx
add eax, ecx
imul eax, eax, 0x44d73a71
mov ecx, 0x1fe5260b
xor edx, edx
div ecx
mov ecx, eax
xor ecx, 0x4bff9ee7
mov edx, 0xffffffff
xor edx, 0x4bff9ee7
and eax, edx
shl eax, 1
sub eax, ecx
cmp eax, 0x3f90927f
je 0x14005968e
mov eax, dword [0x14024d788]
xor eax, 0x27074870
mov edx, dword [0x14024d78c]
xor edx, 0xe391c7c6
mov ecx, 0xc240e8b2
xor ecx, 0xc240e8b2
sub ecx, edx
add eax, ecx
mov ecx, 0x97b30886
xor edx, edx
div ecx
mov ecx, eax
mov eax, 0xffffffff
xor eax, 0xb5186cc8
xor edx, edx
sub edx, 1
sub eax, edx
sub ecx, eax
mov eax, ecx
and eax, 0x59b228ed
xor ecx, 0x59b228ed
or eax, ecx
mov ecx, 0xaf49f27b
xor ecx, 0x5c1bf0f3
cmp eax, ecx
jb 0x14005968e
mov rax, qword [rbp - 0x60]
lea rsp, [rbp + 0x20]
pop rbp
ret
add eax, 0xe999f414
pushfq
invalid
invalid