Function at 0x401c90
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 [0x4179f0], 0x416060
mov ecx, dword [esp + 0x128]
mov dword [0x417978], 0x417980
push ecx
push ebx
push 0x417980
mov dword [0x417980], 0x84
mov dword [0x4179e4], 0x300
call fcn.00402190
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x417a04], eax
mov dword [0x417a08], ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x401d2e
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x401d30
xor eax, eax
cmp eax, ebx
mov dword [0x417a08], eax
je 0x401d3f
mov dword [0x417a0c], 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 0x401dc7
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 0x401dc7
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x401de1
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x130]
push ecx
push edx
call fcn.004017f0
add esp, 8
mov ebp, eax
mov eax, dword [0x417978]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x417a0c]
cmp eax, ebx
je 0x401e0e
cmp dword [eax + 4], ebx
jle 0x401e0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x417a0c]
mov esi, eax
cmp esi, ebx
je 0x401e24
mov ecx, esi
call fcn.00402160
push esi
call fcn.004117b0
add esp, 4
mov eax, dword [0x417978]
mov dword [0x417a0c], ebx
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x417a08]
cmp esi, ebx
je 0x401e73
mov eax, dword [esi]
mov edi, dword [sym.imp.MSVCRT.dll_free]
cmp eax, ebx
je 0x401e57
push eax
call edi
add esp, 4
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x401e67
push eax
call edi
add esp, 4
mov dword [esi + 4], ebx
push esi
mov dword [esi + 8], ebx
call fcn.004117b0
add esp, 4
mov ecx, 0x417980
test ecx, ecx
je 0x401f37
mov esi, dword [0x417990]
cmp esi, ebx
je 0x401ebb
cmp dword [esi], ebx
je 0x401ebb
mov edi, 0x64
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x401ea0
mov edx, dword [eax]
push eax
call dword [edx + 8]
push ebx
mov dword [esi + 0x10], ebx
call dword [esi + 0x20]
cmp dword [0x417980], edi
jne 0x401eb4
add esi, 0x1c
jmp 0x401eb7
add esi, 0x24
cmp dword [esi], ebx
jne 0x401e93
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x41799c
call esi
push 0x4179b4
call esi
push 0x4179cc
call esi
mov esi, dword [0x417a00]
cmp esi, ebx
je 0x401ef8
mov eax, dword [esi + 4]
push eax
call dword [esi]
mov edi, dword [esi + 8]
push esi
call fcn.004117b0
add esp, 4
cmp edi, ebx
mov esi, edi
jne 0x401ee0
cmp dword [0x417998], ebx
je 0x401f37
cmp byte [0x4179ec], bl
je 0x401f37
mov eax, dword [0x4179f8]
mov edi, dword [sym.imp.KERNEL32.dll_HeapDestroy]
cmp eax, ebx
je 0x401f2f
xor esi, esi
mov ecx, dword [0x4179f8]
mov edx, dword [ecx + esi*4]
push edx
call edi
mov eax, dword [0x4179f4]
inc esi
cmp esi, eax
jbe 0x401f19
mov eax, dword [0x417998]
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