Function at 0x10affee
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x10e3200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
push 0x103bd44
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x434], 1
call fcn.010bd0c6
push 0x11
mov dword [ebp - 0x458], edi
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x440], edi
call fcn.010af979
test eax, eax
jne 0x10b0087
mov ecx, 0x522
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x438], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b0d53
test byte [eax + 0x1c], 8
je 0x10b0d53
push 0x103bd28
push ecx
push 0x103b7f0
push 0x11
jmp 0x10b00ca
push 0x12
call fcn.010af979
test eax, eax
jne 0x10b00da
mov ecx, 0x522
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x438], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b0d53
test byte [eax + 0x1c], 8
je 0x10b0d53
push 0x103bd28
push ecx
push 0x103b7f0
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10b0d53
push ebx
call fcn.010afa58
mov ebx, eax
mov dword [ebp - 0x458], ebx
cmp ebx, edi
jne 0x10b012e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x434], edi
call esi
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103acc4
call esi
push eax
push 0x103b7f0
push 0x13
jmp 0x10b0d42
push 0x434
call fcn.010bd463
mov dword [ebp - 0x44c], eax
cmp eax, edi
jne 0x10b017d
push 0xe
pop ecx
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x438], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103acb8
push ecx
push 0x103b7f0
push 0x14
jmp 0x10b0d47
mov dword [ebp - 0x444], edi
cmp dword [ebx + 4], edi
jbe 0x10b01cc
lea esi, [ebx + 8]
mov ax, word [esi + 4]
shr ax, 1
movzx eax, ax
push edi
push eax
mov eax, dword [esi]
add eax, ebx
push eax
mov ax, word [esi + 0x14]
shr ax, 1
movzx eax, ax
push eax
mov eax, dword [esi + 0x10]
add eax, ebx
push eax
push dword [ebp - 0x44c]
call fcn.010afcd6
inc dword [ebp - 0x444]
mov eax, dword [ebp - 0x444]
add esi, 0x18
cmp eax, dword [ebx + 4]
jb 0x10b018b
mov edi, dword [ebp - 0x44c]
mov esi, 0x10e308c
mov ebx, 0x103b7f0
cmp dword [edi + 4], 0
je 0x10b068e
mov eax, dword [edi + 8]
test eax, eax
je 0x10b068e
movzx ecx, word [edi + 0x1a]
push ecx
push eax
push 0x105
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x444], ecx
call fcn.01047516
test eax, eax
jl 0x10b069d
push 0x5c
pop eax
mov word [ebp - 0x22e], ax
lea eax, [ebp - 0x230]
push eax
call fcn.010af9f6
test eax, eax
jne 0x10b068e
mov eax, dword [ebp - 0x444]
add eax, eax
push 0x5c
pop ecx
mov word [ebp + eax - 0x230], cx
xor ecx, ecx
mov word [ebp + eax - 0x22e], cx
xor eax, eax
cmp dword [edi + 0x1c], eax
jne 0x10b0265
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp dword [edi + 0x1c], 0
jne 0x10b03dd
cmp eax, 3
je 0x10b03e6
test eax, eax
je 0x10b068e
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x444], eax
test eax, eax
jne 0x10b0316
push 0x1088
call fcn.010bd463
mov dword [ebp - 0x440], eax
test eax, eax
je 0x10b06f0
and dword [eax], 0
movzx ecx, word [edi + 0x1a]
push ecx
push dword [edi + 8]
add eax, 0x808
push 0x40
push eax
call fcn.01047516
test eax, eax
jl 0x10b0725
movzx eax, word [edi + 0x18]
push eax
push dword [edi + 4]
mov eax, dword [ebp - 0x440]
push 0x400
add eax, 8
push eax
call fcn.01047516
test eax, eax
jl 0x10b0779
push dword [ebp - 0x440]
mov eax, dword [ebp - 0x450]
add eax, 8
push eax
call fcn.010af8da
test eax, eax
je 0x10b07ce
and dword [ebp - 0x440], 0
jmp 0x10b068e
push 0x1088
call fcn.010bd463
mov dword [ebp - 0x440], eax
test eax, eax
je 0x10b080c
and dword [eax], 0
movzx ecx, word [edi + 0x1a]
push ecx
push dword [edi + 8]
add eax, 0x808
push 0x40
push eax
call fcn.01047516
test eax, eax
jl 0x10b0841
mov eax, dword [ebp - 0x444]
movzx ecx, word [eax + 4]
push ecx
push dword [eax]
mov eax, dword [ebp - 0x440]
push 0x400
add eax, 0x888
push eax
call fcn.01047516
test eax, eax
jl 0x10b0895
movzx eax, word [edi + 0x18]
push eax
push dword [edi + 4]
mov eax, dword [ebp - 0x440]
push 0x400
add eax, 8
push eax
call fcn.01047516
test eax, eax
jl 0x10b08f1
push dword [ebp - 0x440]
mov eax, dword [ebp - 0x450]
add eax, 8
push eax
call fcn.010af8da
test eax, eax
je 0x10b0946
mov eax, dword [ebp - 0x444]
mov eax, dword [eax + 8]
and dword [ebp - 0x440], 0
mov dword [ebp - 0x444], eax
test eax, eax
jne 0x10b0316
jmp 0x10b068e
cmp eax, 3
jne 0x10b047b
lea eax, [ebp - 0x445]
push eax
lea eax, [ebp - 0x230]
push eax
mov byte [ebp - 0x445], 0
call fcn.010afe7a
test eax, eax
jne 0x10b0441
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b068e
test byte [eax + 0x1c], 4
je 0x10b068e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x230]
push eax
mov eax, dword [0x10e308c]
push ebx
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010ace97
jmp 0x10b068e
cmp byte [ebp - 0x445], 0
je 0x10b047b
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b068e
test byte [eax + 0x1c], 4
je 0x10b068e
lea ecx, [ebp - 0x230]
push ecx
push ebx
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010ace2a
jmp 0x10b068e
cmp dword [edi + 0x1c], 0
jne 0x10b04a8
lea eax, [ebp - 0x454]
push eax
push 0x100
lea eax, [ebp - 0x430]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.010af84b
jmp 0x10b04e8
lea eax, [edi + 0x20]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.010474dc
test eax, eax
jl 0x10b0982
lea eax, [edi + 0x22a]
push eax
push 0x100
lea eax, [ebp - 0x430]
push eax
call fcn.010474dc
test eax, eax
jl 0x10b09ca
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x454], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x444], eax
test eax, eax
jne 0x10b05a5
push 0xab4
call fcn.010bd463
mov dword [ebp - 0x43c], eax
test eax, eax
je 0x10b0a1b
and dword [eax], 0
movzx ecx, word [edi + 0x1a]
push ecx
push dword [edi + 8]
add eax, 8
push 0x40
push eax
call fcn.01047516
test eax, eax
jl 0x10b0a50
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x43c]
push 0x10
add eax, 0x888
push eax
call fcn.010474dc
test eax, eax
jl 0x10b0aa2
lea eax, [ebp - 0x430]
push eax
mov eax, dword [ebp - 0x43c]
push 0x100
add eax, 0x8a8
push eax
call fcn.010474dc
test eax, eax
jl 0x10b0af2
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x454]
push eax
push dword [ebp - 0x450]
mov dword [eax + 0xaa8], ecx
call fcn.010af8da
test eax, eax
je 0x10b0b48
and dword [ebp - 0x43c], 0
jmp 0x10b068e
push 0xab4
call fcn.010bd463
mov dword [ebp - 0x43c], eax
test eax, eax
je 0x10b0b86
and dword [eax], 0
movzx ecx, word [edi + 0x1a]
push ecx
push dword [edi + 8]
add eax, 8
push 0x40
push eax
call fcn.01047516
test eax, eax
jl 0x10b0bbb
mov eax, dword [ebp - 0x444]
movzx ecx, word [eax + 4]
push ecx
push dword [eax]
mov eax, dword [ebp - 0x43c]
push 0x400
add eax, 0x88
push eax
call fcn.01047516
test eax, eax
jl 0x10b0c0d
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x43c]
push 0x10
add eax, 0x888
push eax
call fcn.010474dc
test eax, eax
jl 0x10b0c69
lea eax, [ebp - 0x430]
push eax
mov eax, dword [ebp - 0x43c]
push 0x100
add eax, 0x8a8
push eax
call fcn.010474dc
test eax, eax
jl 0x10b0cb6
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x454]
push eax
push dword [ebp - 0x450]
mov dword [eax + 0xaa8], ecx
call fcn.010af8da
test eax, eax
je 0x10b0d11
mov eax, dword [ebp - 0x444]
mov eax, dword [eax + 8]
and dword [ebp - 0x43c], 0
mov dword [ebp - 0x444], eax
test eax, eax
jne 0x10b05a5
mov edi, dword [edi]
test edi, edi
jne 0x10b01dc
jmp 0x10b0d52
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103bcd8
push dword [ebp - 0x444]
lea eax, [ebp - 0x230]
push dword [edi + 8]
push 0x105
push eax
call fcn.01047516
push eax
push ebx
push 0x15
jmp 0x10b0cff
and dword [ebp - 0x434], 0
push 0xe
pop ecx
mov dword [ebp - 0x438], ecx
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103bccc
push ecx
push ebx
push 0x25
jmp 0x10b0d47
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
movzx eax, word [edi + 0x1a]
push 0x103bc68
push eax
push dword [edi + 8]
mov eax, dword [ebp - 0x440]
push 0x40
add eax, 0x808
push eax
call fcn.01047516
push eax
push ebx
push 0x26
jmp 0x10b0cff
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
movzx eax, word [edi + 0x18]
push 0x103bc00
push eax
push dword [edi + 4]
mov eax, dword [ebp - 0x440]
push 0x400
add eax, 8
push eax
call fcn.01047516
push eax
push ebx
push 0x27
jmp 0x10b0cff
and dword [ebp - 0x434], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103acc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x28
jmp 0x10b0d42
and dword [ebp - 0x434], 0
push 0xe
pop ecx
mov dword [ebp - 0x438], ecx
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103bccc
push ecx
push ebx
push 0x29
jmp 0x10b0d47
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
movzx eax, word [edi + 0x1a]
push 0x103bc68
push eax
push dword [edi + 8]
mov eax, dword [ebp - 0x440]
push 0x40
add eax, 0x808
push eax
call fcn.01047516
push eax
push ebx
push 0x2a
jmp 0x10b0cff
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
mov eax, dword [ebp - 0x444]
movzx ecx, word [eax + 4]
push 0x103bb98
push ecx
push dword [eax]
mov eax, dword [ebp - 0x440]
push 0x400
add eax, 0x888
push eax
call fcn.01047516
push eax
push ebx
push 0x2b
jmp 0x10b0cff
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
movzx eax, word [edi + 0x18]
push 0x103bc00
push eax
push dword [edi + 4]
mov eax, dword [ebp - 0x440]
push 0x400
add eax, 8
push eax
call fcn.01047516
push eax
push ebx
push 0x2c
jmp 0x10b0cff
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x434], 0
call edi
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103acc4
call edi
push eax
push ebx
push 0x2d
jmp 0x10b0d42
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103bb58
add edi, 0x20
push edi
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.010474dc
push eax
push ebx
push 0x18
jmp 0x10b0cff
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103bb1c
add edi, 0x22a
push edi
push 0x100
lea eax, [ebp - 0x430]
push eax
call fcn.010474dc
push eax
push ebx
push 0x19
jmp 0x10b0cff
and dword [ebp - 0x434], 0
push 0xe
pop ecx
mov dword [ebp - 0x438], ecx
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103bb10
push ecx
push ebx
push 0x1a
jmp 0x10b0d47
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
movzx eax, word [edi + 0x1a]
push 0x103bab0
push eax
push dword [edi + 8]
mov eax, dword [ebp - 0x43c]
push 0x40
add eax, 8
push eax
call fcn.01047516
push eax
push ebx
push 0x1b
jmp 0x10b0cff
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103ba68
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x43c]
push 0x10
add eax, 0x888
push eax
call fcn.010474dc
push eax
push ebx
push 0x1c
jmp 0x10b0cff
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103ba20
lea eax, [ebp - 0x430]
push eax
mov eax, dword [ebp - 0x43c]
push 0x100
add eax, 0x8a8
push eax
call fcn.010474dc
push eax
push ebx
push 0x1d
jmp 0x10b0cff
and dword [ebp - 0x434], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103acc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1e
jmp 0x10b0d42
and dword [ebp - 0x434], 0
push 0xe
pop ecx
mov dword [ebp - 0x438], ecx
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103bb10
push ecx
push ebx
push 0x1f
jmp 0x10b0d47
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
movzx eax, word [edi + 0x1a]
push 0x103bab0
push eax
push dword [edi + 8]
mov eax, dword [ebp - 0x43c]
push 0x40
add eax, 8
push eax
call fcn.01047516
push eax
push ebx
push 0x20
jmp 0x10b0cff
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
mov eax, dword [ebp - 0x444]
movzx ecx, word [eax + 4]
push 0x103b9b8
push ecx
push dword [eax]
mov eax, dword [ebp - 0x43c]
push 0x400
add eax, 0x88
push eax
call fcn.01047516
push eax
push ebx
push 0x21
jmp 0x10b0cff
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103ba68
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x43c]
push 0x10
add eax, 0x888
push eax
call fcn.010474dc
push eax
push ebx
push 0x22
jmp 0x10b0cff
and dword [ebp - 0x434], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103ba20
lea eax, [ebp - 0x430]
push eax
mov eax, dword [ebp - 0x43c]
push 0x100
add eax, 0x8a8
push eax
call fcn.010474dc
push eax
push ebx
push 0x23
mov eax, dword [0x10e308c]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10b0d52
and dword [ebp - 0x434], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x438], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b0d52
test byte [eax + 0x1c], 8
je 0x10b0d52
push 0x103acc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x24
mov eax, dword [0x10e308c]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
pop ebx
push dword [ebp - 0x43c]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
push dword [ebp - 0x440]
call esi
push dword [ebp - 0x458]
call esi
cmp dword [ebp - 0x44c], 0
pop edi
pop esi
je 0x10b0d88
lea eax, [ebp - 0x44c]
push eax
call fcn.010af929
push 0x103bd44
call fcn.010bd0fb
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x434]
xor ecx, ebp
call fcn.010989ab
leave
ret 4