Function at 0x10a4c9e
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push 0x49c
mov eax, 0x10d34e6
call fcn.01098a33
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0
sub esp, 0x58
mov dword [ebp - 0x424], esp
mov dword [ebp - 0x42c], ecx
mov ecx, esp
push 0xff
push 4
push 0x276
push 0x10350f0
mov ebx, 0x1034498
push ebx
mov edi, 0x1034428
push edi
mov dword [ebp - 0x438], eax
call fcn.0109958e
lea ecx, [ebp - 0x478]
call fcn.0109aa5f
and dword [ebp - 4], 0
cmp byte [ebp + 0x10], 0
jne 0x10a4f21
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x434], 0x1034670
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x428], 0xffffffff
jne 0x10a4dcd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10a4f11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x470]
push 0x1035070
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x286
push 0x10350f0
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x478]
push eax
call fcn.0109a735
add esp, 0x68
jmp 0x10a4ef1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10a4ef1
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10a4dec
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x21a]
cmp word [eax], 0x5c
jne 0x10a4e0c
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 8]
test eax, eax
je 0x10a4e8e
push eax
lea eax, [ebp - 0x218]
push eax
push 0x1007028
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.010475bf
add esp, 0x14
mov dword [ebp - 0x470], eax
test eax, eax
jge 0x10a4e8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x470]
lea eax, [ebp - 0x218]
push dword [esi + 8]
push eax
push 0x1034ff8
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x299
push 0x10350f0
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x478]
push eax
call fcn.0109a735
add esp, 0x70
jmp 0x10a4ef1
push dword [ebp - 0x438]
mov eax, dword [esi + 0x10]
push eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp + 0x1c]
movzx eax, byte [esi]
push dword [ebp + 0x18]
lea ecx, [ebp - 0x4a8]
push 0
push 0
push eax
call fcn.010a2ef2
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x42c]
push dword [ebp + 0x2c]
lea eax, [ebp - 0x4a8]
push dword [ebp + 0x28]
mov byte [ebp - 4], 2
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x30]
push 0
push eax
call fcn.010a44d1
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 1
call fcn.010a2c26
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x10a4d6c
lea ecx, [ebp - 0x434]
call fcn.010a2883
jmp 0x10a519e
push dword [ebp - 0x42c]
call fcn.010a245e
mov dword [ebp - 0x430], eax
test eax, eax
jne 0x10a4f72
push 0x1034fb0
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x2ae
push 0x10350f0
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x478]
push eax
call fcn.0109a735
add esp, 0x60
jmp 0x10a519e
push dword [ebp - 0x42c]
call fcn.010a2481
mov dword [ebp - 0x424], eax
test eax, eax
jne 0x10a4fa5
push 0x1034f70
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x2b5
jmp 0x10a4f52
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x424]
add esp, 0xc
test eax, eax
jbe 0x10a519e
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x428]
push dword [eax]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.010474dc
mov dword [ebp - 0x470], eax
test eax, eax
jge 0x10a504f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x470]
push 0x1034f10
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x2c2
push 0x10350f0
push ebx
push edi
call fcn.0109958e
lea eax, [ebp - 0x478]
push eax
call fcn.0109a735
add esp, 0x68
jmp 0x10a518b
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10a5058
sub eax, edx
sar eax, 1
cmp dword [esi + 8], 0
je 0x10a5115
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x10a50c9
push 0x100163c
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.01047565
mov dword [ebp - 0x470], eax
test eax, eax
jge 0x10a50c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x470]
push 0x1034eb0
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x2d2
jmp 0x10a502f
push dword [esi + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.01047565
mov dword [ebp - 0x470], eax
test eax, eax
jge 0x10a5127
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x470]
push 0x1034a98
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x2da
jmp 0x10a502f
lea eax, [ebp + eax*2 - 0x21a]
cmp word [eax], 0x5c
jne 0x10a5127
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x438]
mov eax, dword [esi + 0x10]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0x1c]
movzx eax, byte [esi]
push dword [ebp + 0x18]
lea ecx, [ebp - 0x4a8]
push 0
push 0
push eax
call fcn.010a2ef2
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x42c]
push dword [ebp + 0x2c]
lea eax, [ebp - 0x4a8]
push dword [ebp + 0x28]
mov byte [ebp - 4], 3
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x30]
push dword [ebp + 0x10]
push eax
call fcn.010a44d1
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 0
call fcn.010a2c26
add dword [ebp - 0x428], 4
dec dword [ebp - 0x430]
jne 0x10a4fe3
lea ecx, [ebp - 0x478]
call fcn.0109ab18
call fcn.01098ac5
ret 0x2c