Function at 0x4027d0
Capabilities:
Get common file path
Get disk information
Get hostname
Get memory capacity
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2290
call fcn.0040d720
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x447108]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x44710c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0x9e3779b9
mov dword [ebp - 0x20], edx
call fcn.004027c0
mov ecx, dword [0x447110]
mov edx, dword [0x447114]
add dword [ebp - 0xc], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov esi, dword [ebp - 0x10]
mov eax, dword [0x4555fc]
shl esi, 4
add esi, dword [ebp - 0x30]
cmp eax, 0xfa9
jne 0x402864
mov dword [0x4555f8], 0xedeb2e40
jmp 0x40287f
cmp eax, 0x3eb
jne 0x40287f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x455088], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x24]
add dword [ebp - 8], edx
xor esi, ecx
cmp dword [0x4555fc], 0x9e6
mov dword [0x4555f4], 0xf4ea3dee
jne 0x4028ba
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 8], esi
cmp dword [0x4555fc], 0x213
jne 0x40296e
push 0
lea eax, [ebp - 0x1a8c]
push eax
push 0
push 0x4024c0
push 0
push 0
call ebx
lea ecx, [ebp - 0xa8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
push 0
lea edx, [ebp - 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x128c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
push 0
lea edx, [ebp - 0x228c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
lea eax, [ebp - 0x3c]
push eax
push 0
lea ecx, [ebp - 0x50]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
lea edx, [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub edi, dword [ebp - 8]
cmp dword [0x4555fc], 0xc
jne 0x40298c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [ebp - 0xc]
mov edx, edi
shr edx, 5
add ecx, edi
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 8]
xor eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x18], 1
jne 0x402838
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4