Function at 0x40eae2
Capabilities:
Delete registry value
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
push ebx
push esi
push edi
lea eax, [ebp - 0x474]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServicesSofTrackLocalAgentServiceADSILOS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40eb1e
jmp 0x40ed84
cmp dword [ebp + 0xc], 1
jne 0x40ec64
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x8c]
push eax
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
push 0x46cdd8
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edi, [ebp - 0x468]
xor eax, eax
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [ebp - 0x46c], 0x10
mov eax, dword [ebp - 0x46c]
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x468]
add esi, 0x7a
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc dword [ebp - 0x46c]
add dword [ebp - 0x46c], 0x10
mov eax, dword [ebp - 0x46c]
mov byte [ebp + eax - 0x468], 0x33
add dword [ebp - 0x46c], 2
mov edi, dword [ebp + 8]
add edi, 0xc
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov ebx, dword [ebp - 0x46c]
lea edi, [ebp + ebx - 0x468]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [ebp - 0x46c], 0x14
mov edi, dword [ebp + 8]
add edi, 0x43
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov ebx, dword [ebp - 0x46c]
lea edi, [ebp + ebx - 0x468]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [ebp - 0x46c], 0x19
mov eax, dword [ebp - 0x46c]
mov byte [ebp + eax - 0x468], 0
inc dword [ebp - 0x46c]
mov eax, dword [ebp - 0x46c]
push eax
lea eax, [ebp - 0x468]
push eax
push 3
push 0
lea eax, [ebp - 0x268]
push eax
mov eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
jmp 0x40ed77
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x8c]
push eax
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
push str._08X._s_d
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edi, [ebp - 0x168]
xor eax, eax
mov ecx, 0x58
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x470], 0x163
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x168]
push eax
push 0
push 0
lea eax, [ebp - 0x268]
push eax
mov eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40ed1d
lea eax, [ebp - 0x168]
push eax
push 0
mov eax, dword [ebp + 8]
add eax, 0x7a
push eax
lea eax, [ebp - 0x268]
push eax
push 0
call fcn.0040e3ae
add esp, 0x14
lea eax, [ebp - 0x268]
push eax
mov eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 4], eax
jmp 0x40ed31
lea eax, [ebp - 0x268]
push eax
push str._r_nASLmissing_SN____s_
call fcn.00452380
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x8c], 0
mov eax, dword [ebp + 8]
mov byte [eax + 0xc], 0
mov eax, dword [ebp + 8]
mov byte [eax + 0x43], 0
mov eax, dword [ebp + 8]
add eax, 0x7a
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret