Function at 0x10baab4
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x10e3200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x474], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push 0x103ea7c
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], 1
call fcn.010bce33
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x232]
push ebx
push eax
mov dword [ebp - 0x450], ebx
call sub.msvcrt.dll_memset
xor eax, eax
push esi
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x43a]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
xor eax, eax
push 9
mov word [ebp - 0x2c], ax
pop ecx
lea edi, [ebp - 0x2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
or eax, 0xffffffff
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x468], ebx
cmp dword [ebp - 0x460], ebx
je 0x10bab89
mov eax, dword [ebp - 0x460]
mov dword [eax], ebx
mov eax, dword [ebp - 0x474]
cmp eax, ebx
jne 0x10babce
push 0x57
pop ecx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x444], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103ea6c
push ecx
push 0x103de90
push 0x1c
jmp 0x10bb3ba
cmp dword [ebp - 0x460], ebx
jne 0x10bac11
push 0x57
pop ecx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x444], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103ea58
push ecx
push 0x103de90
push 0x1d
jmp 0x10bb3ba
cmp dword [eax + 4], ebx
je 0x10bac43
call fcn.010b8c80
test eax, eax
je 0x10bac58
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bac43
test byte [eax + 0x1c], 2
je 0x10bac43
push 0x103de90
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acacd
mov dword [ebp - 0x440], 1
mov dword [ebp - 0x444], ebx
jmp 0x10bb434
call fcn.010b5aae
mov dword [ebp - 0x46c], eax
cmp eax, ebx
jne 0x10baca4
mov ecx, 0x65e
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x444], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103d900
push ecx
push 0x103de90
push 0x1f
jmp 0x10bb3ba
cmp eax, 1
jne 0x10bacfb
lea eax, [ebp - 0x47c]
push eax
call fcn.010b90d0
test eax, eax
jne 0x10bacfb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x440], ebx
call esi
mov dword [ebp - 0x444], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103ea2c
call esi
push eax
push 0x103de90
push 0x20
jmp 0x10bb3b5
push 0x104
lea eax, [ebp - 0x43c]
push eax
call fcn.010ba8f4
test eax, eax
jne 0x10bad52
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x440], ebx
call esi
mov dword [ebp - 0x444], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103e9e0
call esi
push eax
push 0x103de90
push 0x21
jmp 0x10bb3b5
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 0x2000000
push 3
push ebx
push 3
mov edi, 0x80000000
push edi
lea eax, [ebp - 0x43c]
push eax
call esi
mov dword [ebp - 0x458], eax
cmp eax, ebx
je 0x10bb3f9
cmp eax, 0xffffffff
je 0x10bb3f9
push ebx
lea ecx, [ebp - 0x464]
push ecx
push ebx
push ebx
push 0x560000
push eax
call fcn.010be46f
test eax, eax
jne 0x10bade4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x440], ebx
call esi
mov dword [ebp - 0x444], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103e968
call esi
push eax
push 0x103de90
push 0x23
jmp 0x10bb3b5
lea eax, [ebp - 0x44c]
push eax
call fcn.010bd888
test eax, eax
jne 0x10bae36
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x440], ebx
call esi
mov dword [ebp - 0x444], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103e938
call esi
push eax
push 0x103de90
push 0x24
jmp 0x10bb3b5
mov ecx, dword [ebp - 0x44c]
cmp word [ecx], bx
je 0x10bae90
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0x448], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x10bae4c
sub eax, dword [ebp - 0x448]
sar eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x10bae90
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0x448], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x10bae71
sub eax, dword [ebp - 0x448]
sar eax, 1
xor edx, edx
mov word [ecx + eax*2 - 2], dx
mov ecx, dword [ebp - 0x44c]
push ebx
push 0x2000000
push 3
push ebx
push 3
push edi
push ecx
call esi
mov dword [ebp - 0x448], eax
cmp eax, ebx
je 0x10bb3c7
cmp eax, 0xffffffff
je 0x10bb3c7
push ebx
lea ecx, [ebp - 0x468]
push ecx
push ebx
push ebx
push 0x560000
push eax
call fcn.010be46f
test eax, eax
jne 0x10baf11
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x440], ebx
call esi
mov dword [ebp - 0x444], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103e8c8
call esi
push eax
push 0x103de90
push 0x26
jmp 0x10bb3b5
mov esi, dword [ebp - 0x474]
mov eax, dword [esi + 4]
shl eax, 4
push eax
call fcn.010bd1d1
mov dword [ebp - 0x450], eax
cmp eax, ebx
jne 0x10baf68
push 0xe
pop ecx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x444], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103e8b4
push ecx
push 0x103de90
push 0x27
jmp 0x10bb3ba
mov dword [ebp - 0x454], ebx
cmp dword [esi + 4], ebx
jbe 0x10bb2a5
mov edx, dword [ebp - 0x450]
add edx, 8
mov ebx, esi
mov dword [ebp - 0x478], edx
add ebx, 0x50
mov eax, dword [ebp - 0x454]
mov dword [edx - 4], eax
cmp dword [ebx - 8], 0
je 0x10bb273
mov ecx, dword [ebx - 0x20]
test ecx, ecx
jne 0x10bafbf
mov al, byte [ebx]
test al, al
je 0x10bb273
cmp al, 5
je 0x10bb273
cmp al, 0xf
je 0x10bb273
cmp ecx, 1
jne 0x10bafd8
push 4
pop ecx
mov edi, 0x1030224
mov esi, ebx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x10bb273
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax]
xor esi, esi
test ecx, ecx
jbe 0x10bb055
add eax, 0x10
mov edi, dword [eax - 8]
cmp edi, dword [ebp + 8]
jne 0x10bb000
mov edi, dword [eax]
cmp edi, dword [ebx - 0x18]
jne 0x10bb000
mov edi, dword [eax + 4]
cmp edi, dword [ebx - 0x14]
je 0x10bb00a
inc esi
add eax, 0x18
cmp esi, ecx
jb 0x10bafe9
jmp 0x10bb055
mov cx, word [edx]
or cx, 2
cmp dword [ebp - 0x46c], 1
movzx eax, cx
mov word [edx], cx
jne 0x10bb02b
mov ecx, dword [ebp - 0x47c]
cmp ecx, dword [ebp + 8]
je 0x10bb034
cmp dword [ebp - 0x46c], 2
jne 0x10bb055
or eax, 4
cmp dword [ebp - 0x46c], 2
mov word [edx], ax
jne 0x10bb055
mov eax, dword [ebp + 8]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebx - 8]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax]
xor esi, esi
test ecx, ecx
jbe 0x10bb08b
add eax, 0x10
mov edi, dword [eax - 8]
cmp edi, dword [ebp + 8]
jne 0x10bb07d
mov edi, dword [eax]
cmp edi, dword [ebx - 0x18]
jne 0x10bb07d
mov edi, dword [eax + 4]
cmp edi, dword [ebx - 0x14]
je 0x10bb087
inc esi
add eax, 0x18
cmp esi, ecx
jb 0x10bb066
jmp 0x10bb08b
or word [edx], 1
push 0x104
lea eax, [ebp - 0x234]
push eax
push 0
push dword [ebx - 8]
push dword [ebp + 8]
call fcn.010bed4d
test eax, eax
je 0x10bb2be
mov eax, dword [ebp - 0x478]
add eax, 0xfffffff8
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.010c0b97
test eax, eax
jne 0x10bb0f1
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb0f6
test byte [eax + 0x1c], 2
je 0x10bb0f6
lea ecx, [ebp - 0x234]
push ecx
push 0x103de90
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acbe8
mov eax, dword [0x10e308c]
cmp dword [ebp - 0x46c], 2
jne 0x10bb273
cmp dword [ebx - 0x20], 1
jne 0x10bb119
push 4
pop ecx
mov edi, 0x1030234
mov esi, ebx
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x10bb137
mov ecx, dword [ebp - 0x45c]
cmp dword [ebp + 8], ecx
jne 0x10bb273
mov ecx, dword [ebp - 0x470]
cmp dword [ebx - 8], ecx
jne 0x10bb273
mov ecx, dword [ebp - 0x45c]
cmp dword [ebp + 8], ecx
jne 0x10bb14d
mov ecx, dword [ebp - 0x470]
cmp dword [ebx - 8], ecx
je 0x10bb172
cmp eax, 0x10e308c
je 0x10bb172
test byte [eax + 0x1c], 4
je 0x10bb172
push dword [ebx - 8]
push dword [ebp + 8]
push 0x103de90
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010accc8
push dword [ebx - 8]
lea eax, [ebp - 0x234]
push dword [ebp + 8]
push 0x103e894
push 0x103e850
push 0x104
push eax
call fcn.01047599
xor edi, edi
add esp, 0x18
cmp eax, edi
jl 0x10bb303
mov esi, dword [ebp - 0x478]
push 0x14
xor eax, eax
add esi, 2
mov byte [esi], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
push eax
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x10bb261
mov eax, dword [0x10e308c]
mov esi, 0x10e308c
cmp eax, esi
je 0x10bb20a
test byte [eax + 0x1c], 4
je 0x10bb20a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebx - 8]
mov eax, dword [0x10e308c]
push dword [ebp + 8]
push 0x103de90
push 0x2c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010b8b5e
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x45c]
jne 0x10bb273
mov eax, dword [ebp - 0x470]
cmp dword [ebx - 8], eax
jne 0x10bb273
mov dword [ebp - 0x440], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x444], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103a548
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x103de90
push 0x2d
jmp 0x10bb3b5
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.010cbaba
test eax, eax
je 0x10bb376
inc dword [ebp - 0x454]
mov edx, dword [ebp - 0x478]
mov eax, dword [ebp - 0x474]
mov ecx, dword [ebp - 0x454]
add edx, 0x10
add ebx, 0x90
mov dword [ebp - 0x478], edx
cmp ecx, dword [eax + 4]
jb 0x10baf8b
xor ebx, ebx
mov ecx, dword [ebp - 0x450]
mov eax, dword [ebp - 0x460]
mov dword [eax], ecx
mov dword [ebp - 0x450], ebx
jmp 0x10bb434
and dword [ebp - 0x440], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x444], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103e7d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x103de90
push 0x28
jmp 0x10bb3b5
mov ecx, eax
mov dword [ebp - 0x440], edi
call fcn.010bcebf
mov dword [ebp - 0x444], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103e730
push dword [ebx - 8]
lea eax, [ebp - 0x234]
push dword [ebp + 8]
push 0x103e894
push 0x103e850
push 0x104
push eax
call fcn.01047599
add esp, 0x18
push eax
mov eax, dword [0x10e308c]
push 0x103de90
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acaf3
jmp 0x10bb434
mov dword [ebp - 0x440], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x444], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103e6e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x103de90
push 0x2e
mov eax, dword [0x10e308c]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acaf3
jmp 0x10bb434
mov dword [ebp - 0x440], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x444], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103e6dc
push 0x103de90
push 0x25
jmp 0x10bb429
mov dword [ebp - 0x440], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x444], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bb434
test byte [eax + 0x1c], 8
je 0x10bb434
push 0x103e6cc
push 0x103de90
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010af4af
push dword [ebp - 0x450]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
push dword [ebp - 0x464]
call esi
push dword [ebp - 0x468]
xor edi, edi
mov dword [ebp - 0x464], edi
call esi
push dword [ebp - 0x44c]
mov dword [ebp - 0x468], edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44c], edi
cmp dword [ebp - 0x458], edi
je 0x10bb48d
cmp dword [ebp - 0x458], 0xffffffff
je 0x10bb48d
push dword [ebp - 0x458]
call esi
cmp dword [ebp - 0x448], edi
je 0x10bb4a6
cmp dword [ebp - 0x448], 0xffffffff
je 0x10bb4a6
push dword [ebp - 0x448]
call esi
push 0x103ea7c
call fcn.010bce68
push dword [ebp - 0x444]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x440]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010987b7
leave
ret 0xc