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

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x734
push ebx
push esi
push edi
push dword [ebp + 0x70]
call fcn.004043ee
xor ecx, ecx
movzx eax, al
inc ecx
sub ecx, eax
push 5
mov dword [ebp + 0x60], ecx
pop ecx
push 0x8c
lea eax, [ebp - 0x16c]
push 0
mov esi, 0x402210
lea edi, [ebp - 0x180]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MSVCRT.dll_memset
push 5
pop ecx
mov esi, 0x4021f8
lea edi, [ebp - 0x220]
rep movsd dword es:[edi], dword [esi]
mov ebx, 0x8a
push ebx
lea eax, [ebp - 0x20a]
push 0
push eax
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
push 7
pop ecx
mov esi, 0x4021d8
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
push 0x82
lea eax, [ebp - 0x22]
push 0
push eax
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
push 5
pop ecx
mov esi, 0x4021c0
lea edi, [ebp - 0x2c0]
rep movsd dword es:[edi], dword [esi]
push ebx
lea eax, [ebp - 0x2aa]
push 0
push eax
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
push 5
pop ecx
mov esi, 0x4021a8
lea edi, [ebp - 0xe0]
rep movsd dword es:[edi], dword [esi]
push ebx
xor ebx, ebx
lea eax, [ebp - 0xca]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
add esp, 0x40
push 0x1f
pop ecx
mov esi, 0x402128
lea edi, [ebp - 0x4c8]
rep movsd dword es:[edi], dword [esi]
push 0x18a
lea eax, [ebp - 0x44a]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
push 0x11
pop ecx
mov esi, 0x4020e0
lea edi, [ebp - 0x6d0]
rep movsd dword es:[edi], dword [esi]
push 0x1c2
lea eax, [ebp - 0x68a]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0x18
push dword [ebp + 0x6c]
lea eax, [ebp - 0x4c8]
push eax
call esi
push dword [ebp + 0x6c]
lea eax, [ebp - 0x6d0]
push eax
call esi
push 0x4020bc
lea eax, [ebp - 0x6d0]
push eax
call esi
push dword [ebp + 0x70]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
call ebx
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add eax, eax
push eax
push dword [ebp + 0x70]
lea eax, [ebp - 0x180]
push 7
push eax
lea eax, [ebp - 0x4c8]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
push dword [ebp + 0x70]
call ebx
add eax, eax
push eax
push dword [ebp + 0x70]
lea eax, [ebp - 0x180]
push 7
push eax
lea eax, [ebp - 0x6d0]
push eax
push edi
call esi
push dword [ebp + 0x74]
call ebx
add eax, eax
push eax
push dword [ebp + 0x74]
lea eax, [ebp - 0x220]
push 7
push eax
lea eax, [ebp - 0x4c8]
push eax
push edi
call esi
push dword [ebp + 0x74]
call ebx
add eax, eax
push eax
push dword [ebp + 0x74]
lea eax, [ebp - 0x220]
push 7
push eax
lea eax, [ebp - 0x6d0]
push eax
push edi
call esi
push dword [ebp + 0x78]
call ebx
add eax, eax
push eax
push dword [ebp + 0x78]
lea eax, [ebp - 0x40]
push 7
push eax
lea eax, [ebp - 0x4c8]
push eax
push edi
call esi
push dword [ebp + 0x78]
call ebx
add eax, eax
push eax
push dword [ebp + 0x78]
lea eax, [ebp - 0x40]
push 7
push eax
lea eax, [ebp - 0x6d0]
push eax
push edi
call esi
push dword [ebp + 0x7c]
call ebx
add eax, eax
push eax
push dword [ebp + 0x7c]
lea eax, [ebp - 0x2c0]
push 1
push eax
lea eax, [ebp - 0x4c8]
push eax
push edi
call esi
push 4
pop ebx
push ebx
lea eax, [ebp + 0x60]
push eax
push ebx
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x4c8]
push eax
push edi
call esi
push ebx
lea eax, [ebp + 0x60]
push eax
push ebx
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x6d0]
push eax
push edi
call esi
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
add ebp, 0x64
leave
ret