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

Disassembly:
mov eax, 0x466fed
call fcn.0045962c
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 0x4420f8
lea eax, [ebp - 0x2a]
mov edi, 0x46ab58
mov esi, 0x46ab50
push 0
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x48], esi
call fcn.00408dad
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.00408dad
lea eax, [ebp - 0x21]
push 1
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
call fcn.00408dad
push str._RUN_ONCE_PROGRAM_
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.00423d5c
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xb8]
push eax
call fcn.00445955
mov ecx, dword [eax]
mov byte [ebp - 4], 4
mov byte [eax + 4], 1
call fcn.0041726a
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 0x441c57
mov ecx, dword [ebp - 0x34]
push dword [ecx + 0x1c]
call fcn.00416ee0
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 5
call fcn.00443774
push dword [0x46a91c]
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.004091d7
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.0040bf10
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x68]
push eax
mov dword [ebp - 4], 3
call fcn.00417a8b
mov ecx, dword [eax]
mov byte [ebp - 4], 8
mov byte [eax + 4], 1
call fcn.0041726a
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.00418498
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xa
call fcn.00443774
push dword [0x46a91c]
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.004091d7
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xa
call fcn.0040bf10
jmp 0x441d4a
lea eax, [ebp - 0xb8]
push 4
push eax
mov dword [ebp - 4], 3
call fcn.00429b36
pop ecx
test al, al
pop ecx
je 0x4420ce
lea eax, [ebp - 0x68]
push str.setup.ilg
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00429f47
add esp, 0xc
push 4
push eax
mov byte [ebp - 4], 0xd
call fcn.00429b36
pop ecx
mov bl, al
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
call fcn.0040bf10
test bl, bl
je 0x4420ce
lea eax, [ebp - 0x2b]
push 1
push eax
push str.reboot.ini
lea ecx, [ebp - 0x90]
call fcn.00416fa1
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xe
call fcn.00429d79
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.0040bf10
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x68]
push eax
call fcn.0042e7ec
mov esi, eax
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0xf
call fcn.0042e7ec
push 0x4819d0
push eax
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0x10
push eax
call fcn.00443505
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x11
push eax
call fcn.0042e518
add esp, 0xc
push dword [0x46a91c]
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.00429e4b
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.0040bf10
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x10
call fcn.0040bf10
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xf
call fcn.0040bf10
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 3
call fcn.0040bf10
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.00445955
mov ecx, dword [eax]
mov byte [ebp - 4], 0x13
mov byte [eax + 4], 1
call fcn.0041726a
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 0x441ed3
mov ecx, dword [ebp - 0x34]
push dword [ecx + 0x1c]
call fcn.00416ee0
push edi
lea eax, [ebp - 0x128]
push 0x4819cc
push eax
call fcn.004435f3
add esp, 0xc
push dword [0x46a91c]
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.00429e4b
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 3
call fcn.0040bf10
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x48]
push eax
call fcn.0044253f
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 0x441fa6
lea eax, [ebp - 0x30]
add ecx, 0x34
push eax
call fcn.0044253f
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 0x441f9c
lea ecx, [eax + 0x34]
call fcn.00403315
mov ebx, eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xc]
call fcn.004171f3
mov esi, eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0xc]
call fcn.004171f3
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.004171f3
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.0043fa92
xor ebx, ebx
jmp 0x441f52
lea ecx, [ebp - 0x20]
call fcn.004426fc
jmp 0x441f30
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 0x441ff2
cmp dword [ebp - 0x208], 4
ja 0x441fe0
jne 0x441ff2
cmp dword [ebp - 0x204], ebx
jbe 0x441ff2
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceExInstallShieldSetup
jmp 0x442002
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 0x442065
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 0x442033
mov eax, dword [ebp - 0xf4]
add eax, eax
push eax
call fcn.004597af
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.004171f3
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 0x4420c0
push esi
call fcn.004523d5
pop ecx
cmp dword [ebp - 0x18], edi
je 0x4420ce
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
call fcn.0040bf10
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.0040bf10
and byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0040bf10
mov eax, dword [ebp - 0x28]
xor edi, edi
cmp byte [eax + 0xd], 0
je 0x44215e
mov esi, dword [sym.imp.USER32.dll_ExitWindowsEx]
push edi
push 2
pop ebx
push ebx
call esi
test eax, eax
jne 0x44215e
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 0x44215e
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 0x44215e
push edi
push ebx
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret