Function at 0x180008cf0
Capabilities:
Create mailslot
Get disk information
Get disk size
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov edi, 1
cmp edx, edi
jne 0x180008ebc
mov dword [rsp + 0x68], 0x27c
lea rax, [0x1800035c0]
add rax, 0x27c
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.180015030
cmp dword [0x1800e1038], 0x62a99835
jne 0x180008e76
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor r9d, r9d
lea rdx, str.G3aStfPCvK3rsxoFHqmxSKq
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileMUIInfo]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlUnwind]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMailslotA]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor ebx, ebx
xor eax, eax
lock cmpxchg dword [rbx], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetCommState]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetMailslotInfo]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_NeedCurrentDirectoryForExePathA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FlsFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetAppContainerNamedObjectPath]
lea rax, str.HNsd38e5nk5Gik717zb
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea r9, str.54z6Mp99R8Cx8B65BBmV
mov dword [rsp + 0x28], ebx
lea rcx, str.uStWQ97M2uWWn3uj9fpqSPWgLU3xB
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetDateFormatEx]
lea rax, str.nKduhD6Owee8k98976M1amZEcaLyg
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea r8, str.nvJqGM3UO1kkTQc3rkvD
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNLSString]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [rsp + 0x68], 0x278
lea rax, [0x180004d40]
add rax, 0x278
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.180015030
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x230]
add rsp, 0x210
pop rdi
pop rsi
pop rbp
ret
cmp edx, 3
jne 0x180008ea7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, 3
mov rsi, rax
lea ecx, [rdx + 3]
call fcn.180002070
test al, al
je 0x180008ea7
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.180002070
test al, al
jne 0x180008ea7
xor r9d, r9d
lea rdx, [rbp + 0x148]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x180008ea7
mov rax, qword [rbp + 0x148]
movabs rcx, 0x1c0000000
and rax, 0xffffffffc0000000
cmp rax, rcx
jae 0x180008ea7
lea rdx, [rbp + 0x138]
mov dword [rbp + 0x138], 0x101
lea rcx, [rbp]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x180008ea7
lea rcx, [rbp]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x180008f50
cmp rax, 0x19
jne 0x180008ea7
movups xmm0, xmmword [str.pBiZxmSyJiHhcORJEmHKzrVMe]
movzx eax, word [0x180080520]
xor ebx, ebx
mov word [rsp + 0x78], ax
mov edx, 0x7f00
movups xmmword [rsp + 0x60], xmm0
lea rax, [0x180008b30]
xor ecx, ecx
movsd xmm0, qword [0x180080518]
movsd qword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 0x50
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rsi
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 [0x1800805a0]
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 0x180009071
mov qword [rsp + 0x58], rbx
lea r8, str.Colorful_Squares
mov qword [rsp + 0x50], rsi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x48], rbx
mov r9d, 0xcf0000
mov qword [rsp + 0x40], rbx
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 rbx, rax
test rax, rax
jne 0x180009078
lea r9d, [rax + 0x30]
xor ecx, ecx
lea r8, str.Error_
lea rdx, str.Window_Creation_Failed_
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x180008ea9
mov edx, edi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
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 0x1800090cc
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 0x1800090a2
mov eax, dword [rbp - 0x20]
jmp 0x180008ea9