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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6018150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
mov eax, dword [str.ATEMATEM]
mov ecx, dword [0x6020e14]
mov dl, byte [0x6020e18]
mov dword [ebp - 0x38], eax
mov eax, dword [str.LOCK]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x34], ecx
mov cl, byte [0x6020060]
mov dword [ebp - 0x2c], eax
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x30], dl
mov byte [ebp - 0x28], cl
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
cmp eax, esi
jae 0x601050c
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x601041d
cmp dword [eax], 0x2694
jne 0x601041d
lea edx, [ebp - 0x2c]
push str.User_Press_Stop_Button_
push edx
mov dword [ebp - 0x2c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x28], 0x3d1
call fcn.060010c0
mov al, byte [ebp + 0xf]
add esp, 8
lea ecx, [ebp - 0x12]
mov byte [ebp - 0x12], al
push 0x60197d8
push ecx
call sub.MSVCRT.dll__CxxThrowException
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x16c]
lea edx, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x18]
push eax
push edx
lea eax, [ebp - 0x16c]
push 0x100
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x6010577
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x6010577
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x40]
push edx
mov edi, str.E:_svneboot_dll_trunkeboot.cpp
push str.Data_received:__s
push eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0x3eb
call fcn.060010c0
mov ecx, dword [ebp - 0x20]
add esp, 0xc
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
push ecx
push str.Data_len:__d
push edx
mov dword [ebp - 0x18], 0x3ec
call fcn.060010c0
add esp, 0xc
xor edx, edx
cmp edx, dword [ebp - 0x20]
jae 0x6010650
lea eax, [ebx + 1]
mov ecx, ebx
mov edi, ebx
mov esi, dword [eax]
mov dword [ecx], esi
mov si, word [eax + 4]
mov word [ecx + 4], si
lea esi, [ebp - 0x38]
mov al, byte [eax + 6]
mov byte [ecx + 6], al
mov cl, byte [ebp + edx - 0x16c]
mov byte [ebx + 7], cl
mov ecx, 8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x60104e9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x6010522
lea edx, [ebp - 0x1c]
push str.Receive_META_SUCCESS
push edx
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x3f5
call fcn.060010c0
add esp, 8
mov eax, 0x2710
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 4
lea edi, [ebx + 4]
lea esi, [ebp - 0x2c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x6010538
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x6010571
lea eax, [ebp - 0x1c]
push str.Receive_META_LOCKED
push eax
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x3fa
call fcn.060010c0
add esp, 8
mov eax, 0x36ce
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edx
jmp 0x60104aa
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x60105d1
call edi
cmp eax, 2
je 0x60105d1
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x3e0
call edi
push eax
lea ecx, [ebp - 0x1c]
push str.Read_file_error____not_time_out_error____Error_code_0x_x
push ecx
call fcn.060010c0
mov dl, byte [ebp + 0xf]
add esp, 0xc
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x68], dl
push 0
call fcn.06002d90
lea eax, [ebp - 0x6c]
push 0x6019338
push eax
mov dword [ebp - 0x6c], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x24]
dec esi
cmp eax, esi
jne 0x6010650
lea ecx, [ebp - 0x1c]
push str.retry_over___
push ecx
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x3e5
call fcn.060010c0
mov dl, byte [ebp + 0xf]
xor eax, eax
add esp, 8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push 0x6019338
push eax
mov byte [ebp - 0x50], dl
mov dword [ebp - 0x54], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x11]
push 0x60197d8
push eax
mov dl, byte [ecx]
mov byte [ebp - 0x11], dl
call sub.MSVCRT.dll__CxxThrowException
mov eax, 0x601063a
ret
inc dword [ebp - 0x24]
jmp 0x60103cd