Function at 0x10003e50
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048d38
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1005f1bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov dword [ebp - 0x38], eax
call fcn.10003ba0
call fcn.10003d50
mov ecx, eax
test ecx, ecx
je 0x1000408e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov ecx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._____________:_
mov dword [ebp - 4], 0
call fcn.10002470
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10003c90
mov edi, dword [ebp - 0x24]
add esp, 8
push 0
push 0
push 3
push 0
push 3
push 0
push edi
call dword [0x10060ba4]
or ebx, 0xffffffff
mov dword [ebp - 0x30], eax
cmp eax, ebx
jne 0x10003eed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10004052
push 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push ecx
push 8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x1c], 0
push ecx
push 0xc
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push ecx
push 0x2d1400
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push eax
movlpd qword [ebp - 0x40], xmm0
call dword [0x10060ba0]
test eax, eax
je 0x10004047
mov esi, dword [ebp - 0x3c]
push esi
call fcn.10026256
push esi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x2c], ebx
call fcn.10027fa0
add esp, 0x10
lea eax, [ebp - 0x28]
push 0
push eax
push esi
push ebx
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
push dword [ebp - 0x30]
call dword [0x10060ba0]
test eax, eax
je 0x1000403b
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x1000403b
add ebx, eax
mov dword [ebp - 0x34], ebx
call fcn.10003d50
mov ecx, eax
test ecx, ecx
je 0x10004098
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 1
test ebx, ebx
je 0x10004001
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ebx, [eax - 1]
test ebx, ebx
jle 0x10004001
mov ecx, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub ecx, ebx
or ecx, edx
jge 0x10003fdc
push ebx
lea ecx, [ebp - 0x20]
call fcn.10004250
mov esi, dword [ebp - 0x20]
push ebx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x34]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp ebx, dword [esi - 8]
jg 0x100040a2
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
jmp 0x1000400c
lea ecx, [ebp - 0x20]
call fcn.10003ba0
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.10003350
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10004038
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x2c]
push ebx
call fcn.1002625f
add esp, 4
or ebx, 0xffffffff
push dword [ebp - 0x30]
call dword [0x10060b88]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000406e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026240
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10003650
push 0x80004005
call fcn.10003650
push 0x80070057
call fcn.10003650
int3