Function at 0x4170a0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4aa9de
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1f5c
call fcn.0048ed30
push ebx
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x1f70]
mov dword fs:[0], eax
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ce67c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push str.360deepscan_onfixing_mutex
xor ebx, ebx
push ebx
mov dword [esp + 0x1f80], ebx
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push 0x100000
call esi
cmp eax, ebx
jne 0x41718b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
jne 0x417192
push str.360leakrepair_onfixing_mutex
push ebx
push 0x100000
call esi
cmp eax, ebx
jne 0x4171f0
call edi
cmp eax, 2
jne 0x4171f7
mov ecx, 0x4d0ae8
call fcn.0045c8c0
sub eax, 1
je 0x417264
sub eax, 1
je 0x41723b
sub eax, 1
jne 0x41729b
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x9d8a
call fcn.0046c8c0
mov byte [esp + 0x1f78], 6
mov eax, dword [eax]
push eax
lea edi, [esp + 0x1c]
call fcn.0046afd0
lea ecx, [esp + 0x18]
jmp 0x41728b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ce67c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x9d69
mov byte [esp + 0x1f7c], 1
call fcn.0046c4a0
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x4171d6
lea eax, [esp + 0x14]
push eax
mov eax, 0x9d69
call fcn.0046c580
mov esi, dword [esp + 0x14]
push ebx
push esi
mov byte [esp + 0x1f80], 2
call fcn.004786d0
add esp, 8
lea eax, [esi - 0x10]
jmp 0x41750f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x9d78
call fcn.0046c8c0
mov byte [esp + 0x1f78], 3
mov eax, dword [eax]
push ebx
push eax
call fcn.004786d0
mov byte [esp + 0x1f80], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x417524
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x9d89
call fcn.0046c8c0
mov byte [esp + 0x1f78], 4
mov eax, dword [eax]
push eax
lea edi, [esp + 0x1c]
call fcn.0046afd0
lea ecx, [esp + 0x20]
jmp 0x41728b
lea eax, [esp + 0x20]
push eax
mov ecx, 0x9d88
call fcn.0046c8c0
mov byte [esp + 0x1f78], 5
mov eax, dword [eax]
push eax
lea edi, [esp + 0x1c]
call fcn.0046afd0
lea ecx, [esp + 0x24]
add esp, 4
mov byte [esp + 0x1f78], 0
call fcn.004710f0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jne 0x417546
push 0x1f3c
lea ecx, [esp + 0x34]
push ebx
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
call fcn.0048dc10
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xd38]
mov eax, dword [eax]
mov esi, dword [ecx + 0xd20]
mov edi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
jmp 0x4172f0
mov ebx, dword [ecx + 0xd38]
mov eax, dword [ecx + 0xd20]
test esi, esi
je 0x417304
cmp esi, eax
je 0x417309
call fcn.0048b4bc
cmp edi, ebx
je 0x41736d
test esi, esi
jne 0x417365
call fcn.0048b4bc
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x417322
call fcn.0048b4bc
mov eax, dword [esp + 0x20]
mov edx, dword [edi + 0xc]
mov dword [esp + eax*4 + 0x2c], edx
inc eax
mov dword [esp + 0x20], eax
test esi, esi
jne 0x417369
call fcn.0048b4bc
cmp edi, dword [esi + 0x18]
jne 0x417345
call fcn.0048b4bc
cmp dword [edi + 0x10], 0xfffffff2
jne 0x41734f
inc dword [esp + 0x1c]
lea esi, [esp + 0x24]
call fcn.0044edf0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
jmp 0x4172f0
mov eax, dword [esi]
jmp 0x417318
mov esi, dword [esi]
jmp 0x41733b
cmp dword [esp + 0x20], 0
jbe 0x417558
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ce67c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
push eax
mov ecx, 0x9d48
mov byte [esp + 0x1f7c], 7
call fcn.0046c8c0
mov byte [esp + 0x1f78], 8
mov esi, dword [esp + 0x1c]
mov eax, dword [eax]
push esi
push eax
lea edi, [esp + 0x1c]
call fcn.0046afd0
mov byte [esp + 0x1f80], 7
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4173e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
test esi, esi
je 0x41740b
jbe 0x41750c
push 4
push edi
call fcn.004786d0
add esp, 8
cmp eax, 6
jne 0x41750c
push 0x4d02a0
call fcn.00458010
test eax, eax
je 0x417491
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x9e24
call fcn.0046c8c0
mov byte [esp + 0x1f78], 9
mov eax, dword [eax]
push 0x41
push eax
call fcn.004786d0
add esp, 8
cmp eax, 1
mov byte [esp + 0x1f78], 7
mov eax, dword [esp + 0x24]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41746b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x417532
push str.fix_3g
push str.action_s
push str.http:__update.360safe.com_safe_leakpop.html_
push 1
push 0x4cd998
call fcn.0047e9e0
add esp, 0x14
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov esi, 0x4d02a0
call fcn.00457bb0
test eax, eax
je 0x41750c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7d0]
add edx, 0x7cc
mov ecx, eax
shr ecx, 2
not ecx
and ecx, 1
je 0x4174df
mov ecx, dword [edx + 0x1c]
or eax, 4
mov dword [edx + 4], eax
test ecx, ecx
je 0x4174df
mov eax, dword [ecx]
push 0
push 0
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
cmp dword [0x4d0d90], 0
mov eax, str.main_fix_c
jne 0x4174f2
mov eax, str.main_fix
push eax
push str.action_s
push str.http:__update.360safe.com_safe_leakpop.html_
push 1
push 0x4cd998
call fcn.0047e9e0
add esp, 0x14
lea eax, [edi - 0x10]
mov byte [esp + 0x1f78], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417558
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x417558
lea ecx, [esp + 0x14]
call fcn.004710f0
lea ecx, [esp + 0x18]
call fcn.004710f0
jmp 0x417583
push ebx
push ecx
call fcn.004786d0
mov edi, dword [ebp + 8]
add esp, 8
call fcn.0041e8f0
mov dword [esp + 0x1f78], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417583
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1f70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4