Function at 0x4123b0
Capabilities:
Get common file path
Get startup folder
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x430c31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2bc
mov al, byte [0x440e2c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esp + 0x30], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebp, dword [esp + 0x2dc]
xor ebx, ebx
stosb byte es:[edi], al
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x412439
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push 7
push ebx
call eax
test eax, eax
jne 0x412439
lea edx, [esp + 0x30]
mov ecx, ebp
push edx
call fcn.00426780
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push 0x18
push ebx
call dword [esi + 0x5c]
test eax, eax
jne 0x412439
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x4c]
call fcn.00426780
jmp 0x41264a
lea eax, [esi + 0x54]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x41264a
lea edx, [esp + 0x134]
mov dword [esp + 0x10], ebx
push edx
mov dword [esp + 0x138], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x144], 1
jne 0x41247d
lea eax, [esp + 0x10]
push eax
jmp 0x412482
lea ecx, [esp + 0x10]
push ecx
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 7
push ebx
call edi
cmp eax, ebx
jne 0x4124fe
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4124b1
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.00426780
cmp dword [esp + 0x144], 1
jne 0x4124c2
lea edx, [esp + 0x10]
push edx
jmp 0x4124c7
lea eax, [esp + 0x10]
push eax
push 0x18
push ebx
call edi
cmp eax, ebx
jne 0x412631
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x412631
lea eax, [esp + 0x30]
lea ecx, [esi + 0x4c]
push eax
call fcn.00426780
jmp 0x412631
push 0x440e2c
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], 0xff
mov dword [esp + 0x24], ebx
call fcn.004266b1
mov eax, dword [esp + 0x144]
mov dword [esp + 0x2d4], ebx
cmp eax, 1
jne 0x41253b
mov edi, 0x80000001
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
jmp 0x412545
mov edi, 0x80000003
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [esp + 0x18]
call fcn.00426780
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4125b5
lea eax, [esp + 0x28]
lea ecx, [esp + 0x1c8]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
push edx
push ebx
push str.StartUp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4125a8
lea ecx, [esp + 0x1c8]
push ecx
mov ecx, ebp
call fcn.00426780
push ebp
lea ecx, [esi + 0x4c]
call fcn.00426730
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41261d
push str.Startup
lea ecx, [esp + 0x20]
call fcn.004266b1
lea eax, [esp + 0x1c]
push 1
lea ecx, [esi + 0x18]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
mov byte [esp + 0x2e4], 1
call fcn.0040ebd0
add esp, 0x10
push eax
mov ecx, ebp
mov byte [esp + 0x2d8], 2
call fcn.00426730
push eax
lea ecx, [esi + 0x4c]
call fcn.00426730
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2d4], 1
call fcn.00426643
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2d4], bl
call fcn.00426643
lea ecx, [esp + 0x14]
mov dword [esp + 0x2d4], 0xffffffff
call fcn.00426643
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push edx
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x2cc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c8
ret 4