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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4749a3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1f5c
call fcn.00462790
push ebx
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1f70]
mov dword fs:[0], eax
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [esp + 0x14], 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 0x41165b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
jne 0x411662
push str.360leakrepair_onfixing_mutex
push ebx
push 0x100000
call esi
cmp eax, ebx
jne 0x411700
call edi
cmp eax, 2
jne 0x411707
mov ecx, 0x4906c8
call fcn.0044d670
sub eax, 1
je 0x41179f
sub eax, 1
je 0x411776
sub eax, 1
jne 0x4117d6
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x9d8a
call fcn.00454940
mov byte [esp + 0x1f78], 6
mov eax, dword [eax]
push eax
lea edi, [esp + 0x18]
call fcn.004543e0
lea eax, [esp + 0x20]
jmp 0x4117c6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push 0x9d69
mov byte [esp + 0x1f7c], 1
call fcn.00454520
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x4116a6
lea eax, [esp + 0x18]
push eax
mov eax, 0x9d69
call fcn.00454600
mov esi, dword [esp + 0x18]
push esi
lea edi, [esp + 0x18]
mov byte [esp + 0x1f7c], 2
call fcn.004543e0
lea eax, [esi - 0x10]
add esp, 4
mov byte [esp + 0x1f78], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4116df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push ebx
push esi
call fcn.0044d520
add esp, 8
mov dword [esp + 0x1f78], 0xffffffff
lea eax, [esi - 0x10]
jmp 0x4119c2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x9d78
call fcn.00454940
mov byte [esp + 0x1f78], 3
mov eax, dword [eax]
push eax
lea edi, [esp + 0x18]
call fcn.004543e0
mov byte [esp + 0x1f7c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411755
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push ebx
push esi
call fcn.0044d520
add esp, 8
mov dword [esp + 0x1f78], 0xffffffff
lea eax, [esi - 0x10]
jmp 0x4119c2
lea edx, [esp + 0x18]
push edx
mov ecx, 0x9d89
call fcn.00454940
mov byte [esp + 0x1f78], 4
mov eax, dword [eax]
push eax
lea edi, [esp + 0x18]
call fcn.004543e0
lea eax, [esp + 0x1c]
jmp 0x4117c6
lea eax, [esp + 0x20]
push eax
mov ecx, 0x9d88
call fcn.00454940
mov byte [esp + 0x1f78], 5
mov eax, dword [eax]
push eax
lea edi, [esp + 0x18]
call fcn.004543e0
lea eax, [esp + 0x24]
add esp, 4
mov byte [esp + 0x1f78], 0
call fcn.004568e0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jne 0x41199e
push 0x1f3c
lea ecx, [esp + 0x34]
push ebx
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebx
call fcn.00462160
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x6d0]
mov eax, dword [eax]
mov esi, dword [ecx + 0x6b8]
mov edi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
nop
mov ebx, dword [ecx + 0x6d0]
mov eax, dword [ecx + 0x6b8]
test esi, esi
je 0x411834
cmp esi, eax
je 0x411839
call fcn.004605e2
cmp edi, ebx
je 0x41189d
test esi, esi
jne 0x411895
call fcn.004605e2
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x411852
call fcn.004605e2
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 0x411899
call fcn.004605e2
cmp edi, dword [esi + 0x18]
jne 0x411875
call fcn.004605e2
cmp dword [edi + 0x10], 2
jne 0x41187f
inc dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.004434b0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
jmp 0x411820
mov eax, dword [esi]
jmp 0x411848
mov esi, dword [esi]
jmp 0x41186b
cmp dword [esp + 0x20], 0
jbe 0x4119b0
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
mov bl, 7
push eax
mov ecx, 0x9d48
mov byte [esp + 0x1f7c], bl
call fcn.00454940
mov byte [esp + 0x1f78], 8
mov esi, dword [esp + 0x18]
mov eax, dword [eax]
push esi
push eax
lea edi, [esp + 0x24]
call fcn.004543e0
mov byte [esp + 0x1f80], bl
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 0x411919
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x411933
jbe 0x411978
push 4
push edi
call fcn.0044d520
add esp, 8
cmp eax, 6
jne 0x411978
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
push 0x490608
call fcn.0044aff0
test eax, eax
je 0x411978
cmp dword [0x491260], 0
mov eax, str.main_fix_c
jne 0x41195e
mov eax, str.main_fix
push eax
push str.action_s
push str.http:__update.360safe.com_safe_leakpop.html_
push 1
mov ecx, 0x490040
call fcn.0045dc00
add esp, 0x10
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 0x4119b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4119b0
push ebx
push ecx
call fcn.0044d520
mov edi, dword [ebp + 8]
add esp, 8
call fcn.00416e90
mov dword [esp + 0x1f78], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4119db
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