Function at 0x1000d940
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d863
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x54], 0x56b8
mov dword [ebp - 0x7c], 0x10007988
cmp dword [ebp - 0x54], 0x571b
jle 0x1000d9f5
and dword [ebp - 0x2c], 0
jmp 0x1000d989
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x219e
jge 0x1000d9f5
and dword [ebp - 0x24], 0
jmp 0x1000d99f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7549
jge 0x1000d9f3
and dword [ebp - 0x1c], 0
jmp 0x1000d9b5
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3826
jge 0x1000d9f1
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov eax, ecx
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
mov ecx, 0x10606538
call fcn.1002a5c1
jmp 0x1000d9ae
jmp 0x1000d998
jmp 0x1000d982
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000da42
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x60]
push 0x3079
push 0x256a
push 0x799a
push 0x1e0d
push 0x417
push 0
push 0x7dc3
push 0x56b5
push 0x6b8c
push 0x365b
call fcn.1001bc29
add esp, 0x2c
jmp 0x1000dcb4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1000dc9d
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x4c], 0x1f15
mov dword [ebp - 0x74], 0x100079c0
cmp dword [ebp - 0x4c], 0x222a
jle 0x1000db96
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
and dword [ebp - 0x28], 0
jmp 0x1000dae6
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xf18
jge 0x1000db96
and dword [ebp - 0x14], 0
jmp 0x1000db00
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x40d7
jge 0x1000db91
and dword [ebp - 0x18], 0
jmp 0x1000db1a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x19c
jge 0x1000db8c
and dword [ebp - 0x20], 0
jmp 0x1000db30
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x42b4
jge 0x1000db8a
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
lea ecx, [ebp - 0xc0]
call fcn.1000cd20
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.1002a5a1
push eax
call fcn.100480d6
pop ecx
lea ecx, [ebp - 0xc0]
call fcn.1002a597
jmp 0x1000db29
jmp 0x1000db13
jmp 0x1000daf9
jmp 0x1000dadf
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x1000dc26
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
push 0
mov ecx, dword [ebp - 0x64]
call fcn.1002a774
mov dword [eax], 1
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
inc eax
cmp eax, 0x8589
jge 0x1000dbde
mov dword [ebp - 0x48], 1
jmp 0x1000dbe2
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jle 0x1000dbf5
mov dword [ebp - 0x40], 1
jmp 0x1000dbf9
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jl 0x1000dc0c
mov dword [ebp - 0x50], 1
jmp 0x1000dc10
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
inc eax
jns 0x1000dc26
push 2
pop eax
test eax, eax
je 0x1000dc26
mov dword [ebp - 0x38], 1
jmp 0x1000dc2a
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jl 0x1000dc3d
mov dword [ebp - 0x3c], 1
jmp 0x1000dc41
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0x4615
jne 0x1000dc53
mov dword [ebp - 0x44], 1
jmp 0x1000dc57
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x4c], 0x1d3b
jge 0x1000dc75
push dword [ebp - 0x74]
call fcn.100480d6
pop ecx
jmp 0x1000dc91
or dword [ebp - 4], 0xffffffff
jmp 0x1000dc9b
jmp 0x1000dcb4
push 0
push 0x1abf
push 0x16b7
push 0x1f3
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x54], 0x5489
jge 0x1000dcd1
mov edx, dword [ebp - 0x7c]
mov ecx, 0x10606538
call fcn.1002c06b
jmp 0x1000dced
or dword [ebp - 4], 0xffffffff
jmp 0x1000dcf7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret