Function at 0x10009230
Capabilities:
Check os version
Get disk information
Get disk size
Get hostname

Disassembly:
mov r11, rsp
sub rsp, 0xbc8
mov rax, qword [0x1001f320]
xor rax, rsp
mov qword [rsp + 0xb90], rax
mov qword [r11 - 8], rbx
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], rdi
mov rbp, rcx
mov esi, r8d
mov rdi, rdx
mov qword [r11 - 0x28], r12
mov r12, qword [rsp + 0xbf0]
lea rcx, [r11 - 0xad8]
xor edx, edx
mov r8d, 0x550
movzx ebx, r9w
call sub.MSVCR80.dll_memset
mov dword [rsp + 0xf8], 0x80000002
mov dword [rsp + 0xf0], 0xdf1f1ed3
mov word [rsp + 0x5fe], bx
xor ecx, ecx
lea rdx, str.Temp_0720
movzx eax, byte [rcx + rdx]
add rcx, 1
test al, al
mov byte [rsp + rcx + 0x13b], al
jne 0x100092b0
lea r8, str._s:_d
lea rcx, [rsp + 0x600]
mov r9, rdi
mov edx, 0x40
mov dword [rsp + 0x20], esi
call qword [sym.imp.MSVCR80.dll__snprintf]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xfc]
mov dword [rsp + 0x40], 0x40
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetACP]
lea rcx, [rsp + 0x50]
shl eax, 0x10
mov dword [rsp + 0x50], 0x9c
or eax, ebx
mov dword [rsp + 0xf4], eax
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
movzx eax, byte [rsp + 0x54]
mov r11d, dword [rsp + 0x5c]
mov dword [rsp + 0x15c], eax
movzx eax, byte [rsp + 0x58]
mov dword [rsp + 0x160], eax
mov dword [rsp + 0x164], r11d
xor ecx, ecx
movzx eax, byte [rsp + rcx + 0x64]
add rcx, 1
test al, al
mov byte [rsp + rcx + 0x167], al
jne 0x10009354
mov eax, dword [rsp + 0x54]
cmp eax, 6
jne 0x10009386
cmp byte [rsp + 0xea], 1
je 0x100093a8
bts dword [rsp + 0x15c], 0x1f
jmp 0x100093a8
cmp eax, 5
jne 0x100093a8
cmp dword [rsp + 0x58], 2
jne 0x100093a8
lea ecx, [rax + 0x54]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x100093a8
bts dword [rsp + 0x15c], 0x1f
mov byte [rsp + 0x35], 0x3a
mov byte [rsp + 0x36], 0
xor esi, esi
mov bl, 0x41
lea rdi, [rsp + 0x1ec]
nop
lea rcx, [rsp + 0x34]
mov byte [rsp + 0x34], bl
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x100093de
cmp eax, 5
je 0x100093de
cmp eax, 6
jne 0x10009416
cmp eax, 5
movsx ecx, bl
mov dword [rdi - 4], eax
mov dword [rdi], ecx
je 0x1000940f
movsxd rax, esi
xor edx, edx
lea rcx, [rax + rax*2]
lea r9, [rsp + rcx*8 + 0x1f8]
lea r8, [rsp + rcx*8 + 0x1f0]
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
add esi, 1
add rdi, 0x18
add bl, 1
cmp bl, 0x5a
jle 0x100093c0
lea rcx, [rsp + 0xf0]
call fcn.10008fd0
lea rcx, [rsp + 0x640]
xor edx, edx
mov r8d, 0x550
call sub.MSVCR80.dll_memset
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x640]
mov r9d, 0x550
mov dword [rsp + 0x38], 0x550
mov dword [rsp + 0x20], 8
call fcn.100118d0
call fcn.100090c0
mov edx, dword [rsp + 0x38]
movzx ebx, al
mov ecx, ebx
shl ecx, 0x18
add ecx, edx
mov dword [rsp + 0x44], ecx
lea rcx, [rsp + 0x640]
call fcn.100090f0
lea rdx, [rsp + 0x44]
mov r8d, 4
mov rcx, rbp
mov dword [rsp + 0x3c], 0
mov edi, eax
call fcn.100091a0
mov rsi, qword [rsp + 0xbb0]
test eax, eax
jne 0x100094c4
mov eax, 0xffffffff
jmp 0x10009517
mov r8d, dword [rsp + 0x38]
lea rdx, [rsp + 0x640]
mov rcx, rbp
call fcn.100091a0
test eax, eax
je 0x100094bd
lea rdx, [rsp + 0x3c]
mov rcx, rbp
call fcn.10009130
test eax, eax
je 0x100094bd
cmp edi, dword [rsp + 0x3c]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rbp
sete byte [rsp + 0x30]
call fcn.100091a0
test eax, eax
je 0x100094bd
movzx eax, byte [rsp + 0x30]
mov byte [r12], bl
mov r12, qword [rsp + 0xba0]
mov rdi, qword [rsp + 0xba8]
mov rbp, qword [rsp + 0xbb8]
mov rbx, qword [rsp + 0xbc0]
mov rcx, qword [rsp + 0xb90]
xor rcx, rsp
call fcn.10010cd0
add rsp, 0xbc8
ret