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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6018160
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
xor esi, esi
cmp esi, dword [ebp + 0x18]
jae 0x60107cb
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x60106d9
cmp dword [eax], 0x2694
jne 0x60106d9
lea eax, [ebp - 0x28]
push str.User_Press_Stop_Button_
push eax
mov dword [ebp - 0x28], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x24], 0x48d
call fcn.060010c0
mov cl, byte [ebp + 0x1b]
add esp, 8
lea edx, [ebp - 0x12]
mov byte [ebp - 0x12], cl
push 0x60197d8
push edx
call sub.MSVCRT.dll__CxxThrowException
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 0x20]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x15c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push ebx
push eax
lea ecx, [ebp - 0x15c]
push 0x100
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x60107e1
cmp dword [ebp - 0x20], ebx
je 0x60107e1
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0x28]
push eax
mov edi, str.E:_svneboot_dll_trunkeboot.cpp
push str.Data_received:__s
push ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0x4a7
call fcn.060010c0
mov edx, dword [ebp - 0x20]
add esp, 0xc
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push edx
push str.Data_len:__d
push eax
mov dword [ebp - 0x2c], 0x4a8
call fcn.060010c0
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x20]
add esp, 0xc
push ecx
push edi
push edx
lea ecx, [ebp - 0x15c]
push eax
push ecx
call fcn.0600ed20
add esp, 0x14
cmp al, 1
je 0x60107ab
push edi
lea edx, [ebp - 0x1c]
push str.Read__s_compare_error___
push edx
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x4b2
call fcn.060010c0
add esp, 0xc
inc esi
jmp 0x601068e
push edi
lea eax, [ebp - 0x1c]
push str.Read__s_compare_success__
push eax
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x4b6
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
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x601083a
call edi
cmp eax, 2
je 0x601083a
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x49c
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 + 0x1b]
add esp, 0xc
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], dl
push ebx
call fcn.06002d90
lea eax, [ebp - 0x48]
push 0x6019338
push eax
mov dword [ebp - 0x48], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp + 0x18]
dec ecx
cmp esi, ecx
jne 0x60107a5
lea edx, [ebp - 0x1c]
push str.retry_over___
push edx
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x4a1
call fcn.060010c0
mov al, byte [ebp + 0x1b]
add esp, 8
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x58], al
push ebx
call fcn.06002d90
lea ecx, [ebp - 0x5c]
push 0x6019338
push ecx
mov dword [ebp - 0x5c], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x11]
push 0x60197d8
push ecx
mov al, byte [edx]
mov byte [ebp - 0x11], al
call sub.MSVCRT.dll__CxxThrowException
mov eax, 0x60108a5
ret