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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d15ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x680
mov eax, dword [0x5096c0]
push ebx
push esi
push edi
mov edi, 0x5096c0
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.0048bac6
push eax
call fcn.0048fcfd
call fcn.0048fd0a
push eax
push str._05ld
lea ecx, [esp + 0x1c]
call fcn.0042ff08
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.00489db0
push 0x10
lea eax, [esp + 0x28]
push eax
push 0x4d88fc
call fcn.0048bb02
add esp, 0x18
test eax, eax
je 0x46234f
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.0043869c
add esp, 0x34
lea eax, [esp + 0x378]
push eax
lea esi, [esp + 0x68]
call fcn.0041539d
mov byte [esp + 0x694], 1
push dword [eax]
lea eax, [esp + 0x10]
push eax
call fcn.0040c5e6
lea eax, [esp + 0x68]
mov byte [esp + 0x694], bl
cmp dword [esp + 0x64], eax
je 0x46238f
push dword [esp + 0x64]
call fcn.00489ff4
pop ecx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x5096c0]
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.004229e7
mov eax, dword [esp + 0x34]
add esp, 0x20
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x14]
call fcn.0040c609
push 0x103
lea eax, [esp + 0x275]
push ebx
push eax
mov byte [esp + 0x27c], bl
call fcn.00489db0
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.0048a4b0
push eax
lea eax, [esp + 0x278]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00429289
mov eax, dword [0x5096c0]
add esp, 0x10
mov ecx, 0x5096c0
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.0042ff08
inc edi
cmp edi, 0x10
pop ecx
pop ecx
jl 0x46248b
mov eax, dword [esp + 0x10]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x14]
call fcn.0040c609
push 0x206
lea eax, [esp + 0x486]
push ebx
push eax
mov word [esp + 0x48c], bx
call fcn.00489db0
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.0042ff08
push 0x103
lea eax, [esp + 0x175]
push ebx
push eax
mov byte [esp + 0x17c], bl
call fcn.00489db0
add esp, 0x14
push dword [esp + 0xc]
lea esi, [esp + 0x68]
call fcn.00426111
push dword [eax]
lea eax, [esp + 0x16c]
push 0x104
push eax
call fcn.00490534
lea eax, [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x64], eax
je 0x46256c
push dword [esp + 0x64]
call fcn.00489ff4
pop ecx
lea eax, [esp + 0x168]
push eax
call fcn.0048a4b0
push eax
lea eax, [esp + 0x170]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00429289
add esp, 0x10
lea esi, [esp + 0x10]
call fcn.00422606
movzx eax, byte [esp + ebx + 0x44]
push eax
push str._02x
lea ecx, [esp + 0x18]
call fcn.0042ff08
inc ebx
cmp ebx, 0x10
pop ecx
pop ecx
jl 0x462598
mov edi, dword [ebp + 8]
lea eax, [esp + 0x10]
call fcn.00422ab0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00405c8d
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00405c8d
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.00405c8d
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