Function at 0x200142a5
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x60]
sub esp, 0x918
push ebx
push esi
push edi
push 5
pop ecx
push 0x8c
lea eax, [ebp - 0x214]
push 0
mov esi, 0x20003480
lea edi, [ebp - 0x228]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MSVCRT.dll_memset
push 5
pop ecx
mov esi, 0x20003468
lea edi, [ebp - 0x408]
rep movsd dword es:[edi], dword [esi]
mov ebx, 0x8a
push ebx
lea eax, [ebp - 0x3f2]
push 0
push eax
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
push 7
pop ecx
mov esi, 0x20003448
lea edi, [ebp - 0x368]
rep movsd dword es:[edi], dword [esi]
push 0x82
lea eax, [ebp - 0x34a]
push 0
push eax
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
push 5
pop ecx
mov esi, 0x20003430
lea edi, [ebp - 0x4a8]
rep movsd dword es:[edi], dword [esi]
push ebx
lea eax, [ebp - 0x492]
push 0
push eax
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
push 5
pop ecx
mov esi, 0x20003418
lea edi, [ebp - 0x2c8]
rep movsd dword es:[edi], dword [esi]
push ebx
xor ebx, ebx
lea eax, [ebp - 0x2b2]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
push 0x1f
pop ecx
mov esi, 0x20003398
lea edi, [ebp - 0x6b0]
rep movsd dword es:[edi], dword [esi]
push 0x18a
lea eax, [ebp - 0x632]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
add esp, 0x48
push 0x11
pop ecx
mov esi, 0x20003350
lea edi, [ebp - 0x8b8]
rep movsd dword es:[edi], dword [esi]
push 0x1c2
push ebx
lea eax, [ebp - 0x872]
movsw word es:[edi], word [esi]
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
push dword [ebp + 0x68]
lea eax, [ebp - 0x6b0]
push eax
call esi
push dword [ebp + 0x68]
lea eax, [ebp - 0x8b8]
push eax
call esi
push 0x2000332c
lea eax, [ebp - 0x8b8]
push eax
call esi
mov eax, dword [ebp + 0x6c]
movzx eax, word [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor ecx, ecx
cmp ax, 0x2d
sete cl
movzx eax, ax
cmp eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], ecx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
je 0x200145b0
and word [ebp - 0xe8], 0
push 0x9e
lea eax, [ebp - 0xe6]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x6c]
movzx eax, word [eax]
add esp, 0xc
cmp ax, 0x2d
je 0x20014449
push dword [ebp + 0x6c]
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xe8]
push eax
call ebx
lea eax, [eax + eax + 4]
push eax
lea eax, [ebp - 0xe8]
push eax
push 7
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x6b0]
push eax
push edi
call esi
lea eax, [ebp - 0xe8]
push eax
call ebx
lea eax, [eax + eax + 4]
push eax
lea eax, [ebp - 0xe8]
push eax
push 7
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x8b8]
push eax
push edi
call esi
and word [ebp - 0x188], 0
push 0x9e
lea eax, [ebp - 0x186]
push 0
push eax
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp + 0x70]
movzx eax, word [ecx]
add esp, 0xc
test ax, ax
je 0x200144df
cmp ax, 0x2d
je 0x200144df
mov eax, dword [ebp + 0x6c]
cmp word [eax], 0x2d
je 0x200144df
push ecx
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x188]
push eax
call ebx
lea eax, [eax + eax + 4]
push eax
lea eax, [ebp - 0x188]
push eax
push 7
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x6b0]
push eax
push edi
call esi
lea eax, [ebp - 0x188]
push eax
call ebx
lea eax, [eax + eax + 4]
push eax
lea eax, [ebp - 0x188]
push eax
push 7
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x8b8]
push eax
push edi
call esi
and word [ebp - 0x48], 0
push 0x9e
lea eax, [ebp - 0x46]
push 0
push eax
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp + 0x74]
movzx eax, word [ecx]
add esp, 0xc
test ax, ax
je 0x2001456c
cmp ax, 0x2d
je 0x2001456c
mov eax, dword [ebp + 0x6c]
cmp word [eax], 0x2d
je 0x2001456c
push ecx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x48]
push eax
call ebx
lea eax, [eax + eax + 4]
push eax
lea eax, [ebp - 0x48]
push eax
push 7
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x6b0]
push eax
push edi
call esi
lea eax, [ebp - 0x48]
push eax
call ebx
lea eax, [eax + eax + 4]
push eax
lea eax, [ebp - 0x48]
push eax
push 7
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x8b8]
push eax
push edi
call esi
mov eax, dword [ebp + 0x78]
movzx eax, word [eax]
test ax, ax
je 0x2001460c
and word [ebp - 0x48], 0
push 0x9e
lea eax, [ebp - 0x46]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x78]
movzx eax, word [eax]
add esp, 0xc
cmp ax, 0x2d
je 0x200145ec
push dword [ebp + 0x78]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x48]
push eax
call ebx
add eax, eax
push eax
lea eax, [ebp - 0x48]
push eax
push 1
lea eax, [ebp - 0x4a8]
push eax
lea eax, [ebp - 0x6b0]
push eax
push edi
call esi
cmp dword [ebp + 0x58], 0
je 0x20014651
mov ecx, dword [ebp + 0x7c]
xor eax, eax
cmp dword [ebp + 0x5c], eax
push 4
sete al
pop ebx
push ebx
inc eax
mov dword [ecx], eax
lea eax, [ebp + 0x5c]
push eax
push ebx
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x6b0]
push eax
push edi
call esi
push ebx
lea eax, [ebp + 0x5c]
push eax
push ebx
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x8b8]
push eax
push edi
call esi
mov eax, dword [ebp + 0x58]
pop edi
pop esi
pop ebx
add ebp, 0x60
leave
ret