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

Disassembly:
mov eax, 0x467ea9
call fcn.0045a480
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 0x44294c
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.00408cfb
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.00408cfb
lea eax, [ebp - 0x21]
push 1
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
call fcn.00408cfb
push str._RUN_ONCE_PROGRAM_
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.00423cf4
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xb8]
push eax
call fcn.0042bb27
mov ecx, dword [eax]
mov byte [ebp - 4], 4
mov byte [eax + 4], 1
call fcn.00417191
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 0x4424ab
mov ecx, dword [ebp - 0x34]
push dword [ecx + 0x1c]
call fcn.00416dd9
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 5
call fcn.00443eb3
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.00409125
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.0040c1bb
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x68]
push eax
mov dword [ebp - 4], 3
call fcn.00417993
mov ecx, dword [eax]
mov byte [ebp - 4], 8
mov byte [eax + 4], 1
call fcn.00417191
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.00416e16
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xa
call fcn.00443eb3
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.00409125
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xa
call fcn.0040c1bb
jmp 0x44259e
lea eax, [ebp - 0xb8]
push 4
push eax
mov dword [ebp - 4], 3
call fcn.00427b91
pop ecx
test al, al
pop ecx
je 0x442922
lea eax, [ebp - 0x68]
push str.setup.ilg
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0042a111
add esp, 0xc
push 4
push eax
mov byte [ebp - 4], 0xd
call fcn.00427b91
pop ecx
mov bl, al
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
call fcn.0040c1bb
test bl, bl
je 0x442922
lea eax, [ebp - 0x2b]
push 1
push eax
push str.reboot.ini
lea ecx, [ebp - 0x90]
call fcn.00416eab
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xe
call fcn.00429f43
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.0040c1bb
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x68]
push eax
call fcn.0042eccc
mov esi, eax
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0xf
call fcn.0042eccc
push 0x482b18
push eax
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0x10
push eax
call fcn.0042cb38
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x11
push eax
call fcn.0042e902
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.0042a015
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.0040c1bb
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x10
call fcn.0040c1bb
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xf
call fcn.0040c1bb
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 3
call fcn.0040c1bb
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.0042bb27
mov ecx, dword [eax]
mov byte [ebp - 4], 0x13
mov byte [eax + 4], 1
call fcn.00417191
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 0x442727
mov ecx, dword [ebp - 0x34]
push dword [ecx + 0x1c]
call fcn.00416dd9
push edi
lea eax, [ebp - 0x128]
push 0x482b14
push eax
call fcn.00443d32
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.0042a015
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 3
call fcn.0040c1bb
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x48]
push eax
call fcn.00442d6c
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 0x4427fa
lea eax, [ebp - 0x30]
add ecx, 0x34
push eax
call fcn.00442d6c
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 0x4427f0
lea ecx, [eax + 0x34]
call fcn.00403312
mov ebx, eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xc]
call fcn.0041711a
mov esi, eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0xc]
call fcn.0041711a
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.0041711a
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.0044030d
xor ebx, ebx
jmp 0x4427a6
lea ecx, [ebp - 0x20]
call fcn.00442f29
jmp 0x442784
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 0x442846
cmp dword [ebp - 0x208], 4
ja 0x442834
jne 0x442846
cmp dword [ebp - 0x204], ebx
jbe 0x442846
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceExInstallShieldSetup
jmp 0x442856
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 0x4428b9
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 0x442887
mov eax, dword [ebp - 0xf4]
add eax, eax
push eax
call fcn.0045a603
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.0041711a
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 0x442914
push esi
call fcn.00452fcd
pop ecx
cmp dword [ebp - 0x18], edi
je 0x442922
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
call fcn.0040c1bb
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.0040c1bb
and byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0040c1bb
mov eax, dword [ebp - 0x28]
xor edi, edi
cmp byte [eax + 0xd], 0
je 0x4429b2
mov esi, dword [sym.imp.USER32.dll_ExitWindowsEx]
push edi
push 2
pop ebx
push ebx
call esi
test eax, eax
jne 0x4429b2
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 0x4429b2
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 0x4429b2
push edi
push ebx
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret