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

Disassembly:
mov eax, 0x469d11
call fcn.0045c1cc
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 0x443536
lea eax, [ebp - 0x2a]
mov edi, 0x46cb98
mov esi, 0x46cb90
push 0
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x48], esi
call fcn.00408d96
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.00408d96
lea eax, [ebp - 0x21]
push 1
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
call fcn.00408d96
push str._RUN_ONCE_PROGRAM_
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.00423efc
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xb8]
push eax
call fcn.0042c15d
mov ecx, dword [eax]
mov byte [ebp - 4], 4
mov byte [eax + 4], 1
call fcn.004173c1
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 0x443095
mov ecx, dword [ebp - 0x34]
push dword [ecx + 0x1c]
call fcn.0041702f
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 5
call fcn.00444ac9
push dword [0x46c958]
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.004091c0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.0040be02
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x68]
push eax
mov dword [ebp - 4], 3
call fcn.00417939
mov ecx, dword [eax]
mov byte [ebp - 4], 8
mov byte [eax + 4], 1
call fcn.004173c1
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.0041860d
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xa
call fcn.00444ac9
push dword [0x46c958]
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.004091c0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xa
call fcn.0040be02
jmp 0x443188
lea eax, [ebp - 0xb8]
push 4
push eax
mov dword [ebp - 4], 3
call fcn.00427f15
pop ecx
test al, al
pop ecx
je 0x44350c
lea eax, [ebp - 0x68]
push str.setup.ilg
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0042a733
add esp, 0xc
push 4
push eax
mov byte [ebp - 4], 0xd
call fcn.00427f15
pop ecx
mov bl, al
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
call fcn.0040be02
test bl, bl
je 0x44350c
lea eax, [ebp - 0x2b]
push 1
push eax
push str.reboot.ini
lea ecx, [ebp - 0x90]
call fcn.004170f0
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xe
call fcn.0042a565
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.0040be02
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x68]
push eax
call fcn.0042f543
mov esi, eax
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0xf
call fcn.0042f543
push 0x483b70
push eax
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0x10
push eax
call fcn.0042d0c6
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x11
push eax
call fcn.0042d05f
add esp, 0xc
push dword [0x46c958]
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.0042a637
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.0040be02
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x10
call fcn.0040be02
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xf
call fcn.0040be02
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 3
call fcn.0040be02
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.0042c15d
mov ecx, dword [eax]
mov byte [ebp - 4], 0x13
mov byte [eax + 4], 1
call fcn.004173c1
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 0x443311
mov ecx, dword [ebp - 0x34]
push dword [ecx + 0x1c]
call fcn.0041702f
push edi
lea eax, [ebp - 0x128]
push 0x483b6c
push eax
call fcn.00444948
add esp, 0xc
push dword [0x46c958]
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.0042a637
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 3
call fcn.0040be02
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x48]
push eax
call fcn.00417674
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 0x4433e4
lea eax, [ebp - 0x30]
add ecx, 0x34
push eax
call fcn.00417674
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 0x4433da
lea ecx, [eax + 0x34]
call fcn.00403319
mov ebx, eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xc]
call fcn.0041734a
mov esi, eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0xc]
call fcn.0041734a
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.0041734a
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.00440f19
xor ebx, ebx
jmp 0x443390
lea ecx, [ebp - 0x20]
call fcn.00443b3f
jmp 0x44336e
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 0x443430
cmp dword [ebp - 0x208], 4
ja 0x44341e
jne 0x443430
cmp dword [ebp - 0x204], ebx
jbe 0x443430
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceExInstallShieldSetup
jmp 0x443440
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
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 0x4434a3
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 0x443471
mov eax, dword [ebp - 0xf4]
add eax, eax
push eax
call fcn.0045c34f
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.0041734a
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 0x4434fe
push esi
call fcn.0045bbb5
pop ecx
cmp dword [ebp - 0x18], edi
je 0x44350c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
call fcn.0040be02
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.0040be02
and byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0040be02
mov eax, dword [ebp - 0x28]
xor edi, edi
cmp byte [eax + 0xd], 0
je 0x44359c
mov esi, dword [sym.imp.USER32.dll_ExitWindowsEx]
push edi
push 2
pop ebx
push ebx
call esi
test eax, eax
jne 0x44359c
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 0x44359c
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 0x44359c
push edi
push ebx
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret