Function at 0x405aa0
Capabilities:
Get common file path
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42df16
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x43e144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x248]
call fcn.00408ac0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, ds:[ebp - 0x27c]
test eax, eax
je 0x405b6e
push 0x437e68
call fcn.00408ac0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 1
call fcn.004058e0
mov ecx, dword [ebp - 0x268]
cmp ecx, 8
jb 0x405dfa
mov edx, dword ds:[ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405df0
mov edx, dword ds:[eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405e4f
jmp 0x405df0
lea eax, [ebp - 0x218]
push eax
call fcn.00408ac0
push ecx
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.00409b80
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x268]
cmp ecx, 8
jb 0x405bd3
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405bc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405e54
push ecx
push edx
call fcn.0041684f
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
push ecx
lea edx, [ebp - 0x260]
mov dword [ebp - 0x268], 7
lea ecx, [ebp - 0x230]
mov word [ebp - 0x27c], ax
call fcn.00409a40
add esp, 4
push 0
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push ecx
cmovae eax, dword [ebp - 0x248]
push 0
push 2
push 0
push 0
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop
test eax, eax
jne 0x405cf7
mov eax, dword ds:[ebp - 0x220]
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae ecx, dword [ebp - 0x230]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.UpdateCheck
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x405ce9
push 0x437ee8
lea ecx, [ebp - 0x27c]
call fcn.00408ac0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 6
call fcn.004058e0
mov ecx, dword [ebp - 0x268]
cmp ecx, 8
jb 0x405ce9
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405cdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405e59
push ecx
push edx
call fcn.0041684f
add esp, 8
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x405d5a
push 0x437f18
lea ecx, [ebp - 0x27c]
call fcn.00408ac0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 7
call fcn.004058e0
mov ecx, dword ds:[ebp - 0x268]
cmp ecx, 8
jb 0x405d5a
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405d50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405e5e
push ecx
push edx
call fcn.0041684f
add esp, 8
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x405d9a
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405d90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405e65
push ecx
push edx
call fcn.0041684f
add esp, 8
mov ecx, dword ds:[ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp ecx, 8
jb 0x405dfa
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405df0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405e65
push ecx
push edx
call fcn.0041684f
add esp, 8
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x405e36
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405e2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405e65
push ecx
push edx
call fcn.0041684f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004163f6
mov esp, ebp
pop ebp
ret
call fcn.0041c79f
call fcn.0041c79f
call fcn.0041c79f
nop
call fcn.0041c79f
call fcn.0041c79f
int3