Function at 0x10033650
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100acda9
mov eax, dword fs:[0]
push eax
sub esp, 0x150
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.1000e350
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x10033a7d
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 0x100336c8
push 0x104
lea ecx, [ebp - 0x7c]
call fcn.1000c240
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 8], 0x104
jl 0x10033a87
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 0x10033a87
cmp eax, dword [esi - 8]
jg 0x10033a87
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x74]
push 2
push eax
lea ecx, [ebp - 0x7c]
call fcn.10033540
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edx, dword [ebp - 0x74]
or ebx, 0xffffffff
mov edi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10033761
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x10033970
push 0
lea ecx, [ebp - 0x9c]
call fcn.10062510
push dword [ebp - 0x80]
lea eax, [ebp - 0x13]
mov byte [ebp - 4], 1
push dword [ebp - 0x84]
push eax
call fcn.1001ad90
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x48], 0
add esp, 0xc
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp eax, ecx
je 0x100337b4
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.1000eb90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xc4]
call fcn.100622b0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 3
push eax
push str.sys_free_space
lea ecx, [ebp - 0x9c]
call fcn.10062e30
mov ecx, eax
call fcn.10062910
lea ecx, [ebp - 0xc4]
call fcn.100628a0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1003382c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10033822
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033a91
push edx
push ecx
call fcn.1007559a
add esp, 8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x9c]
call fcn.100651c0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0xfde9
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
call fcn.1005d2d0
add esp, 0xc
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.10012420
mov byte [ebp - 4], 6
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x10033a96
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov eax, str.disk_info
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
test eax, 0xffff0000
jne 0x100338b0
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x100338ba
push str.disk_info
call fcn.1000c510
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1000afa0
mov ecx, eax
call fcn.1001c040
mov edx, dword [ebp - 0x78]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100338f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x74]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003390e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x70]
call fcn.100092d0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1003394e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10033944
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033aa0
push edx
push ecx
call fcn.1007559a
add esp, 8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.100628a0
jmp 0x10033a45
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 0x10033a45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x84
push str.d:jenkins.jenkinsworkspacemaster_lu_benchmark_suite_benchmark_suite_aimarkbenchmarksuite_benchmarksuitedisk_benchmark_class.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000eb90
push 3
push 0x100b5ad0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000eb90
mov byte [ebp - 4], 0xa
call fcn.100607f0
mov ebx, eax
lea ecx, [ebp - 0x15c]
push 0x143
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100087f0
mov edi, eax
push str.GetDiskFreeSpaceEx_error:
push edi
mov byte [ebp - 4], 0xb
call fcn.10009970
add esp, 8
mov ecx, edi
push dword [ebp - 0x74]
call fcn.100112d0
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x15c]
call fcn.10009b90
lea ecx, [ebp - 0x58]
call fcn.10009280
lea ecx, [ebp - 0x40]
call fcn.10009280
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10033a61
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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
call fcn.10083519
push 0x80004005
call fcn.1000a5d0
call fcn.10083519
int3