Function at 0x600af90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6017ee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov ebx, ecx
push esi
push edi
mov al, byte [ebx + 0x81]
mov dword [ebp - 0x10], esp
test al, al
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
je 0x600b0a2
mov eax, dword [ebp + 8]
mov ecx, 6
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x3c], 0x50474d49
push 0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x3c]
push ecx
push 0x1c
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x600b026
mov dword [ebx + 0x28], 0x32cb
mov dword [ebp - 0x20], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x1c], 0xd8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x20]
push str.Write_DM_IMAGE_INFO_PACKET_BC_inform___windows_error_Code_:__d__
push ecx
jmp 0x600b051
cmp dword [ebp + 8], 0x1c
je 0x600b06e
mov dword [ebx + 0x28], 0x32cd
mov dword [ebp - 0x20], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x1c], 0xd92
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Write_DM_IMAGE_INFO_PACKET_BC_inform__length_is_not_correct__Windows_error_Code_:__d
lea edx, [ebp - 0x20]
push edx
call fcn.060010c0
add esp, 0xc
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
lea eax, [ebp - 0x20]
push str.Send_inform_image_info_with_boundary_check_complete_
push eax
mov dword [ebp - 0x20], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x1c], 0xd96
call fcn.060010c0
add esp, 8
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
mov ecx, dword [ebp + 8]
lea esi, [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov ecx, 5
lea edi, [ebp - 0x50]
mov dword [ebp - 0x54], 0x50474d49
lea edx, [ebp + 8]
push 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x68]
push edx
lea eax, [ebp - 0x54]
push 0x18
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x600b0ff
mov dword [ebx + 0x28], 0x32cb
mov dword [ebp - 0x20], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x1c], 0xda3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Write_DM_IMAGE_INFO_PACKET_inform___windows_error_Code_:__d__
lea edx, [ebp - 0x20]
jmp 0x600b050
cmp dword [ebp + 8], 0x18
je 0x600b12f
mov dword [ebx + 0x28], 0x32cd
mov dword [ebp - 0x20], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x1c], 0xdaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20]
push str.Write_DM_IMAGE_INFO_PACKET_inform__length_is_not_correct__Windows_error_Code_:__d
push eax
jmp 0x600b051
lea ecx, [ebp - 0x20]
push str.Send_inform_image_info_complete_
push ecx
mov dword [ebp - 0x20], str.E:_svneboot_dll_trunk_android_download.cpp
mov dword [ebp - 0x1c], 0xdae
call fcn.060010c0
mov ecx, dword [ebp - 0xc]
add esp, 8
mov al, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4