Function at 0x10016666
Capabilities:
Get disk size
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x100167a8
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x10016785
mov dword [ebp - 0x24], 0xb4a
mov dword [ebp - 0x6c], str.xtpwov_twmksmn_mhalbdh
cmp dword [ebp - 0x24], 0xb9e
jle 0x10016727
and dword [ebp - 0x20], 0
jmp 0x100166cf
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x58fa
jge 0x10016711
and dword [ebp - 0x1c], 0
jmp 0x100166e5
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3cf2
jge 0x1001670f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
mov ecx, 0x100792f8
call fcn.1000a4ec
jmp 0x100166de
jmp 0x100166c8
push 0x198e
push 0x23ef
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10016743
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x77d
jge 0x1001675d
mov edx, dword [ebp - 0x6c]
mov ecx, 0x100792f8
call fcn.1000c8f5
jmp 0x10016779
or dword [ebp - 4], 0xffffffff
jmp 0x10016783
jmp 0x100167a3
mov byte [ebp - 0x12], 0
push 0x5b65
push 0
push 0xad4
lea eax, [ebp - 0x12]
push eax
push 1
call fcn.10013ca8
add esp, 0x14
jmp 0x1001688e
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10016843
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
push dword [eax]
mov eax, dword [ebp - 0x38]
push dword [eax]
lea eax, [ebp - 0x98]
push eax
call fcn.1000fd2e
add esp, 0x10
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
call fcn.1001ae6b
lea ecx, [ebp - 0x98]
call fcn.1000a661
jmp 0x1001688e
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10016871
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x1001688e
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x70]
call fcn.1000a7a3
mov dword [eax], 7
jmp 0x10016866
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret