Function at 0x1509ea50
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x15103cd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov ecx, dword [sym.Core.dll_class_FFileManager__GFileManager]
mov eax, dword [ecx]
mov esi, dword [ebp + 8]
push esi
call dword [eax + 0x14]
mov ebx, dword [ebp + 0xc]
test eax, eax
js 0x1509eaee
test bl, 4
je 0x1509eaee
cmp dword [sym.Core.dll_int_GUnicodeOS], 0
je 0x1509eaaa
push 0
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
jmp 0x1509eaee
push esi
call sym.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__
add esp, 4
test eax, eax
jne 0x1509eabb
xor edi, edi
jmp 0x1509ead4
push esi
call sym.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.15097370
mov dword [ebp - 0x10], esp
mov edi, esp
push 0
push esi
call sym.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__
push eax
push esi
push edi
call sym.Core.dll_char____cdecl_winToANSI_char___wchar_t_const___int_
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
push esi
push 0x15118ebc
call fcn.1505453a
add esp, 8
test eax, eax
je 0x1509ebf2
push esi
push 0x15119040
call fcn.1505453a
add esp, 8
test eax, eax
je 0x1509ebf2
mov eax, ebx
shr eax, 5
and eax, 1
mov dword [ebp + 0xc], eax
mov ecx, ebx
and ecx, 0x10
mov dword [ebp - 0x14], ecx
je 0x1509eb36
mov edi, 4
jmp 0x1509eb47
mov eax, ebx
and al, 2
movzx edi, al
neg edi
sbb edi, edi
add edi, 2
mov eax, dword [ebp + 0xc]
cmp dword [sym.Core.dll_int_GUnicodeOS], 0
je 0x1509eb69
push 0
push 0x80
push edi
push 0
push eax
push 0x40000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
jmp 0x1509ebc1
push esi
call sym.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__
add esp, 4
test eax, eax
jne 0x1509eb7b
mov dword [ebp + 8], eax
jmp 0x1509eb95
push esi
call sym.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.15097370
mov dword [ebp - 0x10], esp
mov dword [ebp + 8], esp
push 0
push 0x80
push edi
push 0
push dword [ebp + 0xc]
push 0x40000000
push esi
call sym.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__
push eax
push esi
push dword [ebp + 8]
call sym.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 + 0xc], eax
cmp eax, 0xffffffff
jne 0x1509ec0a
test bl, 1
je 0x1509ebf2
push esi
cmp dword [sym.Core.dll_int_GLanguageType], 0
jne 0x1509ebdf
push 0x15119058
jmp 0x1509ebe4
push 0x151190b0
push dword [sym.Core.dll_class_FOutputDeviceError__GError]
call sym.Core.dll_public:_void___cdecl_FOutputDevice::Logf_wchar_t_const__
add esp, 0xc
xor eax, eax
lea esp, [ebp - 0x34]
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 - 0x14], 0
je 0x1509ec21
push 2
push 0
push 0
push eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
mov ebx, eax
jmp 0x1509ec23
xor ebx, ebx
xor edi, edi
push esi
push 0x15118ebc
call fcn.1505453a
add esp, 8
test eax, eax
je 0x1509ebf2
push esi
push 0x151181a8
call fcn.1505453a
add esp, 8
test eax, eax
je 0x1509ebf2
push esi
push 0x15118f98
call fcn.1505453a
add esp, 8
test eax, eax
jne 0x1509ec63
mov edi, dword [ebp - 0x18]
mov edi, dword [edi + 0xc]
jmp 0x1509ec7b
push 0x15119034
push esi
call sym.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 edx, 0x15119160
mov ecx, 0x454
call fcn.15031720
test eax, eax
je 0x1509ebf2
push esi
push edi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, eax
call fcn.15031030
jmp 0x1509ebf4