Function at 0x494340
Capabilities:
Delete file
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551530
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5a4ca4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00494620
mov esi, eax
lea ecx, [esi - 1]
push ecx
mov ecx, esi
neg ecx
push ecx
call dword [0x5bd428]
mov dword [ebp - 0x4c], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolserviceutilityparser.cpp
mov edi, eax
test esi, esi
jne 0x49439e
mov dword [ebp - 0x48], 0x182
push str._FATAL_ERROR__dwFlashSize_is_0__
jmp 0x4945da
push str.start_search_dll...
sub esp, 0xc
mov dword [ebp - 0x48], 0x18b
movq xmm0, qword [ebp - 0x4c]
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.gs::GetBiosFanCtrlData
call fcn.0047d6b0
push eax
call fcn.00481b00
push 0
push edi
mov dword [0x5be704], edi
mov dword [0x5be708], esi
call fcn.004949b0
add esp, 0x20
test al, al
je 0x494557
push 1
push edi
call fcn.004949b0
add esp, 8
test al, al
je 0x494557
mov edi, dword [0x5be700]
mov eax, dword [0x5be6fc]
mov dword [ebp - 0x50], eax
test edi, edi
je 0x494557
lea eax, [ebp - 0x40]
push eax
call fcn.004947c0
add esp, 4
push 0xc
push 0x5634a0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00409260
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00405690
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x80
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.delete_FanInfo.data__
sub esp, 0xc
mov dword [ebp - 0x4c], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolserviceutilityparser.cpp
mov eax, esp
mov dword [ebp - 0x48], 0x19d
movq xmm0, qword [ebp - 0x4c]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.gs::GetBiosFanCtrlData
call fcn.0047d6b0
push eax
call fcn.00481b00
add esp, 0x18
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push 0
push 0x80
push 2
push 0
push 0
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x50]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push str.write_FanInfo.data__
sub esp, 0xc
mov dword [ebp - 0x4c], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolserviceutilityparser.cpp
mov eax, esp
mov dword [ebp - 0x48], 0x1a9
movq xmm0, qword [ebp - 0x4c]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.gs::GetBiosFanCtrlData
call fcn.0047d6b0
push eax
call fcn.00481b00
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.00405690
mov al, 1
jmp 0x494601
push str._AI_Suite__FATAL_ERROR__FanTable_not_found__
sub esp, 0xc
mov dword [ebp - 0x4c], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolserviceutilityparser.cpp
mov eax, esp
mov dword [ebp - 0x48], 0x191
movq xmm0, qword [ebp - 0x4c]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.gs::GetBiosFanCtrlData
call fcn.0047d6b0
push eax
call fcn.00481b00
add esp, 0x18
mov dword [ebp - 0x4c], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolserviceutilityparser.cpp
mov dword [ebp - 0x48], 0x192
movq xmm0, qword [ebp - 0x4c]
push str._AI_Suite__FATAL_ERROR__FanTable_not_found__
sub esp, 0xc
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.gs::GetBiosFanCtrlData
call fcn.0047d6b0
push eax
call fcn.00481b00
add esp, 0x18
mov dword [ebp - 0x4c], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolserviceutilityparser.cpp
mov dword [ebp - 0x48], 0x193
push str._AI_Suite__FATAL_ERROR__FanTable_not_found__
movq xmm0, qword [ebp - 0x4c]
sub esp, 0xc
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.gs::GetBiosFanCtrlData
call fcn.0047d6b0
push eax
call fcn.00481b00
add esp, 0x18
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050970c
mov esp, ebp
pop ebp
ret