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

Disassembly:
push ebp
sub esp, 0x4c
mov eax, 0x4e09ee
call fcn.004daf98
sub esp, 0x634
push ebx
push edi
xor ebx, ebx
mov dword [ebp + 0x34], ebx
mov eax, dword [0x51e6c8]
mov edi, 0x51e6c8
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x4c], eax
push ebx
mov dword [ebp - 4], ebx
call fcn.0049c188
push eax
call fcn.0049985e
call fcn.0049986b
push eax
push str._05ld
lea ecx, [ebp + 0x4c]
call fcn.0040f6fc
add esp, 0x10
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x103
lea eax, [ebp - 0x437]
push ebx
push eax
mov byte [ebp - 0x438], bl
call fcn.00497210
push 0x10
lea eax, [ebp + 0x38]
push eax
push 0x4e59ac
call fcn.004952ce
add esp, 0x18
test eax, eax
je 0x4565dd
movzx eax, byte [ebp + 0x47]
push eax
movzx eax, byte [ebp + 0x46]
push eax
movzx eax, byte [ebp + 0x45]
push eax
movzx eax, byte [ebp + 0x44]
push eax
movzx eax, byte [ebp + 0x43]
push eax
movzx eax, byte [ebp + 0x42]
push eax
movzx eax, byte [ebp + 0x41]
push eax
movzx eax, byte [ebp + 0x40]
push eax
movzx eax, word [ebp + 0x3e]
push eax
movzx eax, word [ebp + 0x3c]
push eax
push dword [ebp + 0x38]
lea eax, [ebp - 0x438]
push str._08lX_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call fcn.00495191
add esp, 0x34
push esi
lea eax, [ebp - 0x438]
push eax
lea esi, [ebp - 0x110]
call fcn.0042e7cc
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp + 0x4c]
push eax
call fcn.00408f40
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x110], eax
je 0x45661c
push dword [ebp - 0x110]
call fcn.00494c70
pop ecx
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov eax, dword [0x51e6c8]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x48], eax
mov byte [ebp - 4], 2
movzx eax, word [ebp + 0x1e]
push eax
movzx eax, word [ebp + 0x28]
push eax
movzx eax, word [ebp + 0x24]
push eax
movzx eax, word [ebp + 0x1c]
push eax
movzx eax, word [ebp + 0x22]
push eax
movzx eax, word [ebp + 0x26]
push eax
movzx eax, word [ebp + 0x2a]
push eax
push str._03d_02d_02d_04d_02d_02d_02d
lea eax, [ebp + 0x48]
call fcn.00408fb3
mov eax, dword [ebp + 0x48]
add esp, 0x20
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x4c]
call fcn.00408dba
push 0x103
lea eax, [ebp - 0x22f]
push ebx
push eax
mov byte [ebp - 0x230], bl
call fcn.00497210
add esp, 0xc
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp - 0x230]
mov esi, 0x104
push eax
mov dword [ebp + 0x34], esi
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
lea eax, [ebp - 0x230]
push eax
call fcn.00496950
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp]
push eax
call fcn.0040ccd6
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x4566e0
lea eax, [ebp + 4]
push ebx
push eax
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x10c]
push eax
mov dword [ebp - 0x110], ecx
call fcn.0040f580
mov byte [ebp - 4], 4
push dword [ebp - 0x110]
lea eax, [ebp + 0x4c]
push eax
call fcn.00408f40
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x110], eax
je 0x45672b
push dword [ebp - 0x110]
call fcn.00494c70
pop ecx
push 0x206
lea eax, [ebp - 0x63e]
push ebx
push eax
mov word [ebp - 0x640], bx
call fcn.00497210
add esp, 0xc
push esi
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp + 0x2c], ebx
lea edi, [ebp + 0x30]
stosd dword es:[edi], eax
lea eax, [ebp + 0x2c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
push dword [ebp + 0x2c]
lea ecx, [ebp + 0x4c]
push str._010lu
call fcn.0040f6fc
push 0x103
lea eax, [ebp - 0x333]
push ebx
push eax
mov byte [ebp - 0x334], bl
call fcn.00497210
mov edi, dword [ebp + 0x4c]
add esp, 0x14
push edi
lea esi, [ebp - 0x90]
call fcn.0040941b
push dword [eax]
lea eax, [ebp - 0x334]
push 0x104
push eax
call fcn.0049c123
lea eax, [ebp - 0x8c]
add esp, 0xc
cmp dword [ebp - 0x90], eax
je 0x4567db
push dword [ebp - 0x90]
call fcn.00494c70
pop ecx
lea eax, [ebp - 0x334]
push eax
call fcn.00496950
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0040ccd6
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.004047f9
push ebx
push 1
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 3
call fcn.004048fa
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x45682c
lea eax, [ebp + 4]
push eax
lea esi, [ebp - 0x110]
call fcn.0042e7cc
mov byte [ebp - 4], 6
push dword [eax]
push dword [ebp + 0x58]
call fcn.00407fa9
lea eax, [ebp - 0x10c]
cmp dword [ebp - 0x110], eax
pop esi
je 0x456861
push dword [ebp - 0x110]
call fcn.00494c70
pop ecx
push ebx
push 1
lea ecx, [ebp]
call fcn.004048fa
mov eax, dword [ebp + 0x48]
add eax, 0xfffffff0
call fcn.0040763c
lea eax, [edi - 0x10]
call fcn.0040763c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x58]
pop edi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x50
leave
ret 4