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

Disassembly:
push 0xffffffffffffffff
push 0x44e61a
mov eax, dword fs:[0]
push eax
mov eax, 0x106c
call fcn.00436b60
mov eax, dword [0x46568c]
xor eax, esp
mov dword [esp + 0x1068], eax
push ebx
push esi
push edi
mov eax, dword [0x46568c]
xor eax, esp
push eax
lea eax, [esp + 0x107c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x108c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
mov ebx, 1
mov dword [esp + 0x1084], ebx
call fcn.004233a4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415e17
push 0x80004005
call fcn.0040cd60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
push 0x12a
lea ecx, [esp + 0x84a]
push 0
push ecx
mov byte [esp + 0x1090], 2
mov word [esp + 0x850], 0
call fcn.00436940
mov eax, dword [esp + 0x10a0]
lea edx, [esp + 0x80]
add esp, 0xc
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], 0x104
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x415e70
cmp byte [esp + 0x74], 0x5b
je 0x415ed1
lea edx, [esp + 0x74]
push edx
mov ecx, edi
call fcn.0040e390
lea eax, [esi - 0x10]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x1084], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415eb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1090]
mov byte [esp + 0x1084], 0
call fcn.0040e030
mov eax, edi
jmp 0x41673f
call fcn.00415760
mov edi, eax
mov al, 0x5d
xor esi, esi
cmp byte [esp + 0x74], al
je 0x415eea
add esi, ebx
cmp byte [esp + esi + 0x74], al
jne 0x415ee2
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x270]
push eax
call fcn.00436b90
lea eax, [esp + esi + 0x81]
lea edx, [esp + 0x468]
add esp, 0xc
mov byte [esp + esi + 0x269], 0
sub edx, eax
jmp 0x415f20
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, ebx
test cl, cl
jne 0x415f20
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x34]
call fcn.0040bcb0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1084], 3
call fcn.0040e440
sub esp, 0xc
lea edx, [esp + 0x274]
mov ecx, esp
mov dword [esp + 0x2c], esp
mov ebx, 4
push edx
mov byte [esp + 0x1094], bl
call fcn.0040e390
call fcn.0040d910
add esp, 0xc
cmp eax, 8
ja case.default.0x415f7d
jmp dword [eax*4 + 0x416768]
push 0x118
lea eax, [esp + 0xe88]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [0x4537ac]
mov ecx, dword [str.C:Program_Files]
mov edx, dword [0x4537a8]
mov dword [esp + 0x270], eax
mov al, byte [esp + 0xe84]
mov dword [esp + 0x268], ecx
mov ecx, dword [0x4537b0]
mov dword [esp + 0x26c], edx
mov dl, byte [0x4537b4]
mov byte [esp + 0x268], al
mov dword [esp + 0x274], ecx
mov byte [esp + 0x278], dl
xor eax, eax
jmp 0x415ff0
mov cl, byte [esp + eax + 0x268]
mov byte [esp + eax + 0x74], cl
add eax, 1
test cl, cl
jne 0x415ff0
lea eax, [esp + 0x45c]
mov edx, eax
jmp 0x416010
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x416010
lea edi, [esp + 0x74]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x416022
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp case.default.0x415f7d
mov ecx, 0x466abc
call fcn.0040e020
cmp eax, 3
je 0x41606e
mov eax, dword [0x466ac0]
lea edx, [esp + 0x74]
sub edx, eax
jmp 0x416060
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x416060
jmp 0x4160ab
mov ecx, 0x466abc
call fcn.0040e020
sub eax, 1
push eax
push 1
lea ecx, [esp + 0x64]
push ecx
mov ecx, 0x466abc
call fcn.0040e5f0
mov ecx, dword [eax + 4]
lea edx, [esp + 0x74]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x416094
lea ecx, [esp + 0x5c]
call fcn.0040e030
lea eax, [esp + 0x45c]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4160b4
lea edi, [esp + 0x74]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4160c6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x74]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4160e7
sub eax, edx
cmp eax, 3
jae case.default.0x415f7d
lea edi, [esp + 0x74]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x416102
mov dx, word [0x4537b8]
mov word [edi], dx
jmp case.default.0x415f7d
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x45c]
mov byte [esp + eax + 0x74], cl
add eax, 1
test cl, cl
jne 0x416120
jmp case.default.0x415f7d
push 0x118
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x268]
mov byte [esp + eax + 0x74], cl
add eax, 1
test cl, cl
jne 0x416150
lea eax, [esp + 0x45c]
mov edx, eax
jmp 0x416170
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x416170
lea edi, [esp + 0x74]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x416182
jmp 0x41602c
push 0x118
lea ecx, [esp + 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
jmp 0x4161b0
mov cl, byte [esp + eax + 0x268]
mov byte [esp + eax + 0x74], cl
add eax, 1
test cl, cl
jne 0x4161b0
lea eax, [esp + 0x45c]
mov edx, eax
jmp 0x4161d0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4161d0
lea edi, [esp + 0x74]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4161e2
jmp 0x41602c
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x41624e
lea ecx, [esp + 0x24]
push ecx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x41621a
lea edx, [esp + 0x74]
push edx
jmp 0x416253
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x268]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jne 0x416296
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x74]
push eax
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0040e390
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x1084], 3
call fcn.0040e030
lea ecx, [esp + 0x30]
mov byte [esp + 0x1084], 2
call fcn.0040bcd0
lea ecx, [esp + 0x10]
call fcn.0040ced0
jmp 0x416729
xor eax, eax
jmp 0x4162a0
mov cl, byte [esp + eax + 0x268]
mov byte [esp + eax + 0x74], cl
add eax, 1
test cl, cl
jne 0x4162a0
lea eax, [esp + 0x45c]
mov edx, eax
jmp 0x4162c0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4162c0
lea edi, [esp + 0x74]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4162d2
jmp 0x41602c
lea ecx, [esp + 0x268]
push ecx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x268]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x416300
sub eax, edx
cmp byte [esp + eax + 0x267], 0x5c
jne 0x416332
lea eax, [esp + 0x268]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x416320
sub eax, edx
mov byte [esp + eax + 0x267], cl
xor eax, eax
jmp 0x416340
mov cl, byte [esp + eax + 0x268]
mov byte [esp + eax + 0x74], cl
add eax, 1
test cl, cl
jne 0x416340
lea eax, [esp + 0x45c]
mov edx, eax
jmp 0x416360
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x416360
lea edi, [esp + 0x74]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x416372
jmp 0x41602c
lea edx, [esp + 0x2c]
push edx
push 0x20019
push 0
push 0x4537c0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x848]
push ecx
lea edx, [esp + 0x54]
push edx
push 0
push str.Common_Programs
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x844]
push edx
lea ecx, [esp + 0x24]
call fcn.00419110
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1088], 5
call fcn.0040d120
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x1084], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416416
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x74]
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x416420
push 0x118
lea ecx, [esp + 0x974]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x970]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x416450
cmp edi, 3
mov edx, dword [str.Start_MenuPrograms]
mov ecx, dword [0x453818]
mov dword [eax], edx
mov edx, dword [0x45381c]
mov dword [eax + 4], ecx
mov ecx, dword [0x453820]
mov dword [eax + 8], edx
mov edx, dword [0x453824]
mov dword [eax + 0xc], ecx
mov cl, byte [0x453828]
mov dword [eax + 0x10], edx
mov byte [eax + 0x14], cl
je 0x416498
cmp edi, ebx
jne 0x4164b2
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x970]
mov byte [esp + eax + 0x74], cl
add eax, 1
test cl, cl
jne 0x4164a0
lea eax, [esp + 0x45c]
mov edx, eax
jmp 0x4164c0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4164c0
lea edi, [esp + 0x74]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4164d2
jmp 0x41602c
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x34]
call fcn.0040bb00
push 1
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x453830
call fcn.0040e2e0
lea ecx, [esp + 0x40]
call fcn.0040bcf0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Common_Startup
call fcn.0040e2e0
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x40]
call fcn.0040c260
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x1088], 6
call fcn.0040e2b0
lea ecx, [esp + 0x68]
mov byte [esp + 0x1084], bl
call fcn.0040e030
mov eax, dword [esp + 0x40]
lea edx, [esp + 0xa9c]
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x416560
lea ecx, [esp + 0x30]
call fcn.0040bc20
lea eax, [esp + 0xa9c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x416580
sub eax, edx
mov cl, 0x5c
cmp byte [esp + eax + 0xa9c], cl
je 0x4165ac
jmp 0x4165a0
sub eax, 1
cmp byte [esp + eax + 0xa9c], cl
jne 0x4165a0
add eax, 1
lea edx, [esp + eax + 0xa9c]
mov al, byte [edx]
xor ecx, ecx
test al, al
je 0x4165d3
mov edi, edi
add edx, 1
mov byte [esp + ecx + 0xc90], al
mov al, byte [edx]
add ecx, 1
test al, al
jne 0x4165c0
mov eax, dword [str._Start_Menu__]
mov edx, dword [0x45388c]
mov dword [esp + 0x650], eax
mov ax, word [0x453890]
mov byte [esp + ecx + 0xc90], 0
mov ecx, dword [0x453888]
mov word [esp + 0x65c], ax
lea eax, [esp + 0xc90]
mov dword [esp + 0x654], ecx
mov dword [esp + 0x658], edx
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x416618
lea edi, [esp + 0x650]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
nop
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x416630
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x45c]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x416651
lea edi, [esp + 0x650]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x416668
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
sub esp, 0xc
rep movsb byte es:[edi], byte [esi]
lea edx, [esp + 0x65c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0040e390
lea eax, [esp + 0x5c]
push eax
call fcn.00415da0
mov ecx, dword [eax + 4]
add esp, 0x10
lea edx, [esp + 0x74]
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4166b0
lea ecx, [esp + 0x50]
call fcn.0040e030
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call fcn.0040e390
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x1084], 3
call fcn.0040e030
lea ecx, [esp + 0x30]
mov byte [esp + 0x1084], 2
call fcn.0040bcd0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1084], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416729
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1090]
mov byte [esp + 0x1084], 0
call fcn.0040e030
mov eax, esi
mov ecx, dword [esp + 0x107c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1068]
xor ecx, esp
call fcn.00435832
add esp, 0x1078
ret