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

Disassembly:
mov eax, 0x4a7e88
call fcn.004a5308
sub esp, 0x694
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [0x4d6fec]
mov edi, 0x4d6fec
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push ebx
mov dword [ebp - 4], ebx
call fcn.0048e018
push eax
call fcn.0048caf2
call fcn.0048caff
push eax
push str._05ld
lea ecx, [ebp - 0x10]
call fcn.0042b20d
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov esi, 0x103
push esi
lea eax, [ebp - 0x497]
push ebx
push eax
mov byte [ebp - 0x498], bl
call fcn.0048ad10
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0x4af3f0
call fcn.00488584
add esp, 0x18
test eax, eax
je 0x42aef6
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x498]
push str._08lX_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call fcn.0048af85
add esp, 0x34
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x160], eax
call dword [0x4d20ac]
push eax
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.0042a306
mov byte [ebp - 4], 1
push dword [ebp - 0x160]
lea eax, [ebp - 0x10]
push eax
call fcn.004060b6
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x160], eax
je 0x42af4c
push dword [ebp - 0x160]
call fcn.0048a9c2
pop ecx
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x4d6fec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
movzx eax, word [ebp - 0x3e]
push eax
movzx eax, word [ebp - 0x34]
push eax
movzx eax, word [ebp - 0x38]
push eax
movzx eax, word [ebp - 0x40]
push eax
movzx eax, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x36]
push eax
movzx eax, word [ebp - 0x32]
push eax
push str._03d_02d_02d_04d_02d_02d_02d
lea eax, [ebp - 0x14]
call fcn.0040663f
mov eax, dword [ebp - 0x14]
add esp, 0x20
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.004066c8
push esi
lea eax, [ebp - 0x287]
push ebx
push eax
mov byte [ebp - 0x288], bl
call fcn.0048ad10
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x288]
mov edi, 0x104
push eax
mov dword [ebp - 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x288]
push eax
call fcn.004881d0
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040afb7
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x44], 0x10
mov eax, dword [ebp - 0x58]
jae 0x42b00c
lea eax, [ebp - 0x58]
push ebx
push eax
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x15c]
push eax
mov dword [ebp - 0x160], ecx
call fcn.0042a306
mov byte [ebp - 4], 4
push dword [ebp - 0x160]
lea eax, [ebp - 0x10]
push eax
call fcn.004060b6
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x160], eax
je 0x42b057
push dword [ebp - 0x160]
call fcn.0048a9c2
pop ecx
push 0x206
lea eax, [ebp - 0x69e]
push ebx
push eax
mov word [ebp - 0x6a0], bx
call fcn.0048ad10
add esp, 0xc
push edi
lea eax, [ebp - 0x6a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
lea eax, [ebp - 0x6a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x10]
push str._010lu
call fcn.0042b20d
push esi
lea eax, [ebp - 0x38f]
push ebx
push eax
mov byte [ebp - 0x390], bl
call fcn.0048ad10
mov edi, dword [ebp - 0x10]
add esp, 0x14
push edi
lea esi, [ebp - 0xe0]
call fcn.00406b8f
push dword [eax]
lea eax, [ebp - 0x390]
push 0x104
push eax
call fcn.0048e051
lea eax, [ebp - 0xdc]
add esp, 0xc
cmp dword [ebp - 0xe0], eax
je 0x42b103
push dword [ebp - 0xe0]
call fcn.0048a9c2
pop ecx
lea eax, [ebp - 0x390]
push eax
call fcn.004881d0
push eax
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.0040afb7
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00402349
push ebx
push 1
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 3
call fcn.0040244a
cmp dword [ebp - 0x44], 0x10
mov eax, dword [ebp - 0x58]
jae 0x42b154
lea eax, [ebp - 0x58]
push eax
lea esi, [ebp - 0x160]
call fcn.0042b1d6
mov byte [ebp - 4], 6
push dword [eax]
push dword [ebp + 8]
call fcn.00405bf2
lea eax, [ebp - 0x15c]
cmp dword [ebp - 0x160], eax
je 0x42b188
push dword [ebp - 0x160]
call fcn.0048a9c2
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.0040244a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040596d
lea eax, [edi - 0x10]
call fcn.0040596d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4