Function at 0x411605
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, 0x403088
lea edi, [ebp - 0x228]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MSVCRT.dll_memset
push 5
pop ecx
mov esi, 0x403070
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, 0x403050
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, 0x403038
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, 0x403020
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, 0x402fa0
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, 0x402f58
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 0x402f34
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 0x411910
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 0x4117a9
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 0x41183f
cmp ax, 0x2d
je 0x41183f
mov eax, dword [ebp + 0x6c]
cmp word [eax], 0x2d
je 0x41183f
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 0x4118cc
cmp ax, 0x2d
je 0x4118cc
mov eax, dword [ebp + 0x6c]
cmp word [eax], 0x2d
je 0x4118cc
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 0x41196c
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 0x41194c
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 0x4119b1
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