Function at 0x42c270
Capabilities:
Get common file path
Get disk size
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56531b
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0xfc6800]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], 0
lea ecx, [ebp - 0x250]
call fcn.00402510
mov dword [ebp - 4], 0
mov eax, 1
xor edx, edx
cpuid
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x238], ecx
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00527110
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5c
lea edx, [ebp - 0x21c]
push edx
call fcn.00525fb5
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42c339
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx + 2], ax
mov dword [ebp - 0x244], 0
xor edx, edx
mov dword [ebp - 0x240], edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x24c]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42c39e
mov ecx, dword [ebp + 0xc]
xor edx, edx
add ecx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x240]
adc eax, edx
add ecx, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x238]
adc edx, eax
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x22c], 0
xor eax, eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x22c]
push edx
call fcn.0042c180
add esp, 8
test eax, eax
je 0x42c40f
cmp dword [ebp - 0x230], 8
ja 0x42c40f
mov eax, dword [ebp - 0x244]
add eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x240]
adc ecx, dword [ebp - 0x228]
add eax, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x238]
adc edx, ecx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x254], 0x104
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00527110
add esp, 0xc
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x42c472
xor eax, eax
mov word [ebp - 0x214], ax
mov ecx, dword [ebp - 0x21c]
xor edx, edx
add ecx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x238]
adc eax, edx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x238]
push edx
push 0xf7f888
lea eax, [ebp - 0x250]
push eax
call fcn.00402b00
add esp, 0x10
mov ecx, dword [ebp - 0x250]
sub ecx, 0x10
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x270]
push edx
call fcn.004028d0
add esp, 4
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x260]
or edx, 1
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00427470
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00525f29
mov esp, ebp
pop ebp
ret