Function at 0x14012f850
Capabilities:
Encode data using xor
Get memory capacity

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov rbp, rsp
mov rsi, rcx
mov eax, dword [0x140229d10]
sub eax, dword [0x140229d14]
mov ecx, 0xa98f5987
imul rcx, rax
shr rcx, 0x3e
and ecx, 0xfffffffe
imul eax, ecx, 0x356cf2af
cmp eax, 0x47476b35
jae 0x14012f8b0
mov eax, 0x70
call fcn.1401516e0
sub rsp, rax
mov eax, 0x40
call fcn.1401516e0
sub rsp, rax
mov eax, 0x10
call fcn.1401516e0
sub rsp, rax
mov eax, dword [0x140229d18]
mov ecx, dword [0x140229d1c]
mov edx, eax
xor edx, ecx
not edx
and edx, ecx
add edx, edx
sub ecx, edx
add eax, ecx
add eax, 0x251c4ad6
mov ecx, eax
xor ecx, 0x5da07fa1
and ecx, eax
mov eax, 0x70
call fcn.1401516e0
sub rsp, rax
mov rbx, rsp
mov eax, 0x40
call fcn.1401516e0
sub rsp, rax
mov r14, rsp
mov eax, 0x10
call fcn.1401516e0
sub rsp, rax
mov rdi, rsp
cmp ecx, 0x7b9627ac
ja 0x14012f8b0
mov eax, dword [0x140229d20]
imul eax, dword [0x140229d24]
imul eax, eax, 0x65d97a4d
add eax, 0xed923149
cmp eax, 0x95af449e
jb 0x14012f995
mov eax, dword [0x140229d28]
xor edx, edx
div dword [0x140229d2c]
mov ecx, eax
and ecx, 0x45fd19ea
add ecx, ecx
neg ecx
add eax, ecx
add eax, 0x622fa132
mov ecx, eax
not ecx
and ecx, 0xab71536f
mov edx, eax
and edx, 0x548eac90
imul edx, ecx
mov ecx, eax
and ecx, 0xab71536f
or eax, 0xab71536f
imul eax, ecx
add eax, edx
xorps xmm0, xmm0
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x10], xmm0
movups xmmword [r14], xmm0
cmp eax, 0xcc5e726
jne 0x14012f9ad
xorps xmm0, xmm0
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x10], xmm0
movups xmmword [r14], xmm0
jmp 0x14012f930
mov eax, dword [0x140229d30]
add eax, dword [0x140229d34]
imul rax, rax, 0x5cb19e25
shr rax, 0x3d
and eax, 0xfffffffe
imul eax, eax, 0x5de7d86c
cmp eax, 0xba9b971c
jbe 0x14012f9eb
mov dword [r14], 0x40
sub rsp, 0x20
mov rcx, r14
call fcn.140151240
add rsp, 0x20
mov r15, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop word cs:[rax + rax]
mov eax, dword [0x140229d38]
mov ecx, dword [0x140229d3c]
mov edx, ecx
not edx
mov r8d, eax
and r8d, edx
or edx, eax
not edx
imul edx, r8d
mov r8d, eax
and r8d, ecx
or eax, ecx
imul eax, r8d
lea r12d, [rax + rdx]
add r12d, 0x52bb328a
or r12d, 0x44e17fb
xor r12d, 0xd41c390d
mov dword [r14], 0x40
sub rsp, 0x20
mov rcx, r14
call r15
add rsp, 0x20
cmp r12d, 0x9c578e4b
ja 0x14012fa00
test eax, eax
jne 0x14012fb4e
mov eax, dword [0x140229d40]
mov ecx, dword [0x140229d44]
mov edx, eax
not edx
and edx, ecx
not ecx
and ecx, eax
sub ecx, edx
and ecx, 0x84109430
cmp ecx, 0xb06c60d2
je 0x14012faee
mov eax, dword [0x140229d48]
mov ecx, dword [0x140229d4c]
xor ecx, eax
not ecx
and ecx, eax
mov eax, ecx
and eax, 0x77dba4a0
add eax, eax
neg eax
add eax, ecx
add eax, 0x77dba4a0
mov ecx, eax
not ecx
or eax, 0xab9da6c1
or ecx, 0x5462593e
and ecx, eax
mov eax, ecx
not eax
and eax, 0x7c98fad7
xor ecx, 0x3670528
lea r15d, [rcx + rax*2]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
cmp r15d, 0x3dd87949
jbe 0x14012fb00
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
jmp 0x14012fa8f
mov eax, dword [0x140229d54]
add eax, dword [0x140229d50]
mov ecx, eax
xor ecx, 0xb4266a41
xor eax, 0x4ad1950a
and eax, 0xeaf3df0b
mov edx, ecx
and edx, 0x150c20f4
imul edx, eax
mov eax, ecx
and eax, 0xeaf3df0b
or ecx, 0xeaf3df0b
imul ecx, eax
add ecx, edx
mov eax, ecx
and eax, 0x2f4666b8
add eax, eax
sub ecx, eax
cmp ecx, 0x77162f42
je 0x14012fb00
mov eax, dword [0x140229d58]
xor edx, edx
div dword [0x140229d5c]
or eax, 0x16e4f41b
imul eax, eax, 0x82cbf2b9
not eax
or eax, 0x9c072c21
cmp eax, 0xb1dc52a7
jb 0x14012fbea
mov eax, dword [0x140229d60]
sub eax, dword [0x140229d64]
or eax, 0x320b5016
add eax, 0xfc03bcf
mov r15d, eax
not r15d
or eax, 0xba0f4aa
or r15d, 0xf45f0b55
and r15d, eax
movups xmm0, xmmword [r14 + 8]
movups xmmword [rsi + 0x70], xmm0
xorps xmm0, xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x60], 0
sub rsp, 0x20
mov rcx, rbx
mov edx, 0x68
call qword [sym.imp.KERNEL32.dll_K32GetPerformanceInfo]
add rsp, 0x20
cmp r15d, 0xb2e9d27e
jae 0x14012fc30
movups xmm0, xmmword [r14 + 8]
movups xmmword [rsi + 0x70], xmm0
xorps xmm0, xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x60], 0
sub rsp, 0x20
mov rcx, rbx
mov edx, 0x68
call fcn.140151260
add rsp, 0x20
jmp 0x14012fb75
mov ecx, dword [0x140229d68]
mov edx, dword [0x140229d6c]
mov r8d, edx
not r8d
mov r9d, ecx
and r9d, r8d
or r8d, ecx
not r8d
imul r8d, r9d
mov r9d, ecx
and r9d, edx
or ecx, edx
imul ecx, r9d
add ecx, r8d
mov edx, ecx
not edx
or edx, 0x200c618
and edx, 0x6707c69c
mov r8d, ecx
and r8d, 0x18181140
or r8d, edx
xor r8d, 0x784ef1b
and ecx, 0x60030184
or ecx, r8d
mov edx, ecx
and edx, 0x69122142
or ecx, 0xeb522142
add ecx, edx
cmp ecx, 0xf87b02ea
je 0x14012fc30
test eax, eax
je 0x14012fe60
mov r9d, 0xca7faf4f
nop word cs:[rax + rax]
mov eax, dword [0x140229d70]
xor edx, edx
div dword [0x140229d74]
imul rax, r9
shr rax, 0x3f
imul r14d, eax, 0xedf5862b
or r14d, 0x220fe474
mov r10, qword [rbx + 0x20]
mov rax, qword [rbx + 0x10]
sub rax, r10
mov edx, 0
cmovae rdx, rax
mov rcx, qword [rbx + 0x50]
mov rax, rcx
mul rdx
seto r11b
cmp r14d, 0x5376a3c2
je 0x14012fcc0
mov r8, rax
mov rbx, qword [rbx + 8]
mov eax, dword [0x140229d78]
xor edx, edx
div dword [0x140229d7c]
mov edx, eax
or edx, 0xb79cffcb
mov r9d, eax
not r9d
and r9d, 0x40210020
mov r14d, edx
and r14d, 0x2b464b54
imul r14d, r9d
and edx, 0xd4b9b4ab
or eax, 0xf7bdffeb
imul eax, edx
add eax, r14d
cmp eax, 0x589f839
je 0x14012fdca
mov r14d, dword [0x140229d80]
xor r14d, dword [0x140229d84]
add r14d, 0x811e0f16
mov eax, r14d
xor eax, 0x2cb3840
or r14d, 0xd0240124
and r14d, eax
not r14d
or r14d, 0x2d10c69b
test r11b, r11b
mov r15, 0xffffffffffffffff
mov r12, r8
cmovne r12, r15
xor edx, edx
mov rax, rbx
sub rax, r10
cmovae rdx, rax
mov rax, rcx
mul rdx
mov r9, rax
cmovo r9, r15
mov qword [rsi + 0x80], r12
add r14d, 0x63dd63e6
jae 0x14012fde4
test r11b, r11b
mov rax, 0xffffffffffffffff
cmove rax, r8
mov qword [rsi + 0x80], rax
jmp 0x14012fd5f
mov eax, dword [0x140229d88]
and eax, dword [0x140229d8c]
or eax, 0xec25c05c
add eax, 0x1a66d403
xor eax, 0xd9c8297c
cmp eax, 0x1cec85e
jb 0x14012fe57
mov eax, dword [0x140229d90]
xor edx, edx
div dword [0x140229d94]
add eax, 0xca3db209
mov ecx, eax
xor ecx, 0x40802003
xor eax, 0xbf6edb5c
mov edx, eax
and edx, 0x371f1fa8
and ecx, 0xc8e0e057
imul ecx, edx
mov edx, eax
and edx, 0xc8e0e057
or eax, 0xc8e0e057
imul eax, edx
add eax, ecx
mov qword [rsi + 0x88], r9
cmp eax, 0x64d38cb6
jne 0x14012fe60
mov qword [rsi + 0x88], r9
jmp 0x14012fe06
xor eax, eax
nop word cs:[rax + rax]
test al, al
jne 0x14012fe70
mov eax, dword [0x140229d98]
mov ecx, dword [0x140229d9c]
mov edx, eax
and edx, ecx
xor eax, ecx
lea eax, [rax + rdx*2]
xor eax, 0xf68d5f2
add eax, 0xa4ad96e3
cmp eax, 0xb82bbcd2
ja 0x14012fed2
mov ebx, dword [0x140229da0]
or ebx, dword [0x140229da4]
xor ebx, 0x2204089
or ebx, 0x2d9c0610
and ebx, 0x2ffd66d9
sub rsp, 0x20
mov rcx, rsi
mov dl, 1
call fcn.140109250
add rsp, 0x20
cmp ebx, 0x2e16c62f
jbe 0x14012fee6
sub rsp, 0x20
mov rcx, rsi
mov dl, 1
call fcn.140109250
add rsp, 0x20
jmp 0x14012fe9a
mov byte [rdi], 1
movabs rax, 0x202020202020101
mov qword [rdi + 1], rax
sub rsp, 0x20
mov rcx, rsi
mov rdx, rdi
call fcn.14010a960
nop
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret