Function at 0x100173f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e17d
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100cc144]
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
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x7c], xmm0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10017433
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001756f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.10031890
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx ecx, al
sub ecx, 1
jne 0x1001789d
push 0x54
mov dword [ebp - 0xec], ecx
mov byte [ebp - 0xfc], cl
lea ecx, [ebp - 0xfc]
push str.d:jenkins.jenkinsworkspacedefragger_defragdefragdefrag_file_system_fs_utils.cc
mov dword [ebp - 0xe8], 0xf
call fcn.10007190
push 3
push 0x100a57c0
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
call fcn.10007190
push 0x1fd
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x22c]
call fcn.10003b10
mov edi, eax
push str._error__could_not_open_file:
push edi
mov byte [ebp - 4], 2
call fcn.10004a70
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x10017515
mov esi, dword [esi]
test esi, esi
mov eax, 0x100a5654
cmovne eax, esi
push eax
push edi
call fcn.10002c50
push str.__err:
push edi
call fcn.10004a70
add esp, 0x10
mov ecx, edi
push ebx
call fcn.10009b90
call fcn.10031890
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x22c]
call fcn.10004b90
lea ecx, [ebp - 0xe4]
call fcn.10004360
lea ecx, [ebp - 0xfc]
call fcn.10004360
jmp 0x1001789d
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x10017896
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x84], eax
call fcn.10031890
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx ecx, al
sub ecx, 1
jne 0x10017896
push 0x54
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 0xcc], cl
lea ecx, [ebp - 0xcc]
push str.d:jenkins.jenkinsworkspacedefragger_defragdefragdefrag_file_system_fs_utils.cc
mov dword [ebp - 0xb8], 0xf
call fcn.10007190
push 3
push 0x100a57c0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 3
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
call fcn.10007190
push 1
push 2
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 4
call fcn.10003460
push 0xffffffffffffffff
push 0x100a5664
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 5
call fcn.10007ab0
push 0xffffffffffffffff
push 0x100a5668
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x80], eax
call fcn.10007ab0
push 0x64
mov ebx, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.10071620
add esp, 0xc
cmp ebx, 0xffffffff
je 0x1001774a
mov ecx, dword [ebp - 0x80]
lea eax, [ebx - 1]
cmp ecx, eax
jae 0x1001774a
mov eax, dword [ebp - 0xbc]
lea edx, [ecx + 1]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp eax, edx
jb 0x100178bf
sub ebx, ecx
sub eax, edx
lea ecx, [ebx - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xb8], 0x10
lea eax, [ebp - 0xcc]
cmovae eax, dword [ebp - 0xcc]
push ecx
add eax, edx
lea ecx, [ebp - 0x9c]
push eax
call fcn.10007190
cmp dword [ebp - 0x88], 0x10
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
push eax
push 0x203
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.10003270
mov edx, dword [ebp - 0x88]
add esp, 0x10
cmp edx, 0x10
jb 0x1001772d
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017723
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100178c4
push edx
push ecx
call fcn.10039c3d
add esp, 8
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
jmp 0x10017760
push 0x203
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.10003270
add esp, 0xc
cmp dword [ebp - 0xa0], 0x10
lea eax, [ebp - 0xb4]
cmovae eax, dword [ebp - 0xb4]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.10004a70
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.10004a70
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 6
push str._error__get_file_size_err:
push eax
call fcn.10004a70
add esp, 0x18
cmp dword [esi + 0x14], 8
jb 0x100177b1
mov esi, dword [esi]
test esi, esi
mov eax, 0x100a5654
cmovne eax, esi
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.10002c50
lea eax, [ebp - 0x194]
push str.__err:
push eax
call fcn.10004a70
add esp, 0x10
lea ecx, [ebp - 0x194]
push dword [ebp - 0x84]
call fcn.10009b90
call fcn.10031890
lea ecx, [ebp - 0x194]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x194]
call fcn.10004b90
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x10017845
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001783b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100178c9
push edx
push ecx
call fcn.10039c3d
add esp, 8
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
cmp edx, 0x10
jb 0x10017896
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001788c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100178ce
push edx
push ecx
call fcn.10039c3d
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x78]
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.10039fbc
mov esp, ebp
pop ebp
ret
call fcn.10006be0
call fcn.10074abc
call fcn.10074abc
call fcn.10074abc
int3