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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
push ebx
push esi
push edi
push str.idex
push dword [ebp + 8]
call fcn.0040cd61
test eax, eax
jne 0x47ecfb
mov eax, dword [0x4de4b4]
mov ecx, 0x4de4b4
call dword [eax + 0xc]
add eax, 0x10
xor ebx, ebx
push ebx
mov dword [ebp - 4], eax
call fcn.00491d1c
pop ecx
push eax
call fcn.0048d5b9
pop ecx
call fcn.0048d5c6
push eax
push str._05ld
lea ecx, [ebp - 4]
call fcn.00401def
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov edi, 0x103
push edi
lea eax, [ebp - 0x477]
push ebx
push eax
mov byte [ebp - 0x478], bl
call fcn.0048a830
add esp, 0xc
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 0x4b593c
call fcn.0048eb29
add esp, 0xc
test eax, eax
je 0x47eaa5
movzx eax, byte [ebp - 0xd]
push eax
movzx eax, byte [ebp - 0xe]
push eax
movzx eax, byte [ebp - 0xf]
push eax
movzx eax, byte [ebp - 0x10]
push eax
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x12]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x478]
push str._08lX_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call fcn.0047ef8c
add esp, 0x34
lea eax, [ebp - 0x478]
push eax
lea esi, [ebp - 0x160]
call fcn.0040208e
push dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.0040536e
lea eax, [ebp - 0x15c]
cmp dword [ebp - 0x160], eax
je 0x47eadc
push dword [ebp - 0x160]
call fcn.0048b25e
pop ecx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov eax, dword [0x4de4b4]
mov ecx, 0x4de4b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x20]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x1e]
push eax
lea eax, [ebp - 0xc]
push str._03d_02d_02d_04d_02d_02d_02d
push eax
call fcn.0041e0ca
mov eax, dword [ebp - 0xc]
add esp, 0x24
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0040cd10
push edi
lea eax, [ebp - 0x36f]
push ebx
push eax
mov byte [ebp - 0x370], bl
call fcn.0048a830
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x370]
mov esi, 0x104
push eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
push 7
xor eax, eax
mov byte [ebp - 0x5c], bl
pop ecx
lea edi, [ebp - 0x5b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x370]
push eax
call fcn.0048c9a0
pop ecx
push eax
lea eax, [ebp - 0x370]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004635b0
mov eax, dword [0x4de4b4]
add esp, 0xc
mov ecx, 0x4de4b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
xor edi, edi
movzx eax, byte [ebp + edi - 0x5c]
push eax
push str._02x
lea ecx, [ebp - 8]
call fcn.00401def
inc edi
cmp edi, 0x10
pop ecx
pop ecx
jl 0x47ebb2
mov eax, dword [ebp - 8]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0040cd10
push 0x206
lea eax, [ebp - 0x67e]
push ebx
push eax
mov word [ebp - 0x680], bx
call fcn.0048a830
add esp, 0xc
push esi
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x38], ebx
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
push dword [ebp - 0x38]
lea ecx, [ebp - 4]
push str._010lu
call fcn.00401def
push 0x103
lea eax, [ebp - 0x267]
push ebx
push eax
mov byte [ebp - 0x268], bl
call fcn.0048a830
add esp, 0x14
push dword [ebp - 4]
lea esi, [ebp - 0xe0]
call fcn.00426f31
push dword [eax]
lea eax, [ebp - 0x268]
push 0x104
push eax
call fcn.004902d5
lea eax, [ebp - 0xdc]
add esp, 0xc
cmp dword [ebp - 0xe0], eax
je 0x47ec8b
push dword [ebp - 0xe0]
call fcn.0048b25e
pop ecx
lea eax, [ebp - 0x268]
push eax
call fcn.0048c9a0
pop ecx
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004635b0
add esp, 0xc
lea esi, [ebp - 8]
call fcn.004015cc
movzx eax, byte [ebp + ebx - 0x5c]
push eax
push str._02x
lea ecx, [ebp - 8]
call fcn.00401def
inc ebx
cmp ebx, 0x10
pop ecx
pop ecx
jl 0x47ecb4
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
call fcn.0040204d
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040151c
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
call fcn.0047eee8
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8