Function at 0x1090e2c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1092b1b0
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 0x1090e31a
test bl, 4
je 0x1090e31a
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], 0
je 0x1090e36a
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 0x1093665c
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
je 0x1090e476
push esi
push 0x10936838
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
je 0x1090e476
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 0x1090e3b5
mov ecx, 4
jmp 0x1090e3c3
push esi
mov edi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
call edi
add esp, 4
test eax, eax
jne 0x1090e37f
mov dword [ebp + 0xc], eax
jmp 0x1090e396
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924dc0
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 0x1090e320
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 0x1090e3e9
push 0
push 0x80
push ecx
push 0
push edx
push 0x40000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
jmp 0x1090e43b
push esi
call edi
add esp, 4
test eax, eax
jne 0x1090e3f8
mov dword [ebp + 8], eax
jmp 0x1090e40f
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924dc0
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 0x1090e48e
test bl, 1
je 0x1090e476
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 0x1090e466
push 0x10936850
jmp 0x1090e46b
push 0x109368a8
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 0x1090e4a4
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 0x1093665c
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 0x1090e476
push esi
push 0x109366e0
call ebx
add esp, 8
test eax, eax
je 0x1090e476
push esi
push 0x10936750
call ebx
add esp, 8
test eax, eax
jne 0x1090e4e1
mov edi, dword [ebp - 0x1c]
mov edi, dword [edi + 0xc]
jmp 0x1090e4fa
push 0x1093682c
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 0x10936958
push 0x454
call dword [eax]
test eax, eax
je 0x1090e476
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
mov ecx, eax
call fcn.1090d750
jmp 0x1090e478