Function at 0x100138c0
Capabilities:
Enumerate disk volumes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x106b6680]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], 0
movzx eax, byte [eax]
push 2
push 0x20a
call fcn.1000d070
add esp, 8
test eax, eax
je 0x10013bee
mov esi, eax
push 0x20a
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x105
push esi
call sub.kernel32.dll_FindFirstVolumeW
mov dword [ebp - 0x28], eax
dec eax
cmp eax, 0xfffffffd
ja 0x1001395b
xor edi, edi
mov ebx, 0xfffffffe
nop word [eax + eax]
cmp word [esi + edi*2], 0
je 0x100139e7
add ebx, 0xfffffffe
inc edi
cmp ebx, 0xfffffdf4
jne 0x10013930
push 0x1069225c
push 0x105
push 0x106
call fcn.100e1b70
call fcn.10047dc0
test edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 1
je 0x1001397d
lea eax, [ebp - 0x1c]
push eax
call fcn.10047d70
add esp, 4
push 2
push 0x20a
push esi
call fcn.1000d080
add esp, 0xc
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x100139be
mov edi, dword [ebp - 0x14]
add edi, 4
jmp 0x100139a6
add edi, 0xc
dec esi
je 0x100139be
mov eax, dword [edi - 4]
test eax, eax
je 0x100139a0
add eax, eax
push 2
push eax
push dword [edi]
call fcn.1000d080
add esp, 0xc
jmp 0x100139a0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100139d9
shl eax, 2
lea eax, [eax + eax*2]
push 4
push eax
push dword [ebp - 0x14]
call fcn.1000d080
add esp, 0xc
mov eax, 4
xor ecx, ecx
xor edx, edx
jmp 0x10013b6e
mov eax, dword [0x106b6680]
neg ebx
movzx eax, byte [eax]
push 2
push ebx
call fcn.1000d070
add esp, 8
test eax, eax
je 0x10013be6
inc edi
push ebx
push esi
push eax
mov ebx, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.10024170
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [ebp - 0x10], 1
jmp 0x10013a59
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebx + ebx*2]
inc edi
inc ebx
mov dword [eax + ecx*4], edi
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [ebp - 0x10], ebx
push 0x105
push esi
push dword [ebp - 0x28]
call sub.kernel32.dll_FindNextVolumeW
test eax, eax
je 0x10013ae8
xor edi, edi
mov ebx, 0xfffffffe
nop word cs:[eax + eax]
nop dword [eax]
cmp word [esi + edi*2], 0
je 0x10013aa0
add ebx, 0xfffffffe
inc edi
cmp ebx, 0xfffffdf4
jne 0x10013a80
jmp 0x10013947
mov eax, dword [0x106b6680]
neg ebx
movzx eax, byte [eax]
push 2
push ebx
call fcn.1000d070
add esp, 8
test eax, eax
je 0x10013be6
push ebx
push esi
mov dword [ebp - 0x2c], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ebx, dword [ebp - 0x10]
cmp ebx, dword [ebp - 0x18]
jne 0x10013a40
lea eax, [ebp - 0x18]
push eax
call fcn.10024170
add esp, 4
jmp 0x10013a40
call fcn.10047dc0
lea ebx, [ebp - 0x1c]
test edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 1
je 0x10013b0a
push ebx
call fcn.10047d70
add esp, 4
call fcn.10047dc0
cmp eax, 0x80070012
lea ecx, [ebp - 0x20]
test edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
je 0x10013b2a
push ecx
call fcn.10047d70
add esp, 4
push dword [ebp - 0x28]
call sub.kernel32.dll_FindVolumeClose
test eax, eax
jne 0x10013b55
call fcn.10047dc0
test edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 1
je 0x10013b55
push ebx
call fcn.10047d70
add esp, 4
push 2
push 0x20a
push esi
call fcn.1000d080
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
push eax
push ecx
call fcn.10018020
add esp, 8
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x24]
mov dword [ebp - 0x30], eax
movsd qword [ebp - 0x38], xmm0
push esi
call fcn.100188b0
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x10013bcf
imul eax, eax, 0x58
push 8
push eax
push dword [esi + 4]
call fcn.1000d080
add esp, 0xc
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x38]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
push 2
call fcn.100d0890
push 0x20a
push 2
call fcn.100d08b0
nop word [eax + eax]
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 8]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov edx, esp
push ecx
push edx
push 0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x10013c68
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edi
xor ecx, ecx
mov eax, 1
jmp 0x10013c92
call fcn.10047dc0
test edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 1
je 0x10013c8e
lea eax, [esp + 0x1c]
push eax
call fcn.10047d70
add esp, 4
xor eax, eax
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret