Function at 0x1400fc3d0
Capabilities:
Get disk size
Get memory capacity
Query environment variable
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4a8]
sub rsp, 0x5a8
mov rax, qword [0x14014d030]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov r12, r9
mov qword [rsp + 0x78], r9
mov r13, r8
mov esi, edx
mov r14, rcx
call fcn.1400fce1c
test eax, eax
je 0x1400fc526
mov rax, qword [0x1401511f8]
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
jne 0x1400fc4ec
cmp qword [0x140151208], rax
je 0x1400fc526
mov rdi, qword [0x1401511e8]
test rdi, rdi
je 0x1400fc526
mov rcx, rdi
call qword [fcn.140009050]
lea rdx, str.DeviceKsecDD
lea rcx, [rbp - 0x50]
call rdi
mov rdi, qword [0x140151208]
lea rax, [rbp - 0x50]
and qword [rbp - 0x78], 0
xorps xmm0, xmm0
mov rcx, rdi
mov qword [rbp - 0x70], rax
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x80], 0x30
mov dword [rbp - 0x68], 0x40
call qword [fcn.140009050]
lea r9, [rbp - 0x40]
mov dword [rsp + 0x28], 0x20
lea r8, [rbp - 0x80]
mov dword [rsp + 0x20], 7
mov edx, 0x100001
lea rcx, [rsp + 0x58]
call rdi
test eax, eax
js 0x1400fc526
mov rcx, qword [rsp + 0x58]
xor eax, eax
lock cmpxchg qword [0x1401511f8], rcx
mov rdi, rax
je 0x1400fc4e7
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], rdi
jmp 0x1400fc4ec
mov rdi, qword [rsp + 0x58]
and qword [rsp + 0x38], 0
mov r9d, esi
mov eax, dword [r12]
mov r8, r14
mov qword [rsp + 0x30], r12
mov edx, 0x390008
mov dword [rsp + 0x28], eax
mov rcx, rdi
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400fc526
mov eax, 1
jmp 0x1400fcdf0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, 0xe04
xor edx, edx
mov rcx, rax
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x58], rax
mov r15, rax
test rax, rax
je 0x1400fcdf0
mov rcx, rbx
cmp esi, ecx
ja 0x1400fcc06
mov r8, rsi
mov rdx, r14
mov rcx, rax
call sub.msvcrt.dll_memcpy
lea eax, [rsi + 8]
mov edi, 0xfffffff8
and eax, edi
mov rcx, rbx
cmp eax, ecx
jbe 0x1400fc581
xor ebx, ebx
jmp 0x1400fcc06
mov esi, eax
sub ebx, eax
add rsi, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsi], eax
cmp ebx, 8
jb 0x1400fc57a
add ebx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsi + 8], eax
cmp ebx, 8
jb 0x1400fc57a
add ebx, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x10], eax
cmp ebx, 8
jb 0x1400fc57a
add rsi, 0x18
add ebx, edi
cmp ebx, 0x10
jb 0x1400fcc06
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov r14d, DispGetParam
cmp ebx, r14d
jb 0x1400fc57a
add rsi, r14
add ebx, 0xffffffe8
cmp ebx, 8
jb 0x1400fcc06
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp ebx, 0x10
jb 0x1400fc57a
add ebx, 0xfffffff0
cmp ebx, 0x40
jb 0x1400fcc06
lea rcx, [rsi + 0x10]
mov dword [rsi + 0x10], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp ebx, 0x48
jb 0x1400fc57a
add rsi, 0x58
add ebx, 0xffffffb8
cmp ebx, 0x10
jb 0x1400fcc06
lea rax, [rsi + 0xc]
mov rdx, rsi
lea r9, [rsi + 8]
mov qword [rsp + 0x20], rax
lea r8, [rsi + 4]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
cmp ebx, r14d
jb 0x1400fc57a
add rsi, r14
add ebx, 0xffffffe8
cmp dword [0x140150d00], 0
jne 0x1400fc731
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov r14, rax
test rax, rax
jne 0x1400fc68c
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov r14, rax
mov r12d, 1
test rax, rax
je 0x1400fc71c
lea rcx, [rbp - 0x30]
call fcn.1400fcf2c
xor edi, edi
mov r15, r14
mov eax, edi
mov edx, 0x7fff
test r12d, r12d
jne 0x1400fc6bd
add rax, 2
add r15, rax
mov rcx, r15
call qword [sym.imp.msvcrt.dll_wcsnlen]
mov rdi, rax
add edi, edi
jmp 0x1400fc6ce
inc rax
add r15, rax
mov rcx, r15
call qword [sym.imp.msvcrt.dll_strnlen]
mov edi, eax
lea r8, [rbp - 0x30]
mov edx, edi
mov rcx, r15
call fcn.1400fcf70
test edi, edi
jne 0x1400fc69a
lea rdx, [rbp + 0x2c]
lea rcx, [rbp - 0x30]
call fcn.1400fd25c
mov eax, dword [rbp + 0x3c]
mov rcx, r14
mov dword [0x140150d18], eax
movups xmm0, xmmword [rbp + 0x2c]
movups xmmword [0x140150d08], xmm0
test r12d, r12d
jne 0x1400fc711
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400fc717
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov r15, qword [rsp + 0x58]
mov r12, qword [rsp + 0x78]
mov r14d, DispGetParam
mov dword [0x140150d00], 1
cmp ebx, 0x14
jb 0x1400fcc06
movups xmm0, xmmword [0x140150d08]
movups xmmword [rsi], xmm0
mov eax, dword [0x140150d18]
mov dword [rsi + 0x10], eax
cmp ebx, r14d
jb 0x1400fc57a
add rsi, r14
add ebx, 0xffffffe8
call fcn.1400fce1c
test eax, eax
je 0x1400fcc06
cmp ebx, 0x40
jb 0x1400fcc06
mov rdi, qword [0x1401511f0]
test rdi, rdi
je 0x1400fcc06
mov rcx, rdi
mov dword [rsp + 0x50], ebx
call qword [fcn.140009050]
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
lea ecx, [r9 + 5]
call rdi
lea rcx, [rbp + 0x40]
call fcn.1400fcf2c
mov edx, dword [rsp + 0x50]
lea r8, [rbp + 0x40]
mov rcx, rsi
call fcn.1400fcf70
mov rdx, rsi
lea rcx, [rbp + 0x40]
call fcn.1400fd25c
cmp ebx, r14d
jb 0x1400fc57a
add rsi, r14
add ebx, 0xffffffe8
cmp ebx, 0x30
jb 0x1400fcc06
mov rdi, qword [0x1401511f0]
mov rcx, rdi
call qword [fcn.140009050]
mov r8d, 0x30
lea r9, [rsp + 0x50]
mov rdx, rsi
lea ecx, [r8 - 0x2d]
call rdi
test eax, eax
js 0x1400fc81c
mov ecx, dword [rsp + 0x50]
add ecx, 8
and ecx, 0xfffffff8
cmp ecx, ebx
ja 0x1400fc57a
mov eax, ecx
add rsi, rax
sub ebx, ecx
cmp ebx, r14d
jb 0x1400fcc06
mov rdi, qword [0x1401511f0]
mov rcx, rdi
call qword [fcn.140009050]
lea r9, [rsp + 0x50]
mov r8d, r14d
mov rdx, rsi
mov ecx, 7
call rdi
test eax, eax
js 0x1400fc864
mov ecx, dword [rsp + 0x50]
add ecx, 8
and ecx, 0xfffffff8
cmp ecx, ebx
ja 0x1400fc57a
mov eax, ecx
add rsi, rax
sub ebx, ecx
cmp ebx, 0xb0
jb 0x1400fcc06
mov rdi, qword [0x1401511f0]
mov rcx, rdi
call qword [fcn.140009050]
mov r8d, 0xb0
lea r9, [rsp + 0x50]
mov rdx, rsi
lea ecx, [r8 - 0x60]
call rdi
test eax, eax
js 0x1400fc8b1
mov ecx, dword [rsp + 0x50]
add ecx, 8
and ecx, 0xfffffff8
cmp ecx, ebx
ja 0x1400fc57a
mov eax, ecx
add rsi, rax
sub ebx, ecx
cmp ebx, 0x40
jb 0x1400fcc06
mov rdi, qword [0x1401511f0]
mov rcx, rdi
call qword [fcn.140009050]
mov r8d, 0x40
lea r9, [rsp + 0x50]
mov rdx, rsi
lea ecx, [r8 - 0x2b]
call rdi
test eax, eax
js 0x1400fc8fb
mov ecx, dword [rsp + 0x50]
add ecx, 8
and ecx, 0xfffffff8
cmp ecx, ebx
ja 0x1400fc57a
mov eax, ecx
add rsi, rax
sub ebx, ecx
cmp ebx, 0x158
jb 0x1400fcc06
mov rdi, qword [0x1401511f0]
mov rcx, rdi
call qword [fcn.140009050]
lea r9, [rsp + 0x50]
mov r8d, 0x158
mov rdx, rsi
mov ecx, 2
call rdi
test eax, eax
js 0x1400fc949
mov ecx, dword [rsp + 0x50]
add ecx, 8
and ecx, 0xfffffff8
cmp ecx, ebx
ja 0x1400fc57a
mov eax, ecx
add rsi, rax
sub ebx, ecx
cmp ebx, 0x10
jb 0x1400fcc06
mov rdi, qword [0x1401511f0]
mov rcx, rdi
call qword [fcn.140009050]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r9, [rsp + 0x50]
mov rdx, rsi
lea ecx, [r8 + 0x11]
call rdi
test eax, eax
js 0x1400fc993
mov ecx, dword [rsp + 0x50]
add ecx, 8
and ecx, 0xfffffff8
cmp ecx, ebx
ja 0x1400fc57a
mov eax, ecx
add rsi, rax
sub ebx, ecx
cmp ebx, 0x20
jb 0x1400fcc06
mov rdi, qword [0x1401511f0]
mov rcx, rdi
call qword [fcn.140009050]
mov r8d, 0x20
lea r9, [rsp + 0x50]
mov rdx, rsi
lea ecx, [r8 + 0xd]
call rdi
test eax, eax
js 0x1400fc9dd
mov ecx, dword [rsp + 0x50]
add ecx, 8
and ecx, 0xfffffff8
cmp ecx, ebx
ja 0x1400fc57a
mov eax, ecx
add rsi, rax
sub ebx, ecx
mov rdi, qword [0x1401511f0]
mov rcx, rdi
mov dword [rsp + 0x50], ebx
call qword [fcn.140009050]
lea r9, [rsp + 0x50]
mov r8d, ebx
mov rdx, rsi
mov ecx, 8
call rdi
test eax, eax
js 0x1400fca4d
cmp ebx, 0x14
jb 0x1400fcc06
lea rcx, [rbp + 0x190]
call fcn.1400fcf2c
mov edx, dword [rsp + 0x50]
lea r8, [rbp + 0x190]
mov rcx, rsi
call fcn.1400fcf70
mov rdx, rsi
lea rcx, [rbp + 0x190]
call fcn.1400fd25c
cmp ebx, r14d
jb 0x1400fc57a
add rsi, r14
add ebx, 0xffffffe8
mov rdi, qword [0x1401511f0]
mov rcx, rdi
mov dword [rsp + 0x50], ebx
call qword [fcn.140009050]
lea r9, [rsp + 0x50]
mov r8d, ebx
mov rdx, rsi
mov ecx, 0x3d
call rdi
test eax, eax
js 0x1400fcabd
cmp ebx, 0x14
jb 0x1400fcc06
lea rcx, [rbp + 0xb0]
call fcn.1400fcf2c
mov edx, dword [rsp + 0x50]
lea r8, [rbp + 0xb0]
mov rcx, rsi
call fcn.1400fcf70
mov rdx, rsi
lea rcx, [rbp + 0xb0]
call fcn.1400fd25c
cmp ebx, r14d
jb 0x1400fc57a
add rsi, r14
add ebx, 0xffffffe8
mov rdi, qword [0x1401511f0]
mov rcx, rdi
mov dword [rsp + 0x50], ebx
call qword [fcn.140009050]
lea r9, [rsp + 0x50]
mov r8d, ebx
mov rdx, rsi
mov ecx, SafeArrayAccessData
call rdi
test eax, eax
js 0x1400fcb2d
cmp ebx, 0x14
jb 0x1400fcc06
lea rcx, [rbp + 0x120]
call fcn.1400fcf2c
mov edx, dword [rsp + 0x50]
lea r8, [rbp + 0x120]
mov rcx, rsi
call fcn.1400fcf70
mov rdx, rsi
lea rcx, [rbp + 0x120]
call fcn.1400fd25c
cmp ebx, r14d
jb 0x1400fc57a
add rsi, r14
add ebx, 0xffffffe8
mov rdi, qword [0x1401511f0]
mov rcx, rdi
mov dword [rsp + 0x50], ebx
call qword [fcn.140009050]
lea r9, [rsp + 0x50]
mov r8d, ebx
mov rdx, rsi
mov ecx, reloc.Cabinet.dll_FDIDestroy
call rdi
test eax, eax
js 0x1400fcb9d
cmp ebx, 0x14
jb 0x1400fcc06
lea rcx, [rbp + 0x200]
call fcn.1400fcf2c
mov edx, dword [rsp + 0x50]
lea r8, [rbp + 0x200]
mov rcx, rsi
call fcn.1400fcf70
mov rdx, rsi
lea rcx, [rbp + 0x200]
call fcn.1400fd25c
cmp ebx, r14d
jb 0x1400fc57a
add rsi, r14
add ebx, 0xffffffe8
mov rdi, qword [0x1401511f0]
mov rcx, rdi
mov dword [rsp + 0x50], ebx
call qword [fcn.140009050]
lea r9, [rsp + 0x50]
mov r8d, ebx
mov rdx, rsi
mov ecx, 0x2a
call rdi
test eax, eax
js 0x1400fcc06
cmp ebx, 0x14
jb 0x1400fcc06
lea rcx, [rbp + 0x270]
call fcn.1400fcf2c
mov edx, dword [rsp + 0x50]
lea r8, [rbp + 0x270]
mov rcx, rsi
call fcn.1400fcf70
mov rdx, rsi
lea rcx, [rbp + 0x270]
call fcn.1400fd25c
cmp ebx, r14d
jb 0x1400fc57a
add ebx, 0xffffffe8
movaps xmm0, xmmword [0x140150e40]
lea r8, [rbp + 0x3f0]
movaps xmm1, xmmword [0x140150e50]
lea rcx, [rbp + 0x2e0]
movaps xmmword [rbp + 0x3f0], xmm0
mov esi, 0x50
movaps xmm0, xmmword [0x140150e60]
mov edx, esi
movaps xmmword [rbp + 0x410], xmm0
movaps xmm0, xmmword [0x140150e80]
movaps xmmword [rbp + 0x400], xmm1
movaps xmm1, xmmword [0x140150e70]
movaps xmmword [rbp + 0x430], xmm0
movaps xmmword [rbp + 0x420], xmm1
call fcn.1400fd500
mov eax, 0xe04
lea r8, [rbp + 0x3f0]
mov edx, eax
mov rcx, r15
sub edx, ebx
cmp edx, eax
cmova edx, eax
call fcn.1401040c8
movaps xmm4, xmmword [rbp + 0x3f0]
lea r8, [rbp + 0x440]
movaps xmm3, xmmword [rbp + 0x400]
lea rcx, [rbp + 0x2e0]
movaps xmm2, xmmword [rbp + 0x410]
mov edx, esi
movaps xmm1, xmmword [rbp + 0x420]
mov ebx, eax
movaps xmm0, xmmword [rbp + 0x430]
movaps xmmword [rbp + 0x440], xmm4
movaps xmmword [rbp + 0x450], xmm3
movaps xmmword [rbp + 0x460], xmm2
movaps xmmword [rbp + 0x470], xmm1
movaps xmmword [rbp + 0x480], xmm0
movaps xmmword [0x140150e40], xmm4
movaps xmmword [0x140150e50], xmm3
movaps xmmword [0x140150e60], xmm2
movaps xmmword [0x140150e70], xmm1
movaps xmmword [0x140150e80], xmm0
call fcn.140107ff0
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREMicrosoftCryptographyDRM_RNG
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400fcd7c
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 0x440]
mov dword [rsp + 0x28], esi
lea r9d, [rsi - 0x4d]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Seed
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea rdi, [rbp + 0x440]
mov rcx, rsi
lea r8, [rbp + 0x3f0]
rep stosb byte [rdi], al
lea rcx, [rbp + 0x2e0]
mov edx, esi
call fcn.1400fd500
mov edx, dword [r12]
lea rdi, [rbp + 0x3f0]
xor eax, eax
mov rcx, rsi
rep stosb byte [rdi], al
lea rcx, [rbp + 0x2e0]
mov r8, r13
call fcn.140107ff0
xor eax, eax
lea rdi, [rbp + 0x2e0]
mov ecx, 0x108
rep stosb byte [rdi], al
mov rdi, r15
mov ecx, 0xe04
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.140106ed0
add rsp, 0x5a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret