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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5235a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x950
mov dword [ebp - 0x938], ecx
mov dword [ebp - 0x934], 0
lea ecx, [ebp - 0x244]
call fcn.0040c630
mov dword [ebp - 4], 0
push 0
call fcn.004b7367
add esp, 4
push eax
call fcn.004b5f91
add esp, 4
call fcn.004b5f9e
push eax
push str._05ld
lea eax, [ebp - 0x244]
push eax
call fcn.0042e210
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov byte [ebp - 0x45c], 0
push 0x103
push 0
lea edx, [ebp - 0x45b]
push edx
call fcn.004b3d60
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push 0x52d5b0
call fcn.0042cfe0
add esp, 8
test eax, eax
je 0x512dba
movzx ecx, byte [ebp - 0x221]
push ecx
movzx edx, byte [ebp - 0x222]
push edx
movzx eax, byte [ebp - 0x223]
push eax
movzx ecx, byte [ebp - 0x224]
push ecx
movzx edx, byte [ebp - 0x225]
push edx
movzx eax, byte [ebp - 0x226]
push eax
movzx ecx, byte [ebp - 0x227]
push ecx
movzx edx, byte [ebp - 0x228]
push edx
movzx eax, word [ebp - 0x22a]
push eax
movzx ecx, word [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x230]
push edx
push str._08lX_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
lea eax, [ebp - 0x45c]
push eax
call fcn.004b3b34
add esp, 0x34
lea ecx, [ebp - 0x45c]
push ecx
lea ecx, [ebp - 0x688]
call fcn.0042e1b0
mov dword [ebp - 0x93c], eax
mov edx, dword [ebp - 0x93c]
mov dword [ebp - 0x940], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x940]
call fcn.00423af0
push eax
lea ecx, [ebp - 0x244]
call fcn.0040c6b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x688]
call fcn.0040c200
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x10]
call fcn.0040c630
mov byte [ebp - 4], 2
movzx ecx, word [ebp - 0x23e]
push ecx
movzx edx, word [ebp - 0x234]
push edx
movzx eax, word [ebp - 0x238]
push eax
movzx ecx, word [ebp - 0x240]
push ecx
movzx edx, word [ebp - 0x23a]
push edx
movzx eax, word [ebp - 0x236]
push eax
movzx ecx, word [ebp - 0x232]
push ecx
push str._03d_02d_02d_04d_02d_02d_02d
lea edx, [ebp - 0x10]
push edx
call fcn.0040bc40
add esp, 0x24
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x244]
call fcn.0040ea80
mov byte [ebp - 0x584], 0
push 0x103
push 0
lea ecx, [ebp - 0x583]
push ecx
call fcn.004b3d60
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x584]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [ebp - 0x584]
push ecx
call fcn.004b12d0
add esp, 4
push eax
lea edx, [ebp - 0x584]
push edx
lea eax, [ebp - 0x478]
push eax
call fcn.00509b50
add esp, 0xc
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x478]
call fcn.00407b00
push eax
lea ecx, [ebp - 0x78c]
call fcn.0042d000
mov dword [ebp - 0x944], eax
mov ecx, dword [ebp - 0x944]
mov dword [ebp - 0x948], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x948]
call fcn.00423af0
push eax
lea ecx, [ebp - 0x244]
call fcn.0040c6b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78c]
call fcn.0040c200
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.004b3d60
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x24c], 0
xor ecx, ecx
mov dword [ebp - 0x248], ecx
lea edx, [ebp - 0x24c]
push edx
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x24c]
push ecx
push str._010lu
lea edx, [ebp - 0x244]
push edx
call fcn.0042e210
add esp, 0xc
mov byte [ebp - 0x354], 0
push 0x103
push 0
lea eax, [ebp - 0x353]
push eax
call fcn.004b3d60
add esp, 0xc
lea ecx, [ebp - 0x244]
call fcn.00423af0
push eax
lea ecx, [ebp - 0x810]
call fcn.0040c1a0
mov dword [ebp - 0x94c], eax
mov ecx, dword [ebp - 0x94c]
call fcn.00423af0
push eax
push 0x104
lea ecx, [ebp - 0x354]
push ecx
call fcn.004b73a0
add esp, 0xc
lea ecx, [ebp - 0x810]
call fcn.0040c200
lea edx, [ebp - 0x354]
push edx
call fcn.004b12d0
add esp, 4
push eax
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x82c]
push ecx
call fcn.00509b50
add esp, 0xc
mov dword [ebp - 0x950], eax
mov edx, dword [ebp - 0x950]
mov dword [ebp - 0x954], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x954]
push eax
lea ecx, [ebp - 0x478]
call fcn.004078a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x82c]
call fcn.00407a30
lea ecx, [ebp - 0x478]
call fcn.00407b00
push eax
lea ecx, [ebp - 0x930]
call fcn.0042e1b0
mov dword [ebp - 0x958], eax
mov ecx, dword [ebp - 0x958]
mov dword [ebp - 0x95c], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x95c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040a960
mov ecx, dword [ebp - 0x934]
or ecx, 1
mov dword [ebp - 0x934], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x930]
call fcn.0040c200
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x478]
call fcn.00407a30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.0040c650
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4