Function at 0x6007dd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6017e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x21], al
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x54], al
mov dword [ebp - 4], eax
mov esi, ecx
lea eax, [ebx + ebx*2]
push edi
lea edx, [ebp - 0x18]
mov ecx, dword [esi + eax*8 + 0xcc]
lea edi, [esi + eax*8]
mov dword [ebp - 0x10], esp
push ecx
push str.Begin_send_image_file_:__s
push edx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x18], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x14], 0x847
call fcn.060010c0
mov eax, dword [esi + 0x68]
add esp, 0xc
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x68], eax
call fcn.06012f90
mov ecx, 0xa
mov eax, 0xfa0
mov dword [ebp - 0x6c], ecx
mov ecx, esi
mov dword [ebp - 0x70], eax
call fcn.0600c8b0
cmp eax, 1
jne 0x6007ec7
lea eax, [ebp - 0x18]
push str.This_image_has_been_locked__Cannot_download_
push eax
mov dword [ebp - 0x18], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x14], 0x857
call fcn.060010c0
mov ecx, dword [esi + 0x800]
mov edx, dword [edi + 0xd4]
add esp, 8
mov dword [ecx + ebx*8 + 8], edx
mov eax, dword [esi + 0x800]
mov dword [eax + ebx*8 + 0xc], 0
mov byte [esi + 0x809], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test eax, eax
jne 0x6008acc
lea ecx, [ebp - 0x18]
push str.This_image_can_download_without_lock___
push ecx
mov dword [ebp - 0x18], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x14], 0x860
call fcn.060010c0
mov edx, dword [esi + 0x800]
mov eax, dword [edi + 0xd4]
add esp, 8
mov dword [edx + ebx*8 + 8], eax
mov eax, dword [esi + 0x800]
mov dword [eax + ebx*8 + 0xc], 1
mov eax, dword [esi + 0xb0]
test eax, eax
jne 0x6007f49
mov eax, dword [esi + 0xc0]
mov edx, dword [esi + 0xac]
sub eax, edx
lea ecx, [ebp - 0x18]
push eax
push str.Really_data_size_is_:__d
push ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x14], 0x86e
call fcn.060010c0
add esp, 0xc
jmp 0x6007f52
mov edx, dword [esi + 0xc0]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x18]
push str.Open_image_file
push eax
mov dword [ebp - 0x18], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x14], 0x876
call fcn.060010c0
mov ecx, dword [edi + 0xcc]
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
jne 0x6007ffd
mov dword [esi + 0x28], 0x36b5
mov dword [ebp - 0x18], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x14], 0x87f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi + 0xcc]
push eax
push edx
lea eax, [ebp - 0x18]
push str.Open_image_file__s_error___error_Code_:__d__
push eax
call fcn.060010c0
mov cl, byte [ebp + 0xb]
add esp, 0x10
mov byte [ebp - 0x12c], cl
lea ecx, [ebp - 0x12c]
push 0
call fcn.06002d90
lea edx, [ebp - 0x130]
push 0x6019338
push edx
mov dword [ebp - 0x130], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
cmp byte [esi + 0x80], 1
jne 0x60080c7
xor eax, eax
lea ecx, [ebp - 0x18]
mov al, byte [edi + 0xe1]
mov ebx, str.E:_svneboot_dll_trunk_android_download.cpp
push eax
push str.need_to_verify_or_not:__d
push ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x886
call fcn.060010c0
mov al, byte [edi + 0xe1]
add esp, 0xc
cmp al, 1
jne 0x60080e4
lea edx, [ebp - 0x18]
push str.Send_signature_of_image_patch_start
push edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x88a
call fcn.060010c0
mov ebx, dword [ebp - 0x38]
add esp, 8
mov ecx, esi
push ebx
call fcn.0600b1a0
cmp al, 1
jne 0x600808c
lea eax, [ebp - 0x18]
push str.Send_signature_succeed_Continue_to_send_content_of_the_image
push eax
mov dword [ebp - 0x18], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x14], 0x88d
call fcn.060010c0
add esp, 8
jmp 0x60080e7
lea ecx, [ebp - 0x18]
push str.Send_signature_fail_
push ecx
mov dword [esi + 0x28], 0x36b9
mov dword [ebp - 0x18], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x14], 0x892
call fcn.060010c0
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x804]
mov edi, dword [edi + 0xd4]
mov dword [edx + ebx*8], edi
mov eax, dword [esi + 0x804]
mov dword [eax + ebx*8 + 4], 2
mov ebx, dword [ebp - 0x38]
mov al, byte [esi + 0x83]
test al, al
je 0x6008434
mov al, byte [esi + 0x84]
test al, al
je 0x6008434
lea ecx, [ebp - 0x18]
mov edi, str.E:_svneboot_dll_trunk_android_download.cpp
push str.Get_encrypt_info_from_callback...
push ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x8a4
call fcn.060010c0
add esp, 8
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x44]
push edx
push eax
call dword [esi + 0x94]
test eax, eax
jne 0x60083e1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
push ecx
push edx
lea eax, [ebp - 0x18]
push str.Encrypt_data_offset:_0x_x__length:_0x_x
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x8a7
call fcn.060010c0
mov ecx, dword [ebp - 0x44]
mov edx, dword [esi + 0x88]
add esp, 0x10
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x8a9
push ecx
push edx
push str.Set_file_pointer_to_offset_0x_x__0x_x_from_begin
push eax
call fcn.060010c0
mov ecx, dword [esi + 0x88]
mov edx, dword [ebp - 0x44]
add esp, 0x10
add ecx, edx
push 0
push 0
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x60081f8
mov dword [esi + 0x28], 0x36c2
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x8ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x18]
push str.Set_file_pointer_error___error_Code_:__d__
push edx
call fcn.060010c0
mov al, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x154]
mov byte [ebp - 0x154], al
push 0
call fcn.06002d90
lea ecx, [ebp - 0x158]
push 0x6019338
push ecx
mov dword [ebp - 0x158], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp - 0x44]
mov eax, dword [esi + 0x88]
push edx
push eax
lea ecx, [ebp - 0x18]
push str.Read_encrypt_data_from_current_offset.
push ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x8b2
call fcn.060010c0
mov edx, dword [ebp - 0x40]
add esp, 0x10
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp - 0x14], edi
je 0x6008345
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x48]
push 0
push eax
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x60082e7
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jne 0x60082e7
push eax
push edi
call dword [esi + 0x98]
test eax, eax
jne 0x6008290
lea edx, [ebp - 0x2c]
mov edi, str.E:_svneboot_dll_trunk_android_download.cpp
push str.Specific_data_have_been_decrypted_
push edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0x8bb
call fcn.060010c0
add esp, 8
jmp 0x600834a
lea eax, [ebp - 0x2c]
push str.Get_decrypt_data_fail_
push eax
mov dword [esi + 0x28], 0x36c1
mov dword [ebp - 0x2c], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x28], 0x8c0
call fcn.060010c0
mov cl, byte [ebp + 0xb]
add esp, 8
mov byte [ebp - 0x104], cl
lea ecx, [ebp - 0x104]
push 0
call fcn.06002d90
lea edx, [ebp - 0x108]
push 0x6019338
push edx
mov dword [ebp - 0x108], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov dword [esi + 0x28], 0x36c0
mov dword [ebp - 0x2c], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x28], 0x8c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push str.Get_encrypt_data_from_image_file_error___error_Code_:__d__
push eax
call fcn.060010c0
mov cl, byte [ebp + 0xb]
add esp, 0xc
mov byte [ebp - 0x118], cl
lea ecx, [ebp - 0x118]
push 0
call fcn.06002d90
lea edx, [ebp - 0x11c]
push 0x6019338
push edx
mov dword [ebp - 0x11c], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov edi, str.E:_svneboot_dll_trunk_android_download.cpp
mov eax, dword [esi + 0x88]
lea ecx, [ebp - 0x2c]
push eax
push str.Set_file_pointer_to_offset__d_from_begin
push ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0x8cc
call fcn.060010c0
mov edx, dword [esi + 0x88]
add esp, 0xc
push 0
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x6008434
mov dword [esi + 0x28], 0x36c2
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0x8d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push str.Set_file_pointer_error___error_Code_:__d__
push eax
call fcn.060010c0
mov cl, byte [ebp + 0xb]
add esp, 0xc
mov byte [ebp - 0x140], cl
lea ecx, [ebp - 0x140]
push 0
call fcn.06002d90
lea edx, [ebp - 0x144]
push 0x6019338
push edx
mov dword [ebp - 0x144], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x2c]
push str.Get_encrypt_info_fail_
push eax
mov dword [esi + 0x28], 0x36c0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0x8d9
call fcn.060010c0
mov cl, byte [ebp + 0xb]
add esp, 8
mov byte [ebp - 0x168], cl
lea ecx, [ebp - 0x168]
push 0
call fcn.06002d90
lea edx, [ebp - 0x16c]
push 0x6019338
push edx
mov dword [ebp - 0x16c], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 0xc0]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x58], ebx
jne 0x60084aa
mov dword [esi + 0x28], 0x4e22
mov dword [ebp - 0x2c], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x28], 0x8e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x2c]
push str.Alloc_memory_error___error_Code_:__d__
push ecx
call fcn.060010c0
mov dl, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x190]
mov byte [ebp - 0x190], dl
push ebx
call fcn.06002d90
lea eax, [ebp - 0x194]
push 0x6019338
push eax
mov dword [ebp - 0x194], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x1a4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [ebp - 0x2c]
push str.Send_image_file_packet_by_packet...
push edx
mov dword [ebp - 0x2c], str.E:_svneboot_dll_trunk_android_download.cpp
invalid
inc ebp
fsubr st(4)