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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100612fd
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x1021b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
cmp dword [0x1021e060], 0
jne 0x1001cc3e
cmp dword [0x1021ce88], 0
je 0x1001ce90
push 0x2c
lea eax, [ebp - 0xf4]
push eax
push dword [0x1021bb14]
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0xb8]
push dword [0x1021baf0]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xbc]
sbb eax, dword [ebp - 0xb4]
mov dword [ebp - 0xf8], eax
call dword [sym.imp.pdh.dll_PdhCollectQueryData]
lea eax, [ebp - 0x88]
push eax
push 0
push 0x200
push dword [0x1021baf4]
call dword [sym.imp.pdh.dll_PdhGetFormattedCounterValue]
movsd xmm0, qword [ebp - 0x80]
lea eax, [ebp - 0x1c]
push eax
movsd qword [ebp - 0x118], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
mov edi, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push eax
push dword [0x1021bb14]
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0xbc]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0xc0]
mov dword [0x1021bb0c], ecx
mov ecx, dword [ebp - 0x28]
mov dword [0x1021bb08], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x1021bb04], ecx
lea ecx, [ebp - 0x74]
mov dword [0x1021baf8], esi
mov dword [0x1021bafc], edi
mov dword [0x1021bb00], eax
call fcn.1001c7e0
add esp, 8
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
push dword [ebp - 0xfc]
call fcn.1001c7e0
add esp, 8
movsd xmm0, qword [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.100609a0
push edx
push eax
lea ecx, [ebp - 0x44]
call fcn.1001c7e0
add esp, 8
push ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.1000ff10
add esp, 4
mov esi, eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000ff10
add esp, 4
push ecx
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.1000ff10
mov ecx, eax
add esp, 4
imul eax, edi, 0x64
cdq
idiv ecx
cmp esi, 0x64
jg 0x1001cdb0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [0x1021ce30], xmm0
cmp eax, 0x64
jg 0x1001cdc4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x1021ce70], xmm0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1001cdfc
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001cdf2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf13
push ecx
push edx
call fcn.1003ffe1
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x1001ce46
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ce3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf13
push ecx
push edx
call fcn.1003ffe1
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x1001ce90
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ce86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf13
push ecx
push edx
call fcn.1003ffe1
add esp, 8
cmp dword [0x1021e094], 0
je 0x1001cef1
movaps xmm0, xmmword [0x10215180]
xor ecx, ecx
movups xmmword [ebp - 0x110], xmm0
mov word [ebp - 0x100], 0x5f4e
mov byte [ebp - 0xfe], 0
nop dword [eax]
mov al, byte [ebp - 0x110]
xor byte [ebp + ecx - 0x10f], al
inc ecx
cmp ecx, 0x11
jb 0x1001cec0
lea ecx, [ebp - 0x10f]
mov byte [ebp - 0xfe], 0
call fcn.10010950
cmp eax, 0x1006a02d
je 0x1001cef1
mov dword [0x1021ce10], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003f972
mov esp, ebp
pop ebp
ret
call fcn.1004da78
int3