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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x43c3d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x88], eax
push 0x70
lea eax, [ebp - 0x74]
mov dword [ebp - 0x9c], esi
push edi
push eax
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xac], 0x43c374
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], edi
call fcn.00422ac0
add esp, 0xc
cmp dword [esi*4 + 0x43c2e8], edi
jne 0x41a1d6
xor eax, eax
mov ecx, 0x80000001
inc eax
push 0x1c
pop edx
cmp esi, 0x13
ja case.0x419ee3.0
jmp dword [esi*4 + 0x41a2f6]
mov dword [ebp - 0x70], 0x25
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x40], str.System32
jmp case.0x419ee3.0
mov dword [ebp - 0x70], 0x29
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x40], str.SysWow64
jmp case.0x419ee3.0
mov dword [ebp - 0x74], 2
mov dword [ebp - 0x5c], str.Drivers
jmp case.0x419ee3.0
mov dword [ebp - 0x60], str.TEMP
mov dword [ebp - 0x58], 0xc
mov dword [ebp - 0x40], str.Local_SettingsTemp
jmp case.0x419ee3.0
mov ecx, 0x80000002
mov dword [ebp - 0x68], str.ProgramW6432Dir
mov eax, str.SoftwareMicrosoftWindowsCurrentVersion
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], 0x26
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], str.ProgramFilesDir
mov dword [ebp - 0xc], str.ProgramFiles
jmp case.0x419ee3.0
mov dword [ebp - 0x70], 0x23
mov dword [ebp - 0x44], str.ALLUSERSPROFILE
jmp case.0x419ee3.0
mov dword [ebp - 0x70], 0x19
mov dword [ebp - 0x50], 0x80000002
mov dword [ebp - 0x48], str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x4c], str.Common_Desktop
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x24], str.Desktop
jmp case.0x419ee3.0
mov dword [ebp - 0x70], 0x17
mov dword [ebp - 0x50], 0x80000002
mov dword [ebp - 0x4c], str.Common_Programs
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x48], str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x24], str.Start_MenuPrograms
jmp case.0x419ee3.0
mov dword [ebp - 0x70], 0x18
mov dword [ebp - 0x50], 0x80000002
mov dword [ebp - 0x48], str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x4c], str.Common_Startup
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x24], str.Start_MenuProgramsStartup
jmp case.0x419ee3.0
mov dword [ebp - 0x70], 0x28
mov dword [ebp - 0x44], str.USERPROFILE
jmp case.0x419ee3.0
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x58], 0xc
mov dword [ebp - 0x40], str.Local_SettingsApplication_Data
jmp case.0x419ee3.0
mov dword [ebp - 0x70], 0x1a
mov dword [ebp - 0x58], 0xc
mov dword [ebp - 0x40], str.Application_Data
jmp case.0x419ee3.0
mov eax, str.Desktop
mov dword [ebp - 0x70], 0x10
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x24], eax
jmp case.0x419ee3.0
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], str.Programs
mov dword [ebp - 0x3c], 0xc
jmp 0x419fd8
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x4c], str.Startup
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x24], str.Start_MenuProgramsStartup
mov dword [ebp - 0x74], 0xd
mov dword [ebp - 0x5c], 0x433d00
jmp case.0x419ee3.0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x5c], str.Temp
xor eax, eax
lea ecx, [ebp - 0x60]
sub ecx, edx
mov word [ebx], ax
mov dword [ebp - 0x90], ecx
lea edi, [ebp - 0x70]
sub edi, 0x1c
lea eax, [ebp - 0x68]
sub eax, edx
mov dword [ebp - 0x8c], edi
lea ecx, [ebp - 0x64]
or esi, 0xffffffff
sub ecx, edx
lea edi, [ebp - 0x74]
lea edx, [ebp - 0x6c]
sub edx, 0x1c
sub edi, 0x1c
jmp 0x41a11c
mov edi, dword [ebp - 0x94]
add edi, 0x1c
inc esi
push 0x1c
mov dword [ebp - 0x94], edi
pop edi
add dword [ebp - 0x8c], edi
add edx, edi
add dword [ebp - 0x90], edi
add ecx, edi
add eax, edi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], eax
push 0
pop edi
cmp esi, 4
jae 0x41a1a2
mov ebx, dword [ebp - 0x94]
mov ebx, dword [ebx]
test ebx, ebx
mov dword [ebp - 0x78], ebx
mov ebx, dword [ebp - 0x98]
je 0x41a1fb
push dword [ebp - 0x88]
push ebx
push dword [ebp - 0x78]
call fcn.00419e6a
push eax
push dword [ebp - 0x88]
push ebx
call fcn.004128fe
add esp, 0x18
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x84]
cmp word [ebx], di
je 0x41a116
cmp word [ebx], di
je 0x41a1c7
imul eax, esi, 0x1c
mov edi, ebx
mov eax, dword [ebp + eax - 0x5c]
test eax, eax
je 0x41a1c7
push eax
lea eax, [ebp - 0xac]
push ebx
push eax
call fcn.004145df
add esp, 0xc
mov edi, eax
mov esi, dword [ebp - 0x9c]
push edi
push esi
call fcn.0041a3ad
pop ecx
pop ecx
lea eax, [ebp - 0xac]
push eax
call fcn.0041cf2f
mov eax, dword [esi*4 + 0x43c2e8]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004225c9
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x8c]
push 0
mov edi, dword [edi]
test edi, edi
mov dword [ebp - 0x78], edi
pop edi
je 0x41a232
push 1
push dword [ebp - 0x78]
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
test eax, eax
jns 0x41a193
xor eax, eax
mov word [ebx], ax
jmp 0x41a193
mov ebx, dword [eax]
test ebx, ebx
mov dword [ebp - 0x78], ebx
mov ebx, dword [ebp - 0x98]
je 0x41a271
push dword [ecx]
push dword [edx]
call fcn.0042050b
push edi
push dword [ebp - 0x88]
mov esi, eax
push ebx
push dword [ebp - 0x78]
push esi
call fcn.00420595
push esi
call fcn.004204ea
mov esi, dword [ebp - 0xa0]
add esp, 0x20
jmp 0x41a18d
mov edi, dword [ebp - 0x90]
push 0
mov edi, dword [edi]
test edi, edi
mov dword [ebp - 0x78], edi
pop edi
je 0x41a199
push dword [ebp - 0x88]
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x41a2a3
cmp eax, dword [ebp - 0x88]
jb 0x41a2a8
xor eax, eax
mov word [ebx], ax
cmp word [ebx], di
jne 0x41a18d
mov eax, dword [ebp - 0x84]
dec esi
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x78]
mov dword [eax], ebx
push 0x1c
pop ebx
sub dword [ebp - 0x94], ebx
sub dword [ebp - 0x8c], ebx
sub dword [ebp - 0x90], ebx
mov dword [edx], 0x80000001
sub edx, ebx
mov dword [ecx], str.Environment
sub ecx, ebx
sub eax, ebx
mov ebx, dword [ebp - 0x98]
jmp 0x41a199