Function at 0x100d2c6
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1015024
call fcn.01011388
sub esp, 0x104
mov eax, dword [0x101704c]
push ebx
push esi
push edi
push 0x1004544
sub esp, 0x40
mov dword [ebp - 0xb8], esp
mov dword [ebp - 0xa8], ecx
mov ecx, esp
push 0
push 0x800000
push 0x305
push 0x100332c
mov ebx, 0x10032a0
push ebx
mov dword [ebp - 0x10], eax
call fcn.01007e91
lea ecx, [ebp - 0x110]
call fcn.01007fe5
and dword [ebp - 4], 0
test dword [0x1017064], 0xfffffff8
je 0x100d34f
mov ecx, dword [ebp - 0xa8]
push 0xd
call fcn.01008105
mov ecx, dword [ebp - 0xa8]
push eax
call fcn.0100b3e4
mov dword [ebp - 0xb0], eax
jmp 0x100d356
or dword [ebp - 0xb0], 0xffffffff
mov ecx, dword [ebp - 0xa8]
mov esi, 0x10058c4
lea edi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x94]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0100908c
mov ecx, dword [ebp - 0xa8]
push 3
call fcn.01008105
mov esi, 0x10058c4
lea edi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xa8]
push 0xa
mov ecx, esi
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xa9], 0
call fcn.01008105
test eax, eax
je 0x100d3fc
lea eax, [ebp - 0x84]
push eax
push 0xa
mov ecx, esi
call fcn.01008105
push eax
mov ecx, esi
call fcn.0100f439
test al, al
jne 0x100d3fc
push 0xa
mov ecx, esi
call fcn.01008105
push eax
push 0x10044d0
push 0x1004
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0xb8], esp
push 0
push 0x800000
push 0x318
jmp 0x100d465
mov esi, 0x10058c4
lea edi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xa8]
push 0xc
mov ecx, esi
call fcn.01008105
test eax, eax
je 0x100d47c
lea eax, [ebp - 0xa4]
push eax
push 0xc
mov ecx, esi
call fcn.01008105
push eax
mov ecx, esi
call fcn.0100f439
test al, al
jne 0x100d47c
push 0xc
mov ecx, esi
call fcn.01008105
push eax
push 0x1004460
push 0x1004
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0xb8], esp
push 0
push 0x800000
push 0x322
push 0x100332c
push ebx
call fcn.01007e91
lea eax, [ebp - 0x110]
push eax
call fcn.010082c0
mov ecx, dword [esi]
lea edx, [ebp - 0x110]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0xb4]
lea esi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0xb0]
lea esi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xc]
xor esi, esi
push 0x18
xor eax, eax
mov word [ebp - 0x74], si
pop ecx
lea edi, [ebp - 0x72]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0xb4]
cmp edi, esi
je 0x100d546
cmp word [edi], 0x5c
lea eax, [ebp - 0x74]
je 0x100d535
push 0x32
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x100d546
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x10043d0
push 0x80042308
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0xb8], esp
push esi
push 0x200
push 0x335
push 0x100332c
push ebx
call fcn.01007e91
lea eax, [ebp - 0x110]
push eax
call fcn.010082c0
push 0x31
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
mov word [ebp - 0x12], si
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], esi
lea eax, [ebp - 0x74]
push eax
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0xb0]
lea esi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
movsd dword es:[edi], dword [esi]
call fcn.0100b96e
mov eax, dword [ebp - 0xbc]
test eax, eax
mov dword [ebp - 0xb8], eax
jne 0x100d5e2
push 0x1004340
push 1
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0xb8], esp
push eax
push 0x800000
push 0x34c
push 0x100332c
push ebx
call fcn.01007e91
lea eax, [ebp - 0x110]
push eax
call fcn.010082c0
and dword [ebp - 0xb0], 0
test eax, eax
jle 0x100d7f7
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xb0]
mov ebx, dword [eax + ecx*4]
sub esp, 0x10
mov edi, esp
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xd0], ebx
movsd dword es:[edi], dword [esi]
call fcn.010101c9
mov esi, 0x1002898
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe0], esi
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
add eax, 0x50
push eax
mov byte [ebp - 4], 2
call fcn.010102d4
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xec], esi
push dword [ebp - 0xe8]
mov eax, dword [ebx + 0x10]
push eax
push dword [ebp - 0xdc]
mov byte [ebp - 4], 3
push 0x40002752
push dword [ebp - 0xa8]
call fcn.0100f6cd
mov eax, dword [ebx + 0x1c]
and dword [ebp - 0xb4], 0
add esp, 0x14
test eax, eax
mov dword [ebp - 0xf8], eax
jle 0x100d7c5
mov byte [ebp - 0xa9], 1
jmp 0x100d698
mov ebx, dword [ebp - 0xd0]
mov esi, 0x1002898
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp - 0xb4]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0xa8]
lea eax, [ebx + 0x3c]
push eax
call fcn.0100989a
push dword [ebx + 0x4c]
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xe4], eax
call fcn.0100b1e7
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf4], esi
push dword [ebx + 0x4c]
mov ecx, dword [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.0100b4ef
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], esi
sub esp, 0x10
mov edi, esp
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 5
movsd dword es:[edi], dword [esi]
call fcn.010101c9
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd8], 0x1002898
push dword [ebx + 0x28]
mov ecx, dword [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.0101074d
mov esi, dword [ebp - 0xe4]
test esi, esi
jne 0x100d736
mov esi, 0x100433c
mov ecx, dword [ebx + 0x30]
test ecx, ecx
mov edx, ecx
jne 0x100d744
mov edx, 0x1001ea4
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
jne 0x100d750
mov ecx, 0x1001ea4
test eax, eax
jne 0x100d759
mov eax, 0x100433c
push dword [ebp - 0xf0]
push dword [ebp - 0xc8]
push esi
push edx
push ecx
push dword [ebx + 0x24]
push dword [ebx + 0x28]
push eax
push dword [ebp - 0xd4]
push 0x40002753
push dword [ebp - 0xa8]
call fcn.0100f6cd
add esp, 0x2c
lea ecx, [ebp - 0xd8]
call fcn.0100846f
lea ecx, [ebp - 0xcc]
call fcn.0100846f
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 3
call fcn.0100846f
inc dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0xf8]
jl 0x100d68d
lea ecx, [ebp - 0xec]
call fcn.0100846f
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 1
call fcn.0100846f
inc dword [ebp - 0xb0]
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb8]
jl 0x100d5f1
mov ecx, dword [ebp - 0xa8]
xor eax, eax
cmp byte [ebp - 0xa9], al
mov byte [ebp - 4], 0
sete al
mov dword [ecx + 0x24], eax
lea ecx, [ebp - 0xc4]
call fcn.0100be1b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.01008075
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.010110c9
pop edi
pop esi
pop ebx
leave
ret