Function at 0x4424f1
Capabilities:
Manipulate boot configuration
Persist via run registry key
Query or enumerate registry value
Set registry value
Shutdown system

Disassembly:
mov eax, 0x468449
call fcn.0045aa08
sub esp, 0x200
and dword [ebp - 4], 0
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x28], ebx
cmp byte [ebx + 0xc], 0
mov dword [ebp - 0x10], esp
je 0x442a60
lea eax, [ebp - 0x2a]
mov edi, 0x46bb80
mov esi, 0x46bb78
push 0
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x48], esi
call fcn.00408d99
lea eax, [ebp - 0x29]
push 0
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0x98], esi
call fcn.00408d99
lea eax, [ebp - 0x21]
push 1
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
call fcn.00408d99
push str._RUN_ONCE_PROGRAM_
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.00423a81
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xb8]
push eax
call fcn.0042ba2c
mov ecx, dword [eax]
mov byte [ebp - 4], 4
mov byte [eax + 4], 1
call fcn.00416f86
mov ecx, dword [ebx + 0x58]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x24]
cmp byte [ebp - 0x30], 0
mov byte [ebp - 4], 3
je 0x4425bf
mov ecx, dword [ebp - 0x34]
push dword [ecx + 0x1c]
call fcn.00416be7
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 5
call fcn.00444025
push dword [0x46b940]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 6
neg ecx
sbb ecx, ecx
push 0
and ecx, eax
push ecx
lea ecx, [ebp - 0xb4]
call fcn.004091c3
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.0040be47
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x68]
push eax
mov dword [ebp - 4], 3
call fcn.00417788
mov ecx, dword [eax]
mov byte [ebp - 4], 8
mov byte [eax + 4], 1
call fcn.00416f86
push str.DISK1TARGET
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
push esi
push dword [ebp - 0x14]
mov byte [ebp - 4], 9
mov eax, dword [eax + 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00418195
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xa
call fcn.00444025
push dword [0x46b940]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0xb
neg ecx
sbb ecx, ecx
push 0
and ecx, eax
push ecx
lea ecx, [ebp - 0x64]
call fcn.004091c3
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xa
call fcn.0040be47
jmp 0x4426b2
lea eax, [ebp - 0xb8]
push 4
push eax
mov dword [ebp - 4], 3
call fcn.00427931
pop ecx
test al, al
pop ecx
je 0x442a36
lea eax, [ebp - 0x68]
push str.setup.ilg
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00429fe3
add esp, 0xc
push 4
push eax
mov byte [ebp - 4], 0xd
call fcn.00427931
pop ecx
mov bl, al
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
call fcn.0040be47
test bl, bl
je 0x442a36
lea eax, [ebp - 0x2b]
push 1
push eax
push str.reboot.ini
lea ecx, [ebp - 0x90]
call fcn.00416ca8
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xe
call fcn.00429e15
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.0040be47
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x68]
push eax
call fcn.0042eb39
mov esi, eax
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0xf
call fcn.0042eb39
push 0x482b38
push eax
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0x10
push eax
call fcn.0042ca25
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x11
push eax
call fcn.0042e7ae
add esp, 0xc
push dword [0x46b940]
mov ecx, eax
xor ebx, ebx
add eax, 4
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
mov byte [ebp - 4], 0x12
push ecx
lea ecx, [ebp - 0xfc]
call fcn.00429ee7
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.0040be47
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x10
call fcn.0040be47
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xf
call fcn.0040be47
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 3
call fcn.0040be47
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.0042ba2c
mov ecx, dword [eax]
mov byte [ebp - 4], 0x13
mov byte [eax + 4], 1
call fcn.00416f86
mov ecx, dword [esi + 0x58]
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x24]
cmp byte [ebp - 0x30], bl
mov byte [ebp - 4], 3
je 0x44283b
mov ecx, dword [ebp - 0x34]
push dword [ecx + 0x1c]
call fcn.00416be7
push edi
lea eax, [ebp - 0x128]
push 0x482b34
push eax
call fcn.00443ea4
add esp, 0xc
push dword [0x46b940]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0x14
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0xfc]
call fcn.00429ee7
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 3
call fcn.0040be47
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x48]
push eax
call fcn.00442ede
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x40]
je 0x44290e
lea eax, [ebp - 0x30]
add ecx, 0x34
push eax
call fcn.00442ede
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
je 0x442904
lea ecx, [eax + 0x34]
call fcn.0040335e
mov ebx, eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xc]
call fcn.00416f0f
mov esi, eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0xc]
call fcn.00416f0f
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.00416f0f
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.00440480
xor ebx, ebx
jmp 0x4428ba
lea ecx, [ebp - 0x20]
call fcn.0044309b
jmp 0x442898
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0x15
push eax
mov dword [ebp - 0x20c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1fc], 1
jne 0x44295a
cmp dword [ebp - 0x208], 4
ja 0x442948
jne 0x44295a
cmp dword [ebp - 0x204], ebx
jbe 0x44295a
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceExInstallShieldSetup
jmp 0x44296a
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, str.InstallShieldSetup
lea edi, [ebp - 0xd8]
mov esi, ebx
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xc5]
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop esi
xor edi, edi
push edi
push edi
push edi
lea eax, [ebp - 0xd8]
push edi
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4429cd
push esi
push ebx
lea eax, [ebp - 0xd8]
push str._s_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
inc esi
jmp 0x44299b
mov eax, dword [ebp - 0xf4]
add eax, eax
push eax
call fcn.0045ab8b
mov esi, eax
pop ecx
cmp esi, edi
mov dword [ebp - 0x30], esi
setne byte [ebp - 0x34]
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x16
call fcn.00416f0f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push 1
lea eax, [ebp - 0xd8]
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp byte [ebp - 0x34], 0
je 0x442a28
push esi
call fcn.0045319f
pop ecx
cmp dword [ebp - 0x18], edi
je 0x442a36
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
call fcn.0040be47
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.0040be47
and byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0040be47
mov eax, dword [ebp - 0x28]
xor edi, edi
cmp byte [eax + 0xd], 0
je 0x442ac6
mov esi, dword [sym.imp.USER32.dll_ExitWindowsEx]
push edi
push 2
pop ebx
push ebx
call esi
test eax, eax
jne 0x442ac6
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x442ac6
lea eax, [ebp - 0x38]
push eax
push str.SeShutdownPrivilege
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push edi
push edi
lea eax, [ebp - 0x3c]
push edi
push eax
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x442ac6
push edi
push ebx
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret