Function at 0x60151a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6018520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x28]
mov eax, dword [esi + 0x38]
xor ebx, ebx
push eax
push str._COM_d___SendImage__
push ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], str.E:_svneboot_dll_trunkMP_Download.cpp
mov dword [ebp - 0x24], 0x2a5
call fcn.060010c0
mov eax, dword [esi + 0x20]
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], eax
call fcn.06012f90
mov eax, 0x32
mov ecx, 0xa
push 0x100000
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp - 0x24], edi
jne 0x6015288
mov edx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push edx
push str._COM_d___Alloc_buffer_failed__
push eax
mov dword [esi + 0x28], 0x4e22
mov dword [ebp - 0x28], str.E:_svneboot_dll_trunkMP_Download.cpp
mov dword [ebp - 0x24], 0x2b2
call fcn.060010c0
mov cl, byte [ebp - 0x11]
add esp, 0xc
lea edx, [ebp - 0x90]
xor eax, eax
push 0x6019338
push edx
mov byte [ebp - 0x8c], cl
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x90], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp ebx, dword [esi + 0x24]
jae 0x601541f
mov ecx, esi
call fcn.060144f0
lea ecx, [ebp - 0x40]
mov eax, 4
push ecx
lea edx, [ebp - 0x20]
push eax
push edx
lea ecx, [ebp - 0x3c]
call fcn.06013080
xor ecx, ecx
cmp eax, ecx
jne 0x60152ec
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x7c]
push 0x6019338
push ecx
mov dword [esi + 0x28], 0x32c9
mov byte [ebp - 0x78], al
mov dword [ebp - 0x7c], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x44]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x60153c8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jne 0x60153c8
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push edx
push eax
push edi
call fcn.06012fa0
xor ecx, ecx
cmp eax, ecx
jne 0x6015367
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0xa4]
push 0x6019338
push ecx
mov dword [esi + 0x28], 0x32cb
mov byte [ebp - 0xa0], al
mov dword [ebp - 0xa4], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp - 0x20]
push ecx
add ebx, edx
mov edx, dword [esi + 0x1c]
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esi + 0x50]
test edi, edi
je 0x60153b9
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, 0x190
div ecx
test edx, edx
jne 0x60153b9
mov edx, dword [esi + 0x24]
xor eax, eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
fild qword [ebp - 0x54]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
fidiv dword [ebp - 0x30]
fmul dword [0x6019188]
call sub.MSVCRT.dll__ftol
push eax
mov eax, dword [esi + 0x48]
push eax
call edi
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x18], eax
jmp 0x6015295
mov dword [esi + 0x28], 0x32c9
mov dword [ebp - 0x30], str.E:_svneboot_dll_trunkMP_Download.cpp
mov dword [ebp - 0x2c], 0x2c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x38]
push eax
push ecx
lea edx, [ebp - 0x30]
push str._COM_d__MP_SendImage_ReadFile2_fail__error_Code_:__d__
push edx
call fcn.060010c0
mov al, byte [ebp - 0x11]
add esp, 0x10
mov byte [ebp - 0x64], al
lea ecx, [ebp - 0x68]
xor eax, eax
push 0x6019338
push ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [esi + 0x48]
push 0x64
push edx
call dword [esi + 0x50]
mov eax, dword [esi + 0x48]
push eax
call dword [esi + 0x58]
mov ecx, esi
call fcn.06014fd0
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0xaa]
mov dword [ebp - 0x4c], str.E:_svneboot_dll_trunkMP_Download.cpp
and eax, 0xffff
mov dword [ebp - 0x48], 0x2ea
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0xa8]
and eax, 0xffff
lea ecx, [eax + edx*4]
mov eax, dword [ebp - 0xba]
and eax, 0xffff
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0xb8]
and eax, 0xffff
lea eax, [eax + edx*4]
xor edx, edx
sub eax, ecx
mov ecx, eax
lea eax, [ecx + ecx*4]
lea eax, [eax + eax*4]
lea edi, [eax + eax*4]
mov eax, dword [esi + 0x24]
shl edi, 3
div edi
push eax
push ecx
lea ecx, [ebp - 0x4c]
push str._n_nperiod__d_s_DnSpeed___d_KB_s_n
push ecx
call fcn.060010c0
add esp, 0x10
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