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

Disassembly:
push ebp
lea ebp, [esp - 0x5cc]
sub esp, 0x680
mov eax, dword [0x4234f4]
xor eax, ebp
mov dword [ebp + 0x5c8], eax
mov eax, dword [ebp + 0x5d8]
mov dword [ebp + 0x60], ecx
mov ecx, dword [ebp + 0x5d4]
push str.idex
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x74], eax
call fcn.00418843
test eax, eax
jne 0x4193fa
push ebx
push esi
push edi
mov edi, 0x4237c4
push edi
lea ecx, [ebp + 0x80]
call fcn.00402cf4
xor ebx, ebx
push ebx
call dword [sym.imp.MSVCR80.dll__time64]
push eax
call dword [sym.imp.MSVCR80.dll_srand]
call dword [sym.imp.MSVCR80.dll_rand]
push eax
lea eax, [ebp + 0x80]
push str._05ld
push eax
call fcn.00418e59
add esp, 0x14
lea eax, [ebp + 0x84]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov esi, 0x103
push esi
lea eax, [ebp + 0x29d]
push ebx
push eax
mov byte [ebp + 0x29c], bl
call sub.MSVCR80.dll_memset
push 0x10
lea eax, [ebp + 0x84]
push eax
push 0x4200a0
call sub.MSVCR80.dll_memcmp
add esp, 0x18
test eax, eax
je 0x41919c
movzx eax, byte [ebp + 0x93]
push eax
movzx eax, byte [ebp + 0x92]
push eax
movzx eax, byte [ebp + 0x91]
push eax
movzx eax, byte [ebp + 0x90]
push eax
movzx eax, byte [ebp + 0x8f]
push eax
movzx eax, byte [ebp + 0x8e]
push eax
movzx eax, byte [ebp + 0x8d]
push eax
movzx eax, byte [ebp + 0x8c]
push eax
movzx eax, word [ebp + 0x8a]
push eax
movzx eax, word [ebp + 0x88]
push eax
push dword [ebp + 0x84]
lea eax, [ebp + 0x29c]
push str._08lX_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call fcn.00418768
add esp, 0x34
lea eax, [ebp + 0x29c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004188e3
push dword [eax]
lea ecx, [ebp + 0x80]
call fcn.00401850
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0xb4], eax
je 0x4191d6
push dword [ebp - 0xb4]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [ebp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push edi
lea ecx, [ebp + 0x78]
call fcn.00402cf4
movzx eax, word [ebp + 0x52]
push eax
movzx eax, word [ebp + 0x5c]
push eax
movzx eax, word [ebp + 0x58]
push eax
movzx eax, word [ebp + 0x50]
push eax
movzx eax, word [ebp + 0x56]
push eax
movzx eax, word [ebp + 0x5a]
push eax
movzx eax, word [ebp + 0x5e]
push eax
lea eax, [ebp + 0x78]
push str._03d_02d_02d_04d_02d_02d_02d
push eax
call fcn.00401938
mov eax, dword [ebp + 0x78]
add esp, 0x24
push dword [eax - 0xc]
lea ecx, [ebp + 0x80]
push eax
call fcn.004017b0
push esi
lea eax, [ebp + 0x3a1]
push ebx
push eax
mov byte [ebp + 0x3a0], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x3a0]
mov esi, 0x104
push eax
mov dword [ebp + 0x64], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 7
xor eax, eax
mov byte [ebp + 0x5a8], bl
pop ecx
lea edi, [ebp + 0x5a9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 0x3a0]
push eax
call sub.MSVCR80.dll_strlen
push eax
lea eax, [ebp + 0x3a0]
push eax
lea eax, [ebp + 0x5a8]
push eax
call fcn.0041b10a
add esp, 0x10
push 0x4237c4
lea ecx, [ebp + 0x7c]
call fcn.00402cf4
xor edi, edi
movzx eax, byte [ebp + edi + 0x5a8]
push eax
lea eax, [ebp + 0x7c]
push str._02x
push eax
call fcn.00418e59
add esp, 0xc
inc edi
cmp edi, 0x10
jl 0x4192a7
mov eax, dword [ebp + 0x7c]
push dword [eax - 0xc]
lea ecx, [ebp + 0x80]
push eax
call fcn.004017b0
push 0x206
lea eax, [ebp + 0x96]
push ebx
push eax
mov word [ebp + 0x94], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp + 0x6c], ebx
lea edi, [ebp + 0x70]
stosd dword es:[edi], eax
lea eax, [ebp + 0x6c]
push eax
push ebx
push ebx
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push dword [ebp + 0x6c]
lea eax, [ebp + 0x80]
push str._010lu
push eax
call fcn.00418e59
push 0x103
lea eax, [ebp + 0x4a5]
push ebx
push eax
mov byte [ebp + 0x4a4], bl
call sub.MSVCR80.dll_memset
mov edi, dword [ebp + 0x80]
add esp, 0x18
push edi
lea ecx, [ebp - 0x34]
call fcn.00418903
push dword [eax]
lea eax, [ebp + 0x4a4]
push esi
push eax
call dword [sym.imp.MSVCR80.dll_strcpy_s]
lea eax, [ebp - 0x30]
add esp, 0xc
cmp dword [ebp - 0x34], eax
je 0x419382
push dword [ebp - 0x34]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [ebp + 0x4a4]
push eax
call sub.MSVCR80.dll_strlen
push eax
lea eax, [ebp + 0x4a4]
push eax
lea eax, [ebp + 0x5a8]
push eax
call fcn.0041b10a
add esp, 0x10
lea ecx, [ebp + 0x7c]
call fcn.004014ae
movzx eax, byte [ebp + ebx + 0x5a8]
push eax
lea eax, [ebp + 0x7c]
push str._02x
push eax
call fcn.00418e59
add esp, 0xc
inc ebx
cmp ebx, 0x10
jl 0x4193ad
mov ecx, dword [ebp + 0x74]
lea eax, [ebp + 0x7c]
push eax
call fcn.004018aa
mov ecx, dword [ebp + 0x7c]
add ecx, 0xfffffff0
call fcn.00401234
mov ecx, dword [ebp + 0x78]
add ecx, 0xfffffff0
call fcn.00401234
lea ecx, [edi - 0x10]
call fcn.00401234
pop edi
pop esi
pop ebx
push dword [ebp + 0x74]
mov ecx, dword [ebp + 0x60]
push dword [ebp + 0x68]
call fcn.00418898
mov ecx, dword [ebp + 0x5c8]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.0041c236
add ebp, 0x5cc
leave
ret 8