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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 0x130]
mov dword [ebp - 0x10], esp
push str.Configuration_report:_r_nIDM_version:
mov ecx, esi
mov dword [ebp - 0x1c], ebx
call fcn.00603bc5
push 0x6d218c
mov ecx, esi
call fcn.00603d7a
push str._r_nWindows_version:
mov ecx, esi
call fcn.00603d3e
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xa8]
xor edi, edi
sub eax, edi
mov byte [ebp - 0x15], 0
je 0x51d9a8
dec eax
je 0x51d987
dec eax
jne 0x51d9b4
push str._Windows_NT
jmp 0x51d9ad
cmp dword [ebp - 0xb0], edi
je 0x51d996
push str._Windows_98
jmp 0x51d9ad
push str._Windows_95
mov ecx, esi
call fcn.00603d3e
mov byte [ebp - 0x15], 1
jmp 0x51d9b4
push str._Windows_3.1
mov ecx, esi
call fcn.00603d3e
mov ecx, dword [0x6cd768]
mov dword [ebp - 0x14], ecx
mov al, byte [ebp - 0x15]
mov dword [ebp - 4], edi
test al, al
je 0x51d9f4
mov edx, dword [ebp - 0xaa]
mov eax, dword [ebp - 0xac]
and edx, 0xffff
and eax, 0xff
push edx
push eax
push eax
lea eax, [ebp - 0x14]
push str._d:_d_build__d
push eax
call fcn.005fc86b
add esp, 0x14
jmp 0x51da2a
call fcn.004466f0
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb0]
neg eax
sbb eax, eax
and eax, 0x20
add eax, 0x20
push eax
mov eax, dword [ebp - 0xb4]
push ecx
push edx
push eax
lea ecx, [ebp - 0x14]
push str._d:_d_build__d__d_bit
push ecx
call fcn.005fc86b
add esp, 0x18
lea edx, [ebp - 0x14]
mov ecx, esi
push edx
call fcn.00603d7a
push str.LocalIDMEventMonitor
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x51da67
cmp eax, 0xb7
jne 0x51da60
mov edi, 1
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x6d1ccc]
mov ecx, dword [0x6d1cd0]
push edi
push eax
push ecx
lea edx, [ebp - 0x14]
push str._r_nDriver_loaded:__ld_r_nDriver_installed:__ld_r_nShellExt_loaded:__ld_r_n
push edx
call fcn.005fc86b
add esp, 0x14
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00603d7a
push 0
push str.IE_MenuExt
push str.SoftwareMicrosoftInternet_ExplorerMenuExt
lea ecx, [ebp - 0x14]
push reloc.WS2_32.dll_accept
push ecx
mov ecx, ebx
call fcn.0051dcd0
lea edx, [ebp - 0x14]
mov ecx, esi
push edx
call fcn.00603d7a
push 0
push str.IDM_inegration
push str.SoftwareDownloadManagerIDMBI
lea eax, [ebp - 0x14]
push reloc.WS2_32.dll_accept
push eax
mov ecx, ebx
call fcn.0051dcd0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00603d7a
push 0
push str.Net_Apps_r_n
push str.SoftwareDownloadManager_netApps
lea edx, [ebp - 0x14]
push reloc.WS2_32.dll_accept
push edx
mov ecx, ebx
call fcn.0051dcd0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00603d7a
push 0
push str.Browser_Helper_Objects
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
lea ecx, [ebp - 0x14]
push reloc.WS2_32.dll_bind
push ecx
mov ecx, ebx
call fcn.0051dcd0
lea edx, [ebp - 0x14]
mov ecx, esi
push edx
call fcn.00603d7a
push 0
push str.HKLM_Run_r_n
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea eax, [ebp - 0x14]
push reloc.WS2_32.dll_bind
push eax
mov ecx, ebx
call fcn.0051dcd0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00603d7a
push 0
push str.HKCU_Run_r_n
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea edx, [ebp - 0x14]
push reloc.WS2_32.dll_accept
push edx
mov ecx, ebx
call fcn.0051dcd0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00603d7a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
call fcn.0051d5b0
add esp, 4
lea edx, [ebp - 0x14]
mov ecx, esi
push edx
call fcn.00603d7a
jmp 0x51dba1
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.0040daf0
add esp, 4
lea ecx, [ebp - 0x14]
lea esi, [ebx + 0x130]
push ecx
mov ecx, esi
call fcn.00603d7a
push 0x6a1db0
mov ecx, esi
call fcn.00603d3e
mov ecx, dword [0x6d2354]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0xf8]
push edx
push eax
push 0
push 0
push str.MessageID
push ecx
mov dword [ebp - 0x20], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x51dc1f
lea edx, [ebp - 0xf8]
mov ecx, esi
push edx
call fcn.00603d3e
lea eax, [ebp - 0xf8]
lea ecx, [ebx + 0xddc]
push eax
call fcn.00603bc5
jmp 0x51dc97
push 0
call fcn.005e8a29
push eax
call fcn.005e982d
add esp, 8
call fcn.005e983a
push eax
call fcn.005e983a
push eax
push 0
call fcn.005e8a29
add esp, 4
lea ecx, [ebp - 0x14]
push eax
push str.IDKMM_ld__ld__ld
push ecx
call fcn.005fc86b
add esp, 0x14
lea edx, [ebp - 0x14]
mov ecx, esi
push edx
call fcn.00603d7a
lea edi, [ebx + 0xddc]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00603b75
mov edx, dword [edi]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [0x6d2354]
push edx
push 1
push eax
push str.MessageID
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [esi]
lea ecx, [ebx + 0xd4]
push esi
call fcn.00603022
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00603a3c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret