Function at 0x600c8b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6017f30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], esi
push 0x28
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.06011ca0
mov edx, dword [ebx + 0x68]
lea eax, [ebp - 0x18]
push 0
push eax
lea ecx, [ebp - 0x3c]
push 0xa
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x600c943
mov dword [ebx + 0x28], 0x32c9
mov dword [ebp - 0x20], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x1c], 0x1082
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20]
push str.Read_LOCK__windows_error_Code_:__d__
push eax
call fcn.060010c0
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x20]
push ecx
mov edi, str.E:_svneboot_dll_trunk_android_download.cpp
push str._s
push edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0x1086
call fcn.060010c0
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp eax, 5
jae 0x600ca2d
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0x1089
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
push str.Read_LOCK_length__d_is_not_correct__Windows_error_Code_:__d
push ecx
call fcn.060010c0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x600c9f7
cmp esi, 0xfa0
jl 0x600c8d8
lea edx, [ebp - 0x28]
push str._Lock_test_failed__no_response_received.
push edx
mov dword [ebx + 0x28], 0x2711
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0x10a9
call fcn.060010c0
mov al, byte [ebp - 0x11]
add esp, 8
mov byte [ebp - 0x4c], al
lea ecx, [ebp - 0x50]
xor eax, eax
push 0x6019338
push ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
lea edx, [ebp - 0x28]
push str.Wrong_response_pattern
push edx
mov dword [ebx + 0x28], 0x32cc
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0x1092
call fcn.060010c0
add esp, 8
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x50]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x3c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x600ca4a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x600ca5f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x60]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x3c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x600ca7c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x600ca96
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push str.Lock_test_failed__unknown_response.
push eax
mov dword [ebx + 0x28], 0x36cb
mov dword [ebp - 0x28], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x24], 0x10a2
call fcn.060010c0
mov cl, byte [ebp - 0x11]
add esp, 8
lea edx, [ebp - 0x64]
xor eax, eax
push 0x6019338
push edx
mov byte [ebp - 0x60], cl
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x30]
push str.Eboot_exception_arise____Android_DL::IsLockPattern
push eax
mov dword [ebp - 0x30], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x2c], 0x10af
call fcn.060010c0
add esp, 8
mov eax, 0x600c92f
ret