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

Disassembly:
push 0x49c
mov eax, 0x10d3181
call fcn.0109883f
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 0x1034fc8
mov ebx, 0x1034370
push ebx
mov edi, 0x1034300
push edi
mov dword [ebp - 0x438], eax
call fcn.01099386
lea ecx, [ebp - 0x478]
call fcn.0109a83a
and dword [ebp - 4], 0
cmp byte [ebp + 0x10], 0
jne 0x10a4cb8
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], 0x1034548
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x428], 0xffffffff
jne 0x10a4b64
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10a4ca8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x470]
push 0x1034f48
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x286
push 0x1034fc8
push ebx
push edi
call fcn.01099386
lea eax, [ebp - 0x478]
push eax
call fcn.0109a510
add esp, 0x68
jmp 0x10a4c88
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10a4c88
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10a4b83
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x21a]
cmp word [eax], 0x5c
jne 0x10a4ba3
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 8]
test eax, eax
je 0x10a4c25
push eax
lea eax, [ebp - 0x218]
push eax
push 0x1007030
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.01047599
add esp, 0x14
mov dword [ebp - 0x470], eax
test eax, eax
jge 0x10a4c25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x470]
lea eax, [ebp - 0x218]
push dword [esi + 8]
push eax
push 0x1034ed0
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x299
push 0x1034fc8
push ebx
push edi
call fcn.01099386
lea eax, [ebp - 0x478]
push eax
call fcn.0109a510
add esp, 0x70
jmp 0x10a4c88
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.010a2c89
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.010a4268
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 1
call fcn.010a29ca
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x10a4b03
lea ecx, [ebp - 0x434]
call fcn.010a2627
jmp 0x10a4f35
push dword [ebp - 0x42c]
call fcn.010a220c
mov dword [ebp - 0x430], eax
test eax, eax
jne 0x10a4d09
push 0x1034e88
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x2ae
push 0x1034fc8
push ebx
push edi
call fcn.01099386
lea eax, [ebp - 0x478]
push eax
call fcn.0109a510
add esp, 0x60
jmp 0x10a4f35
push dword [ebp - 0x42c]
call fcn.010a222f
mov dword [ebp - 0x424], eax
test eax, eax
jne 0x10a4d3c
push 0x1034e48
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x2b5
jmp 0x10a4ce9
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 0x10a4f35
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x428]
push dword [eax]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.010474b6
mov dword [ebp - 0x470], eax
test eax, eax
jge 0x10a4de6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x470]
push 0x1034de8
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x2c2
push 0x1034fc8
push ebx
push edi
call fcn.01099386
lea eax, [ebp - 0x478]
push eax
call fcn.0109a510
add esp, 0x68
jmp 0x10a4f22
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10a4def
sub eax, edx
sar eax, 1
cmp dword [esi + 8], 0
je 0x10a4eac
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x10a4e60
push 0x100163c
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.0104753f
mov dword [ebp - 0x470], eax
test eax, eax
jge 0x10a4e60
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x470]
push 0x1034d88
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x2d2
jmp 0x10a4dc6
push dword [esi + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0104753f
mov dword [ebp - 0x470], eax
test eax, eax
jge 0x10a4ebe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x470]
push 0x1034970
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x424], esp
push 0xff
push 4
push 0x2da
jmp 0x10a4dc6
lea eax, [ebp + eax*2 - 0x21a]
cmp word [eax], 0x5c
jne 0x10a4ebe
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.010a2c89
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.010a4268
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 0
call fcn.010a29ca
add dword [ebp - 0x428], 4
dec dword [ebp - 0x430]
jne 0x10a4d7a
lea ecx, [ebp - 0x478]
call fcn.0109a8f3
call fcn.010988d1
ret 0x2c