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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52570c
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.004070d0
mov dword [ebp - 4], 0
push 0
call fcn.004a36f8
add esp, 4
push eax
call fcn.004a1188
add esp, 4
call fcn.004a1195
push eax
push str._05ld
lea eax, [ebp - 0x244]
push eax
call fcn.0040d910
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.0049e730
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push 0x52b94c
call fcn.0046d560
add esp, 8
test eax, eax
je 0x5146aa
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.0049c2e7
add esp, 0x34
lea ecx, [ebp - 0x45c]
push ecx
lea ecx, [ebp - 0x688]
call fcn.0044c800
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.00477060
push eax
lea ecx, [ebp - 0x244]
call fcn.004087b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x688]
call fcn.0040d580
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x10]
call fcn.004070d0
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.00407e40
add esp, 0x24
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x244]
call fcn.0040a960
mov byte [ebp - 0x584], 0
push 0x103
push 0
lea ecx, [ebp - 0x583]
push ecx
call fcn.0049e730
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.0049c9c0
add esp, 4
push eax
lea edx, [ebp - 0x584]
push edx
lea eax, [ebp - 0x478]
push eax
call fcn.0050b660
add esp, 0xc
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x478]
call fcn.00402b00
push eax
lea ecx, [ebp - 0x78c]
call fcn.0040d550
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.00477060
push eax
lea ecx, [ebp - 0x244]
call fcn.004087b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78c]
call fcn.0040d580
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.0049e730
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.0040d910
add esp, 0xc
mov byte [ebp - 0x354], 0
push 0x103
push 0
lea eax, [ebp - 0x353]
push eax
call fcn.0049e730
add esp, 0xc
lea ecx, [ebp - 0x244]
call fcn.00477060
push eax
lea ecx, [ebp - 0x810]
call fcn.00408320
mov dword [ebp - 0x94c], eax
mov ecx, dword [ebp - 0x94c]
call fcn.00477060
push eax
push 0x104
lea ecx, [ebp - 0x354]
push ecx
call fcn.004a3693
add esp, 0xc
lea ecx, [ebp - 0x810]
call fcn.0040d580
lea edx, [ebp - 0x354]
push edx
call fcn.0049c9c0
add esp, 4
push eax
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x82c]
push ecx
call fcn.0050b660
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.00402930
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x82c]
call fcn.00402910
lea ecx, [ebp - 0x478]
call fcn.00402b00
push eax
lea ecx, [ebp - 0x930]
call fcn.0044c800
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.00406b50
mov ecx, dword [ebp - 0x934]
or ecx, 1
mov dword [ebp - 0x934], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x930]
call fcn.0040d580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x478]
call fcn.00402910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.004070b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4