Function at 0x4133c0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4d38
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5210b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea eax, [ebp - 0x71]
mov dword [ebp - 0x40], 0x4e1680
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4e1670
call fcn.00404150
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00413140
cmp dword [esi + 4], eax
setl bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404be0
test bl, bl
je 0x41350f
cmp byte [0x521aa4], 0
jne 0x413457
cmp byte [0x52753d], 0
je 0x413508
push 0
push ecx
push str.RebootHandler.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
mov dword [ebp - 4], 4
push 0
push ecx
push str.HKLM_RunOnce_key_appears_to_have_been_updated__reboot_is_required
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 6
cmp byte [0x521aa4], 0
je 0x4134c7
cmp byte [0x52753d], 0
jne 0x4134b9
call fcn.00489070
test al, al
je 0x4134c0
mov byte [0x52753d], 1
mov byte [0x521aa4], 0
cmp byte [0x52753d], 0
je 0x4134ed
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x50
cmovae ecx, dword [ebp - 0x6c]
call fcn.004894e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00404810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404810
mov al, 1
jmp 0x41395e
push 0
lea eax, [ebp - 0x71]
mov dword [ebp - 0x40], 0x4e1680
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4e1670
call fcn.00404150
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x40]
push 0
push eax
push SysReAllocString
call fcn.00413140
cmp dword [esi + 0xc], eax
setl bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404be0
test bl, bl
je 0x4135ec
cmp byte [0x521aa4], 0
jne 0x413576
cmp byte [0x52753d], 0
je 0x413508
push 0
push ecx
push str.RebootHandler.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
mov dword [ebp - 4], 0xd
push 0
push ecx
push str.HKCU_RunOnce_key_appears_to_have_been_updated__reboot_is_required
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x70]
push 0x55
lea ecx, [ebp - 0x40]
call fcn.00489790
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.00404810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00404810
mov al, 1
jmp 0x41395e
push 0
lea eax, [ebp - 0x71]
mov dword [ebp - 0x40], 0x4e1680
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4e1670
call fcn.00404150
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x40]
push 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00413140
cmp dword [esi + 8], eax
setl bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404be0
test bl, bl
je 0x4136b8
cmp byte [0x521aa4], 0
jne 0x413653
cmp byte [0x52753d], 0
je 0x413508
push 0
push ecx
push str.RebootHandler.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
mov dword [ebp - 4], 0x16
push 0
push ecx
push str.HKLM_64_bit_RunOnce_key_appears_to_have_been_updated__reboot_is_required
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x70]
push 0x5a
lea ecx, [ebp - 0x40]
call fcn.00489790
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40]
call fcn.00404810
jmp 0x4135d6
push 0
lea eax, [ebp - 0x71]
mov dword [ebp - 0x40], 0x4e1680
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4e1670
call fcn.00404150
mov dword [ebp - 4], 0x1c
lea eax, [ebp - 0x40]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00413140
cmp dword [esi + 0x10], eax
setl bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404be0
test bl, bl
je 0x413768
cmp byte [0x521aa4], 0
jne 0x41371f
cmp byte [0x52753d], 0
je 0x413508
sub esp, 8
lea ecx, [ebp - 0x70]
push str.RebootHandler.cpp
call fcn.00406d90
mov dword [ebp - 4], 0x1e
sub esp, 8
lea ecx, [ebp - 0x40]
push str.HKLM_RunOnceEx_key_appears_to_have_been_updated__reboot_is_required
call fcn.00406d90
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x70]
push 0x5f
lea ecx, [ebp - 0x40]
call fcn.00489790
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x40]
call fcn.00404810
jmp 0x4135d6
push 0
lea eax, [ebp - 0x71]
mov dword [ebp - 0x40], 0x4e1680
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4e1670
call fcn.00404150
mov dword [ebp - 4], 0x23
lea eax, [ebp - 0x40]
push 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00413140
cmp dword [esi + 0x14], eax
setl bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404be0
test bl, bl
je 0x413818
cmp byte [0x521aa4], 0
jne 0x4137cf
cmp byte [0x52753d], 0
je 0x413508
sub esp, 8
lea ecx, [ebp - 0x70]
push str.RebootHandler.cpp
call fcn.00406d90
mov dword [ebp - 4], 0x25
sub esp, 8
lea ecx, [ebp - 0x40]
push str.HKLM_64_bit_RunOnceEx_key_appears_to_have_been_updated__reboot_is_required
call fcn.00406d90
mov byte [ebp - 4], 0x26
lea edx, [ebp - 0x70]
push 0x64
lea ecx, [ebp - 0x40]
call fcn.00489790
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x40]
call fcn.00404810
jmp 0x4135d6
push 0
lea eax, [ebp - 0x71]
mov dword [ebp - 0x70], 0x4e1680
push eax
push str.PendingRenameFileOperations
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], 0x4e1670
call fcn.00404150
mov dword [ebp - 4], 0x2a
lea eax, [ebp - 0x71]
push 0
push eax
push str.SystemCurrentControlSetControlSession_Manager
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00404150
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
push ecx
call fcn.00413220
cmp dword [esi + 0x18], eax
setl bl
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x40]
call fcn.00404be0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00404be0
test bl, bl
je 0x4138f7
cmp byte [0x521aa4], 0
jne 0x4138ae
cmp byte [0x52753d], 0
je 0x413508
sub esp, 8
lea ecx, [ebp - 0x70]
push str.RebootHandler.cpp
call fcn.00406d90
mov dword [ebp - 4], 0x2f
sub esp, 8
lea ecx, [ebp - 0x40]
push str.PendingRenameFileOperations_key_appears_to_have_been_updated__reboot_is_required
call fcn.00406d90
mov byte [ebp - 4], 0x30
lea edx, [ebp - 0x70]
push 0x69
lea ecx, [ebp - 0x40]
call fcn.00489790
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x40]
call fcn.00404810
jmp 0x4135d6
cmp byte [0x521aa4], 0
jne 0x413909
cmp byte [0x52753d], 0
je 0x41395c
sub esp, 8
lea ecx, [ebp - 0x70]
push str.RebootHandler.cpp
call fcn.00406d90
mov dword [ebp - 4], 0x33
sub esp, 8
lea ecx, [ebp - 0x40]
push str.No_registry_indicators_appear_to_signal_a_reboot_is_pending
call fcn.00406d90
mov byte [ebp - 4], 0x34
lea edx, [ebp - 0x70]
push 0x6d
lea ecx, [ebp - 0x40]
call fcn.00489790
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x40]
call fcn.00404810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00404810
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c22a
mov esp, ebp
pop ebp
ret