Function at 0x1090e2b0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1092b2c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.Core.dll_class_FFileManager__GFileManager]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov esi, dword [ebp + 8]
push esi
call dword [eax + 0x14]
mov ebx, dword [ebp + 0xc]
test eax, eax
js 0x1090e30a
test bl, 4
je 0x1090e30a
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], 0
je 0x1090e35a
push 0
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
push esi
push 0x1093603c
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
je 0x1090e466
push esi
push 0x109361d8
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
je 0x1090e466
mov edx, ebx
shr edx, 5
and edx, 1
mov dword [ebp - 0x14], edx
mov eax, ebx
and eax, 0x10
mov dword [ebp - 0x18], eax
je 0x1090e3a5
mov ecx, 4
jmp 0x1090e3b3
push esi
mov edi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
call edi
add esp, 4
test eax, eax
jne 0x1090e36f
mov dword [ebp + 0xc], eax
jmp 0x1090e386
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924db0
mov dword [ebp - 0x10], esp
mov dword [ebp + 0xc], esp
push 0
push esi
call edi
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___wchar_t_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
jmp 0x1090e310
mov eax, ebx
and al, 2
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [ebp + 0xc], ecx
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], 0
je 0x1090e3d9
push 0
push 0x80
push ecx
push 0
push edx
push 0x40000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
jmp 0x1090e42b
push esi
call edi
add esp, 4
test eax, eax
jne 0x1090e3e8
mov dword [ebp + 8], eax
jmp 0x1090e3ff
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924db0
mov dword [ebp - 0x10], esp
mov dword [ebp + 8], esp
push 0
push 0x80
push dword [ebp + 0xc]
push 0
push dword [ebp - 0x14]
push 0x40000000
push esi
call edi
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___wchar_t_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0
cmp eax, 0xffffffff
jne 0x1090e47e
test bl, 1
je 0x1090e466
mov eax, dword [sym.imp.Core.dll_int_GLanguageType]
push esi
cmp dword [eax], 0
mov eax, dword [sym.imp.Core.dll_class_FOutputDeviceError__GError]
jne 0x1090e456
push 0x109361f0
jmp 0x1090e45b
push 0x10936248
push dword [eax]
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_wchar_t_const__]
add esp, 0xc
xor eax, eax
lea esp, [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0x18], 0
je 0x1090e494
push 2
push 0
push 0
push eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
mov dword [ebp + 0xc], eax
xor edi, edi
push esi
push 0x1093603c
mov ebx, dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
call ebx
add esp, 8
test eax, eax
je 0x1090e466
push esi
push 0x109360c0
call ebx
add esp, 8
test eax, eax
je 0x1090e466
push esi
push 0x10936130
call ebx
add esp, 8
test eax, eax
jne 0x1090e4d1
mov edi, dword [ebp - 0x1c]
mov edi, dword [edi + 0xc]
jmp 0x1090e4ea
push 0x109361cc
push esi
call dword [sym.imp.Core.dll_wchar_t____cdecl_appStristr_wchar_t_const___wchar_t_const__]
add esp, 8
mov ecx, 0x137
test eax, eax
cmovne edi, ecx
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x109362f8
push 0x454
call dword [eax]
test eax, eax
je 0x1090e466
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
mov ecx, eax
call fcn.1090d740
jmp 0x1090e468