Function at 0x4a7aa0
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5404ce
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x5925f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
push 0x41
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c7f0
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x288]
call fcn.0043b530
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b180
push eax
push str.__sMutual.exe__SyncMB__d
lea ecx, [ebp - 0x288]
push ecx
call fcn.004084e0
add esp, 0x10
push 0x44
push 0
lea edx, [ebp - 0x284]
push edx
call fcn.004caa30
add esp, 0xc
mov dword [ebp - 0x284], 0x44
push 0x10
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.004caa30
add esp, 0xc
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x284]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x288]
call fcn.0040aa60
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x559094]
mov dword [ebp - 0x21c], ecx
push 0x204
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.004caa30
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0040a500
mov byte [ebp - 4], 1
push str.MutualTempFile.ini
lea ecx, [ebp - 0x220]
call fcn.0049b850
lea ecx, [ebp - 0x220]
call fcn.0040aa60
push eax
push 0
push str.SyncUserMB
push str.MutualTempFile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x290]
mov dword [edx + 0x2fc], eax
lea ecx, [ebp - 0x220]
call fcn.0040aa60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a7c73
lea ecx, [ebp - 0x220]
call fcn.0040aa60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x290]
cmp dword [eax + 0x2fc], 0
je 0x4a7cbc
push 0x5590f8
mov ecx, dword [ebp - 0x290]
mov edx, dword [ecx + 0x304]
mov eax, dword [ebp - 0x290]
mov ecx, dword [eax + 0x304]
mov edx, dword [edx]
mov eax, dword [edx + 0x2c]
call eax
push 0x64
mov ecx, dword [ebp - 0x290]
mov ecx, dword [ecx + 0x30c]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CProgressUI::SetValue_int_]
jmp 0x4a7ce0
push str._fTek
mov edx, dword [ebp - 0x290]
mov eax, dword [edx + 0x304]
mov ecx, dword [ebp - 0x290]
mov ecx, dword [ecx + 0x304]
mov edx, dword [eax]
mov eax, dword [edx + 0x2c]
call eax
push 1
mov ecx, dword [ebp - 0x290]
mov edx, dword [ecx + 0x308]
mov eax, dword [ebp - 0x290]
mov ecx, dword [eax + 0x308]
mov edx, dword [edx]
mov eax, dword [edx + 0xd8]
call eax
push 0xbb8
mov ecx, dword [ebp - 0x290]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x1f4
push 0xbb8
mov ecx, dword [ebp - 0x290]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp - 0x28c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.0043b550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.0043b550
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca9d7
mov esp, ebp
pop ebp
ret