Function at 0x10007680
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3e18
call fcn.1001eab0
push ebx
push esi
push edi
mov dword [ebp - 0x3dc0], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.SetDiskProperties._1.__08X.__08X.__08X.__08X.
push 0x100273cc
push 3
call fcn.1000eed0
add esp, 0x1c
cmp dword [ebp + 8], 0
je 0x100076ca
cmp dword [ebp + 0x14], 0
jne 0x100076fc
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._2.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x18
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
lea eax, [ebp - 0x3dac]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.1000a100
add esp, 0xc
mov dword [ebp - 0x3dc0], eax
cmp dword [ebp - 0x3dc0], 0
je 0x10007735
lea edx, [ebp - 0x3dac]
mov dword [ebp - 0x3db0], edx
jmp 0x10007741
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x3db0], ecx
mov edx, dword [ebp - 0x3db0]
lea eax, [ebp - 0x3dac]
cmp edx, eax
je 0x1000780d
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x3ac
jae 0x100077ab
call fcn.1001d450
push eax
mov edx, dword [ebp - 0x3db0]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._3.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [eax], 0x3dac
push 0xea
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
push 8
push 0x10028680
mov ecx, dword [ebp - 0x3db0]
add ecx, 0x190
push ecx
call fcn.1001eae0
add esp, 0xc
test eax, eax
je 0x1000780d
call fcn.1001d450
push eax
mov edx, dword [ebp - 0x3db0]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._4.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x1c
push 0x80090003
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3dd8], eax
mov ecx, dword [ebp - 0x3dd8]
sub ecx, 1
mov dword [ebp - 0x3dd8], ecx
cmp dword [ebp - 0x3dd8], 0x1a
ja case.default.0x10007838
mov edx, dword [ebp - 0x3dd8]
jmp dword [edx*4 + 0x10008ec2]
mov dword [ebp - 0x3db4], 0x100
cmp dword [ebp + 0x10], 0
je 0x1000785c
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3db4]
jbe 0x100078a9
mov edx, dword [ebp - 0x3db4]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._6.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x3db4]
mov dword [ecx], edx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x3db0]
add ecx, 0x84
push ecx
call fcn.1001f0f0
add esp, 8
test eax, eax
je case.0x10007838.0
mov dword [ebp - 0x3dcc], 1
mov dword [ebp - 0x3dd0], 1
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x3dd4], edx
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 0x3dd4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x3dc4], eax
cmp dword [ebp - 0x3dc4], 0xffffffff
jne 0x1000791f
mov dword [ebp - 0x3dcc], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp - 0x3db0]
add ecx, 0x84
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x3dc8], eax
cmp dword [ebp - 0x3dc8], 0xffffffff
jne 0x1000795d
mov dword [ebp - 0x3dd0], 0
cmp dword [ebp - 0x3dc4], 0xffffffff
je 0x10007973
mov edx, dword [ebp - 0x3dc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3dc8], 0xffffffff
je 0x10007989
mov eax, dword [ebp - 0x3dc8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3dcc], 0
je 0x1000799b
cmp dword [ebp - 0x3dd0], 0
je case.0x10007838.0
push 0
mov ecx, dword [ebp - 0x3dd4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [ebp - 0x3dd4]
push edx
call fcn.1001ea18
add esp, 4
mov eax, dword [ebp - 0x3dd4]
push eax
mov ecx, dword [ebp - 0x3db0]
add ecx, 0x84
push ecx
call fcn.1001f0bb
add esp, 8
test eax, eax
je case.0x10007838.0
mov edx, dword [ebp - 0x3dd4]
push edx
mov eax, dword [ebp - 0x3db0]
add eax, 0x84
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._7.__08X.__s.__s.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x18
xor eax, eax
jmp 0x10008eb9
mov dword [ebp - 0x3db4], 0x100
cmp dword [ebp + 0x10], 0
je 0x10007a2b
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jbe 0x10007a78
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._8.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3db4]
mov dword [edx], eax
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp - 0x3db4]
push ecx
push 0
mov edx, dword [ebp - 0x3db0]
add edx, 0x84
push edx
call fcn.1001ea50
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x3db0]
add eax, 0x84
push eax
call fcn.1001e4a0
add esp, 0xc
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10007ad6
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jbe 0x10007b23
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._9.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3db4]
mov dword [edx], eax
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp - 0x3db4]
push ecx
push 0
mov edx, dword [ebp - 0x3db0]
add edx, 0x198
push edx
call fcn.1001ea50
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x3db0]
add eax, 0x198
push eax
call fcn.1001e4a0
add esp, 0xc
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10007b81
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jbe 0x10007bce
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._10.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3db4]
mov dword [edx], eax
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x10007bf2
mov edx, dword [ebp - 0x3db0]
mov eax, dword [edx + 0x1a8]
or al, 1
mov ecx, dword [ebp - 0x3db0]
mov dword [ecx + 0x1a8], eax
jmp 0x10007c0c
mov edx, dword [ebp - 0x3db0]
mov eax, dword [edx + 0x1a8]
and al, 0xfe
mov ecx, dword [ebp - 0x3db0]
mov dword [ecx + 0x1a8], eax
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10007c2e
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3db4]
jbe 0x10007c7b
mov ecx, dword [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._11.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3db4]
mov dword [eax], ecx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x10007ca0
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
or ecx, 4
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
jmp 0x10007cbb
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
and ecx, 0xfffffffb
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10007cdd
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3db4]
jbe 0x10007d2a
mov edx, dword [ebp - 0x3db4]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._12.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x3db4]
mov dword [ecx], edx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x10007d4f
mov ecx, dword [ebp - 0x3db0]
mov edx, dword [ecx + 0x1a8]
or edx, 8
mov eax, dword [ebp - 0x3db0]
mov dword [eax + 0x1a8], edx
jmp 0x10007d6a
mov ecx, dword [ebp - 0x3db0]
mov edx, dword [ecx + 0x1a8]
and edx, 0xfffffff7
mov eax, dword [ebp - 0x3db0]
mov dword [eax + 0x1a8], edx
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10007d8c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jbe 0x10007dd9
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._13.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3db4]
mov dword [edx], eax
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x10007dfd
mov edx, dword [ebp - 0x3db0]
mov eax, dword [edx + 0x1a8]
or al, 2
mov ecx, dword [ebp - 0x3db0]
mov dword [ecx + 0x1a8], eax
jmp 0x10007e17
mov edx, dword [ebp - 0x3db0]
mov eax, dword [edx + 0x1a8]
and al, 0xfd
mov ecx, dword [ebp - 0x3db0]
mov dword [ecx + 0x1a8], eax
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10007e39
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3db4]
jbe 0x10007e86
mov ecx, dword [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._14.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3db4]
mov dword [eax], ecx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x10007eab
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
or ecx, 0x10
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
jmp 0x10007ec6
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
and ecx, 0xffffffef
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10007ee8
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3db4]
jbe 0x10007f35
mov edx, dword [ebp - 0x3db4]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._15.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x3db4]
mov dword [ecx], edx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov dword [ebp - 0x3dbc], 0
mov dword [ebp - 0x3db8], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x3dbc]
push eax
call fcn.1001e4a0
add esp, 0xc
push 0
push 0x100000
mov ecx, dword [ebp - 0x3db8]
push ecx
mov edx, dword [ebp - 0x3dbc]
push edx
call fcn.1001f180
mov dword [ebp - 0x3dbc], eax
mov dword [ebp - 0x3db8], edx
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [ebp - 0x3dbc]
mov dword [eax + 0x19c], ecx
mov edx, dword [ebp - 0x3db0]
mov eax, dword [ebp - 0x3db8]
mov dword [edx + 0x1a0], eax
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 0xc
cmp dword [ebp + 0x10], 0
je 0x10007fce
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jbe 0x1000801b
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._16.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3db4]
mov dword [edx], eax
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp - 0x3db4]
push ecx
push 0
mov edx, dword [ebp - 0x3db0]
add edx, 0x184
push edx
call fcn.1001ea50
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x3db0]
add eax, 0x184
push eax
call fcn.1001e4a0
add esp, 0xc
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 0x40
cmp dword [ebp + 0x10], 0
je 0x10008079
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jbe 0x100080c6
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._17.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3db4]
mov dword [edx], eax
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp - 0x3db4]
push ecx
push 0
mov edx, dword [ebp - 0x3db0]
add edx, 4
push edx
call fcn.1001ea50
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x3db0]
add eax, 4
push eax
call fcn.1001e4a0
add esp, 0xc
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 0x40
cmp dword [ebp + 0x10], 0
je 0x1000811f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jbe 0x1000816c
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._18.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3db4]
mov dword [edx], eax
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp - 0x3db4]
push ecx
push 0
mov edx, dword [ebp - 0x3db0]
add edx, 0x44
push edx
call fcn.1001ea50
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x3db0]
add eax, 0x44
push eax
call fcn.1001e4a0
add esp, 0xc
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x100081c5
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jbe 0x10008212
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._19.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3db4]
mov dword [edx], eax
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x3db0]
push ecx
call fcn.1001e4a0
add esp, 0xc
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x1000824d
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3db4]
jbe 0x1000829a
mov ecx, dword [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._20.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3db4]
mov dword [eax], ecx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x3db0]
add edx, 0x1a4
push edx
call fcn.1001e4a0
add esp, 0xc
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x100082db
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3db4]
jbe 0x10008328
mov edx, dword [ebp - 0x3db4]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._21.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x3db4]
mov dword [ecx], edx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x3db0]
add eax, 0x1ac
push eax
call fcn.1001e4a0
add esp, 0xc
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 0x3dac
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jae 0x100083ac
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x3db4]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.SetDiskProperties._25.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x3dac
push 0xea
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov dword [ebp - 0x3db4], 0xa00
cmp dword [ebp + 0x10], 0
je 0x100083c9
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3db4]
jbe 0x1000840f
mov ecx, dword [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.SetDiskProperties._26.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x1c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3db4]
mov dword [eax], ecx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp - 0x3db4]
push edx
push 0
mov eax, dword [ebp - 0x3db0]
add eax, 0x1aac
push eax
call fcn.1001ea50
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x3db0]
add ecx, 0x1aac
push ecx
call fcn.1001e4a0
add esp, 0xc
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 0x400
cmp dword [ebp + 0x10], 0
je 0x1000846d
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3db4]
jbe 0x100084ba
mov ecx, dword [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._27.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3db4]
mov dword [eax], ecx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp - 0x3db4]
push edx
push 0
mov eax, dword [ebp - 0x3db0]
add eax, 0x2ac
push eax
call fcn.1001ea50
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x3db0]
add ecx, 0x2ac
push ecx
call fcn.1001e4a0
add esp, 0xc
mov edx, dword [ebp - 0x3db0]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [edx + 0x1b0], ecx
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 0x3dac
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3db4]
jae 0x1000856d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.SetDiskProperties._28.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov edx, dword [ebp + 8]
mov dword [edx], 0x3dac
push 0xea
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov dword [ebp - 0x3db4], 0xa00
cmp dword [ebp + 0x10], 0
je 0x1000858a
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3db4]
jbe 0x100085d0
mov edx, dword [ebp - 0x3db4]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.SetDiskProperties._29.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x1c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x3db4]
mov dword [ecx], edx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x3db0]
push ecx
call fcn.1001ba90
test eax, eax
jne 0x10008606
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._38.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x10
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp - 0x3db4]
push edx
push 0
mov eax, dword [ebp - 0x3db0]
add eax, 0x24ac
push eax
call fcn.1001ea50
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x3db0]
add ecx, 0x24ac
push ecx
call fcn.1001e4a0
add esp, 0xc
call fcn.1001d450
mov edx, dword [ebp - 0x3db0]
mov dword [edx], eax
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10008671
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3db4]
jbe 0x100086be
mov edx, dword [ebp - 0x3db4]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._30.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x3db4]
mov dword [ecx], edx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x100086e3
mov ecx, dword [ebp - 0x3db0]
mov edx, dword [ecx + 0x1a8]
or edx, 0x20
mov eax, dword [ebp - 0x3db0]
mov dword [eax + 0x1a8], edx
jmp 0x100086fe
mov ecx, dword [ebp - 0x3db0]
mov edx, dword [ecx + 0x1a8]
and edx, 0xffffffdf
mov eax, dword [ebp - 0x3db0]
mov dword [eax + 0x1a8], edx
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 0x3dac
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jae 0x10008764
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x3db4]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.SetDiskProperties._31.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x3dac
push 0xea
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov dword [ebp - 0x3db4], 0xa00
cmp dword [ebp + 0x10], 0
je 0x10008781
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3db4]
jbe 0x100087c7
mov ecx, dword [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.SetDiskProperties._32.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x1c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3db4]
mov dword [eax], ecx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp - 0x3db4]
push edx
push 0
mov eax, dword [ebp - 0x3db0]
add eax, 0x2eac
push eax
call fcn.1001ea50
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x3db0]
add ecx, 0x2eac
push ecx
call fcn.1001e4a0
add esp, 0xc
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10008825
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3db4]
jbe 0x10008872
mov ecx, dword [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._33.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3db4]
mov dword [eax], ecx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x10008897
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
or ecx, 0x40
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
jmp 0x100088b2
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
and ecx, 0xffffffbf
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x100088d4
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3db4]
jbe 0x10008921
mov edx, dword [ebp - 0x3db4]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._34.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x3db4]
mov dword [ecx], edx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x10008946
mov ecx, dword [ebp - 0x3db0]
mov edx, dword [ecx + 0x1a8]
or dl, 0x80
mov eax, dword [ebp - 0x3db0]
mov dword [eax + 0x1a8], edx
jmp 0x10008961
mov ecx, dword [ebp - 0x3db0]
mov edx, dword [ecx + 0x1a8]
and dl, 0x7f
mov eax, dword [ebp - 0x3db0]
mov dword [eax + 0x1a8], edx
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10008983
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jbe 0x100089d0
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._35.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3db4]
mov dword [edx], eax
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x100089f5
mov edx, dword [ebp - 0x3db0]
mov eax, dword [edx + 0x1a8]
or ah, 1
mov ecx, dword [ebp - 0x3db0]
mov dword [ecx + 0x1a8], eax
jmp 0x10008a10
mov edx, dword [ebp - 0x3db0]
mov eax, dword [edx + 0x1a8]
and ah, 0xfe
mov ecx, dword [ebp - 0x3db0]
mov dword [ecx + 0x1a8], eax
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10008a32
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3db4]
jbe 0x10008a7f
mov ecx, dword [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._36.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3db4]
mov dword [eax], ecx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x10008aa4
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
or ch, 2
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
jmp 0x10008abf
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
and ch, 0xfd
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
call fcn.1001d450
mov ecx, dword [ebp - 0x3db0]
mov dword [ecx], eax
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10008aee
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3db4]
jbe 0x10008b3b
mov ecx, dword [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._37.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3db4]
mov dword [eax], ecx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x10008b60
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
or ch, 4
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
jmp 0x10008b7b
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
and ch, 0xfb
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
call fcn.1001d450
mov ecx, dword [ebp - 0x3db0]
mov dword [ecx], eax
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10008baa
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3db4]
jbe 0x10008bf7
mov ecx, dword [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._39.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3db4]
mov dword [eax], ecx
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x10008c1c
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
or ch, 8
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
jmp 0x10008c37
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1a8]
and ch, 0xf7
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1a8], ecx
jmp 0x10008e5b
mov dword [ebp - 0x3db4], 0x3dac
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x3db4]
jae 0x10008c9d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.SetDiskProperties._40.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov eax, dword [ebp + 8]
mov dword [eax], 0x3dac
push 0xea
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov dword [ebp - 0x3db4], 0x500
cmp dword [ebp + 0x10], 0
je 0x10008cba
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jbe 0x10008d00
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.SetDiskProperties._41.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x1c
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3db4]
mov dword [edx], eax
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp - 0x3db4]
push ecx
push 0
mov edx, dword [ebp - 0x3db0]
add edx, 0x38ac
push edx
call fcn.1001ea50
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x3db0]
add eax, 0x38ac
push eax
call fcn.1001e4a0
add esp, 0xc
call fcn.1001d450
mov ecx, dword [ebp - 0x3db0]
mov dword [ecx], eax
jmp 0x10008e5b
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._22.__08X.__08X.
push 0x100273cc
push 3
call fcn.1000eed0
add esp, 0x14
mov eax, dword [ebp + 0xc]
and eax, 0xf0000000
test eax, eax
je 0x10008e4f
mov dword [ebp - 0x3db4], 4
cmp dword [ebp + 0x10], 0
je 0x10008d9a
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x3db4]
jbe 0x10008de7
mov eax, dword [ebp - 0x3db4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetDiskProperties._23.__08X.__08X.__08X.__08X.__08X.
push 0x100273cc
push 1
call fcn.1000eed0
add esp, 0x20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3db4]
mov dword [edx], eax
push 0x540
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x10008e1e
mov ecx, dword [ebp + 0xc]
and ecx, 0xfffffff
sub ecx, 1
mov edx, 1
shl edx, cl
mov eax, dword [ebp - 0x3db0]
mov ecx, dword [eax + 0x1b4]
or ecx, edx
mov edx, dword [ebp - 0x3db0]
mov dword [edx + 0x1b4], ecx
jmp 0x10008e4d
mov ecx, dword [ebp + 0xc]
and ecx, 0xfffffff
sub ecx, 1
mov eax, 1
shl eax, cl
not eax
mov ecx, dword [ebp - 0x3db0]
mov edx, dword [ecx + 0x1b4]
and edx, eax
mov eax, dword [ebp - 0x3db0]
mov dword [eax + 0x1b4], edx
jmp 0x10008e5b
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008eb9
mov ecx, dword [ebp - 0x3db0]
lea edx, [ebp - 0x3dac]
cmp ecx, edx
jne 0x10008e94
mov eax, dword [ebp - 0x3dc0]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x3dac]
push ecx
call fcn.10009520
add esp, 0x10
test eax, eax
jne 0x10008e94
xor eax, eax
jmp 0x10008eb9
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
push str.SetDiskProperties._24.__08X.__08X.
push 0x100273cc
push 3
call fcn.1000eed0
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10