Function at 0x10010660
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x10054490
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1007fa04]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x7c]
xor ebx, ebx
mov eax, esi
mov dword [ebp - 0x18], esi
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 4], ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100106b0
sub eax, edx
push esi
push eax
lea ecx, [ebp + 0x3c]
call fcn.10045930
mov eax, dword [ebp + 0x60]
push 0x3a
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCR80.dll_strchr]
add esp, 8
cmp eax, ebx
je 0x100106e1
sub eax, dword [ebp + 0x60]
jmp 0x100106e6
mov eax, dword [0x10071c0c]
mov edi, 1
cmp eax, edi
jne 0x1001070a
movzx eax, word [ebp + 0x64]
push eax
push 2
lea ecx, [ebp + 0x3c]
call fcn.10045320
lea ecx, [ebp + 0x3c]
push ecx
call fcn.10046250
add esp, 4
mov eax, dword [ebp + 0x60]
push ebx
push ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp eax, ebx
jne 0x1001072f
push str.GetVolumeInformation
call fcn.10044d70
add esp, 4
test byte [ebp - 0x1c], 8
jne 0x1001075c
mov eax, dword [ebp + 0x60]
lea ecx, [ebp + 0x40]
cmp eax, ecx
mov byte [ebp - 4], bl
je 0x1001091b
cmp eax, ebx
je 0x1001091b
mov ecx, dword [eax - 4]
push eax
call fcn.10004590
jmp 0x1001091b
lea edx, [ebp]
push edx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 4
push edi
push esi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoA]
cmp eax, ebx
je 0x10010785
push str.GetNamedSecurityInfo
call fcn.10044d70
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea ecx, [ebp + 4]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x221
push 0x20
push 2
lea edx, [ebp + 0x68]
push edx
mov byte [ebp + 0x68], bl
mov byte [ebp + 0x69], bl
mov byte [ebp + 0x6a], bl
mov byte [ebp + 0x6b], bl
mov byte [ebp + 0x6c], bl
mov byte [ebp + 0x6d], 5
call esi
cmp eax, ebx
jne 0x100107c8
push 0x1006e00c
call fcn.10044d70
add esp, 4
lea eax, [ebp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp + 0x68]
push ecx
call esi
cmp eax, ebx
jne 0x100107f2
push 0x1006e00c
call fcn.10044d70
add esp, 4
push 0x40
lea edx, [ebp - 0x60]
push ebx
push edx
call sub.MSVCR80.dll_memset
mov edx, dword [ebp + 4]
mov eax, 0x13019f
add esp, 0xc
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], edx
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, 2
lea edx, [ebp - 0x60]
push edx
push ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ecx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
cmp eax, ebx
je 0x10010859
push str.SetEntriesInAcl
call fcn.10044d70
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
push ebx
push eax
push ebx
push ebx
push 4
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
cmp eax, ebx
je 0x1001087e
push str.SetNamedSecurityInfo
call fcn.10044d70
add esp, 4
mov eax, dword [ebp + 0x60]
lea edx, [ebp + 0x40]
cmp eax, edx
mov byte [ebp - 4], bl
je 0x10010898
cmp eax, ebx
je 0x10010898
mov ecx, dword [eax - 4]
push eax
call fcn.10004590
mov dword [ebp - 4], 0xffffffff
jmp 0x100108e3
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x100108f1
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x100108ff
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x1001090d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp]
cmp eax, ebx
je 0x1001091b
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.10052756
add ebp, 0x74
mov esp, ebp
pop ebp
ret