Function at 0x69bf6c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x69bf74
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x69c53a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x69c554
call fcn.00696b20
test al, al
je 0x69bfd4
lea eax, [ebp - 4]
call fcn.0040ae84
mov edx, eax
mov eax, 0x69c570
call fcn.006969b8
lea eax, [ebp - 0xc]
call fcn.0040ae84
mov edx, eax
mov eax, 0x69c588
call fcn.006969b8
mov eax, dword [ebp - 0xc]
call fcn.0040bf4c
mov esi, eax
jmp 0x69c09a
lea edx, [ebp - 4]
xor eax, eax
call fcn.00407520
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0069bdcc
test al, al
je 0x69bff8
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040b2ac
xor esi, esi
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00428bdc
mov dword [ebp - 0x48], 0x800
mov eax, dword [ebp - 0x48]
call fcn.00407138
mov edi, eax
mov eax, dword [ebp - 0x48]
push eax
push edi
mov eax, dword [ebp - 0x1c]
call fcn.0040bf4c
push eax
call sub.kernel32.dll_QueryDosDeviceW
test eax, eax
jbe 0x69c093
lea edx, [ebp - 0x20]
mov eax, edi
call fcn.004291f4
mov ecx, 1
mov edx, dword [ebp - 0x20]
mov eax, 0x69c5a8
call fcn.0040c4e0
dec eax
jne 0x69c093
lea eax, [ebp - 0x20]
mov ecx, 4
mov edx, 1
call fcn.0040c3cc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x69c075
mov eax, dword [ebp - 0x54]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 4]
mov ecx, dword [ebp - 0x54]
mov edx, 1
call fcn.0040c3cc
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
call fcn.0040c1b4
mov eax, edi
call fcn.00407154
push 0x69c5c0
push dword [ebp - 4]
push 0x69c5c0
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040c23c
lea edx, [ebp - 0x18]
mov eax, dword [0x85ce08]
call fcn.0069dc24
cmp dword [ebp - 0x18], 0
je 0x69c0df
push dword [ebp - 4]
push 0x69c5d0
push dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040c23c
push 0xf003f
push 0
push esi
call fcn.00696144
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x69c0fa
call fcn.00431078
xor ecx, ecx
push ebp
push 0x69c506
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dword [ebp - 0x2c], 2
mov eax, dword [ebx + 0x6f]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x69c14c
inc esi
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x6c]
mov eax, dword [ebx + 0x6f]
mov edx, dword [ebp - 0x3c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x69c140
sub eax, 4
mov eax, dword [eax]
inc eax
add eax, eax
add dword [ebp - 0x2c], eax
inc dword [ebp - 0x3c]
dec esi
jne 0x69c126
mov eax, dword [ebx + 0x73]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x69c18b
inc esi
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x70]
mov eax, dword [ebx + 0x73]
mov edx, dword [ebp - 0x3c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x69c17d
sub eax, 4
mov eax, dword [eax]
add eax, 2
add eax, eax
add dword [ebp - 0x2c], eax
inc dword [ebp - 0x3c]
dec esi
jne 0x69c163
mov eax, dword [ebp - 0x2c]
call fcn.00407138
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x6f]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x69c1f9
inc esi
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x74]
mov eax, dword [ebx + 0x6f]
mov edx, dword [ebp - 0x3c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
call fcn.0040bf4c
mov edx, eax
mov eax, dword [ebp - 0x38]
call fcn.00428eb4
lea ecx, [ebp - 0x78]
mov eax, dword [ebx + 0x6f]
mov edx, dword [ebp - 0x3c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x69c1ed
sub eax, 4
mov eax, dword [eax]
inc eax
add eax, eax
add dword [ebp - 0x38], eax
inc dword [ebp - 0x3c]
dec esi
jne 0x69c1b3
mov eax, dword [ebx + 0x73]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x69c262
inc esi
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x38]
mov word [eax], 0x2b
add dword [ebp - 0x38], 2
lea ecx, [ebp - 0x7c]
mov eax, dword [ebx + 0x73]
mov edx, dword [ebp - 0x3c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x7c]
call fcn.0040bf4c
mov edx, eax
mov eax, dword [ebp - 0x38]
call fcn.00428eb4
lea ecx, [ebp - 0x80]
mov eax, dword [ebx + 0x73]
mov edx, dword [ebp - 0x3c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x69c256
sub eax, 4
mov eax, dword [eax]
inc eax
add eax, eax
add dword [ebp - 0x38], eax
inc dword [ebp - 0x3c]
dec esi
jne 0x69c210
mov eax, dword [ebp - 0x38]
mov word [eax], 0
cmp dword [ebx + 0xb1], 0
jne 0x69c27a
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x69c283
lea eax, [ebx + 0xb1]
mov dword [ebp - 0x34], eax
mov eax, dword [0x85ce08]
call fcn.0069d594
dec eax
jle 0x69c29d
cmp byte [ebx + 0x8e], 0
je 0x69c29d
xor esi, esi
jmp 0x69c2d0
cmp byte [ebx + 0x84], 0
je 0x69c2aa
xor esi, esi
jmp 0x69c2d0
lea eax, [ebp - 0x10]
call fcn.0040ae84
mov edx, eax
mov eax, 0x69c5fc
call fcn.006969b8
test al, al
je 0x69c2ce
mov eax, dword [ebp - 0x10]
call fcn.0040bf4c
mov esi, eax
jmp 0x69c2d0
xor esi, esi
test esi, esi
jne 0x69c2d8
xor edi, edi
jmp 0x69c2fe
lea eax, [ebp - 0x14]
call fcn.0040ae84
mov edx, eax
mov eax, 0x69c614
call fcn.006969b8
test al, al
je 0x69c2fc
mov eax, dword [ebp - 0x14]
call fcn.0040bf4c
mov edi, eax
jmp 0x69c2fe
xor edi, edi
push edi
push esi
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x85]
call fcn.0040bf4c
push eax
mov eax, dword [ebp - 4]
call fcn.0040bf4c
push eax
mov eax, ebx
call fcn.0069b8e8
push eax
mov eax, ebx
call fcn.0069b8bc
push eax
mov eax, ebx
call fcn.0069b858
push eax
push 0xf01ff
lea edx, [ebp - 0x84]
mov eax, ebx
call fcn.0069a4bc
mov eax, dword [ebp - 0x84]
call fcn.0040bf4c
push eax
mov eax, dword [ebx + 0x18b]
call fcn.0040bf4c
push eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.0069610c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
call fcn.00407154
cmp dword [ebp - 0x24], 0
jne 0x69c37e
call fcn.00431078
mov eax, dword [ebx + 0x18f]
call fcn.0040bf4c
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, dword [ebp - 0x24]
push eax
call fcn.00696254
test eax, eax
jne 0x69c3a4
call fcn.00430fb0
mov eax, dword [ebx + 0x6a]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 7
mov eax, dword [ebp - 0x24]
push eax
call fcn.00696254
test eax, eax
jne 0x69c3c2
call fcn.00430fb0
mov esi, dword [ebx + 0x193]
mov eax, dword [esi + 4]
test eax, eax
jge 0x69c3d8
mov dword [ebp - 0x68], 0xffffffff
jmp 0x69c3db
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 8]
call fcn.0040bf4c
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xc]
call fcn.0040bf4c
mov dword [ebp - 0x60], eax
mov edx, dword [ebx + 0x197]
mov eax, edx
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x5c], eax
mov eax, edx
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
inc eax
add eax, eax
add eax, eax
add eax, eax
call fcn.00407138
mov edi, eax
mov dword [ebp - 0x58], edi
mov byte [ebp - 0x41], 0
mov eax, dword [ebx + 0x197]
mov eax, dword [eax + 8]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x69c477
inc esi
mov dword [ebp - 0x3c], 0
mov eax, dword [ebx + 0x197]
mov edx, dword [ebp - 0x3c]
call fcn.0069a3f4
movzx edx, byte [eax + 0xc]
mov edx, dword [edx*4 + 0x85ce54]
mov dword [edi], edx
mov edx, dword [eax + 0xd]
mov dword [edi + 4], edx
add edi, 8
cmp byte [ebp - 0x41], 0
jne 0x69c46c
cmp byte [eax + 0xc], 2
je 0x69c46c
xor eax, eax
jmp 0x69c46e
mov al, 1
mov byte [ebp - 0x41], al
inc dword [ebp - 0x3c]
dec esi
jne 0x69c438
cmp byte [ebp - 0x41], 0
je 0x69c482
call fcn.0069bed0
lea eax, [ebp - 0x68]
push eax
push 2
mov eax, dword [ebp - 0x24]
push eax
call fcn.00696254
test eax, eax
jne 0x69c49a
call fcn.00430fb0
mov eax, dword [ebp - 0x58]
call fcn.00407154
call fcn.00696084
test al, al
je 0x69c4e4
mov eax, ebx
call fcn.0069b8bc
cmp eax, 2
jne 0x69c4e4
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp byte [ebx + 0x8f], 5
jne 0x69c4cc
mov dword [ebp - 0x4c], 1
lea eax, [ebp - 0x4c]
push eax
push 3
mov eax, dword [ebp - 0x24]
push eax
call fcn.00696254
test eax, eax
jne 0x69c4e4
call fcn.00430fb0
mov eax, dword [ebp - 0x24]
push eax
call fcn.006960f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69c50d
mov eax, dword [ebp - 0x28]
push eax
call fcn.006960f0
pop eax
jmp eax