Function at 0x401df0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcA]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor ebp, ebp
mov dword [0x417a50], 0x416060
mov ecx, dword [esp + 0x128]
mov dword [0x4179d8], 0x4179e0
push ecx
push ebx
push 0x4179e0
mov dword [0x4179e0], 0x84
mov dword [0x417a44], 0x300
call fcn.004022c0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x417a64], eax
mov dword [0x417a68], ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x401e8e
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x401e90
xor eax, eax
cmp eax, ebx
mov dword [0x417a68], eax
je 0x401e9f
mov dword [0x417a6c], ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp byte [esp + 0x20], bl
je 0x401f27
mov edi, str.360leakfixer.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.360leakfixer.exe
push edx
call dword [sym.imp.MSVCRT.dll__mbsnbcat]
mov al, byte [esp + 0x2c]
add esp, 0xc
cmp al, bl
je 0x401f27
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x401f41
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x130]
push ecx
push edx
call fcn.00401940
add esp, 8
mov ebp, eax
mov eax, dword [0x4179d8]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x417a6c]
cmp eax, ebx
je 0x401f6e
cmp dword [eax + 4], ebx
jle 0x401f6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x417a6c]
mov esi, eax
cmp esi, ebx
je 0x401f84
mov ecx, esi
call fcn.00402350
push esi
call fcn.00411910
add esp, 4
mov eax, dword [0x4179d8]
mov dword [0x417a6c], ebx
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x417a68]
cmp esi, ebx
je 0x401fd3
mov eax, dword [esi]
mov edi, dword [sym.imp.MSVCRT.dll_free]
cmp eax, ebx
je 0x401fb7
push eax
call edi
add esp, 4
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x401fc7
push eax
call edi
add esp, 4
mov dword [esi + 4], ebx
push esi
mov dword [esi + 8], ebx
call fcn.00411910
add esp, 4
mov ecx, 0x4179e0
test ecx, ecx
je 0x402097
mov esi, dword [0x4179f0]
cmp esi, ebx
je 0x40201b
cmp dword [esi], ebx
je 0x40201b
mov edi, 0x64
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x402000
mov edx, dword [eax]
push eax
call dword [edx + 8]
push ebx
mov dword [esi + 0x10], ebx
call dword [esi + 0x20]
cmp dword [0x4179e0], edi
jne 0x402014
add esi, 0x1c
jmp 0x402017
add esi, 0x24
cmp dword [esi], ebx
jne 0x401ff3
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x4179fc
call esi
push 0x417a14
call esi
push 0x417a2c
call esi
mov esi, dword [0x417a60]
cmp esi, ebx
je 0x402058
mov eax, dword [esi + 4]
push eax
call dword [esi]
mov edi, dword [esi + 8]
push esi
call fcn.00411910
add esp, 4
cmp edi, ebx
mov esi, edi
jne 0x402040
cmp dword [0x4179f8], ebx
je 0x402097
cmp byte [0x417a4c], bl
je 0x402097
mov eax, dword [0x417a58]
mov edi, dword [sym.imp.KERNEL32.dll_HeapDestroy]
cmp eax, ebx
je 0x40208f
xor esi, esi
mov ecx, dword [0x417a58]
mov edx, dword [ecx + esi*4]
push edx
call edi
mov eax, dword [0x417a54]
inc esi
cmp esi, eax
jbe 0x402079
mov eax, dword [0x4179f8]
push eax
call edi
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x10