Function at 0x4313a0
Capabilities:
Check if file exists
Delete registry value
Persist via app paths registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513e9f
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x56e6c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.AutoRun_Interval
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.ShortCut
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp dword [edi + 4], 1
lea esi, [edi + 4]
jl 0x43141a
push 4
push esi
push 4
push str.AutoRun_Interval
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049d980
add esp, 0xc
call fcn.00440710
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
push str.Utils_arctrl.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.0045d990
add esp, 4
test eax, eax
je 0x431493
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x431493
push str.SetArParm
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431493
push dword [esi]
push 1
call eax
call fcn.00440710
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jne 0x4314ff
call fcn.0042c4e0
mov ecx, eax
call fcn.004210c0
push eax
lea ecx, [ebp - 0x224]
call fcn.00430040
mov esi, dword [ebp - 0x224]
push 0x52b800
push esi
mov dword [ebp - 4], 0
call fcn.004b8e58
add esp, 8
test eax, eax
jne 0x4314e0
mov ecx, edi
call fcn.00431120
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4314ff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.00431ad0
mov ecx, edi
call fcn.00431860
cmp dword [0x571d58], 0
je 0x4316b6
mov ecx, dword [0x575ea0]
test ecx, ecx
jne 0x431581
push 0x56d388
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x575ea0], 0
jne 0x431568
push 0x1c
call fcn.0043e8f0
mov esi, eax
add esp, 4
mov dword [ebp - 0x21c], esi
test esi, esi
je 0x431560
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x431562
xor esi, esi
mov dword [0x575ea0], esi
push 0x56d388
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x575ea0]
test ecx, ecx
jne 0x431581
xor eax, eax
jmp 0x4315e3
mov eax, dword [0x575e9c]
test eax, eax
jne 0x4315e3
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x575e9c], 0
jne 0x4315d3
push 0x6c
call fcn.0043e8f0
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4315be
mov ecx, eax
call fcn.004209f0
mov ecx, eax
jmp 0x4315c0
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x224], eax
mov dword [0x575e9c], ecx
mov eax, dword [0x575ea0]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x575e9c]
mov ecx, eax
call fcn.00423190
test eax, eax
je 0x431748
push 4
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
push eax
push 4
push str.navigation
push str.SoftwareNavPlugin
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049d980
add esp, 0xc
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x526fd4
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x431748
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431748
push str.HaloWp.set
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathAppendW]
call eax
lea eax, [ebp - 0x218]
push eax
push 0x527b64
push 0x52b9ec
jmp 0x43173d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049d980
add esp, 0xc
mov dword [ebp - 0x228], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x526fd4
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x431748
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431748
push str.HaloWp.set
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathAppendW]
call eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.three_end
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [edi + 0x18]
cmp dword [eax - 0xc], 0
je 0x431836
mov ecx, dword [0x571d54]
test ecx, ecx
jne 0x4317bc
push 0x56ce74
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x571d54], 0
jne 0x4317a3
push 0x1c
call fcn.0043e8f0
mov esi, eax
add esp, 4
mov dword [ebp - 0x21c], esi
test esi, esi
je 0x43179b
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x43179d
xor esi, esi
mov dword [0x571d54], esi
push 0x56ce74
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x571d54]
test ecx, ecx
jne 0x4317bc
xor edx, edx
jmp 0x431820
mov edx, dword [0x571d50]
test edx, edx
jne 0x431820
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x571d50], 0
jne 0x43180f
push 0x20
call fcn.0043e8f0
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4317fa
mov ecx, eax
call fcn.00416cf0
mov ecx, eax
jmp 0x4317fc
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x21c], eax
mov dword [0x571d50], ecx
mov eax, dword [0x571d54]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [0x571d50]
sub esp, 0x28
mov eax, esp
push 0
mov dword [eax + 0x24], 0
push dword [edi + 0x18]
mov eax, dword [edx]
push edx
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483518
mov esp, ebp
pop ebp
ret