Function at 0x41e710
Capabilities:
Get common file path
Get startup folder
Persist via run registry key

Disassembly:
sub esp, 0xc3c
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0xc38], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x4400
xor ebx, ebx
lea eax, [esi + 0x48d8]
push ebx
push eax
call fcn.0044ac90
add esp, 0xc
push ebx
push 0x104
lea ecx, [esi + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x8cd8], 0xffffffff
mov dword [esi + 0x28b4], ebx
mov dword [esi + 4], ebx
call fcn.00443190
mov ecx, dword [esi + 0xc]
push 1
push 0x104
lea edx, [esi + 0x21c]
push edx
call fcn.00443190
mov eax, dword [esi + 0xc]
add eax, 0x218
push eax
lea ecx, [esi + 0x424]
push 0x104
push ecx
call fcn.0044bf5b
mov edx, dword [esi + 0xc]
add edx, 0x420
push edx
lea eax, [esi + 0x62c]
push 0x104
push eax
call fcn.0044bf5b
add esp, 0x18
lea ecx, [esi + 0x834]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.004432f0
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0xa3c]
push edx
call fcn.00444070
lea edi, [esi + 0xc44]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e7f0
sub eax, edx
sar eax, 1
mov ebp, 0x5c
cmp word [esi + eax*2 + 0xc42], bp
jne 0x41e82c
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e813
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esi + eax*2 + 0xc42], cx
lea edi, [esi + 0xe4c]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e843
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 + 0xe4a], bp
jne 0x41e87a
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e861
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esi + eax*2 + 0xe4a], dx
push 0x206
lea ecx, [esp + 0x636]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x63c], ax
call fcn.0044ac90
push 0x206
lea eax, [esp + 0x84a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x850], dx
call fcn.0044ac90
mov ecx, dword [esi + 0xc]
add esp, 0x18
cmp byte [ecx + 5], bl
je 0x41e96d
push 0x20019
lea eax, [esp + 0x224]
push eax
push str.Programs
xor edx, edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
mov word [esp + 0x234], dx
call fcn.0044a470
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
add esp, 0x14
test eax, eax
jne 0x41e94b
lea ecx, [esp + 0x14]
push ecx
push 0xb
push 0
call ebp
test eax, eax
jne 0x41e94b
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x220]
push edx
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x41e94b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x220]
mov word [esp + eax + 0xa40], cx
add eax, 2
test cx, cx
jne 0x41e950
jmp 0x41eacc
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [esp + 0x10]
push eax
push 2
push ebx
call ebp
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x41e9c6
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xa40]
push ecx
push edx
call ebx
mov edi, dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [esp + 0x14]
push eax
call edi
test eax, eax
jne 0x41e9cc
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41e9cc
mov edi, dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [esp + 0x10]
push eax
push 0x17
push 0
call ebp
test eax, eax
jne 0x41ea12
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x220]
push ecx
push edx
call ebx
lea eax, [esp + 0x14]
push eax
call edi
test eax, eax
jne 0x41ea12
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
push 0x1a
push 0
call ebp
test eax, eax
jne 0x41ea6d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x630]
push ecx
push edx
call ebx
lea eax, [esp + 0x630]
push eax
push str.CSIDL_APPDATA___s__n
call fcn.0043e2c0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
call edi
test eax, eax
jne 0x41ea6d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
push 0x23
push 0
call ebp
test eax, eax
jne 0x41eacc
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x838]
push ecx
push edx
call ebx
lea eax, [esp + 0x838]
push eax
push str.CSIDL_COMMON_APPDATA___s__n
call fcn.0043e2c0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x41eacc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x220]
push eax
lea ecx, [esi + 0x1054]
push ecx
call edi
lea edx, [esp + 0xa48]
push edx
lea eax, [esi + 0x125c]
push eax
call edi
lea ecx, [esp + 0x640]
push ecx
lea edx, [esi + 0x1464]
push edx
call edi
lea eax, [esp + 0x850]
push eax
lea ecx, [esi + 0x166c]
push ecx
call edi
mov edx, dword [esi + 0xc]
add esp, 0x20
cmp byte [edx + 5], 0
je 0x41eb6e
push 0x20019
lea ecx, [esp + 0x1c]
push ecx
push str.Desktop
xor eax, eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
mov word [esp + 0x2c], ax
call fcn.0044a470
add esp, 0x14
test eax, eax
jne 0x41ebb5
lea edx, [esp + 0x14]
push edx
push eax
push eax
call ebp
test eax, eax
jne 0x41ebb5
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
call ebx
lea edx, [esp + 0x10]
push edx
jmp 0x41eb8e
lea eax, [esp + 0x14]
push eax
push 0x19
push 0
call ebp
test eax, eax
jne 0x41ebb5
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
call ebx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x41ebb5
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x1874]
push ecx
call edi
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x43a]
push eax
mov word [esp + 0x43c], dx
call fcn.0044ac90
mov ecx, dword [esi + 0xc]
add esp, 0x14
cmp byte [ecx + 5], 0
je 0x41ec5e
push 0x20019
lea eax, [esp + 0x42c]
push eax
push str.Startup
xor edx, edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
mov word [esp + 0x2c], dx
call fcn.0044a470
add esp, 0x14
test eax, eax
jne 0x41eca8
lea ecx, [esp + 0x14]
push ecx
push 0xb
push eax
call ebp
test eax, eax
jne 0x41eca8
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x428]
push edx
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x41eca8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
jmp 0x41ec9c
lea eax, [esp + 0x14]
push eax
push 0x18
push 0
call ebp
test eax, eax
jne 0x41eca8
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x428]
push ecx
push edx
call ebx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x41eca8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x428]
push eax
lea ecx, [esi + 0x1a7c]
push ecx
call edi
push 0x20019
lea eax, [esi + 0x229c]
push eax
push str.SourcePath
xor edx, edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
mov word [eax], dx
call fcn.0044a470
xor eax, eax
lea edx, [esi + 0x24a4]
mov word [edx], ax
mov eax, 0x46b450
add esp, 0x1c
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x41ecf3
xor ecx, ecx
mov word [esi + 0x28c0], cx
lea ecx, [esi + 0x48c0]
mov dword [esi + 0x28bc], 0
call fcn.004031f0
mov ecx, dword [esp + 0xc48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044ac80
add esp, 0xc3c
ret