Function at 0x1090e250
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 0x1090e2aa
test bl, 4
je 0x1090e2aa
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], 0
je 0x1090e2fa
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 0x10935e4c
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
je 0x1090e406
push esi
push 0x10935fe8
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
je 0x1090e406
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 0x1090e345
mov ecx, 4
jmp 0x1090e353
push esi
mov edi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
call edi
add esp, 4
test eax, eax
jne 0x1090e30f
mov dword [ebp + 0xc], eax
jmp 0x1090e326
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924d50
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 0x1090e2b0
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 0x1090e379
push 0
push 0x80
push ecx
push 0
push edx
push 0x40000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
jmp 0x1090e3cb
push esi
call edi
add esp, 4
test eax, eax
jne 0x1090e388
mov dword [ebp + 8], eax
jmp 0x1090e39f
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924d50
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 0x1090e41e
test bl, 1
je 0x1090e406
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 0x1090e3f6
push 0x10936000
jmp 0x1090e3fb
push 0x10936058
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 0x1090e434
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 0x10935e4c
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 0x1090e406
push esi
push 0x10935ed0
call ebx
add esp, 8
test eax, eax
je 0x1090e406
push esi
push 0x10935f40
call ebx
add esp, 8
test eax, eax
jne 0x1090e471
mov edi, dword [ebp - 0x1c]
mov edi, dword [edi + 0xc]
jmp 0x1090e48a
push 0x10935fdc
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 0x10936108
push 0x454
call dword [eax]
test eax, eax
je 0x1090e406
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
mov ecx, eax
call fcn.1090d6e0
jmp 0x1090e408