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

Disassembly:
push 0xffffffffffffffff
push 0x4324a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
mov al, byte [0x444d08]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esp + 0xc0], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xc1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x94
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 0x5c]
mov edi, dword [esp + 0x2dc]
xor ebx, ebx
cmp eax, ebx
je 0x40781d
mov ecx, dword [esp + 0x3c]
cmp ecx, 1
je 0x4077f1
cmp edi, ebx
je 0x4077f1
cmp ecx, 2
jne 0x40781d
lea edx, [esp + 0xc0]
push edx
push ebx
push ebx
push 0x16
push ebx
call eax
test eax, eax
jne 0x40781d
mov ecx, dword [esp + 0x2d8]
lea eax, [esp + 0xc0]
push eax
call fcn.004274a1
jmp 0x4079ce
lea ecx, [esp + 0xc0]
push ecx
push ebx
push ebx
push 0xb
push ebx
call eax
test eax, eax
jne 0x40781d
mov ecx, dword [esp + 0x2d8]
lea edx, [esp + 0xc0]
push edx
call fcn.004274a1
jmp 0x4079ce
lea ebp, [esi + 0x54]
push ebp
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x4079ce
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
cmp eax, 1
je 0x407849
cmp edi, ebx
je 0x407849
lea eax, [esp + 0x10]
push eax
push 0x16
jmp 0x407850
lea ecx, [esp + 0x10]
push ecx
push 0xb
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jne 0x40788f
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc0]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4079b7
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0x2dc]
call fcn.004274a1
jmp 0x4079b7
push 0x444d08
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
call fcn.00427386
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2d0], ebx
cmp eax, 1
jne 0x4078bd
mov edi, reloc.WSOCK32.dll_accept
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
jmp 0x4078c7
mov edi, reloc.WSOCK32.dll_closesocket
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [esp + 0x18]
call fcn.004274a1
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push eax
push edi
mov dword [esp + 0x34], 0xff
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40793f
lea ecx, [esp + 0x20]
lea edx, [esp + 0x1c4]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push edx
push eax
push ebx
push str.Start_Menu
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407932
mov ecx, dword [esp + 0x2d8]
lea edx, [esp + 0x1c4]
push edx
call fcn.004274a1
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4079a3
push str.Start_Menu
lea ecx, [esp + 0x20]
call fcn.00427386
lea ecx, [esp + 0x1c]
push 1
add esi, 0x34
push ecx
lea edx, [esp + 0x30]
push esi
push edx
mov byte [esp + 0x2e0], 1
call fcn.004050b0
add esp, 0x10
mov ecx, dword [esp + 0x2d8]
push eax
mov byte [esp + 0x2d4], 2
call fcn.00427451
lea ecx, [esp + 0x28]
mov byte [esp + 0x2d0], 1
call fcn.00427318
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2d0], bl
call fcn.00427318
lea ecx, [esp + 0x14]
mov dword [esp + 0x2d0], 0xffffffff
call fcn.00427318
mov eax, dword [ebp]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x2c8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c4
ret 8