Function at 0x1002a1d0
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 0x100f182f
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10136674]
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 0x1002a24a
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.1007bae0
add esp, 0xc
call fcn.10037480
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.10052bd0
add esp, 4
test eax, eax
je 0x1002a2c3
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1002a2c3
push str.SetArParm
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002a2c3
push dword [esi]
push 1
call eax
call fcn.10037480
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jne 0x1002a32f
call fcn.10025080
mov ecx, eax
call fcn.1001cb90
push eax
lea ecx, [ebp - 0x220]
call fcn.10029030
mov esi, dword [ebp - 0x220]
push str.home
push esi
mov dword [ebp - 4], 0
call fcn.10096fb8
add esp, 8
test eax, eax
jne 0x1002a310
mov ecx, edi
call fcn.10029f50
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002a32f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.1002a850
mov ecx, edi
call fcn.1002a5e0
mov ecx, dword [0x10139b24]
test ecx, ecx
jne 0x1002a3a4
push 0x101352e8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10139b24], 0
jne 0x1002a38b
push 0x1c
call fcn.10035660
mov esi, eax
add esp, 4
mov dword [ebp - 0x21c], esi
test esi, esi
je 0x1002a383
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1002a385
xor esi, esi
mov dword [0x10139b24], esi
push 0x101352e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10139b24]
test ecx, ecx
jne 0x1002a3a4
xor eax, eax
jmp 0x1002a406
mov eax, dword [0x10139b20]
test eax, eax
jne 0x1002a406
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x10139b20], 0
jne 0x1002a3f6
push 0x68
call fcn.10035660
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x1002a3e1
mov ecx, eax
call fcn.1001c4a0
mov ecx, eax
jmp 0x1002a3e3
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x220], eax
mov dword [0x10139b20], ecx
mov eax, dword [0x10139b24]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x10139b20]
mov ecx, eax
call fcn.1001e9f0
test eax, eax
je 0x1002a4d6
push 4
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 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.1007bae0
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x100fe3bc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1002a4d6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002a4d6
push str.HaloWp.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0x100ff01c
push 0x101005a4
push str.three_end
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [edi + 0x18]
cmp dword [eax - 0xc], 0
je 0x1002a5c4
mov ecx, dword [0x10139a7c]
test ecx, ecx
jne 0x1002a54a
push 0x10134e2c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10139a7c], 0
jne 0x1002a531
push 0x1c
call fcn.10035660
mov esi, eax
add esp, 4
mov dword [ebp - 0x21c], esi
test esi, esi
je 0x1002a529
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1002a52b
xor esi, esi
mov dword [0x10139a7c], esi
push 0x10134e2c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10139a7c]
test ecx, ecx
jne 0x1002a54a
xor edx, edx
jmp 0x1002a5ae
mov edx, dword [0x10139a78]
test edx, edx
jne 0x1002a5ae
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x10139a78], 0
jne 0x1002a59d
push 0x20
call fcn.10035660
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x1002a588
mov ecx, eax
call fcn.10012580
mov ecx, eax
jmp 0x1002a58a
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x21c], eax
mov dword [0x10139a78], ecx
mov eax, dword [0x10139a7c]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [0x10139a78]
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.10069b58
mov esp, ebp
pop ebp
ret