Function at 0x422ac0
Capabilities:
Check if file exists
Check mutex on windows
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x474808
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x48e57c
mov dword [esp + 0x14], edi
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], edi
mov eax, dword [ebp + 0xb4]
cmp eax, edi
je 0x422b20
mov eax, dword [eax + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push str.360deepscan_onfixing_mutex
push edi
push 0x100000
call esi
cmp eax, edi
jne 0x422ba7
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
jne 0x422bae
push str.360leakrepair_onfixing_mutex
push 0
push 0x100000
call esi
test eax, eax
jne 0x422c47
call edi
cmp eax, 2
jne 0x422c4e
cmp dword [ebp + 0xc4], 0
lea esi, [ebp + 0xc4]
ja 0x422c63
mov ecx, dword [ebp + 0xc0]
add ecx, dword [ebp + 0xbc]
jne 0x422c63
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x422c32
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x9d68
call fcn.00454940
mov byte [esp + 0x2c], 1
mov eax, dword [eax]
push eax
lea edi, [esp + 0x38]
call fcn.004543e0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422bf6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, 5
mov edi, ebp
call fcn.0041b0a0
mov edi, dword [esp + 0x34]
push 0
push edi
call fcn.0044d520
add esp, 8
xor eax, eax
mov esi, ebp
call fcn.004189c0
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422e6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x422e6c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
call fcn.00418c10
xor eax, eax
mov esi, ebp
call fcn.004189c0
lea eax, [ebx - 0x10]
jmp 0x422c1d
mov ecx, 0x4906c8
call fcn.0044d670
sub eax, 1
je 0x422cd6
sub eax, 1
je 0x422cab
sub eax, 1
jne 0x422d22
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x9d8a
call fcn.00454940
mov byte [esp + 0x2c], 4
mov eax, dword [eax]
push eax
lea edi, [esp + 0x38]
call fcn.004543e0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
jmp 0x422cff
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x9d89
call fcn.00454940
mov byte [esp + 0x2c], 2
mov eax, dword [eax]
push eax
lea edi, [esp + 0x38]
call fcn.004543e0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x20]
jmp 0x422cff
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x9d88
call fcn.00454940
mov byte [esp + 0x2c], 3
mov eax, dword [eax]
push eax
lea edi, [esp + 0x38]
call fcn.004543e0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 4
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422d1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x34]
cmp dword [ebx - 0xc], 0
jne 0x422f0d
cmp dword [esi], 0
jbe 0x422e86
push esi
push 1
push 0x490608
call fcn.0044aff0
test eax, eax
je 0x422e86
mov ecx, dword [ebp + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 6
mov edi, ebp
call fcn.0041b0a0
mov esi, 1
cmp dword [0x491264], esi
jne 0x422d79
mov edi, 0x490608
call fcn.0043f9c0
lea eax, [esp + 0x34]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004568e0
mov eax, dword [0x4906b8]
xor edi, edi
cmp eax, edi
lea esi, [ebp + 0xb40]
jle 0x422dc4
cmp dword [esi + 0x28], edi
jne 0x422da9
cmp dword [esi + 0x2c], eax
je 0x422dc4
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
cmp ecx, edi
je 0x422dc4
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push edi
push edi
push edi
push esi
call eax
mov ecx, dword [0x49066c]
mov edx, dword [0x490670]
add ecx, edx
add ecx, dword [0x490674]
add ecx, dword [0x490664]
add ecx, dword [0x490660]
add ecx, dword [0x490668]
cmp ecx, dword [0x4906b8]
jae 0x422df3
inc ecx
mov eax, esi
call fcn.00440db0
mov eax, dword [0x49066c]
mov edx, dword [0x490670]
mov ecx, dword [0x4906b8]
add eax, edx
add eax, dword [0x490674]
add eax, dword [0x490664]
add eax, dword [0x490660]
add eax, dword [0x490668]
cmp eax, ecx
jae 0x422e2a
inc eax
push ecx
push eax
lea eax, [ebp + 0x284]
push str.color0xBB_d_color__d
push eax
call fcn.0044f030
mov ecx, dword [ebp + 4]
add esp, 0x10
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x422e6c
mov edx, dword [0x48ffc4]
push edi
push edi
push 0x4f3
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x4908d8], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
mov ebx, 0x490608
call fcn.0043f920
test eax, eax
je 0x422ee9
mov ecx, 6
mov edi, ebp
call fcn.0041b0a0
mov esi, 1
cmp dword [0x491264], esi
jne 0x422eb4
mov edi, ebx
call fcn.0043f9c0
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x14], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422d8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x422d8e
mov eax, ebp
call fcn.00418c10
xor eax, eax
mov esi, ebp
call fcn.004189c0
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
jmp 0x422c25
mov ecx, 5
mov edi, ebp
call fcn.0041b0a0
push 0
push ebx
call fcn.0044d520
mov esi, dword [ebp + 0xb4]
add esp, 8
test esi, esi
je 0x422f5d
call fcn.0040c370
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [ebp + 0xb4]
add ecx, 4
push ecx
call fcn.0044f5e0
mov eax, dword [ebp + 0xb4]
mov edx, dword [eax + 4]
add eax, 4
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov esi, ebp
call fcn.004189c0
lea eax, [ebx - 0x10]
jmp 0x422c1d