Function at 0x408822
Capabilities:
Get common file path
Get disk size
Get hostname

Disassembly:
push 0x688
mov eax, 0x42191c
call fcn.00414670
mov eax, dword [ebp + 8]
push str.idex
push eax
mov dword [ebp - 0x58c], eax
mov dword [ebp - 0x570], ecx
call fcn.004036aa
test eax, eax
jne 0x408c31
mov eax, dword [0x42b6ec]
mov esi, 0x42b6ec
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x564], eax
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.004111a4
pop ecx
push eax
call fcn.00410f08
pop ecx
call fcn.00410f15
push eax
push str._05ld
lea ecx, [ebp - 0x564]
call fcn.004027d8
pop ecx
pop ecx
lea eax, [ebp - 0x560]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov edi, 0x103
push edi
lea eax, [ebp - 0x347]
push ebx
push eax
mov byte [ebp - 0x348], bl
call fcn.0040f690
add esp, 0xc
push 0x10
lea eax, [ebp - 0x560]
push eax
push 0x4222fc
call fcn.004111e0
add esp, 0xc
test eax, eax
je 0x408943
movzx eax, byte [ebp - 0x551]
push eax
movzx eax, byte [ebp - 0x552]
push eax
movzx eax, byte [ebp - 0x553]
push eax
movzx eax, byte [ebp - 0x554]
push eax
movzx eax, byte [ebp - 0x555]
push eax
movzx eax, byte [ebp - 0x556]
push eax
movzx eax, byte [ebp - 0x557]
push eax
movzx eax, byte [ebp - 0x558]
push eax
movzx eax, word [ebp - 0x55a]
push eax
movzx eax, word [ebp - 0x55c]
push eax
push dword [ebp - 0x560]
lea eax, [ebp - 0x348]
push str._08lX_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call fcn.00412860
add esp, 0x34
lea eax, [ebp - 0x690]
mov dword [ebp - 0x694], eax
call dword [section..data]
push eax
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x694]
push eax
call fcn.00408f66
mov byte [ebp - 4], 1
push dword [ebp - 0x694]
lea eax, [ebp - 0x564]
push eax
call fcn.0040363b
lea eax, [ebp - 0x690]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x694], eax
je 0x40899c
push dword [ebp - 0x694]
call fcn.00410ae8
pop ecx
lea eax, [ebp - 0x588]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x42b6ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x56c], eax
mov byte [ebp - 4], 2
movzx eax, word [ebp - 0x586]
push eax
movzx eax, word [ebp - 0x57c]
push eax
movzx eax, word [ebp - 0x580]
push eax
movzx eax, word [ebp - 0x588]
push eax
movzx eax, word [ebp - 0x582]
push eax
movzx eax, word [ebp - 0x57e]
push eax
movzx eax, word [ebp - 0x57a]
push eax
push str._03d_02d_02d_04d_02d_02d_02d
lea eax, [ebp - 0x56c]
call fcn.0040278d
mov eax, dword [ebp - 0x56c]
add esp, 0x20
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x564]
call fcn.0040374e
push edi
lea eax, [ebp - 0x137]
push ebx
push eax
mov byte [ebp - 0x138], bl
call fcn.0040f690
add esp, 0xc
lea eax, [ebp - 0x590]
push eax
lea eax, [ebp - 0x138]
push eax
mov dword [ebp - 0x590], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 7
xor eax, eax
mov byte [ebp - 0x30], bl
pop ecx
lea edi, [ebp - 0x2f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x138]
push eax
call fcn.00410df0
pop ecx
push eax
lea ebx, [ebp - 0x138]
lea edi, [ebp - 0x30]
call fcn.0040e7ed
mov eax, dword [0x42b6ec]
pop ecx
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x568], eax
xor ebx, ebx
mov byte [ebp - 4], 3
xor esi, esi
movzx eax, byte [ebp + esi - 0x30]
push eax
push str._02x
lea ecx, [ebp - 0x568]
call fcn.004027d8
inc esi
cmp esi, 0x10
pop ecx
pop ecx
jl 0x408a9d
mov eax, dword [ebp - 0x568]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x564]
call fcn.0040374e
push 0x206
lea eax, [ebp - 0x54e]
push ebx
push eax
mov word [ebp - 0x550], bx
call fcn.0040f690
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x550]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x578], ebx
lea edi, [ebp - 0x574]
stosd dword es:[edi], eax
lea eax, [ebp - 0x578]
push eax
push ebx
push ebx
lea eax, [ebp - 0x550]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push dword [ebp - 0x578]
lea ecx, [ebp - 0x564]
push str._010lu
call fcn.004027d8
push 0x103
lea eax, [ebp - 0x23f]
push ebx
push eax
mov byte [ebp - 0x240], bl
call fcn.0040f690
lea eax, [ebp - 0x610]
add esp, 0x14
mov dword [ebp - 0x614], eax
call dword [section..data]
push eax
push dword [ebp - 0x564]
lea eax, [ebp - 0x614]
push eax
call fcn.0040900b
push dword [ebp - 0x614]
lea eax, [ebp - 0x240]
push esi
push eax
call fcn.00412b6f
lea eax, [ebp - 0x610]
add esp, 0xc
cmp dword [ebp - 0x614], eax
je 0x408baa
push dword [ebp - 0x614]
call fcn.00410ae8
pop ecx
lea eax, [ebp - 0x240]
push eax
call fcn.00410df0
pop ecx
push eax
lea ebx, [ebp - 0x240]
lea edi, [ebp - 0x30]
call fcn.0040e7ed
pop ecx
lea esi, [ebp - 0x568]
call fcn.00402607
xor esi, esi
movzx eax, byte [ebp + esi - 0x30]
push eax
push str._02x
lea ecx, [ebp - 0x568]
call fcn.004027d8
inc esi
cmp esi, 0x10
pop ecx
pop ecx
jl 0x408bd4
mov edi, dword [ebp - 0x570]
lea eax, [ebp - 0x568]
call fcn.004022e8
mov eax, dword [ebp - 0x568]
add eax, 0xfffffff0
call fcn.004028bd
mov eax, dword [ebp - 0x56c]
add eax, 0xfffffff0
call fcn.004028bd
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x564]
add eax, 0xfffffff0
call fcn.004028bd
mov ebx, dword [ebp - 0x570]
mov edi, dword [ebp - 0x58c]
call fcn.00408e9d
xor eax, eax
inc eax
call fcn.004146f3
ret 4