Function at 0x140130ea0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push rbx
push rax
mov rbp, rsp
mov rsi, rcx
mov eax, dword [0x141599f40]
mov ecx, dword [0x141599f44]
mov edx, eax
not edx
mov r8d, ecx
not r8d
mov r9d, edx
and r9d, 0xb66ac4d
and eax, 0x349953b2
or eax, r9d
or edx, r8d
and r8d, 0xb66ac4d
and ecx, 0x349953b2
or ecx, r8d
xor ecx, eax
not edx
or edx, ecx
add edx, 0x14e446c0
and edx, 0x3e014893
cmp edx, 0xcdf5570c
jbe 0x140130f10
mov eax, 0x20
call fcn.14020e090
sub rsp, rax
nop dword [rax]
mov eax, dword [0x141599f48]
xor edx, edx
div dword [0x141599f4c]
mov ecx, eax
and eax, 0xb1c5e6c4
or ecx, 0xb1c5e6c4
add ecx, eax
mov eax, ecx
not eax
mov edx, ecx
and edx, 0x543099c9
and eax, 0xabcf6636
imul eax, edx
mov edx, ecx
and edx, 0xabcf6636
or ecx, 0xabcf6636
imul ecx, edx
add ecx, eax
and ecx, 0xe64814c4
mov eax, 0x20
call fcn.14020e090
sub rsp, rax
mov r9, rsp
cmp ecx, 0x1d40bf88
jb 0x140130f10
mov eax, dword [0x141599f50]
or eax, dword [0x141599f54]
add eax, 0xcf699e47
mov ecx, eax
not ecx
mov edx, eax
and edx, 0xd1018293
and ecx, 0x2efe7d6c
imul ecx, edx
mov edx, eax
and edx, 0x2efe7d6c
or eax, 0x2efe7d6c
imul eax, edx
add eax, ecx
mov ecx, eax
and ecx, 0x58f7aa78
add ecx, ecx
sub eax, ecx
add eax, 0x58f7aa79
cmp eax, 0xc15ba970
ja 0x140130fd8
mov eax, 0x20
call fcn.14020e090
sub rsp, rax
mov rdi, rsp
xor eax, eax
test al, al
je 0x140130fe7
mov eax, 0x20
call fcn.14020e090
sub rsp, rax
jmp 0x140130fc2
mov rax, qword [rsi]
cmp rax, 0xffffffffffffffff
je 0x140131221
lea rdx, [rax + 1]
nop dword [rax + rax]
mov ecx, dword [0x141599f58]
mov r8d, dword [0x141599f5c]
mov r10d, ecx
xor r10d, r8d
not r8d
and r8d, ecx
add r8d, r8d
sub r8d, r10d
and r8d, 0x1e70b776
imul rcx, r8, 0x6c8248f
shr rcx, 0x35
cmp ecx, 0xe2a09b05
je 0x140131000
lea rcx, [rax + rax]
cmp rcx, rdx
cmova rdx, rcx
cmp rdx, 5
mov ebx, 4
cmovae rbx, rdx
xor r10d, r10d
mov rdx, rbx
shr rdx, 0x3e
sete r10b
lea r8, [rbx + rbx]
add r10, r10
test rax, rax
je 0x1401310f6
mov eax, dword [0x141599f60]
xor edx, edx
div dword [0x141599f64]
nop dword [rax]
mov eax, dword [0x141599f68]
sub eax, dword [0x141599f6c]
mov edx, eax
xor edx, 0x242b050c
and edx, eax
imul eax, edx, 0xbb1f7729
add eax, 0xe3b14012
cmp eax, 0xf832121b
ja 0x140131080
mov eax, dword [0x141599f70]
sub eax, dword [0x141599f74]
imul eax, eax, 0xa34005b8
mov edx, eax
not edx
or edx, 0xf56760d8
or eax, 0xa989f24
and eax, edx
cmp eax, 0x30b20e3c
jbe 0x1401310d9
mov rax, qword [rsi + 8]
mov qword [r9], rax
xor eax, eax
nop dword [rax + rax]
mov rdx, qword [rsi + 8]
mov qword [r9], rdx
test al, al
jne 0x1401310e0
mov qword [r9 + 0x10], rcx
mov eax, 2
jmp 0x1401310f8
xor eax, eax
mov qword [r9 + 8], rax
sub rsp, 0x20
mov rcx, rdi
mov rdx, r10
call fcn.14020b2a0
add rsp, 0x20
cmp qword [rdi], 0
jne 0x140131221
mov rcx, qword [rdi + 8]
mov eax, dword [0x141599f90]
mov edx, dword [0x141599f94]
mov r8d, edx
and r8d, eax
add eax, edx
sub eax, r8d
mov edx, eax
not edx
and edx, 0xe1169337
mov r8d, eax
and r8d, 0x1ee96cc8
imul r8d, edx
mov edx, eax
and edx, 0xe1169337
or eax, 0xe1169337
imul eax, edx
add eax, r8d
mov edx, eax
xor edx, 0x32070b75
add edx, eax
and eax, 0x4df8f48a
sub edx, eax
not edx
or edx, 0x86a10479
cmp edx, 0x65765a56
jae 0x140131190
mov qword [rsi + 8], rcx
mov qword [rsi], rbx
nop word [rax + rax]
mov eax, dword [0x141599f98]
xor edx, edx
div dword [0x141599f9c]
add eax, 0x6fd587f5
mov edx, eax
not edx
and edx, 0x3115658b
mov r8d, eax
and r8d, 0x4eea9a74
imul r8d, edx
mov edx, eax
and edx, 0x3115658b
or eax, 0x3115658b
imul eax, edx
add eax, r8d
or eax, 0xa8ffa7c4
mov qword [rsi + 8], rcx
mov qword [rsi], rbx
cmp eax, 0x16319860
je 0x140131190
nop word cs:[rax + rax]
mov eax, dword [0x141599fa0]
and eax, dword [0x141599fa4]
imul rax, rax, 0x6a7cc2a5
shr rax, 0x3e
add eax, 0xd29b2ce7
or eax, 0x6c6423f1
cmp eax, 0xef38f7ca
jb 0x1401311f0
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [0x141599f78]
mov edx, dword [0x141599f7c]
mov eax, ecx
not eax
mov r8d, edx
not r8d
mov r9d, eax
and r9d, 0xd3c910f3
and ecx, 0x2c36ef0c
or ecx, r9d
or eax, r8d
and r8d, 0xd3c910f3
and edx, 0x2c36ef0c
or edx, r8d
xor edx, ecx
not eax
or eax, edx
mov ecx, eax
not ecx
mov edx, eax
and edx, 0xee31e943
and ecx, 0x11ce16bc
imul ecx, edx
mov edx, eax
and edx, 0x11ce16bc
or eax, 0x11ce16bc
imul eax, edx
add eax, ecx
imul eax, eax, 0x32184143
xor eax, 0xa6067f3b
cmp eax, 0x2df15e18
je 0x1401312d1
mov eax, dword [0x141599f80]
mov ecx, dword [0x141599f84]
mov edx, eax
and edx, ecx
add edx, edx
add eax, ecx
sub eax, edx
or eax, 0x7c816b7d
imul rax, rax, 0x22c41c9
shr rax, 0x38
imul eax, eax, 0x5dd4d32f
ud2
ud2