Function at 0x457bb0
Capabilities:
Check if file exists
Check mutex on windows
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4aa4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esi + 0xf0]
xor ebp, ebp
cmp eax, ebp
je 0x457d98
cmp dword [esi + 0xf4], ebp
je 0x457d98
mov ebx, dword [esp + 0x30]
cmp ebx, ebp
jbe 0x457d98
fldz
lea edi, [esi + 0xac]
fst qword [esi + 0x48]
mov edx, 0x4b40a0
fst qword [esi + 0x50]
mov dword [esi + 0x58], ebp
fstp qword [esi + 0xa0]
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x60], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0x94], ebp
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xb4], ebp
mov dword [esi + 0xdc], ebp
call fcn.0046c880
push 4
lea eax, [esi + 0xb18]
push eax
push 4
push str.LastNoFixCloseWndCount
push str.SOFTWARE360SafeLeak
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [eax], ebp
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, esi
mov dword [esi + 0xb8], ebx
call fcn.00457530
xor ebx, ebx
mov dword [esi + 0xd4], ebp
cmp dword [esp + 0x30], ebp
jbe 0x457cec
jmp 0x457ca0
mov eax, dword [esi + 0xf4]
mov edx, dword [esp + 0x34]
mov edx, dword [edx + ebx*4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov edi, eax
cmp edi, ebp
je 0x457ce5
mov ecx, dword [edi]
mov eax, dword [edi + 8]
push ecx
mov ecx, esi
call fcn.004575c0
mov edi, dword [edi]
cmp edi, 0xd9038
je 0x457cdb
cmp edi, 0xd9039
jne 0x457ce5
mov dword [esi + 0xd4], 1
inc ebx
cmp ebx, dword [esp + 0x30]
jb 0x457ca0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call fcn.0046aa90
add esp, 8
cmp dword [esp + 0x14], 6
jl 0x457d75
call fcn.00457630
test eax, eax
je 0x457d75
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x9c41
call fcn.0046c8c0
mov dword [esp + 0x28], ebp
mov eax, dword [eax]
push 0x44
push eax
call fcn.004786d0
add esp, 8
cmp eax, 6
sete bl
or edi, 0xffffffff
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457d6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x457d78
call fcn.004576e0
jmp 0x457d78
or edi, 0xffffffff
push str.360leakrepair_onfixing_mutex
push ebp
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp eax, ebp
jne 0x457daf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x457db8
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x457d98
cmp dword [esi + 0xd4], ebp
je 0x457e86
call fcn.004577c0
test eax, eax
je 0x457e86
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x9d18
call fcn.0046c8c0
mov dword [esp + 0x28], 1
mov eax, dword [eax]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00468430
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457e17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x457e38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00457810
lea edi, [esi + 0xd8]
mov dword [esp + 0x28], 2
call fcn.0046aff0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457e7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
call fcn.00457990
jmp 0x457ef3
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x9d17
call fcn.0046c8c0
mov dword [esp + 0x28], 3
mov eax, dword [eax]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00468430
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457ecc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x457eed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0xd4], ebp
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0xf0]
mov ecx, dword [eax]
push 1
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov ebp, eax
mov eax, dword [esi + 0xf0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov ebx, eax
lea eax, [esp + 0x34]
push eax
mov ecx, 0x9c68
call fcn.0046c8c0
mov dword [esp + 0x28], 4
mov edi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push ebp
push str.CLeakFixerMgr::DownInstLeakList
lea ecx, [esp + 0x40]
push edi
push ecx
call fcn.00468430
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457f74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457f9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jl 0x457d98
test ebx, ebx
jl 0x457d98
push 0
mov dword [esi + 0x1010], 3
call fcn.0048c4ce
mov dword [esi + 0xb0], eax
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret 8