Function at 0x10901528
Capabilities:
Write file on windows

Disassembly:
jmp 0x1090bba0
push 0xffffffffffffffff
push 0x109527d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call dword [sym.imp.Core.dll_public:_void___thiscall_FArchive::constructor_void_]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
cmp eax, 0x6f
mov edx, dword [esp + 0x24]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x44], ecx
mov ecx, 1
mov dword [esi], vtable.FL2FileEncryptArchive.0
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], edx
mov dword [esi + 0x48], ebp
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x14], ecx
mov byte [esi + 0x44c], 0xac
jne 0x1090bcb8
xor edi, edi
lea ecx, [ecx]
movzx edx, word [edi + str.Lineage2Ver]
push 2
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x34], edx
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
add edi, 2
cmp edi, 0x16
jb 0x1090bc10
xor edi, edi
jmp 0x1090bc40
movzx ecx, word [edi + 0x1096b0bc]
push 2
lea edx, [esp + 0x30]
mov dword [esp + 0x30], ecx
push edx
mov ecx, esi
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
add edi, 2
cmp edi, 6
jb 0x1090bc40
mov eax, dword [esi + 0x48]
cmp eax, ebp
je 0x1090bcac
push ebp
lea ecx, [esp + 0x30]
push ecx
push eax
mov eax, dword [esi + 0x3c]
lea edx, [esi + 0x4c]
push edx
push eax
mov dword [esp + 0x40], ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1090bcac
push ebp
push str.Core
push str.WriteFailed
mov dword [esi + 0x2c], 1
call dword [sym.imp.Core.dll_unsigned_short_int_const____cdecl_LocalizeError_char_const___unsigned_short_int_const___unsigned_short_int_const__]
mov ecx, dword [esi + 0x40]
push eax
push ecx
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_unsigned_short_int_const__]
add esp, 0x14
mov byte [esi + 0x44c], 0xac
jmp 0x1090be1c
cmp eax, 0x79
jne 0x1090bd74
xor edi, edi
movzx edx, word [edi + str.Lineage2Ver]
push 2
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x34], edx
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
add edi, 2
cmp edi, 0x16
jb 0x1090bcc3
xor edi, edi
jmp 0x1090bcf0
movzx ecx, word [edi + 0x1096b0bc]
push 2
lea edx, [esp + 0x30]
mov dword [esp + 0x30], ecx
push edx
mov ecx, esi
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
add edi, 2
cmp edi, 6
jb 0x1090bcf0
mov eax, dword [esi + 0x48]
cmp eax, ebp
je 0x1090bd5c
push ebp
lea ecx, [esp + 0x30]
push ecx
push eax
mov eax, dword [esi + 0x3c]
lea edx, [esi + 0x4c]
push edx
push eax
mov dword [esp + 0x40], ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1090bd5c
push ebp
push str.Core
push str.WriteFailed
mov dword [esi + 0x2c], 1
call dword [sym.imp.Core.dll_unsigned_short_int_const____cdecl_LocalizeError_char_const___unsigned_short_int_const___unsigned_short_int_const__]
mov ecx, dword [esi + 0x40]
push eax
push ecx
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_unsigned_short_int_const__]
add esp, 0x14
mov edx, dword [esp + 0x30]
push edx
call fcn.1090164a
add esp, 4
mov byte [esi + 0x44c], al
jmp 0x1090be1c
cmp eax, 0x137
jne 0x1090be1f
xor edi, edi
movzx eax, word [edi + str.Lineage2Ver]
push 2
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x34], eax
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
add edi, 2
cmp edi, 0x16
jb 0x1090bd81
xor edi, edi
jmp 0x1090bdb0
movzx edx, word [edi + 0x1096b0d4]
push 2
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x34], edx
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
add edi, 2
cmp edi, 6
jb 0x1090bdb0
mov eax, dword [esi + 0x48]
cmp eax, ebp
je 0x1090be1c
push ebp
lea ecx, [esp + 0x30]
push ecx
push eax
mov eax, dword [esi + 0x3c]
lea edx, [esi + 0x4c]
push edx
push eax
mov dword [esp + 0x40], ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1090be1c
push ebp
push str.Core
push str.WriteFailed
mov dword [esi + 0x2c], 1
call dword [sym.imp.Core.dll_unsigned_short_int_const____cdecl_LocalizeError_char_const___unsigned_short_int_const___unsigned_short_int_const__]
mov ecx, dword [esi + 0x40]
push eax
push ecx
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_unsigned_short_int_const__]
add esp, 0x14
mov dword [esi + 0x48], ebp
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14