Function at 0x600ed90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60180a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov eax, dword [str.METAMETA]
mov dl, byte [0x60209e4]
mov ecx, dword [0x60209e0]
push ebx
push esi
mov dword [ebp - 0x34], eax
mov eax, dword [str.READY]
push edi
mov byte [ebp - 0x2c], dl
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], ecx
mov cx, word [0x60209d8]
push edx
lea eax, [ebp - 0x48]
xor ebx, ebx
push str._COM_d_Try_to_entry_META_Mode
push eax
mov dword [ebp - 0x28], 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 word [ebp - 0x38], 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 - 0x48], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x44], 0x1de
call fcn.060010c0
mov edi, dword [ebp + 0x10]
add esp, 0xc
cmp edi, ebx
jne 0x600ee42
mov edi, 0x960
mov esi, dword [ebp + 0x18]
cmp esi, ebx
jne 0x600ee4c
lea esi, [ebp - 0x40]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
lea eax, [ebp - 0x14]
push edx
push eax
call fcn.0600e520
add esp, 0xc
cmp eax, 0x2710
mov dword [ebp + 0xc], eax
je 0x600eedc
push 0x6022228
push ebx
push 0x1f3
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]
lea edx, [ebp - 0x80]
push ecx
push esi
push edi
lea eax, [ebp - 0x1c]
push edx
push eax
lea ecx, [ebp - 0x3c]
push 5
push ecx
call fcn.06010660
add esp, 0x1c
cmp eax, ebx
jne 0x600ef4a
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], 0x1fc
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 - 0x34]
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], 0x200
call fcn.060010c0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x34]
push ebx
push edx
push 8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x600f084
cmp dword [ebp - 0x28], 8
jne 0x600f084
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xb0]
push edx
push esi
push edi
lea ecx, [ebp - 0x24]
push eax
push ecx
call fcn.06010370
mov esi, eax
add esp, 0x14
cmp esi, 0x36ce
mov dword [ebp + 0xc], esi
jne 0x600effc
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], 0x215
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 0x600f06f
push 0x6022228
push ebx
push 0x21a
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], 0x21b
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], 0x204
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, 0x600f0e2
ret