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

Disassembly:
push ebp
lea ebp, [esp - 0x5cc]
sub esp, 0x680
mov eax, dword [0x5e5710]
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.00405a19
test eax, eax
jne 0x4124c8
push ebx
push esi
push edi
mov edi, 0x5e7310
push edi
lea ecx, [ebp + 0x80]
call fcn.00401c3d
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.00403d6f
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 0x5bcaac
call sub.MSVCR80.dll_memcmp
add esp, 0x18
test eax, eax
je 0x41226a
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 dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x34
lea eax, [ebp + 0x29c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00412005
push dword [eax]
lea ecx, [ebp + 0x80]
call fcn.00403b27
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0xb4], eax
je 0x4122a4
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.00401c3d
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.004020ff
mov eax, dword [ebp + 0x78]
add esp, 0x24
push dword [eax - 0xc]
lea ecx, [ebp + 0x80]
push eax
call fcn.00403ad6
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.0046d7a7
add esp, 0x10
push 0x5e7310
lea ecx, [ebp + 0x7c]
call fcn.00401c3d
xor edi, edi
movzx eax, byte [ebp + edi + 0x5a8]
push eax
lea eax, [ebp + 0x7c]
push str._02x
push eax
call fcn.00403d6f
add esp, 0xc
inc edi
cmp edi, 0x10
jl 0x412375
mov eax, dword [ebp + 0x7c]
push dword [eax - 0xc]
lea ecx, [ebp + 0x80]
push eax
call fcn.00403ad6
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.00403d6f
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.00401ddd
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 0x412450
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.0046d7a7
add esp, 0x10
lea ecx, [ebp + 0x7c]
call fcn.00401bb7
movzx eax, byte [ebp + ebx + 0x5a8]
push eax
lea eax, [ebp + 0x7c]
push str._02x
push eax
call fcn.00403d6f
add esp, 0xc
inc ebx
cmp ebx, 0x10
jl 0x41247b
mov ecx, dword [ebp + 0x74]
lea eax, [ebp + 0x7c]
push eax
call fcn.00403cc2
mov ecx, dword [ebp + 0x7c]
add ecx, 0xfffffff0
call fcn.00401405
mov ecx, dword [ebp + 0x78]
add ecx, 0xfffffff0
call fcn.00401405
lea ecx, [edi - 0x10]
call fcn.00401405
pop edi
pop esi
pop ebx
push dword [ebp + 0x74]
mov ecx, dword [ebp + 0x60]
push dword [ebp + 0x68]
call fcn.004120b5
mov ecx, dword [ebp + 0x5c8]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.0056f17c
add ebp, 0x5cc
leave
ret 8