Function at 0x402090
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 0x420155
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 0x402373
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x421220
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x40236a
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x6c]
call fcn.004045c0
push 0x4288fc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004048b0
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 0x402190
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402186
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402391
push ecx
push edx
call fcn.0040da15
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 0x402396
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 0x402281
mov esi, edx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x402214
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
jmp 0x402235
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4023a0
add eax, eax
cmp eax, 0x1000
jb 0x402262
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4023a0
push ecx
call fcn.0040d67f
add esp, 4
test eax, eax
je 0x40239b
mov ecx, dword [ebp - 0x34]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x50]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x40227b
test eax, eax
je 0x402279
push eax
call fcn.0040d67f
mov ecx, dword [ebp - 0x34]
add esp, 4
mov edx, dword [ebp - 0x50]
mov edi, eax
jmp 0x40227b
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.0040ed10
movups xmm0, xmmword [str._access.exe]
xor ecx, ecx
add esp, 0xc
movups xmmword [esi + edi], xmm0
mov eax, dword [0x42891c]
mov dword [esi + edi + 0x10], eax
mov ax, word [0x428920]
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 0x428924
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x402320
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402316
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40239b
push ecx
push edx
call fcn.0040da15
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 0x40236a
mov edx, dword [ebp - 0x44]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402360
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40239b
push ecx
push edx
call fcn.0040da15
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.0040d671
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00412195
call fcn.00401350
call fcn.00412195
call fcn.004012b0
int3