Function at 0x40b480
Capabilities:
Check if file exists
Get file attributes
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cad27
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.004aa1a0
mov eax, dword [0x4fad60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x1064], ax
mov ebx, 7
xor edi, edi
push 0x2d
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea esi, [ebp - 0x1064]
mov dword [ebp - 0x1050], ebx
mov dword [ebp - 0x1054], edi
call fcn.00403e70
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x101c], edi
mov word [ebp - 0x102c], dx
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x1048], ax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1034], ebx
mov dword [ebp - 0x1038], edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40b530
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1010]
lea esi, [ebp - 0x1048]
call fcn.00403e70
lea ecx, [ebp - 0x102c]
push ecx
mov ebx, esi
mov byte [ebp - 4], 2
call fcn.0044dbd0
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1034], 8
jb 0x40b582
mov edx, dword [ebp - 0x1048]
push edx
call fcn.00490a16
add esp, 4
lea eax, [ebp - 0x102c]
push eax
mov ebx, eax
call fcn.0044dbd0
add esp, 4
xor ecx, ecx
push 0x12
mov eax, str.iLockerMonitor.exe
lea esi, [ebp - 0x1048]
mov dword [ebp - 0x1034], 7
mov dword [ebp - 0x1038], edi
mov word [ebp - 0x1048], cx
call fcn.00403e70
mov edx, ebx
push edx
mov edx, esi
lea ecx, [ebp - 0x1080]
mov byte [ebp - 4], 3
call fcn.0044e150
add esp, 4
mov edi, eax
mov esi, ebx
mov byte [ebp - 4], 4
call fcn.00409010
mov edi, 8
cmp dword [ebp - 0x106c], edi
jb 0x40b5fe
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00490a16
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov esi, 7
mov byte [ebp - 4], 1
mov dword [ebp - 0x106c], esi
mov dword [ebp - 0x1070], ebx
mov word [ebp - 0x1080], cx
cmp dword [ebp - 0x1034], edi
jb 0x40b635
mov edx, dword [ebp - 0x1048]
push edx
call fcn.00490a16
add esp, 4
mov eax, dword [ebp - 0x102c]
cmp dword [ebp - 0x1018], edi
jae 0x40b649
lea eax, [ebp - 0x102c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b65f
shr eax, 4
not eax
and eax, 1
jne 0x40b6a3
cmp dword [ebp - 0x1018], edi
jb 0x40b676
mov eax, dword [ebp - 0x102c]
push eax
call fcn.00490a16
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1018], esi
mov dword [ebp - 0x101c], ebx
mov word [ebp - 0x102c], cx
cmp dword [ebp - 0x1050], edi
jb 0x40b7bc
mov edx, dword [ebp - 0x1064]
push edx
jmp 0x40b7b4
mov eax, dword [ebp - 0x1064]
cmp dword [ebp - 0x1050], edi
jae 0x40b6b7
lea eax, [ebp - 0x1064]
lea ecx, [ebp - 0x1084]
push ecx
push 0xf003f
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b763
mov eax, dword [ebp - 0x102c]
cmp dword [ebp - 0x1018], edi
jae 0x40b6ec
lea eax, [ebp - 0x102c]
mov edx, dword [ebp - 0x101c]
lea ecx, [edx + edx]
mov edx, dword [ebp - 0x1084]
push ecx
push eax
push 1
push ebx
push 0x4de084
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x1084]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1018], edi
jb 0x40b730
mov ecx, dword [ebp - 0x102c]
push ecx
call fcn.00490a16
add esp, 4
xor edx, edx
mov dword [ebp - 0x1018], esi
mov dword [ebp - 0x101c], ebx
mov word [ebp - 0x102c], dx
cmp dword [ebp - 0x1050], edi
jb 0x40b75c
mov eax, dword [ebp - 0x1064]
push eax
call fcn.00490a16
add esp, 4
mov eax, 1
jmp 0x40b7be
push 0x4de0a4
mov esi, 0x503bc8
call fcn.004125f0
add esp, 4
cmp dword [ebp - 0x1018], edi
jb 0x40b78c
mov ecx, dword [ebp - 0x102c]
push ecx
call fcn.00490a16
add esp, 4
xor edx, edx
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], ebx
mov word [ebp - 0x102c], dx
cmp dword [ebp - 0x1050], edi
jb 0x40b7bc
mov eax, dword [ebp - 0x1064]
push eax
call fcn.00490a16
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490a21
mov esp, ebp
pop ebp
ret