Function at 0x1800094b0
Capabilities:
Get disk size
Get session user name
Get uefi variable

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov ebx, 1
cmp edx, ebx
jne 0x180009613
mov dword [rsp + 0x68], 0x170
lea rax, [0x180003a70]
add rax, 0x170
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.18000e770
cmp dword [0x1800e1038], 0x4d9ba1a6
jne 0x1800095d5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_StartThreadpoolIo]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FlsFree]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RemoveDllDirectory]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalHandle]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalProcessorInformationEx]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_UnregisterWait]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FreeLibraryWhenCallbackReturns]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileNameW]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetFileCompletionNotificationModes]
mov dword [rsp + 0x68], 0x20a
lea rax, [0x1800051a0]
add rax, 0x20a
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.18000e770
mov ebx, eax
mov eax, ebx
add rsp, 0x210
pop rdi
pop rbx
pop rbp
ret
cmp edx, 3
jne 0x180009606
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, 3
mov rdi, rax
lea ecx, [rdx + 3]
call fcn.180002070
test al, al
je 0x180009606
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.180002070
test al, al
jne 0x180009606
xor r9d, r9d
lea rdx, [rbp + 0x148]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x180009606
mov rax, qword [rbp + 0x148]
movabs rcx, 0x1c0000000
and rax, 0xffffffffc0000000
cmp rax, rcx
jae 0x180009606
lea rdx, [rbp + 0x138]
mov dword [rbp + 0x138], 0x101
lea rcx, [rbp]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x180009606
lea rcx, [rbp]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1800096a5
cmp rax, 0x19
jne 0x180009606
movups xmm0, xmmword [str.zzIoJsvNQbCKWcKrhQXoGXw]
lea rax, [0x1800092f0]
mov qword [rsp + 0x230], rsi
xor esi, esi
mov qword [rbp - 0x80], 0x50
movups xmmword [rsp + 0x60], xmm0
mov edx, 0x7f00
xor ecx, ecx
movsd xmm0, qword [0x180080610]
movsd qword [rsp + 0x70], xmm0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rdi
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
movdqa xmm0, xmmword [0x180080690]
mov edx, 0x7f00
mov qword [rbp - 0x58], rax
xor ecx, ecx
lea rax, [rsp + 0x60]
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x38], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x1800097c2
mov qword [rsp + 0x58], rsi
lea r8, str.Colorful_Squares
mov qword [rsp + 0x50], rdi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x48], rsi
mov r9d, 0xcf0000
mov qword [rsp + 0x40], rsi
mov ecx, 0x200
mov dword [rsp + 0x38], 0x190
mov dword [rsp + 0x30], 0x190
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdi, rax
test rax, rax
jne 0x1800097d7
lea r9d, [rsi + 0x30]
xor ecx, ecx
lea r8, str.Error_
lea rdx, str.Window_Creation_Failed_
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov rsi, qword [rsp + 0x230]
add rsp, 0x210
pop rdi
pop rbx
pop rbp
ret
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
xor r9d, r9d
lea rcx, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jle 0x18000982b
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
lea rcx, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jg 0x180009801
mov eax, dword [rbp - 0x20]
jmp 0x1800097c4