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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f735
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x42c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402363
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x421220
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x40235a
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x6c]
call fcn.00403cb0
push 0x428878
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00403ea0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x58]
cmp ecx, 8
jb 0x402180
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402176
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402381
push ecx
push edx
call fcn.0040d005
add esp, 8
push dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x34]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0xb
jb 0x402386
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
lea edx, [ecx + 0xb]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x44]
lea edi, [ebp - 0x2c]
mov esi, 7
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x50], edx
movups xmmword [ebp - 0x2c], xmm0
cmp edx, esi
jbe 0x402271
mov esi, edx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x402204
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
jmp 0x402225
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x402390
add eax, eax
cmp eax, 0x1000
jb 0x402252
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x402390
push ecx
call fcn.0040cc6f
add esp, 4
test eax, eax
je 0x40238b
mov ecx, dword [ebp - 0x34]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x50]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x40226b
test eax, eax
je 0x402269
push eax
call fcn.0040cc6f
mov ecx, dword [ebp - 0x34]
add esp, 4
mov edx, dword [ebp - 0x50]
mov edi, eax
jmp 0x40226b
xor edi, edi
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], esi
lea esi, [ecx + ecx]
push esi
push eax
push edi
mov dword [ebp - 0x1c], edx
call fcn.0040e300
movups xmm0, xmmword [str._access.exe]
xor ecx, ecx
add esp, 0xc
movups xmmword [esi + edi], xmm0
mov eax, dword [0x428898]
mov dword [esi + edi + 0x10], eax
mov ax, word [0x42889c]
mov word [esi + edi + 0x14], ax
mov eax, dword [ebp - 0x50]
mov word [edi + eax*2], cx
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push 0x4288a0
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x402310
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402306
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40238b
push ecx
push edx
call fcn.0040d005
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 7
cmp eax, 8
jb 0x40235a
mov edx, dword [ebp - 0x44]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402350
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40238b
push ecx
push edx
call fcn.0040d005
add esp, 8
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040cc61
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00411785
call fcn.00401340
call fcn.00411785
call fcn.004012a0
int3