Function at 0x1000185c
Capabilities:
Get disk information

Disassembly:
jmp 0x1001c1f0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101e9502
push eax
mov eax, dword [0x1077f6f0]
mov dword fs:[0], esp
sub esp, 0x1e0
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
mov ebp, ecx
je 0x1001c235
push str.CITEuHelperSZ::DLL_DeviceExist__________
push str.TVDTest
push 0xffffffffffffffff
push 0x1077ee5c
call fcn.1005bc20
add esp, 0x10
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x6d]
mov byte [esp + 0x6c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x18], 0x101f43cc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov eax, dword [0x10298b88]
mov dword [esp + 0x1f8], esi
cmp eax, esi
jne 0x1001c286
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 8]
cmp dword [0x10298b88], esi
je 0x1001c5ef
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edx, eax
cmp edx, esi
mov dword [esp + 0x34], edx
je 0x1001c5ef
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xed]
mov byte [esp + 0xec], 0
rep stosd dword es:[edi], eax
mov cx, word [0x102683c0]
mov byte [esp + 0x13], 0
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x102683c2]
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov byte [esp + 0x12], al
lea eax, [esp + 0x6c]
mov word [esp + 0x10], cx
mov ecx, 1
xor ebx, ebx
mov dword [esp + 0x30], eax
jmp 0x1001c2f0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
xor esi, esi
mov eax, ecx
shl ecx, 1
test edx, eax
mov dword [esp + 0x38], ecx
je 0x1001c426
mov al, bl
lea ecx, [esp + 0xec]
push 0x104
lea edx, [esp + 0x14]
add al, 0x41
push ecx
push edx
mov byte [esp + 0x23], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1e], 0
call edi
cmp eax, esi
jbe 0x1001c426
cmp eax, 0x104
jae 0x1001c426
lea eax, [esp + 0xec]
push eax
call fcn.100345a8
lea ecx, [esp + 0xf0]
push str.floppy
push ecx
call fcn.10034330
add esp, 0xc
test eax, eax
jne 0x1001c426
lea edx, [esp + 0xec]
push str.cdrom
push edx
call fcn.10034330
add esp, 8
test eax, eax
je 0x1001c382
mov esi, 5
jmp 0x1001c394
lea eax, [esp + 0x10]
mov byte [esp + 0x12], 0x5c
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov esi, eax
mov eax, dword [0x1077f6f0]
test eax, eax
je 0x1001c3e5
lea ecx, [esp + 0xec]
push ecx
lea ecx, [esp + 0x30]
call fcn.1004b5e0
mov edx, dword [eax]
push esi
push edx
push ebx
push str.CITEuHelperSZ::DLL_DeviceExist___i_d___s____d_
push str.TVDTest
push 0xffffffffffffffff
push 0x1077ee5c
mov byte [esp + 0x214], 1
call fcn.1005bc20
add esp, 0x1c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f8], 0
call fcn.1004bf60
cmp esi, 2
je 0x1001c3ef
cmp esi, 5
jne 0x1001c426
mov eax, dword [esp + 0x30]
mov cl, byte [esp + 0x17]
mov byte [eax], cl
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [0x1077f6f0]
test eax, eax
je 0x1001c426
mov edx, dword [esp + 0x20]
push edx
push ebx
push str.CITEuHelperSZ::DLL_DeviceExist___i_d__Count_d_
push str.TVDTest
push 0xffffffffffffffff
push 0x1077ee5c
call fcn.1005bc20
add esp, 0x18
inc ebx
cmp ebx, 0x1a
jl 0x1001c2e6
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1001c5ef
lea ecx, [esp + 0x48]
xor esi, esi
call fcn.1000171c
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.ITEuDll_SZVolInfo_Mode
mov byte [esp + 0x204], 2
call fcn.1004b6f0
lea ecx, [esp + 0x50]
call fcn.10001280
lea ecx, [esp + 0x48]
call fcn.10001d11
test eax, eax
je 0x1001c493
lea ecx, [esp + 0x48]
call fcn.10001555
cmp eax, 1
jne 0x1001c491
mov esi, eax
jmp 0x1001c493
xor esi, esi
mov eax, dword [0x1077f6f0]
test eax, eax
je 0x1001c4b6
push esi
push str.CITEuHelperSZ::DLL_DeviceExist___config___d_
push str.TVDTest
push 0xffffffffffffffff
push 0x1077ee5c
call fcn.1005bc20
add esp, 0x14
test esi, esi
je 0x1001c4f1
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x10298b88]
lea eax, [esp + 0x6c]
push eax
push ecx
call dword [0x10298b78]
test eax, eax
je 0x1001c4f1
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1001c5d2
mov eax, dword [0x1077f6f0]
test eax, eax
je 0x1001c522
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.CITEuHelperSZ::DLL_DeviceExist_____d_
push str.TVDTest
push 0xffffffffffffffff
push 0x1077ee5c
call fcn.1005bc20
add esp, 0x14
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1001c5b7
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1001c5b7
mov bl, 3
mov al, byte [esp + esi + 0x6c]
cmp al, 0x7a
jg 0x1001c554
cmp al, 0x61
jge 0x1001c55c
cmp al, 0x5a
jg 0x1001c5a4
cmp al, 0x41
jl 0x1001c5a4
lea edx, [ebp + 0xc]
push 1
push edx
lea ecx, [esp + 0x44]
call fcn.100d7a60
mov al, byte [esp + esi + 0x6c]
mov ecx, ebp
push eax
mov byte [esp + 0x1fc], bl
call fcn.100012ee
test eax, eax
jne 0x1001c593
mov dl, byte [esp + esi + 0x6c]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.10001bcc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1f8], 2
call fcn.100d7ac0
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x1001c548
lea ecx, [esp + 0x48]
mov byte [esp + 0x1f8], 0
call fcn.10001c8f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1001c5f7
jmp 0x1001c5fe
mov eax, dword [0x10298b88]
push eax
call dword [0x10298b7c]
lea ecx, [esp + 0x48]
mov byte [esp + 0x1f8], 0
call fcn.10001c8f
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1001c5fe
mov ecx, ebp
call fcn.100010c3
lea ecx, [ebp + 0xc]
push 1
push ecx
lea ecx, [esp + 0x44]
call fcn.100d7a60
mov edx, dword [ebp + 0x2c]
lea esi, [ebp + 0xe8]
inc edx
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x200], 4
mov dword [ebp + 0x2c], edx
call fcn.1000115e
mov edi, dword [esi + 8]
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
mov ecx, esi
lea eax, [edi + edx]
push eax
call fcn.1000115e
lea ecx, [edi + edi*4]
mov edx, dword [esp + 0x1c]
lea eax, [edi + ecx*2]
mov ecx, dword [esi + 4]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1001c66f
lea ebx, [ecx]
mov esi, edx
mov edi, eax
mov ecx, 0x16
add eax, 0x58
add edx, 0x58
dec ebx
rep movsd dword es:[edi], dword [esi]
jne 0x1001c65b
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1f8], 0
call fcn.100d7ac0
mov eax, dword [0x1077f6f0]
test eax, eax
je 0x1001c6a7
mov edx, dword [esp + 0x20]
push edx
push str.CITEuHelperSZ::DLL_DeviceExist______Count_d_
push str.TVDTest
push 0xffffffffffffffff
push 0x1077ee5c
call fcn.1005bc20
add esp, 0x14
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], 0x101f43cc
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1f8], 5
test eax, eax
je 0x1001c6cf
push eax
call fcn.101d1786
add esp, 4
mov ecx, dword [esp + 0x1f0]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1ec
ret