Function at 0x485ae0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x574a28]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x458]
push ecx
call fcn.00456620
add esp, 8
mov dword [ebp - 4], 0
push 0x578d3c
call fcn.00475300
add esp, 4
mov dword [ebp - 0x47c], eax
push 0x4e20
mov ecx, dword [ebp - 0x47c]
call sym.ftl.bin_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
movzx edx, al
test edx, edx
je 0x485be5
call sym.ftl.bin_class_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______cdecl_log4cplus::detail::get_macro_body_oss_void_
mov dword [ebp - 0x480], eax
lea ecx, [ebp - 0x458]
call fcn.0040c680
push eax
push str.scan_en_file:
mov eax, dword [ebp - 0x480]
push eax
call fcn.00420c90
add esp, 8
push eax
call fcn.00420c90
add esp, 8
push 0x52e758
push 0x40
push 0x52e800
lea ecx, [ebp - 0x4c0]
push ecx
mov ecx, dword [ebp - 0x480]
call fcn.0041c180
mov dword [ebp - 0x4e4], eax
mov edx, dword [ebp - 0x4e4]
mov dword [ebp - 0x4e8], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4e8]
push eax
push 0x4e20
mov ecx, dword [ebp - 0x47c]
push ecx
call sym.ftl.bin_void___cdecl_log4cplus::detail::macro_forced_log_class_log4cplus::Logger_const___int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int__char_const__
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c0]
call fcn.00413280
xor edx, edx
jne 0x485b25
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x478]
call fcn.00413250
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
call fcn.004132d0
cmp eax, 0x104
jbe 0x485c53
push 0x52e820
lea ecx, [ebp - 0x49c]
call fcn.00416ac0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x49c]
call fcn.00417030
lea edx, [ebp - 0x49c]
push edx
lea ecx, [ebp - 0x478]
call fcn.004132b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x49c]
call fcn.00413280
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00477360
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x478]
call fcn.00414aa0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x45c], eax
push 0
lea ecx, [ebp - 0x478]
call fcn.00414aa0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c4], esp
lea edx, [ebp - 0x478]
push edx
call fcn.00413250
mov dword [ebp - 0x4ec], eax
call fcn.00475220
mov dword [ebp - 0x4f0], eax
cmp dword [ebp - 0x4f0], 0
jne 0x485ccb
jmp 0x485dd2
push 0x578d3c
call fcn.00475300
add esp, 4
mov dword [ebp - 0x4a0], eax
push 0x4e20
mov ecx, dword [ebp - 0x4a0]
call sym.ftl.bin_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
movzx eax, al
test eax, eax
je 0x485d8b
call sym.ftl.bin_class_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______cdecl_log4cplus::detail::get_macro_body_oss_void_
mov dword [ebp - 0x4a4], eax
lea ecx, [ebp - 0x458]
call fcn.0040c680
push eax
push str.handle_file:
mov ecx, dword [ebp - 0x4a4]
push ecx
call fcn.00420c90
add esp, 8
push eax
call fcn.00420c90
add esp, 8
push str.void___cdecl_RealTimeEncryptHandler::HandleFile_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_int__
push 0x58
push str..RealTimeEncryptHandler.cpp
lea edx, [ebp - 0x4e0]
push edx
mov ecx, dword [ebp - 0x4a4]
call fcn.0041c180
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x4f4]
mov dword [ebp - 0x4f8], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4f8]
push ecx
push 0x4e20
mov edx, dword [ebp - 0x4a0]
push edx
call sym.ftl.bin_void___cdecl_log4cplus::detail::macro_forced_log_class_log4cplus::Logger_const___int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int__char_const__
add esp, 0x18
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4e0]
call fcn.00413280
xor eax, eax
jne 0x485ccb
lea ecx, [ebp - 0x43c]
call fcn.00475310
test eax, eax
je 0x485db5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x43c]
call fcn.004791c0
jmp 0x485dca
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x478]
call fcn.00414aa0
push eax
call fcn.004746a0
xor ecx, ecx
jne 0x485c95
mov edx, dword [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x478]
call fcn.00414aa0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x43c]
call fcn.00476de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x478]
call fcn.00413280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
call fcn.0040c620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca80c
mov esp, ebp
pop ebp
ret