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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee1b7
mov eax, dword fs:[0]
push eax
sub esp, 0x77c
mov eax, dword [0x522464]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x778], ecx
push 0x5012f0
mov eax, dword [ebp + 8]
push eax
call fcn.004120f7
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4e24c6
lea ecx, [ebp - 0x264]
call fcn.00401b87
mov dword [ebp - 4], 0
push 0
call fcn.004e1dd0
add esp, 4
push eax
call fcn.0049a126
add esp, 4
call fcn.0049a133
push eax
push 0x5012fc
lea ecx, [ebp - 0x264]
call fcn.00401e04
add esp, 8
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov byte [ebp - 0x47c], 0
push 0x103
push 0
lea eax, [ebp - 0x47b]
push eax
call fcn.00497490
add esp, 0xc
lea ecx, [ebp - 0x250]
push ecx
push 0x4f19ac
call fcn.00447afb
add esp, 8
test eax, eax
je 0x4e211a
movzx edx, byte [ebp - 0x241]
push edx
movzx eax, byte [ebp - 0x242]
push eax
movzx ecx, byte [ebp - 0x243]
push ecx
movzx edx, byte [ebp - 0x244]
push edx
movzx eax, byte [ebp - 0x245]
push eax
movzx ecx, byte [ebp - 0x246]
push ecx
movzx edx, byte [ebp - 0x247]
push edx
movzx eax, byte [ebp - 0x248]
push eax
movzx ecx, word [ebp - 0x24a]
push ecx
movzx edx, word [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x250]
push eax
push 0x501308
lea ecx, [ebp - 0x47c]
push ecx
call fcn.0049ab0a
add esp, 0x34
lea edx, [ebp - 0x47c]
push edx
lea esi, [ebp - 0x6b8]
call fcn.004020c5
mov dword [ebp - 0x77c], eax
mov eax, dword [ebp - 0x77c]
mov dword [ebp - 0x780], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x780]
call fcn.004391a5
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.004051f5
mov byte [ebp - 4], 0
lea eax, [ebp - 0x6b8]
call fcn.004020b4
lea edx, [ebp - 0x260]
push edx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
lea ecx, [ebp - 0x10]
call fcn.00401b87
mov byte [ebp - 4], 2
movzx eax, word [ebp - 0x25e]
push eax
movzx ecx, word [ebp - 0x254]
push ecx
movzx edx, word [ebp - 0x258]
push edx
movzx eax, word [ebp - 0x260]
push eax
movzx ecx, word [ebp - 0x25a]
push ecx
movzx edx, word [ebp - 0x256]
push edx
movzx eax, word [ebp - 0x252]
push eax
push 0x501338
lea ecx, [ebp - 0x10]
push ecx
call fcn.0041e84b
add esp, 0x24
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x10]
call fcn.0043859b
mov byte [ebp - 0x5ac], 0
push 0x103
push 0
lea eax, [ebp - 0x5ab]
push eax
call fcn.00497490
add esp, 0xc
mov dword [ebp - 0x240], 0x104
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x5ac]
push edx
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
mov byte [ebp - 0x23c], 0
xor eax, eax
mov dword [ebp - 0x23b], eax
mov dword [ebp - 0x237], eax
mov dword [ebp - 0x233], eax
mov dword [ebp - 0x22f], eax
mov dword [ebp - 0x22b], eax
mov dword [ebp - 0x227], eax
mov dword [ebp - 0x223], eax
mov word [ebp - 0x21f], ax
mov byte [ebp - 0x21d], al
lea ecx, [ebp - 0x5ac]
push ecx
call fcn.00499a10
add esp, 4
push eax
lea edx, [ebp - 0x5ac]
push edx
lea eax, [ebp - 0x23c]
push eax
call fcn.00465dcd
add esp, 0xc
lea ecx, [ebp - 0x4a0]
call fcn.00401b87
mov byte [ebp - 4], 3
mov dword [ebp - 0x5b0], 0
jmp 0x4e22a5
mov ecx, dword [ebp - 0x5b0]
add ecx, 1
mov dword [ebp - 0x5b0], ecx
cmp dword [ebp - 0x5b0], 0x10
jge 0x4e22d2
mov edx, dword [ebp - 0x5b0]
movzx eax, byte [ebp + edx - 0x23c]
push eax
push 0x501374
lea ecx, [ebp - 0x4a0]
call fcn.00401e04
add esp, 8
jmp 0x4e2296
lea ecx, [ebp - 0x264]
push ecx
lea eax, [ebp - 0x4a0]
call fcn.0043859b
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.00497490
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
mov dword [ebp - 0x26c], 0
xor ecx, ecx
mov dword [ebp - 0x268], ecx
lea edx, [ebp - 0x26c]
push edx
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x26c]
push ecx
push 0x501380
lea ecx, [ebp - 0x264]
call fcn.00401e04
add esp, 8
mov byte [ebp - 0x374], 0
push 0x103
push 0
lea edx, [ebp - 0x373]
push edx
call fcn.00497490
add esp, 0xc
lea eax, [ebp - 0x264]
call fcn.004391a5
push eax
lea esi, [ebp - 0x73c]
call fcn.00427c0d
mov dword [ebp - 0x784], eax
mov eax, dword [ebp - 0x784]
mov dword [ebp - 0x788], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x788]
call fcn.004391a5
push eax
push 0x104
lea ecx, [ebp - 0x374]
push ecx
call fcn.0049d0a7
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x73c]
call fcn.004020b4
mov byte [ebp - 0x49c], 0
xor edx, edx
mov dword [ebp - 0x49b], edx
mov dword [ebp - 0x497], edx
mov dword [ebp - 0x493], edx
mov dword [ebp - 0x48f], edx
mov dword [ebp - 0x48b], edx
mov dword [ebp - 0x487], edx
mov dword [ebp - 0x483], edx
mov word [ebp - 0x47f], dx
mov byte [ebp - 0x47d], dl
lea eax, [ebp - 0x374]
push eax
call fcn.00499a10
add esp, 4
push eax
lea ecx, [ebp - 0x374]
push ecx
lea edx, [ebp - 0x23c]
push edx
call fcn.00465dcd
add esp, 0xc
lea esi, [ebp - 0x4a0]
call fcn.004015cc
mov dword [ebp - 0x5b4], 0
jmp 0x4e245e
mov eax, dword [ebp - 0x5b4]
add eax, 1
mov dword [ebp - 0x5b4], eax
cmp dword [ebp - 0x5b4], 0x10
jge 0x4e248b
mov ecx, dword [ebp - 0x5b4]
movzx edx, byte [ebp + ecx - 0x23c]
push edx
push 0x501390
lea ecx, [ebp - 0x4a0]
call fcn.00401e04
add esp, 8
jmp 0x4e244f
lea eax, [ebp - 0x4a0]
mov edi, dword [ebp + 0xc]
call fcn.00402073
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4a0]
call fcn.00401b7d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401b7d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.00401b7d
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x778]
call fcn.004e1f00
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a079b
mov esp, ebp
pop ebp
ret 8