Function at 0x600fc80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6018126
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov ecx, dword [0x6020c98]
mov eax, dword [str.FACTORYM]
mov dl, byte [0x6020c9c]
push ebx
push esi
mov dword [ebp - 0x38], ecx
mov ecx, dword [0x6020c8c]
push edi
mov dword [ebp - 0x3c], eax
mov eax, dword [str.MYROTCAF]
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x4c], ecx
mov cx, word [0x60209d8]
push 0x6022228
mov byte [ebp - 0x34], dl
mov dl, byte [0x6020c90]
mov dword [ebp - 0x50], eax
mov eax, dword [str.READY]
push ebx
mov word [ebp - 0x40], cx
push 0x34b
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x48], dl
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 - 0x44], eax
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 dword [ebp - 4], ebx
call fcn.06013920
mov edx, dword [0x6022278]
push str.Try_to_entry_Factory_mode
push edx
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push edi
push ecx
call fcn.0600e520
add esp, 0xc
cmp eax, 0x2710
mov dword [ebp + 0xc], eax
je 0x600fdec
push 0x6022228
push ebx
push 0x350
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [ebp - 0xa8]
call fcn.06013920
mov edx, dword [0x6022278]
push str.SP_BootAsFactoryNormalMode_set_boot_mode_fail__
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
mov al, byte [ebp + 0xf]
push ebx
lea ecx, [ebp - 0x90]
mov byte [ebp - 0x90], al
call fcn.06002d90
lea ecx, [ebp - 0x94]
push 0x6019338
push ecx
mov dword [ebp - 0x94], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp + 0x10]
push edx
push esi
lea eax, [ebp - 0x80]
push 0x960
lea ecx, [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x44]
push 5
push edx
call fcn.06010660
add esp, 0x1c
cmp eax, ebx
jne 0x600fe6a
push edi
lea eax, [ebp - 0x1c]
push str._COM_d___Read_Ready_Pattern_ACK_Error__
push eax
mov dword [ebp + 0xc], 0x2ee0
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x358
call fcn.060010c0
mov cl, byte [ebp + 0xf]
add esp, 0xc
mov byte [ebp - 0xb8], cl
lea ecx, [ebp - 0xb8]
push ebx
call fcn.06002d90
lea edx, [ebp - 0xbc]
push 0x6019338
push edx
mov dword [ebp - 0xbc], 0x601916c
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
push eax
push str.Send__s_to_target
push ecx
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x35c
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 0x600ff48
cmp dword [ebp - 0x30], 8
jne 0x600ff48
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc4]
push edx
push esi
push 0x960
lea ecx, [ebp - 0x2c]
push eax
push ecx
lea edx, [ebp - 0x50]
push 8
push edx
call fcn.06010660
add esp, 0x1c
cmp eax, ebx
jne 0x600ff26
push edi
lea eax, [ebp - 0x1c]
push str._COM_d___Read_FACTORY_ACK_Error__
push eax
mov dword [ebp + 0xc], 0x2ee8
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x368
call fcn.060010c0
mov cl, byte [ebp + 0xf]
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
mov eax, dword [ebp - 0x14]
push eax
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 0xc
push edi
lea ecx, [ebp - 0x1c]
push str._COM_d___Could_not_write_FACTORYM__to_target_
push ecx
mov dword [ebp + 0xc], 0x2ee7
mov dword [ebp - 0x1c], str.E:_svneboot_dll_trunkeboot.cpp
mov dword [ebp - 0x18], 0x360
call fcn.060010c0
mov dl, byte [ebp + 0xf]
add esp, 0xc
lea eax, [ebp - 0x78]
mov byte [ebp - 0x74], dl
push 0x6019338
push eax
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 ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x600ffa3
ret