Function at 0x41edf0
Capabilities:
Get common file path
Persist via run registry key
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554c88
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5ad6f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
call fcn.00406530
mov ecx, eax
test ecx, ecx
je 0x41f082
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.00406530
mov ecx, eax
test ecx, ecx
je 0x41f08c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 1
jge 0x41ee80
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00406ba0
mov esi, dword [ebp - 0x14]
push 0
push 0x10
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [esi - 8]
mov dword [ebp - 0x24], eax
push esi
call fcn.00517503
add esp, 8
test eax, eax
js 0x41f078
cmp eax, dword [esi - 8]
jg 0x41f078
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x10]
push eax
push 0x566dfc
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], ecx
call fcn.0041f0c0
add esp, 0x10
test eax, eax
jne 0x41eefb
lea eax, [ebp - 0x10]
push eax
push 0x566dfc
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041f0c0
add esp, 0x10
test eax, eax
je 0x41efac
call fcn.00406530
mov ecx, eax
test ecx, ecx
je 0x41f096
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 2
jge 0x41ef3d
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00406ba0
mov edi, dword [ebp - 0x18]
push 0x104
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x41ef82
push dword [edi - 8]
push edi
call fcn.00517503
add esp, 8
test eax, eax
js 0x41f078
cmp eax, dword [edi - 8]
jg 0x41f078
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00411b30
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov dword [ebp - 0x18], 1
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41efac
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x18], 1
mov eax, dword [ebx + 0x28]
add ebx, 0x24
mov edi, dword [ebx]
cmp edi, eax
je 0x41efe6
mov esi, eax
nop word [eax + eax]
mov edx, dword [edi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41efda
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, esi
jne 0x41efc0
mov edi, dword [ebx]
mov esi, dword [ebp - 0x14]
mov dword [ebx + 4], edi
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
sar eax, 2
cmp eax, 0x20
jae 0x41efff
push 0x20
mov ecx, ebx
call fcn.0041f470
cmp dword [ebp - 0x24], 0
mov edi, dword [ebp - 0x1c]
je 0x41f017
push ebx
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0041e830
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x18], 0
je 0x41f029
push ebx
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0041e830
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41f04a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x41f066
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00406210
push 0x80004005
call fcn.00406210
push 0x80004005
call fcn.00406210
push 0x80004005
call fcn.00406210
int3