Function at 0x600f120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60180c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov dl, byte [0x60209e4]
mov eax, dword [str.METAMETA]
mov ecx, dword [0x60209e0]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov byte [ebp - 0x34], dl
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], eax
mov eax, dword [str.READY]
mov dword [ebp - 0x38], ecx
mov cx, word [0x60209d8]
push esi
lea edx, [ebp - 0x24]
xor ebx, ebx
mov edi, str.E:_svneboot_dll_trunkeboot.cpp
push str._COM:__d_Try_to_entry_META_Mode
push edx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], bl
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x25], 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 - 0x24], edi
mov dword [ebp - 0x20], 0x23f
call fcn.060010c0
add esp, 0xc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x240
push esi
push str.Symbolic_name:__s
push eax
call fcn.060010c0
add esp, 0xc
mov dword [ebp - 0x24], edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push edi
push str.Comm_Baudrate:__d
push ecx
mov dword [ebp - 0x20], 0x241
call fcn.060010c0
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp eax, ebx
jne 0x600f210
mov dword [ebp + 0x10], 0x960
mov esi, dword [ebp + 0x18]
cmp esi, ebx
jne 0x600f21a
lea esi, [ebp - 0x40]
mov edx, dword [ebp + 8]
push edi
lea eax, [ebp - 0x14]
push edx
push eax
call fcn.0600e900
add esp, 0xc
cmp eax, 0x2710
mov dword [ebp + 0xc], eax
je 0x600f2a7
push 0x6022228
push ebx
push 0x256
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [ebp - 0xa8]
call fcn.06013920
mov ecx, dword [0x6022278]
push str.SP_BootAsMeta_set_boot_mode_fail__
push ecx
push eax
mov byte [ebp - 4], 1
call fcn.060139a0
add esp, 0xc
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], bl
call fcn.06013990
mov dl, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x90]
mov byte [ebp - 0x90], dl
call fcn.06002d90
lea eax, [ebp - 0x94]
push 0x6019338
push eax
mov dword [ebp - 0x94], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
push ecx
push esi
lea edx, [ebp - 0x80]
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 0x600f318
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], 0x25f
call fcn.060010c0
mov cl, byte [ebp + 0xb]
add esp, 0xc
lea edx, [ebp - 0x64]
mov byte [ebp - 0x60], cl
push 0x6019338
push edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x64], 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], 0x263
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 0x600f452
cmp dword [ebp - 0x30], 8
jne 0x600f452
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xb0]
push edx
push esi
push edi
lea ecx, [ebp - 0x2c]
push eax
push ecx
call fcn.06010370
mov esi, eax
add esp, 0x14
cmp esi, 0x36ce
mov dword [ebp + 0xc], esi
jne 0x600f3ca
mov edx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push edx
push str._COM:__d___META_mode_has_been_locked__
push eax
mov dword [ebp + 0x14], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp + 0x18], 0x278
call fcn.060010c0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp esi, 0x2710
jne 0x600f43d
push 0x6022228
push ebx
push 0x27d
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [ebp - 0xa8]
call fcn.06013920
mov edx, dword [0x6022278]
push str.Entry_META_Mode_success__
push edx
push eax
mov byte [ebp - 4], 2
call fcn.060139a0
add esp, 0xc
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], bl
call fcn.06013990
lea eax, [ebp - 0x50]
push str._COM:__d___Entry_META_Mode_success__
push eax
mov dword [ebp - 0x50], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x4c], 0x27e
call fcn.060010c0
mov ecx, dword [ebp - 0x14]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push edx
push str._COM:__d___Could_not_write_MTEA__to_target_
push eax
mov dword [ebp + 0xc], 0x2ee1
mov dword [ebp + 0x14], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp + 0x18], 0x267
call fcn.060010c0
mov cl, byte [ebp + 0xb]
add esp, 0xc
lea edx, [ebp - 0x78]
mov byte [ebp - 0x74], cl
push 0x6019338
push edx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x78], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x600f4b0
ret