Function at 0x404dd0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41f5e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov ebp, dword [esp + 0x140]
lea eax, [esp + 0x18]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push ebp
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x404e8a
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push str.Nero_DriveSpeed
push eax
call esi
cmp eax, ebx
jne 0x404e8a
cmp dword [esp + 0x1c], 1
jne 0x404e8a
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
push str.Nero_DriveSpeed
push ecx
call esi
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
jmp 0x404e8f
mov esi, 0xd
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x404f93
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push 0x104
lea eax, [esp + 0x30]
push eax
push ebx
mov byte [esp + 0x144], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
push 0x104
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
je 0x404f7e
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x2c]
push 0x42376c
push eax
call fcn.00404180
push 0x42376c
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x150], 2
call fcn.004040e0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CollateNoCase]
test eax, eax
je 0x404f7e
mov esi, 0xd
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, ebx
je 0x404fc5
cmp ebp, 0x80000001
je 0x404fb7
push SysReAllocStringLen
mov ecx, edi
call fcn.00404dd0
lea ecx, [esp + 0x14]
mov bl, al
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov al, bl
jmp 0x404fd1
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor al, al
jmp 0x404fd1
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov al, 1
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret 4