Function at 0x412b30
Capabilities:
Get memory capacity
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e970
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x43c3f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
push eax
mov ecx, str.DoReport
call fcn.0040d440
push ecx
mov ecx, esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], esp
push ecx
mov ecx, str.SOFTWAREMicrosoftPCHealthErrorReporting
call fcn.0040d440
or edi, 0xffffffff
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], edi
call fcn.00412a50
push 0
push ecx
mov edx, esp
mov dword [ebp - 0x38], esp
push edx
mov ecx, str.ShowUI
call fcn.0040d440
push ecx
mov dword [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x34], esp
push eax
mov ecx, str.SOFTWAREMicrosoftPCHealthErrorReporting
call fcn.0040d440
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], edi
call fcn.00412a50
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push ecx
mov ecx, str.NtfsMftZoneReservation
call fcn.0040d440
push ecx
mov dword [ebp - 4], 2
mov edx, esp
mov dword [ebp - 0x34], esp
push edx
mov ecx, str.SystemCurrentControlSetControlFileSystem
call fcn.0040d440
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], edi
call fcn.00412a50
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x28]
shr eax, 0x14
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push ecx
mov ecx, str.Max_Cached_Icons
call fcn.0040d440
push ecx
mov dword [ebp - 4], 3
mov edx, esp
mov dword [ebp - 0x34], esp
push edx
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer
call fcn.0040d440
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], edi
call fcn.00412a50
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push eax
mov ecx, str.NoDriveTypeAutoRun
call fcn.0040d440
push ecx
mov ebx, 4
mov ecx, esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], esp
push ecx
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
call fcn.0040d440
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], edi
call fcn.00412a50
push 0
push ecx
mov edx, esp
mov dword [ebp - 0x38], esp
push edx
mov ecx, str.NoDriveTypeAutoRun
call fcn.0040d440
push ecx
mov dword [ebp - 4], 5
mov eax, esp
mov dword [ebp - 0x34], esp
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
call fcn.0040d440
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], edi
call fcn.00412a50
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push ecx
mov ecx, str.Autorun
call fcn.0040d440
push ecx
mov dword [ebp - 4], 6
mov edx, esp
mov dword [ebp - 0x34], esp
push edx
mov ecx, str.SYSTEMControlSet001Servicescdrom
call fcn.0040d440
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], edi
call fcn.00412a50
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push eax
mov ecx, str.Autorun
call fcn.0040d440
push ecx
mov ecx, esp
mov dword [ebp - 4], 7
mov dword [ebp - 0x34], esp
push ecx
mov ecx, str.SYSTEMCurrentControlSetServicescdrom
call fcn.0040d440
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], edi
call fcn.00412a50
lea edx, [ebp - 0x40]
push edx
push 0x20006
push 0
push str.SYSTEMCurrentControlSetControl
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [0x43d174]
mov edx, dword [eax + 0xc]
mov ecx, 0x43d174
call edx
add eax, 0x10
mov dword [ebp - 0x34], eax
push str.7000
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], 8
call fcn.0040d810
mov esi, dword [ebp - 0x34]
mov ebx, dword [esi - 0xc]
test ebx, ebx
jns 0x412da5
push 0x80070057
call fcn.0040cd60
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x412dc3
mov eax, ebx
lea ecx, [ebp - 0x34]
call fcn.0040d950
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
push ebx
push esi
push 1
push 0
push str.WaitToKillServiceTimeOut
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0041aa31
add esp, 8
test eax, eax
js 0x412d9b
cmp eax, dword [esi - 8]
jg 0x412d9b
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
test ebx, ebx
jne 0x412e07
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
push str.Windows_Search
call fcn.0040dac0
add esp, 0xc
push 0
push 1
push str.Distributed_Transaction_Coordinator
call fcn.0040dac0
add esp, 0xc
push 0
push 1
push str.MS_software_shadow_copy_provider
call fcn.0040dac0
add esp, 0xc
push 0
push 1
push str.Portable_media_serial_number
call fcn.0040dac0
add esp, 0xc
push 0
push 1
push str.smart_card
call fcn.0040dac0
add esp, 0xc
push 0x26
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push ecx
mov ecx, str.Win32PriorityControl
call fcn.0040d440
push ecx
mov byte [ebp - 4], 9
mov edx, esp
mov dword [ebp - 0x3c], esp
push edx
mov ecx, str.SYSTEMCurrentControlSetControlPriorityControl
call fcn.0040d440
mov bl, 8
push reloc.WS2_32.dll_bind
mov byte [ebp - 4], bl
call fcn.00412a50
push 0x8000000
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
push eax
mov ecx, str.IoPageLockLimit
call fcn.0040d440
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x38], esp
push ecx
mov ecx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
call fcn.0040d440
push reloc.WS2_32.dll_bind
mov byte [ebp - 4], bl
call fcn.00412a50
push 0
push ecx
mov edx, esp
mov dword [ebp - 0x3c], esp
push edx
mov ecx, str.Auto
call fcn.0040d440
push ecx
mov byte [ebp - 4], 0xb
mov eax, esp
mov dword [ebp - 0x38], esp
push eax
mov ecx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
call fcn.0040d440
push reloc.WS2_32.dll_bind
mov byte [ebp - 4], bl
call fcn.00412a50
mov dword [ebp - 4], edi
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x412f1c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419bd7
mov esp, ebp
pop ebp
ret