Function at 0x10032d00
Capabilities:
Get common file path
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100accb4
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x100de514]
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
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003320e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x7c], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 0
jge 0x10032d73
push 0x104
lea ecx, [ebp - 0x7c]
call fcn.1000c240
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 8], 0x104
jl 0x10033218
push 0x104
xor eax, eax
mov dword [esi - 0xc], 0x104
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push dword [esi - 8]
push esi
call fcn.100839ad
add esp, 8
test eax, eax
js 0x10033218
cmp eax, dword [esi - 8]
jg 0x10033218
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x10033222
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x80], eax
push 2
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x74], 0xffffffff
call fcn.10033540
push dword [eax]
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 2
push 0x100b7d5c
push eax
call fcn.10013970
mov edx, dword [ebp - 0x78]
add esp, 0xc
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10032e2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x80]
push 0
push 0x80
push 3
push 0
push 3
push 0x80000080
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
je 0x100330fa
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea ecx, [ebp - 0x84]
push 0
push ecx
push 0x20
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0x560000
push eax
call ebx
test eax, eax
jne 0x10033023
push eax
lea eax, [ebp - 0x84]
push eax
push 0xc
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x2d1080
push dword [ebp - 0x78]
call ebx
test eax, eax
je 0x10032f77
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x74], ebx
call fcn.100607f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100330ec
push 0x84
push str.d:jenkins.jenkinsworkspacemaster_lu_benchmark_suite_benchmark_suite_aimarkbenchmarksuite_benchmarksuitedisk_benchmark_class.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000eb90
push 3
push 0x100b5ad0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000eb90
mov byte [ebp - 4], 4
call fcn.100607f0
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x11c]
push 0x6e
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100087f0
mov ebx, eax
push str.DeviceIoControl_disk_no:
push ebx
mov byte [ebp - 4], 5
call fcn.10009970
add esp, 8
mov ecx, ebx
push dword [ebp - 0x74]
call fcn.100096e0
mov ecx, dword [ebp - 0x70]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x11c]
call fcn.10009b90
lea ecx, [ebp - 0x28]
call fcn.10009280
lea ecx, [ebp - 0x40]
call fcn.10009280
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100331b5
mov dword [ebp - 0x74], 0xffffffff
call fcn.100607f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100330ec
push 0x84
push str.d:jenkins.jenkinsworkspacemaster_lu_benchmark_suite_benchmark_suite_aimarkbenchmarksuite_benchmarksuitedisk_benchmark_class.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000eb90
push 3
push 0x100b5ad0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000eb90
mov byte [ebp - 4], 7
call fcn.100607f0
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x11c]
push 0x71
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100087f0
mov ebx, eax
push str.DeviceIoControl_else_disk_no:___1_
push ebx
mov byte [ebp - 4], 8
call fcn.10009970
mov eax, dword [ebp - 0x70]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push ebx
call dword [edx + 0x1c]
jmp 0x100330d1
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
call fcn.100607f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100330ec
push 0x84
push str.d:jenkins.jenkinsworkspacemaster_lu_benchmark_suite_benchmark_suite_aimarkbenchmarksuite_benchmarksuitedisk_benchmark_class.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000eb90
push 3
push 0x100b5ad0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000eb90
mov byte [ebp - 4], 0xa
call fcn.100607f0
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x11c]
push 0x75
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100087f0
mov ebx, eax
push str.DeviceIoControl_disk_no:
push ebx
mov byte [ebp - 4], 0xb
call fcn.10009970
add esp, 8
mov ecx, ebx
push dword [ebp - 0x74]
call fcn.100096e0
mov ecx, dword [ebp - 0x70]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x11c]
call fcn.10009b90
lea ecx, [ebp - 0x40]
call fcn.10009280
lea ecx, [ebp - 0x28]
call fcn.10009280
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100331b5
call fcn.100607f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100331b5
push 0x84
push str.d:jenkins.jenkinsworkspacemaster_lu_benchmark_suite_benchmark_suite_aimarkbenchmarksuite_benchmarksuitedisk_benchmark_class.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000eb90
push 3
push 0x100b5ad0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000eb90
mov byte [ebp - 4], 0xd
call fcn.100607f0
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x11c]
push 0x7a
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100087f0
mov ebx, eax
push str.GetPrimaryDiskNo_CreateFile_INVALID_HANDLE_VALUE
push ebx
mov byte [ebp - 4], 0xe
call fcn.10009970
mov eax, dword [ebp - 0x70]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push ebx
call dword [edx + 0x1c]
lea ecx, [ebp - 0x11c]
call fcn.10009b90
lea ecx, [ebp - 0x40]
call fcn.10009280
lea ecx, [ebp - 0x28]
call fcn.10009280
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100331d3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100331ef
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x74]
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.1007590b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000a5d0
push 0x80070057
call fcn.1000a5d0
push 0x80004005
call fcn.1000a5d0
int3