Function at 0x41004e
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x434354
call fcn.0042617c
sub esp, 0x50
mov eax, dword [0x4447d4]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x41027c
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x41027c
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4100af
lea ecx, [ebp - 0x10]
call fcn.004069ad
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push esi
push edi
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004042fb
mov esi, 0x436448
mov dword [ebp - 0x3c], esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
call fcn.00405245
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040ab9d
lea ecx, [ebp - 0x18]
mov edi, str.ISUSPM
push ecx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040ab62
lea eax, [ebp - 0x1c]
mov ecx, 0x4447c8
push eax
call fcn.00412b16
push dword [eax]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.004030c1
mov dword [ebp - 0x4c], 0x436480
push dword [ebp - 0x1c]
mov byte [ebp - 4], 6
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp word [str.__scheduler], bx
mov eax, str.__scheduler
mov ecx, eax
je 0x41015c
inc ecx
inc ecx
cmp word [ecx], bx
jne 0x410155
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404b27
push dword [ebp - 0x40]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004042fb
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 8
call fcn.00403d99
test eax, eax
mov esi, 0x2001f
je 0x410201
cmp dword [ebp - 0x10], ebx
je 0x4101af
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push esi
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4101da
lea ecx, [ebp - 0x10]
call fcn.004069ad
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
call fcn.00403c8a
mov eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 0x10], ebx
je 0x410212
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push esi
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x410249
lea ecx, [ebp - 0x10]
call fcn.004069ad
mov ecx, dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x410249
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004031de
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0040311b
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.004031de
cmp dword [ebp - 0x10], ebx
pop edi
pop esi
je 0x41027c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor al, al
pop ebx
mov dword fs:[0], ecx
leave
ret