Function at 0x47716a
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.0040ddd3
test eax, eax
jne 0x477498
mov eax, dword [0x512bd4]
mov ecx, 0x512bd4
call dword [eax + 0xc]
add eax, 0x10
xor ebx, ebx
push ebx
mov dword [ebp - 4], eax
call fcn.0048b77e
push eax
call fcn.0048b7ba
call fcn.0048b7c7
push eax
push str._05ld
lea ecx, [ebp - 4]
call fcn.004099f7
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.00489500
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 0x4e186c
call fcn.0048baa9
add esp, 0x18
test eax, eax
je 0x477245
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.004385e2
add esp, 0x34
lea eax, [ebp - 0x478]
push eax
lea esi, [ebp - 0x160]
call fcn.00413b79
push dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.00401000
lea eax, [ebp - 0x15c]
cmp dword [ebp - 0x160], eax
je 0x47727c
push dword [ebp - 0x160]
call fcn.004896b0
pop ecx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov eax, dword [0x512bd4]
mov ecx, 0x512bd4
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.00421c33
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.00489500
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.00489bc0
push eax
lea eax, [ebp - 0x370]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0045396b
mov eax, dword [0x512bd4]
add esp, 0x10
mov ecx, 0x512bd4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
xor edi, edi
movzx eax, byte [ebp + edi - 0x5c]
push eax
push 0x4f50f4
lea ecx, [ebp - 8]
call fcn.004099f7
inc edi
cmp edi, 0x10
pop ecx
pop ecx
jl 0x477350
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.00489500
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.004099f7
push 0x103
lea eax, [ebp - 0x267]
push ebx
push eax
mov byte [ebp - 0x268], bl
call fcn.00489500
add esp, 0x14
push dword [ebp - 4]
lea esi, [ebp - 0xe0]
call fcn.0042adc2
push dword [eax]
lea eax, [ebp - 0x268]
push 0x104
push eax
call fcn.0048e866
lea eax, [ebp - 0xdc]
add esp, 0xc
cmp dword [ebp - 0xe0], eax
je 0x477429
push dword [ebp - 0xe0]
call fcn.004896b0
pop ecx
lea eax, [ebp - 0x268]
push eax
call fcn.00489bc0
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0045396b
add esp, 0x10
lea esi, [ebp - 8]
call fcn.00413449
movzx eax, byte [ebp + ebx - 0x5c]
push eax
push 0x4f50f4
lea ecx, [ebp - 8]
call fcn.004099f7
inc ebx
cmp ebx, 0x10
pop ecx
pop ecx
jl 0x477451
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
call fcn.004234ea
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.00477683
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8