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

Disassembly:
mov eax, 0x4a7daf
call fcn.004a5218
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.0048df38
push eax
call fcn.0048c99f
call fcn.0048c9ac
push eax
push str._05ld
lea ecx, [ebp - 0x10]
call fcn.0042b149
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.0048ac30
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0x4af3f0
call fcn.004884a4
add esp, 0x18
test eax, eax
je 0x42ae32
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.0048aea5
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.0042a21e
mov byte [ebp - 4], 1
push dword [ebp - 0x160]
lea eax, [ebp - 0x10]
push eax
call fcn.00406164
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x160], eax
je 0x42ae88
push dword [ebp - 0x160]
call fcn.0048a8e2
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.004066e3
mov eax, dword [ebp - 0x14]
add esp, 0x20
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.0040676c
push esi
lea eax, [ebp - 0x287]
push ebx
push eax
mov byte [ebp - 0x288], bl
call fcn.0048ac30
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.004880f0
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040af47
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x44], 0x10
mov eax, dword [ebp - 0x58]
jae 0x42af48
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.0042a21e
mov byte [ebp - 4], 4
push dword [ebp - 0x160]
lea eax, [ebp - 0x10]
push eax
call fcn.00406164
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x160], eax
je 0x42af93
push dword [ebp - 0x160]
call fcn.0048a8e2
pop ecx
push 0x206
lea eax, [ebp - 0x69e]
push ebx
push eax
mov word [ebp - 0x6a0], bx
call fcn.0048ac30
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.0042b149
push esi
lea eax, [ebp - 0x38f]
push ebx
push eax
mov byte [ebp - 0x390], bl
call fcn.0048ac30
mov edi, dword [ebp - 0x10]
add esp, 0x14
push edi
lea esi, [ebp - 0xe0]
call fcn.00406c33
push dword [eax]
lea eax, [ebp - 0x390]
push 0x104
push eax
call fcn.0048df71
lea eax, [ebp - 0xdc]
add esp, 0xc
cmp dword [ebp - 0xe0], eax
je 0x42b03f
push dword [ebp - 0xe0]
call fcn.0048a8e2
pop ecx
lea eax, [ebp - 0x390]
push eax
call fcn.004880f0
push eax
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.0040af47
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 0x42b090
lea eax, [ebp - 0x58]
push eax
lea esi, [ebp - 0x160]
call fcn.0042b112
mov byte [ebp - 4], 6
push dword [eax]
push dword [ebp + 8]
call fcn.00405b9b
lea eax, [ebp - 0x15c]
cmp dword [ebp - 0x160], eax
je 0x42b0c4
push dword [ebp - 0x160]
call fcn.0048a8e2
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.0040244a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040592b
lea eax, [edi - 0x10]
call fcn.0040592b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4