Function at 0x60108c0
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6018170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
cmp edi, dword [ebp + 0x18]
jae 0x60109e8
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x601093a
cmp dword [eax], 0x2694
jne 0x601093a
lea eax, [ebp - 0x24]
push str.User_Press_Stop_Button_
push eax
mov dword [ebp - 0x24], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x20], 0x4d7
call fcn.060010c0
mov cl, byte [ebp + 0x1b]
add esp, 8
lea edx, [ebp - 0x11]
mov byte [ebp - 0x11], cl
push 0x60197d8
push edx
call sub.MSVCRT.dll__CxxThrowException
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0x20]
lea eax, [ebp - 0x18]
push 0
push eax
push 1
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x60109fe
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x60109fe
push esi
lea edx, [ebp - 0x24]
push str._s
push edx
mov dword [ebp - 0x24], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x20], 0x4f0
call fcn.060010c0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
add esp, 0xc
push eax
push ebx
push ecx
push edx
push esi
call fcn.0600ed20
add esp, 0x14
cmp al, 1
je 0x60109c8
push ebx
lea eax, [ebp - 0x2c]
push str.Read__s_compare_error___
push eax
mov dword [ebp - 0x2c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x28], 0x4fa
call fcn.060010c0
add esp, 0xc
inc edi
jmp 0x60108ef
push ebx
lea ecx, [ebp - 0x2c]
push str.Read__s_compare_success__
push ecx
mov dword [ebp - 0x2c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x28], 0x4fe
call fcn.060010c0
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x6010a5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x6010a5e
mov dword [ebp - 0x2c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x28], 0x4e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x2c]
push str.Read_file_error____not_time_out_error____Error_code_0x_x
push edx
call fcn.060010c0
mov al, byte [ebp + 0x1b]
add esp, 0xc
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x50], al
push 0
call fcn.06002d90
lea ecx, [ebp - 0x54]
push 0x6019338
push ecx
mov dword [ebp - 0x54], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 0x18]
dec edx
cmp edi, edx
jne 0x60109c2
lea eax, [ebp - 0x2c]
push str.retry_over___
push eax
mov dword [ebp - 0x2c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x28], 0x4ea
call fcn.060010c0
mov cl, byte [ebp + 0x1b]
add esp, 8
lea edx, [ebp - 0x40]
xor eax, eax
push 0x6019338
push edx
mov byte [ebp - 0x3c], cl
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x12]
push 0x60197d8
push edx
mov cl, byte [eax]
mov byte [ebp - 0x12], cl
call sub.MSVCRT.dll__CxxThrowException
mov eax, 0x6010acb
ret