Function at 0x600f8a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6018106
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov dl, byte [0x6020bb0]
mov eax, dword [str.ADVEMETA]
mov ecx, dword [0x6020bac]
push ebx
push esi
mov esi, dword [ebp + 8]
mov byte [ebp - 0x34], dl
mov dl, byte [0x6020ba4]
push edi
mov dword [ebp - 0x3c], eax
mov eax, dword [str.ATEMEVDA]
mov dword [ebp - 0x38], ecx
mov ecx, dword [0x6020ba0]
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x4c], dl
mov dword [ebp - 0x54], eax
mov eax, dword [str.READY]
mov dword [ebp - 0x50], ecx
mov cx, word [0x60209d8]
push esi
lea edx, [ebp - 0x2c]
xor ebx, ebx
mov edi, str.E:_svneboot_dll_trunkeboot.cpp
push str._COM:__d__Try_to_entry_Advanced_META_Mode_by_USB
push edx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], bl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1d], bl
mov dword [ebp - 0x48], eax
mov word [ebp - 0x44], cx
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0x2f6
call fcn.060010c0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0x2f7
push esi
push str.Symbolic_name:__s
push eax
call fcn.060010c0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push ecx
push str.Comm_Baudrate:__d
push edx
mov dword [ebp - 0x28], 0x2f8
call fcn.060010c0
mov edi, dword [ebp + 0x10]
add esp, 0xc
cmp edi, ebx
jne 0x600f9a8
mov edi, 0x960
mov esi, dword [ebp + 0x18]
cmp esi, ebx
jne 0x600f9b2
lea esi, [ebp - 0x40]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
call fcn.0600e900
add esp, 0xc
cmp eax, 0x2710
mov dword [ebp + 0xc], eax
je 0x600fa42
push 0x6022228
push ebx
push 0x30d
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [ebp - 0xc8]
call fcn.06013920
mov ecx, dword [0x6022278]
push str.SP_BootAsAdvmeta_set_boot_mode_fail__
push ecx
push eax
mov byte [ebp - 4], 1
call fcn.060139a0
add esp, 0xc
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], bl
call fcn.06013990
mov dl, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 0xa0], dl
call fcn.06002d90
lea eax, [ebp - 0xa4]
push 0x6019338
push eax
mov dword [ebp - 0xa4], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0xac]
push ecx
push esi
push edi
lea eax, [ebp - 0x1c]
push edx
push eax
lea ecx, [ebp - 0x48]
push 5
push ecx
call fcn.06010660
add esp, 0x1c
cmp eax, ebx
jne 0x600fab3
mov edx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push edx
push str._COM_d___Read_Ready_Pattern_ACK_Error__
push eax
mov dword [ebp + 0xc], 0x2ee0
mov dword [ebp + 0x14], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp + 0x18], 0x316
call fcn.060010c0
mov cl, byte [ebp + 0xb]
add esp, 0xc
lea edx, [ebp - 0x68]
mov byte [ebp - 0x64], cl
push 0x6019338
push edx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x68], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x3c]
lea ecx, [ebp + 0x14]
push eax
push str.Send__s_to_target
push ecx
mov dword [ebp + 0x14], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp + 0x18], 0x31a
call fcn.060010c0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x3c]
push ebx
push edx
push 8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x600fbe1
cmp dword [ebp - 0x30], 8
jne 0x600fbe1
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xb4]
push edx
push esi
push edi
lea ecx, [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x54]
push 8
push edx
call fcn.06010660
add esp, 0x1c
cmp eax, ebx
jne 0x600fb7d
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x14]
push eax
push str._COM_d___Read_ADVMETA_ACK_Error__
push ecx
mov dword [ebp + 0xc], 0x2ee4
mov dword [ebp + 0x14], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp + 0x18], 0x326
call fcn.060010c0
mov dl, byte [ebp + 0xb]
add esp, 0xc
lea eax, [ebp - 0x90]
mov byte [ebp - 0x8c], dl
push 0x6019338
push eax
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x90], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
push 0x6022228
push ebx
push 0x32a
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [ebp - 0xdc]
call fcn.06013920
mov ecx, dword [0x6022278]
push str.Entry_ADVMETA_Mode_success__
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.060139a0
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], bl
call fcn.06013990
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x2710
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x14]
push eax
push str._COM_d___Could_not_write_ADVMETA__to_target_
push ecx
mov dword [ebp + 0xc], 0x2ee3
mov dword [ebp + 0x14], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp + 0x18], 0x31e
call fcn.060010c0
mov dl, byte [ebp + 0xb]
add esp, 0xc
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x78], dl
push 0x6019338
push eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x7c], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x600fc3f
ret