Function at 0x100175d7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e96a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e8
cmp dword [ebp + 8], 0
je 0x10017604
mov dword [ebp - 0x2c], 1
jmp 0x10017608
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x10017619
call fcn.10007648
xor eax, eax
jne 0x100175f5
cmp dword [ebp + 0xc], 0
je 0x1001762c
mov dword [ebp - 0x30], 1
jmp 0x10017630
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x10017641
call fcn.10007648
xor eax, eax
jne 0x1001761d
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
push 0x104
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x10017694
push 0xffffffffffffffff
push dword [ebp + 0xc]
push 0x104
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add esp, 0x10
push eax
call fcn.100072d4
pop ecx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.10016c0b
xor eax, eax
jmp 0x1001797c
cmp dword [ebp - 0x34], 0x104
jb 0x1001770c
cmp dword [ebp + 0x10], 0
je 0x10017705
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], 3
mov eax, dword [ebp + 0x10]
add eax, 0x10
mov dword [ebp - 0x60], eax
cmp dword [ebp + 0xc], 0
jne 0x100176c2
and dword [ebp - 0x38], 0
jmp 0x100176f7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
mov ax, word [eax]
mov word [ebp - 0x22], ax
add dword [ebp - 0x14], 2
cmp word [ebp - 0x22], 0
jne 0x100176d1
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x58]
sar eax, 1
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x60]
call fcn.10007c16
xor eax, eax
jmp 0x1001797c
call fcn.100237a7
push eax
lea ecx, [ebp - 0x10]
call fcn.10007b05
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1001799e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x64], eax
push dword [ebp - 0x64]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x10017951
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0
push 0
push 0
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x10017795
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.10016c0b
and dword [ebp - 0x70], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.10007467
mov eax, dword [ebp - 0x70]
jmp 0x1001797c
mov eax, dword [ebp - 0x3c]
and eax, 2
jne 0x100177a6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x3c]
and eax, 4
jne 0x10017951
lea eax, [ebp - 0x2f4]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x10017951
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x20], 0
je 0x1001791c
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jbe 0x1001791c
lea eax, [ebp - 0x2c8]
test eax, eax
jne 0x100177fe
and dword [ebp - 0x44], 0
jmp 0x10017836
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
mov ax, word [eax]
mov word [ebp - 0x24], ax
add dword [ebp - 0x18], 2
cmp word [ebp - 0x24], 0
jne 0x10017810
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x74]
sar eax, 1
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp + 8]
sar eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x48]
cmp eax, 0x104
jge 0x1001787c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x2c8]
push eax
mov eax, 0x104
sub eax, dword [ebp - 0x48]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
push eax
call fcn.100072d4
pop ecx
jmp 0x1001791a
cmp dword [ebp + 0x10], 0
je 0x100178f0
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], 3
mov eax, dword [ebp + 0x10]
add eax, 0x10
mov dword [ebp - 0x88], eax
cmp dword [ebp + 0xc], 0
jne 0x100178a4
and dword [ebp - 0x4c], 0
jmp 0x100178df
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
mov word [ebp - 0x26], ax
add dword [ebp - 0x1c], 2
cmp word [ebp - 0x26], 0
jne 0x100178b3
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x80]
sar eax, 1
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x88]
call fcn.10007c16
and dword [ebp - 0x90], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.10007467
mov eax, dword [ebp - 0x90]
jmp 0x1001797c
jmp 0x10017951
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.10016c0b
and dword [ebp - 0x98], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.10007467
mov eax, dword [ebp - 0x98]
jmp 0x1001797c
mov dword [ebp - 0xa0], 1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.10007467
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc