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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
push ebx
push esi
push edi
push str.idex
push dword [ebp + 8]
call fcn.0040f48f
test eax, eax
jne 0x474dcf
mov eax, dword [0x50e594]
mov ecx, 0x50e594
call dword [eax + 0xc]
add eax, 0x10
xor ebx, ebx
push ebx
mov dword [ebp - 4], eax
call fcn.00488fee
push eax
call fcn.0048902a
call fcn.00489037
push eax
push str._05ld
lea ecx, [ebp - 4]
call fcn.0040b1e8
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov edi, 0x103
push edi
lea eax, [ebp - 0x477]
push ebx
push eax
mov byte [ebp - 0x478], bl
call fcn.00486d70
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 0x4de86c
call fcn.00489319
add esp, 0x18
test eax, eax
je 0x474b7c
movzx eax, byte [ebp - 0xd]
push eax
movzx eax, byte [ebp - 0xe]
push eax
movzx eax, byte [ebp - 0xf]
push eax
movzx eax, byte [ebp - 0x10]
push eax
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x12]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x478]
push str._08lX_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call fcn.00439ca4
add esp, 0x34
lea eax, [ebp - 0x478]
push eax
lea esi, [ebp - 0x160]
call fcn.0041529b
push dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.00401000
lea eax, [ebp - 0x15c]
cmp dword [ebp - 0x160], eax
je 0x474bb3
push dword [ebp - 0x160]
call fcn.00486f20
pop ecx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov eax, dword [0x50e594]
mov ecx, 0x50e594
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x20]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x1e]
push eax
push str._03d_02d_02d_04d_02d_02d_02d
lea eax, [ebp - 0xc]
call fcn.0042318c
mov eax, dword [ebp - 0xc]
add esp, 0x20
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0040103b
push edi
lea eax, [ebp - 0x36f]
push ebx
push eax
mov byte [ebp - 0x370], bl
call fcn.00486d70
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x370]
mov esi, 0x104
push eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
push 7
xor eax, eax
mov byte [ebp - 0x5c], bl
pop ecx
lea edi, [ebp - 0x5b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x370]
push eax
call fcn.00487430
push eax
lea eax, [ebp - 0x370]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004513e4
mov eax, dword [0x50e594]
add esp, 0x10
mov ecx, 0x50e594
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
xor edi, edi
movzx eax, byte [ebp + edi - 0x5c]
push eax
push 0x4f20e4
lea ecx, [ebp - 8]
call fcn.0040b1e8
inc edi
cmp edi, 0x10
pop ecx
pop ecx
jl 0x474c87
mov eax, dword [ebp - 8]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0040103b
push 0x206
lea eax, [ebp - 0x67e]
push ebx
push eax
mov word [ebp - 0x680], bx
call fcn.00486d70
add esp, 0xc
push esi
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x38], ebx
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
push dword [ebp - 0x38]
lea ecx, [ebp - 4]
push str._010lu
call fcn.0040b1e8
push 0x103
lea eax, [ebp - 0x267]
push ebx
push eax
mov byte [ebp - 0x268], bl
call fcn.00486d70
add esp, 0x14
push dword [ebp - 4]
lea esi, [ebp - 0xe0]
call fcn.0042c425
push dword [eax]
lea eax, [ebp - 0x268]
push 0x104
push eax
call fcn.0048c0d6
lea eax, [ebp - 0xdc]
add esp, 0xc
cmp dword [ebp - 0xe0], eax
je 0x474d60
push dword [ebp - 0xe0]
call fcn.00486f20
pop ecx
lea eax, [ebp - 0x268]
push eax
call fcn.00487430
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004513e4
add esp, 0x10
lea esi, [ebp - 8]
call fcn.00414b73
movzx eax, byte [ebp + ebx - 0x5c]
push eax
push 0x4f20e4
lea ecx, [ebp - 8]
call fcn.0040b1e8
inc ebx
cmp ebx, 0x10
pop ecx
pop ecx
jl 0x474d88
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
call fcn.00424a4a
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
call fcn.00474fba
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8