Function at 0x100377e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c22b
mov eax, dword fs:[0]
push eax
sub esp, 0x684
mov eax, dword [0x10096748]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x654], 0
push 0x10089509
lea ecx, [ebp - 0x648]
call fcn.10005580
mov dword [ebp - 4], 0
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x664], ecx
cmp dword [ebp - 0x664], 0x208
jae 0x10037848
jmp 0x1003784d
call fcn.1004a135
xor edx, edx
mov eax, dword [ebp - 0x664]
mov word [ebp + eax - 0x220], dx
cmp dword [ebp + 0xc], 0
je 0x10037879
lea ecx, [ebp - 0x220]
push ecx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x100378b1
lea edx, [ebp - 0x648]
push edx
mov ecx, dword [ebp + 8]
call fcn.100055c0
mov eax, dword [ebp - 0x654]
or eax, 1
mov dword [ebp - 0x654], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x648]
call fcn.10005610
mov eax, dword [ebp + 8]
jmp 0x10037a98
mov ecx, dword [0x1008b270]
mov dword [ebp - 0x18], ecx
mov dx, word [0x1008b274]
mov word [ebp - 0x14], dx
mov dword [ebp - 0x658], 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x64c], eax
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp - 0x64c]
mov cx, word [eax]
mov word [ebp + edx - 0x18], cx
push 0x104
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10037a22
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x650], ecx
mov edx, dword [ebp - 0x650]
add edx, 2
mov dword [ebp - 0x66c], edx
mov eax, dword [ebp - 0x650]
mov cx, word [eax]
mov word [ebp - 0x65a], cx
add dword [ebp - 0x650], 2
cmp word [ebp - 0x65a], 0
jne 0x1003792a
mov edx, dword [ebp - 0x650]
sub edx, dword [ebp - 0x66c]
sar edx, 1
mov dword [ebp - 0x674], edx
mov eax, dword [ebp - 0x674]
mov dword [ebp - 0x660], eax
cmp dword [ebp - 0x660], 0x104
jae 0x10037a22
mov ecx, dword [ebp - 0x660]
push ecx
lea edx, [ebp - 0x428]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1004b466
add esp, 0xc
test eax, eax
jne 0x100379a5
mov dword [ebp - 0x668], 1
jmp 0x100379af
mov dword [ebp - 0x668], 0
mov ecx, dword [ebp - 0x668]
mov dword [ebp - 0x658], ecx
cmp dword [ebp - 0x658], 0
je 0x10037a22
mov edx, dword [ebp - 0x660]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx*2]
push ecx
lea edx, [ebp - 0x18]
push edx
push str._s_s
lea eax, [ebp - 0x630]
push eax
call fcn.10037c40
add esp, 0x10
lea ecx, [ebp - 0x630]
push ecx
lea edx, [ebp - 0x690]
push edx
call fcn.10020e50
add esp, 8
mov dword [ebp - 0x678], eax
mov eax, dword [ebp - 0x678]
push eax
lea ecx, [ebp - 0x648]
call fcn.10010150
lea ecx, [ebp - 0x690]
call fcn.10005610
mov ecx, dword [ebp - 0x64c]
movzx edx, word [ecx]
mov dword [ebp - 0x670], edx
mov eax, dword [ebp - 0x64c]
add eax, 2
mov dword [ebp - 0x64c], eax
cmp dword [ebp - 0x670], 0
je 0x10037a4b
jmp 0x10037a22
cmp dword [ebp - 0x658], 0
jne 0x10037a65
mov ecx, dword [ebp - 0x64c]
movzx edx, word [ecx]
test edx, edx
jne 0x100378db
lea eax, [ebp - 0x648]
push eax
mov ecx, dword [ebp + 8]
call fcn.100055c0
mov ecx, dword [ebp - 0x654]
or ecx, 1
mov dword [ebp - 0x654], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x648]
call fcn.10005610
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004910b
mov esp, ebp
pop ebp
ret