Function at 0x4a93f8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8e8e
mov eax, dword fs:[0]
push eax
sub esp, 0x564
mov eax, dword [0x4ec06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.RunFinalWorks_Begin
push 0
call fcn.00443e68
pop ecx
pop ecx
call fcn.00440b3c
add eax, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00405d78
and dword [ebp - 4], 0
call fcn.00440b4e
add eax, 0x190
mov dword [ebp - 0x544], eax
push 2
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x544]
movzx eax, word [ecx + eax + 0x18]
test eax, eax
je 0x4a958b
push 0x4c9de8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00403d38
add esp, 0xc
mov dword [ebp - 0x54c], eax
mov eax, dword [ebp - 0x54c]
mov dword [ebp - 0x550], eax
mov byte [ebp - 4], 1
call fcn.00440b3c
add eax, 0x58
push eax
push dword [ebp - 0x550]
lea eax, [ebp - 0xe8]
push eax
call fcn.004074be
add esp, 0xc
mov dword [ebp - 0x554], eax
mov eax, dword [ebp - 0x554]
mov dword [ebp - 0x558], eax
mov byte [ebp - 4], 2
push 0x4c9de4
push dword [ebp - 0x558]
lea eax, [ebp - 0xd0]
push eax
call fcn.00403de8
add esp, 0xc
mov dword [ebp - 0x55c], eax
mov eax, dword [ebp - 0x55c]
mov dword [ebp - 0x560], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x544]
add eax, 0x18
push eax
push dword [ebp - 0x560]
lea eax, [ebp - 0x58]
push eax
call fcn.00403de8
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.00405118
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe8]
call fcn.00405118
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x100]
call fcn.00405118
push 0x4c9dec
lea ecx, [ebp - 0x40]
call fcn.00404d2c
mov byte [ebp - 4], 8
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.00445fa9
add esp, 0x14
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.00405118
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00405118
mov eax, dword [ebp - 0x544]
cmp dword [eax + 0x10], 0
je 0x4a9694
lea ecx, [ebp - 0x53c]
call fcn.0040a6f3
mov byte [ebp - 4], 9
push 0x4c9e34
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00403d38
add esp, 0xc
mov dword [ebp - 0x564], eax
mov eax, dword [ebp - 0x564]
mov dword [ebp - 0x568], eax
mov byte [ebp - 4], 0xa
push 0x4c9e10
push dword [ebp - 0x568]
lea eax, [ebp - 0x118]
push eax
call fcn.00403de8
add esp, 0xc
mov dword [ebp - 0x56c], eax
mov eax, dword [ebp - 0x56c]
mov dword [ebp - 0x570], eax
mov byte [ebp - 4], 0xb
push str.__RebootRunOnce
push dword [ebp - 0x570]
lea eax, [ebp - 0x53c]
push eax
call fcn.00405abb
pop ecx
pop ecx
push eax
call fcn.0040a68b
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x118]
call fcn.00405118
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x130]
call fcn.00405118
lea ecx, [ebp - 0x53c]
call fcn.0040a840
push eax
lea ecx, [ebp - 0x70]
call fcn.00404d2c
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x70]
push eax
push 0x4c9e38
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov ecx, 0x80000001
call fcn.004193b9
pop ecx
pop ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.00405118
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x53c]
call fcn.0040a6d0
call fcn.00440b48
movzx eax, byte [eax + 1]
test eax, eax
je 0x4a974e
call fcn.004151ff
cmp eax, 0xa
jl 0x4a974e
push 0x4c9e54
lea ecx, [ebp - 0x88]
call fcn.00404d2c
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0x28]
mov cl, 1
call fcn.0044cc9a
pop ecx
movzx eax, al
test eax, eax
jne 0x4a96ec
mov dword [ebp - 0x548], 1
jmp 0x4a96f3
and dword [ebp - 0x548], 0
mov al, byte [ebp - 0x548]
mov byte [ebp - 0x53d], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00405118
movzx eax, byte [ebp - 0x53d]
test eax, eax
je 0x4a974e
push 0x4c9ed4
lea ecx, [ebp - 0xa0]
call fcn.00404d2c
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x28]
mov cl, 1
call fcn.0044d250
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00405118
call fcn.00440b48
movzx eax, byte [eax + 1]
test eax, eax
je 0x4a979a
call fcn.004151ff
cmp eax, 0xd
jl 0x4a979a
push 0x4c9ef8
lea ecx, [ebp - 0xb8]
call fcn.00404d2c
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0xb8]
push eax
lea edx, [ebp - 0x28]
mov cl, 1
call fcn.0044d265
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.00405118
push str.RunFinalWorks_End
push 0
call fcn.00443e68
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405118
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461014
leave
ret