Function at 0x600f4f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60180e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [str.ADVEMETA]
mov dl, byte [0x6020bb0]
mov ecx, dword [0x6020bac]
mov dword [ebp - 0x34], eax
mov eax, dword [str.ATEMEVDA]
mov byte [ebp - 0x2c], dl
mov dl, byte [0x6020ba4]
push ebx
push esi
mov dword [ebp - 0x4c], eax
mov eax, dword [str.READY]
push edi
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x6020ba0]
mov byte [ebp - 0x44], dl
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], ecx
mov cx, word [0x60209d8]
push edx
lea eax, [ebp - 0x54]
xor ebx, ebx
push str._COM_d_Try_to_entry_Advanced_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 - 0x3c], 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 - 0x38], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x54], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x50], 0x2a3
call fcn.060010c0
mov edi, dword [ebp + 0x10]
add esp, 0xc
cmp edi, ebx
jne 0x600f5bc
mov edi, 0x960
mov esi, dword [ebp + 0x18]
cmp esi, ebx
jne 0x600f5c6
lea esi, [ebp - 0x38]
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 0x600f656
push 0x6022228
push ebx
push 0x2b8
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 - 0x40]
push 5
push ecx
call fcn.06010660
add esp, 0x1c
cmp eax, ebx
jne 0x600f6c7
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], 0x2c1
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 - 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], 0x2c5
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 0x600f7f5
cmp dword [ebp - 0x28], 8
jne 0x600f7f5
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 - 0x4c]
push 8
push edx
call fcn.06010660
add esp, 0x1c
cmp eax, ebx
jne 0x600f791
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], 0x2d1
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 0x2d5
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], 0x2c9
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, 0x600f853
ret