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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100afbd9
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x100e2524]
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.1000e7c0
call fcn.1000b090
mov ecx, eax
test ecx, ecx
je 0x10034add
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 0x10034728
push 0x104
lea ecx, [ebp - 0x7c]
call fcn.1000c6a0
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 8], 0x104
jl 0x10034ae7
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.1008669d
add esp, 8
test eax, eax
js 0x10034ae7
cmp eax, dword [esi - 8]
jg 0x10034ae7
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.100345a0
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 0x100347c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x100349d0
push 0
lea ecx, [ebp - 0x9c]
call fcn.10064db0
push dword [ebp - 0x80]
lea eax, [ebp - 0x13]
mov byte [ebp - 4], 1
push dword [ebp - 0x84]
push eax
call fcn.1001b480
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 0x10034814
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.1000f000
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xc4]
call fcn.10064b50
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 3
push eax
push str.sys_free_space
lea ecx, [ebp - 0x9c]
call fcn.100656d0
mov ecx, eax
call fcn.100651b0
lea ecx, [ebp - 0xc4]
call fcn.10065140
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1003488c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10034882
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034af1
push edx
push ecx
call fcn.1007819a
add esp, 8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10067ab0
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.1005fb70
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.10012b10
mov byte [ebp - 4], 6
call fcn.1000b090
mov ecx, eax
test ecx, ecx
je 0x10034af6
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 0x10034910
movzx eax, ax
push eax
call fcn.1000bf50
jmp 0x1003491a
push str.disk_info
call fcn.1000c970
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1000b3f0
mov ecx, eax
call fcn.1001c730
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 0x10034950
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 0x1003496e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x70]
call fcn.10009710
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x100349ae
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100349a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10034b00
push edx
push ecx
call fcn.1007819a
add esp, 8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10065140
jmp 0x10034aa5
call fcn.10063090
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10034aa5
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.1000f000
push 3
push 0x100b9b00
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.1000f000
mov byte [ebp - 4], 0xa
call fcn.10063090
mov ebx, eax
lea ecx, [ebp - 0x15c]
push 0x143
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10008c30
mov edi, eax
push str.GetDiskFreeSpaceEx_error:
push edi
mov byte [ebp - 4], 0xb
call fcn.10009db0
add esp, 8
mov ecx, edi
push dword [ebp - 0x74]
call fcn.100119b0
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x15c]
call fcn.10009fe0
lea ecx, [ebp - 0x58]
call fcn.100096c0
lea ecx, [ebp - 0x40]
call fcn.100096c0
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10034ac1
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.1007850b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000aa20
push 0x80070057
call fcn.1000aa20
call fcn.10086209
push 0x80004005
call fcn.1000aa20
call fcn.10086209
int3