Function at 0x4382f7
Capabilities:
Delete file
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x460c68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b990]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
push str.CScannerApp::CleanInstallStubTraces
lea ecx, [esp + 0x34]
call fcn.00407111
and dword [esp + 0x3c], 0
mov edi, 0x48c1ac
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b], 1
call fcn.00405f70
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x40], 1
call fcn.004531ea
pop ecx
mov esi, str.Setup.exe
push esi
lea ecx, [esp + 0x1c]
call fcn.0040811d
push dword [esp + 0x18]
call fcn.00452996
test al, al
pop ecx
mov ebp, 0x46e4ec
mov ebx, 0x488018
je 0x4383db
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4383ac
mov eax, dword [0x488018]
cmp eax, ebx
je 0x4383db
test byte [eax + 0x1c], 1
je 0x4383db
cmp byte [eax + 0x19], 4
jb 0x4383db
push esi
push ebp
push 0xc4
jmp 0x4383cd
mov byte [esp + 0x17], 0
mov eax, dword [0x488018]
cmp eax, ebx
je 0x4383db
test byte [eax + 0x1c], 1
je 0x4383db
cmp byte [eax + 0x19], 4
jb 0x4383db
push esi
push ebp
push 0xc5
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004070b8
add esp, 0x14
and dword [esp + 0x20], 0
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 2
call fcn.00402e79
test eax, eax
jne 0x438499
mov esi, str.NSSInstallation
push esi
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, 2
jne 0x438438
mov eax, dword [0x488018]
cmp eax, ebx
je 0x438499
test byte [eax + 0x1c], 1
je 0x438499
cmp byte [eax + 0x19], 4
jb 0x438499
push esi
push ebp
push 0xc6
jmp 0x43848b
test eax, eax
je 0x43846f
mov byte [esp + 0x17], 0
mov ecx, dword [0x488018]
cmp ecx, ebx
je 0x438499
test byte [ecx + 0x1c], 1
je 0x438499
cmp byte [ecx + 0x19], 4
jb 0x438499
push eax
push esi
push ebp
push 0xc7
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.00426ba7
add esp, 0x18
jmp 0x438499
mov eax, dword [0x488018]
cmp eax, ebx
je 0x438499
test byte [eax + 0x1c], 1
je 0x438499
cmp byte [eax + 0x19], 4
jb 0x438499
push esi
push ebp
push 0xc8
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004070b8
add esp, 0x14
lea ecx, [esp + 0x20]
call fcn.00402e14
push edi
lea ecx, [esp + 0x2c]
call fcn.00405f70
mov esi, str.NSSstub
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 3
call fcn.004081a9
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x44], 4
call fcn.00434034
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
mov edi, eax
mov byte [esp + 0x3c], 3
call fcn.00402703
cmp edi, 0x80070002
jne 0x438511
mov eax, dword [0x488018]
cmp eax, ebx
je 0x438571
test byte [eax + 0x1c], 1
je 0x438571
cmp byte [eax + 0x19], 4
jb 0x438571
push esi
push ebp
push 0xc9
jmp 0x438563
test edi, edi
jge 0x438547
mov eax, dword [0x488018]
cmp eax, ebx
je 0x438540
test byte [eax + 0x1c], 1
je 0x438540
cmp byte [eax + 0x19], 4
jb 0x438540
push edi
push esi
push ebp
push 0xca
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00426ba7
add esp, 0x18
mov byte [esp + 0x17], 0
jmp 0x438571
mov eax, dword [0x488018]
cmp eax, ebx
je 0x438571
test byte [eax + 0x1c], 1
je 0x438571
cmp byte [eax + 0x19], 4
jb 0x438571
push esi
push ebp
push 0xcb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004070b8
add esp, 0x14
mov esi, dword [esp + 0x28]
cmp dword [esi - 0xc], 0
je 0x4385ea
push esi
call fcn.00452996
test al, al
pop ecx
je 0x4385ea
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4385af
mov eax, dword [0x488018]
cmp eax, ebx
je 0x4385ea
test byte [eax + 0x1c], 1
je 0x4385ea
cmp byte [eax + 0x19], 4
jb 0x4385ea
push esi
push ebp
push 0xcc
jmp 0x4385dc
mov byte [esp + 0x17], 0
mov eax, dword [0x488018]
cmp eax, ebx
je 0x438692
test byte [eax + 0x1c], 1
je 0x438692
cmp byte [eax + 0x19], 4
jb 0x438692
push esi
push ebp
push 0xcd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004070b8
add esp, 0x14
cmp byte [esp + 0x17], 0
je 0x438692
and dword [esp + 0x1c], 0
push dword [0x4897a4]
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 5
call fcn.004081a9
push 0x2001f
push dword [esp + 0x30]
lea ecx, [esp + 0x24]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402e79
test eax, eax
jne 0x438674
and dword [esp + 0x28], eax
push 4
lea eax, [esp + 0x2c]
push eax
push 4
push 0
push str.CleanInstallStub
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x438674
mov eax, dword [0x488018]
cmp eax, ebx
je 0x438674
test byte [eax + 0x1c], 1
je 0x438674
cmp byte [eax + 0x19], 4
jb 0x438674
push ebp
push 0xce
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
lea ecx, [esp + 0x1c]
call fcn.00402e14
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.00402703
lea ecx, [esp + 0x1c]
call fcn.00402e14
lea ecx, [esi - 0x10]
call fcn.00402703
lea ecx, [esp + 0x20]
call fcn.00402e14
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402703
lea ecx, [esp + 0x30]
call fcn.00407157
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret