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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bf235
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x680
mov eax, dword [0x4f36c4]
push ebx
push esi
push edi
mov edi, 0x4f36c4
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
xor ebx, ebx
push ebx
mov dword [esp + 0x698], ebx
call fcn.0049de14
push eax
call fcn.0049f4d0
call fcn.0049f4dd
push eax
push str._05ld
lea ecx, [esp + 0x1c]
call fcn.0040fb92
add esp, 0x10
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x103
lea eax, [esp + 0x37d]
push ebx
push eax
mov byte [esp + 0x384], bl
call fcn.0049cce0
push 0x10
lea eax, [esp + 0x28]
push eax
push 0x4c48ac
call fcn.0049de50
add esp, 0x18
test eax, eax
je 0x4771e6
movzx eax, byte [esp + 0x27]
push eax
movzx eax, byte [esp + 0x2a]
push eax
movzx eax, byte [esp + 0x2d]
push eax
movzx eax, byte [esp + 0x30]
push eax
movzx eax, byte [esp + 0x33]
push eax
movzx eax, byte [esp + 0x36]
push eax
movzx eax, byte [esp + 0x39]
push eax
movzx eax, byte [esp + 0x3c]
push eax
movzx eax, word [esp + 0x3e]
push eax
movzx eax, word [esp + 0x40]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x3a4]
push str._08lX_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call fcn.0044d6b8
add esp, 0x34
lea eax, [esp + 0x378]
push eax
lea esi, [esp + 0x68]
call fcn.00402cbc
mov byte [esp + 0x694], 1
push dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.0042a756
lea eax, [esp + 0x68]
mov byte [esp + 0x694], bl
cmp dword [esp + 0x64], eax
je 0x477226
push dword [esp + 0x64]
call fcn.0049bd0b
pop ecx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x4f36c4]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x694], 2
movzx eax, word [esp + 0x2a]
push eax
movzx eax, word [esp + 0x38]
push eax
movzx eax, word [esp + 0x38]
push eax
movzx eax, word [esp + 0x34]
push eax
movzx eax, word [esp + 0x3e]
push eax
movzx eax, word [esp + 0x46]
push eax
movzx eax, word [esp + 0x4e]
push eax
push str._03d_02d_02d_04d_02d_02d_02d
lea eax, [esp + 0x34]
call fcn.00403396
mov eax, dword [esp + 0x34]
add esp, 0x20
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x14]
call fcn.0042a779
push 0x103
lea eax, [esp + 0x275]
push ebx
push eax
mov byte [esp + 0x27c], bl
call fcn.0049cce0
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x274]
mov esi, 0x104
push eax
mov dword [esp + 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 7
xor eax, eax
mov byte [esp + 0x48], bl
pop ecx
lea edi, [esp + 0x45]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x270]
push eax
call fcn.0049bc80
push eax
lea eax, [esp + 0x278]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00440c49
mov eax, dword [0x4f36c4]
add esp, 0x10
mov ecx, 0x4f36c4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x694], 3
xor edi, edi
movzx eax, byte [esp + edi + 0x44]
push eax
push str._02x
lea ecx, [esp + 0x18]
call fcn.0040fb92
inc edi
cmp edi, 0x10
pop ecx
pop ecx
jl 0x477322
mov eax, dword [esp + 0x10]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x14]
call fcn.0042a779
push 0x206
lea eax, [esp + 0x486]
push ebx
push eax
mov word [esp + 0x48c], bx
call fcn.0049cce0
add esp, 0xc
push esi
lea eax, [esp + 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [esp + 0x38], ebx
lea edi, [esp + 0x3c]
stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
lea eax, [esp + 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push dword [esp + 0x38]
lea ecx, [esp + 0x10]
push str._010lu
call fcn.0040fb92
push 0x103
lea eax, [esp + 0x175]
push ebx
push eax
mov byte [esp + 0x17c], bl
call fcn.0049cce0
add esp, 0x14
push dword [esp + 0xc]
lea esi, [esp + 0x68]
call fcn.004024ae
push dword [eax]
lea eax, [esp + 0x16c]
push 0x104
push eax
call fcn.004a2350
lea eax, [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x64], eax
je 0x477403
push dword [esp + 0x64]
call fcn.0049bd0b
pop ecx
lea eax, [esp + 0x168]
push eax
call fcn.0049bc80
push eax
lea eax, [esp + 0x170]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00440c49
add esp, 0x10
lea esi, [esp + 0x10]
call fcn.0040313b
movzx eax, byte [esp + ebx + 0x44]
push eax
push str._02x
lea ecx, [esp + 0x18]
call fcn.0040fb92
inc ebx
cmp ebx, 0x10
pop ecx
pop ecx
jl 0x47742f
mov edi, dword [ebp + 8]
lea eax, [esp + 0x10]
call fcn.0040308d
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004027f9
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.004027f9
mov ecx, dword [esp + 0x68c]
pop edi
xor eax, eax
pop esi
inc eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret